Initial commit

This commit is contained in:
2019-10-13 18:38:03 +02:00
commit 759eb88ef8
10124 changed files with 838037 additions and 0 deletions

View File

@@ -0,0 +1,92 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* Service definition for AbusiveExperienceReport (v1).
*
* <p>
* Views Abusive Experience Report data, and gets a list of sites that have a
* significant number of abusive experiences.</p>
*
* <p>
* For more information about this service, see the API
* <a href="https://developers.google.com/abusive-experience-report/" target="_blank">Documentation</a>
* </p>
*
* @author Google, Inc.
*/
class Google_Service_AbusiveExperienceReport extends Google_Service
{
/** Test scope for access to the Zoo service. */
const XAPI_ZOO =
"https://www.googleapis.com/auth/xapi.zoo";
public $sites;
public $violatingSites;
/**
* Constructs the internal representation of the AbusiveExperienceReport
* service.
*
* @param Google_Client $client The client used to deliver requests.
* @param string $rootUrl The root URL used for requests to the service.
*/
public function __construct(Google_Client $client, $rootUrl = null)
{
parent::__construct($client);
$this->rootUrl = $rootUrl ?: 'https://abusiveexperiencereport.googleapis.com/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v1';
$this->serviceName = 'abusiveexperiencereport';
$this->sites = new Google_Service_AbusiveExperienceReport_Resource_Sites(
$this,
$this->serviceName,
'sites',
array(
'methods' => array(
'get' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->violatingSites = new Google_Service_AbusiveExperienceReport_Resource_ViolatingSites(
$this,
$this->serviceName,
'violatingSites',
array(
'methods' => array(
'list' => array(
'path' => 'v1/violatingSites',
'httpMethod' => 'GET',
'parameters' => array(),
),
)
)
);
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "sites" collection of methods.
* Typical usage is:
* <code>
* $abusiveexperiencereportService = new Google_Service_AbusiveExperienceReport(...);
* $sites = $abusiveexperiencereportService->sites;
* </code>
*/
class Google_Service_AbusiveExperienceReport_Resource_Sites extends Google_Service_Resource
{
/**
* Gets a summary of the abusive experience rating of a site. (sites.get)
*
* @param string $name The required site name. This is the site property whose
* abusive experiences have been reviewed, and it must be URL-encoded. For
* example, sites/https%3A%2F%2Fwww.google.com. The server will return an error
* of BAD_REQUEST if this field is not filled in. Note that if the site property
* is not yet verified in Search Console, the reportUrl field returned by the
* API will lead to the verification page, prompting the user to go through that
* process before they can gain access to the Abusive Experience Report.
* @param array $optParams Optional parameters.
* @return Google_Service_AbusiveExperienceReport_SiteSummaryResponse
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AbusiveExperienceReport_SiteSummaryResponse");
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "violatingSites" collection of methods.
* Typical usage is:
* <code>
* $abusiveexperiencereportService = new Google_Service_AbusiveExperienceReport(...);
* $violatingSites = $abusiveexperiencereportService->violatingSites;
* </code>
*/
class Google_Service_AbusiveExperienceReport_Resource_ViolatingSites extends Google_Service_Resource
{
/**
* Lists sites with Abusive Experience Report statuses of "Failing".
* (violatingSites.listViolatingSites)
*
* @param array $optParams Optional parameters.
* @return Google_Service_AbusiveExperienceReport_ViolatingSitesResponse
*/
public function listViolatingSites($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AbusiveExperienceReport_ViolatingSitesResponse");
}
}

View File

@@ -0,0 +1,84 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AbusiveExperienceReport_SiteSummaryResponse extends Google_Model
{
public $abusiveStatus;
public $enforcementTime;
public $filterStatus;
public $lastChangeTime;
public $reportUrl;
public $reviewedSite;
public $underReview;
public function setAbusiveStatus($abusiveStatus)
{
$this->abusiveStatus = $abusiveStatus;
}
public function getAbusiveStatus()
{
return $this->abusiveStatus;
}
public function setEnforcementTime($enforcementTime)
{
$this->enforcementTime = $enforcementTime;
}
public function getEnforcementTime()
{
return $this->enforcementTime;
}
public function setFilterStatus($filterStatus)
{
$this->filterStatus = $filterStatus;
}
public function getFilterStatus()
{
return $this->filterStatus;
}
public function setLastChangeTime($lastChangeTime)
{
$this->lastChangeTime = $lastChangeTime;
}
public function getLastChangeTime()
{
return $this->lastChangeTime;
}
public function setReportUrl($reportUrl)
{
$this->reportUrl = $reportUrl;
}
public function getReportUrl()
{
return $this->reportUrl;
}
public function setReviewedSite($reviewedSite)
{
$this->reviewedSite = $reviewedSite;
}
public function getReviewedSite()
{
return $this->reviewedSite;
}
public function setUnderReview($underReview)
{
$this->underReview = $underReview;
}
public function getUnderReview()
{
return $this->underReview;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AbusiveExperienceReport_ViolatingSitesResponse extends Google_Collection
{
protected $collection_key = 'violatingSites';
protected $violatingSitesType = 'Google_Service_AbusiveExperienceReport_SiteSummaryResponse';
protected $violatingSitesDataType = 'array';
/**
* @param Google_Service_AbusiveExperienceReport_SiteSummaryResponse
*/
public function setViolatingSites($violatingSites)
{
$this->violatingSites = $violatingSites;
}
/**
* @return Google_Service_AbusiveExperienceReport_SiteSummaryResponse
*/
public function getViolatingSites()
{
return $this->violatingSites;
}
}

View File

@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* Service definition for Acceleratedmobilepageurl (v1).
*
* <p>
* Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given
* list of public URL(s).</p>
*
* <p>
* For more information about this service, see the API
* <a href="https://developers.google.com/amp/cache/" target="_blank">Documentation</a>
* </p>
*
* @author Google, Inc.
*/
class Google_Service_Acceleratedmobilepageurl extends Google_Service
{
public $ampUrls;
/**
* Constructs the internal representation of the Acceleratedmobilepageurl
* service.
*
* @param Google_Client $client The client used to deliver requests.
* @param string $rootUrl The root URL used for requests to the service.
*/
public function __construct(Google_Client $client, $rootUrl = null)
{
parent::__construct($client);
$this->rootUrl = $rootUrl ?: 'https://acceleratedmobilepageurl.googleapis.com/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v1';
$this->serviceName = 'acceleratedmobilepageurl';
$this->ampUrls = new Google_Service_Acceleratedmobilepageurl_Resource_AmpUrls(
$this,
$this->serviceName,
'ampUrls',
array(
'methods' => array(
'batchGet' => array(
'path' => 'v1/ampUrls:batchGet',
'httpMethod' => 'POST',
'parameters' => array(),
),
)
)
);
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Acceleratedmobilepageurl_AmpUrl extends Google_Model
{
public $ampUrl;
public $cdnAmpUrl;
public $originalUrl;
public function setAmpUrl($ampUrl)
{
$this->ampUrl = $ampUrl;
}
public function getAmpUrl()
{
return $this->ampUrl;
}
public function setCdnAmpUrl($cdnAmpUrl)
{
$this->cdnAmpUrl = $cdnAmpUrl;
}
public function getCdnAmpUrl()
{
return $this->cdnAmpUrl;
}
public function setOriginalUrl($originalUrl)
{
$this->originalUrl = $originalUrl;
}
public function getOriginalUrl()
{
return $this->originalUrl;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Acceleratedmobilepageurl_AmpUrlError extends Google_Model
{
public $errorCode;
public $errorMessage;
public $originalUrl;
public function setErrorCode($errorCode)
{
$this->errorCode = $errorCode;
}
public function getErrorCode()
{
return $this->errorCode;
}
public function setErrorMessage($errorMessage)
{
$this->errorMessage = $errorMessage;
}
public function getErrorMessage()
{
return $this->errorMessage;
}
public function setOriginalUrl($originalUrl)
{
$this->originalUrl = $originalUrl;
}
public function getOriginalUrl()
{
return $this->originalUrl;
}
}

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsRequest extends Google_Collection
{
protected $collection_key = 'urls';
public $lookupStrategy;
public $urls;
public function setLookupStrategy($lookupStrategy)
{
$this->lookupStrategy = $lookupStrategy;
}
public function getLookupStrategy()
{
return $this->lookupStrategy;
}
public function setUrls($urls)
{
$this->urls = $urls;
}
public function getUrls()
{
return $this->urls;
}
}

View File

@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsResponse extends Google_Collection
{
protected $collection_key = 'urlErrors';
protected $ampUrlsType = 'Google_Service_Acceleratedmobilepageurl_AmpUrl';
protected $ampUrlsDataType = 'array';
protected $urlErrorsType = 'Google_Service_Acceleratedmobilepageurl_AmpUrlError';
protected $urlErrorsDataType = 'array';
/**
* @param Google_Service_Acceleratedmobilepageurl_AmpUrl
*/
public function setAmpUrls($ampUrls)
{
$this->ampUrls = $ampUrls;
}
/**
* @return Google_Service_Acceleratedmobilepageurl_AmpUrl
*/
public function getAmpUrls()
{
return $this->ampUrls;
}
/**
* @param Google_Service_Acceleratedmobilepageurl_AmpUrlError
*/
public function setUrlErrors($urlErrors)
{
$this->urlErrors = $urlErrors;
}
/**
* @return Google_Service_Acceleratedmobilepageurl_AmpUrlError
*/
public function getUrlErrors()
{
return $this->urlErrors;
}
}

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "ampUrls" collection of methods.
* Typical usage is:
* <code>
* $acceleratedmobilepageurlService = new Google_Service_Acceleratedmobilepageurl(...);
* $ampUrls = $acceleratedmobilepageurlService->ampUrls;
* </code>
*/
class Google_Service_Acceleratedmobilepageurl_Resource_AmpUrls extends Google_Service_Resource
{
/**
* Returns AMP URL(s) and equivalent [AMP Cache URL(s)](/amp/cache/overview#amp-
* cache-url-format). (ampUrls.batchGet)
*
* @param Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsResponse
*/
public function batchGet(Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('batchGet', array($params), "Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsResponse");
}
}

View File

@@ -0,0 +1,348 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* Service definition for AccessApproval (v1beta1).
*
* <p>
* An API for controlling access to data by Google personnel.</p>
*
* <p>
* For more information about this service, see the API
* <a href="https://cloud.google.com/access-approval/docs" target="_blank">Documentation</a>
* </p>
*
* @author Google, Inc.
*/
class Google_Service_AccessApproval extends Google_Service
{
/** View and manage your data across Google Cloud Platform services. */
const CLOUD_PLATFORM =
"https://www.googleapis.com/auth/cloud-platform";
public $folders;
public $folders_approvalRequests;
public $organizations;
public $organizations_approvalRequests;
public $projects;
public $projects_approvalRequests;
/**
* Constructs the internal representation of the AccessApproval service.
*
* @param Google_Client $client The client used to deliver requests.
* @param string $rootUrl The root URL used for requests to the service.
*/
public function __construct(Google_Client $client, $rootUrl = null)
{
parent::__construct($client);
$this->rootUrl = $rootUrl ?: 'https://accessapproval.googleapis.com/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v1beta1';
$this->serviceName = 'accessapproval';
$this->folders = new Google_Service_AccessApproval_Resource_Folders(
$this,
$this->serviceName,
'folders',
array(
'methods' => array(
'getAccessApprovalSettings' => array(
'path' => 'v1beta1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'updateAccessApprovalSettings' => array(
'path' => 'v1beta1/{+name}',
'httpMethod' => 'PATCH',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'updateMask' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->folders_approvalRequests = new Google_Service_AccessApproval_Resource_FoldersApprovalRequests(
$this,
$this->serviceName,
'approvalRequests',
array(
'methods' => array(
'approve' => array(
'path' => 'v1beta1/{+name}:approve',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'dismiss' => array(
'path' => 'v1beta1/{+name}:dismiss',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'v1beta1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'v1beta1/{+parent}/approvalRequests',
'httpMethod' => 'GET',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'filter' => array(
'location' => 'query',
'type' => 'string',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
),
),
)
)
);
$this->organizations = new Google_Service_AccessApproval_Resource_Organizations(
$this,
$this->serviceName,
'organizations',
array(
'methods' => array(
'getAccessApprovalSettings' => array(
'path' => 'v1beta1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'updateAccessApprovalSettings' => array(
'path' => 'v1beta1/{+name}',
'httpMethod' => 'PATCH',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'updateMask' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->organizations_approvalRequests = new Google_Service_AccessApproval_Resource_OrganizationsApprovalRequests(
$this,
$this->serviceName,
'approvalRequests',
array(
'methods' => array(
'approve' => array(
'path' => 'v1beta1/{+name}:approve',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'dismiss' => array(
'path' => 'v1beta1/{+name}:dismiss',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'v1beta1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'v1beta1/{+parent}/approvalRequests',
'httpMethod' => 'GET',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'filter' => array(
'location' => 'query',
'type' => 'string',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
),
),
)
)
);
$this->projects = new Google_Service_AccessApproval_Resource_Projects(
$this,
$this->serviceName,
'projects',
array(
'methods' => array(
'getAccessApprovalSettings' => array(
'path' => 'v1beta1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'updateAccessApprovalSettings' => array(
'path' => 'v1beta1/{+name}',
'httpMethod' => 'PATCH',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'updateMask' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->projects_approvalRequests = new Google_Service_AccessApproval_Resource_ProjectsApprovalRequests(
$this,
$this->serviceName,
'approvalRequests',
array(
'methods' => array(
'approve' => array(
'path' => 'v1beta1/{+name}:approve',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'dismiss' => array(
'path' => 'v1beta1/{+name}:dismiss',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'v1beta1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'v1beta1/{+parent}/approvalRequests',
'httpMethod' => 'GET',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'filter' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
}
}

View File

@@ -0,0 +1,56 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessApproval_AccessApprovalSettings extends Google_Collection
{
protected $collection_key = 'notificationEmails';
protected $enrolledServicesType = 'Google_Service_AccessApproval_EnrolledService';
protected $enrolledServicesDataType = 'array';
public $name;
public $notificationEmails;
/**
* @param Google_Service_AccessApproval_EnrolledService
*/
public function setEnrolledServices($enrolledServices)
{
$this->enrolledServices = $enrolledServices;
}
/**
* @return Google_Service_AccessApproval_EnrolledService
*/
public function getEnrolledServices()
{
return $this->enrolledServices;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setNotificationEmails($notificationEmails)
{
$this->notificationEmails = $notificationEmails;
}
public function getNotificationEmails()
{
return $this->notificationEmails;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessApproval_AccessLocations extends Google_Model
{
public $principalOfficeCountry;
public $principalPhysicalLocationCountry;
public function setPrincipalOfficeCountry($principalOfficeCountry)
{
$this->principalOfficeCountry = $principalOfficeCountry;
}
public function getPrincipalOfficeCountry()
{
return $this->principalOfficeCountry;
}
public function setPrincipalPhysicalLocationCountry($principalPhysicalLocationCountry)
{
$this->principalPhysicalLocationCountry = $principalPhysicalLocationCountry;
}
public function getPrincipalPhysicalLocationCountry()
{
return $this->principalPhysicalLocationCountry;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessApproval_AccessReason extends Google_Model
{
public $detail;
public $type;
public function setDetail($detail)
{
$this->detail = $detail;
}
public function getDetail()
{
return $this->detail;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,137 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessApproval_ApprovalRequest extends Google_Model
{
protected $approveType = 'Google_Service_AccessApproval_ApproveDecision';
protected $approveDataType = '';
protected $dismissType = 'Google_Service_AccessApproval_DismissDecision';
protected $dismissDataType = '';
public $name;
public $requestTime;
public $requestedExpiration;
protected $requestedLocationsType = 'Google_Service_AccessApproval_AccessLocations';
protected $requestedLocationsDataType = '';
protected $requestedReasonType = 'Google_Service_AccessApproval_AccessReason';
protected $requestedReasonDataType = '';
public $requestedResourceName;
protected $requestedResourcePropertiesType = 'Google_Service_AccessApproval_ResourceProperties';
protected $requestedResourcePropertiesDataType = '';
/**
* @param Google_Service_AccessApproval_ApproveDecision
*/
public function setApprove(Google_Service_AccessApproval_ApproveDecision $approve)
{
$this->approve = $approve;
}
/**
* @return Google_Service_AccessApproval_ApproveDecision
*/
public function getApprove()
{
return $this->approve;
}
/**
* @param Google_Service_AccessApproval_DismissDecision
*/
public function setDismiss(Google_Service_AccessApproval_DismissDecision $dismiss)
{
$this->dismiss = $dismiss;
}
/**
* @return Google_Service_AccessApproval_DismissDecision
*/
public function getDismiss()
{
return $this->dismiss;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setRequestTime($requestTime)
{
$this->requestTime = $requestTime;
}
public function getRequestTime()
{
return $this->requestTime;
}
public function setRequestedExpiration($requestedExpiration)
{
$this->requestedExpiration = $requestedExpiration;
}
public function getRequestedExpiration()
{
return $this->requestedExpiration;
}
/**
* @param Google_Service_AccessApproval_AccessLocations
*/
public function setRequestedLocations(Google_Service_AccessApproval_AccessLocations $requestedLocations)
{
$this->requestedLocations = $requestedLocations;
}
/**
* @return Google_Service_AccessApproval_AccessLocations
*/
public function getRequestedLocations()
{
return $this->requestedLocations;
}
/**
* @param Google_Service_AccessApproval_AccessReason
*/
public function setRequestedReason(Google_Service_AccessApproval_AccessReason $requestedReason)
{
$this->requestedReason = $requestedReason;
}
/**
* @return Google_Service_AccessApproval_AccessReason
*/
public function getRequestedReason()
{
return $this->requestedReason;
}
public function setRequestedResourceName($requestedResourceName)
{
$this->requestedResourceName = $requestedResourceName;
}
public function getRequestedResourceName()
{
return $this->requestedResourceName;
}
/**
* @param Google_Service_AccessApproval_ResourceProperties
*/
public function setRequestedResourceProperties(Google_Service_AccessApproval_ResourceProperties $requestedResourceProperties)
{
$this->requestedResourceProperties = $requestedResourceProperties;
}
/**
* @return Google_Service_AccessApproval_ResourceProperties
*/
public function getRequestedResourceProperties()
{
return $this->requestedResourceProperties;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessApproval_ApproveApprovalRequestMessage extends Google_Model
{
public $expireTime;
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
public function getExpireTime()
{
return $this->expireTime;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessApproval_ApproveDecision extends Google_Model
{
public $approveTime;
public $expireTime;
public function setApproveTime($approveTime)
{
$this->approveTime = $approveTime;
}
public function getApproveTime()
{
return $this->approveTime;
}
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
public function getExpireTime()
{
return $this->expireTime;
}
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessApproval_DismissApprovalRequestMessage extends Google_Model
{
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessApproval_DismissDecision extends Google_Model
{
public $dismissTime;
public function setDismissTime($dismissTime)
{
$this->dismissTime = $dismissTime;
}
public function getDismissTime()
{
return $this->dismissTime;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessApproval_EnrolledService extends Google_Model
{
public $cloudProduct;
public $enrollmentLevel;
public function setCloudProduct($cloudProduct)
{
$this->cloudProduct = $cloudProduct;
}
public function getCloudProduct()
{
return $this->cloudProduct;
}
public function setEnrollmentLevel($enrollmentLevel)
{
$this->enrollmentLevel = $enrollmentLevel;
}
public function getEnrollmentLevel()
{
return $this->enrollmentLevel;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessApproval_ListApprovalRequestsResponse extends Google_Collection
{
protected $collection_key = 'approvalRequests';
protected $approvalRequestsType = 'Google_Service_AccessApproval_ApprovalRequest';
protected $approvalRequestsDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_AccessApproval_ApprovalRequest
*/
public function setApprovalRequests($approvalRequests)
{
$this->approvalRequests = $approvalRequests;
}
/**
* @return Google_Service_AccessApproval_ApprovalRequest
*/
public function getApprovalRequests()
{
return $this->approvalRequests;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,67 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "folders" collection of methods.
* Typical usage is:
* <code>
* $accessapprovalService = new Google_Service_AccessApproval(...);
* $folders = $accessapprovalService->folders;
* </code>
*/
class Google_Service_AccessApproval_Resource_Folders extends Google_Service_Resource
{
/**
* Gets the settings associated with a project, folder, or organization.
* (folders.getAccessApprovalSettings)
*
* @param string $name Name of the AccessApprovalSettings to retrieve.
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_AccessApprovalSettings
*/
public function getAccessApprovalSettings($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('getAccessApprovalSettings', array($params), "Google_Service_AccessApproval_AccessApprovalSettings");
}
/**
* Updates the settings associated with a project, folder, or organization.
* Settings to update are determined by the value of field_mask.
* (folders.updateAccessApprovalSettings)
*
* @param string $name The resource name of the settings. Format is one of:
*
* "projects/{project_id}/accessApprovalSettings"
* "folders/{folder_id}/accessApprovalSettings"
* "organizations/{organization_id}/accessApprovalSettings"
* @param Google_Service_AccessApproval_AccessApprovalSettings $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The update mask applies to the settings. For the
* `FieldMask` definition, see https://developers.google.com/protocol-
* buffers/docs/reference/google.protobuf#fieldmask If this field is left unset,
* only the notification_emails field will be updated.
* @return Google_Service_AccessApproval_AccessApprovalSettings
*/
public function updateAccessApprovalSettings($name, Google_Service_AccessApproval_AccessApprovalSettings $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('updateAccessApprovalSettings', array($params), "Google_Service_AccessApproval_AccessApprovalSettings");
}
}

View File

@@ -0,0 +1,112 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "approvalRequests" collection of methods.
* Typical usage is:
* <code>
* $accessapprovalService = new Google_Service_AccessApproval(...);
* $approvalRequests = $accessapprovalService->approvalRequests;
* </code>
*/
class Google_Service_AccessApproval_Resource_FoldersApprovalRequests extends Google_Service_Resource
{
/**
* Approves a request and returns the updated ApprovalRequest.
*
* Returns NOT_FOUND if the request does not exist. Returns FAILED_PRECONDITION
* if the request exists but is not in a pending state.
* (approvalRequests.approve)
*
* @param string $name Name of the approval request to approve.
* @param Google_Service_AccessApproval_ApproveApprovalRequestMessage $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_ApprovalRequest
*/
public function approve($name, Google_Service_AccessApproval_ApproveApprovalRequestMessage $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('approve', array($params), "Google_Service_AccessApproval_ApprovalRequest");
}
/**
* Dismisses a request. Returns the updated ApprovalRequest.
*
* NOTE: This does not deny access to the resource if another request has been
* made and approved. It is equivalent in effect to ignoring the request
* altogether.
*
* Returns NOT_FOUND if the request does not exist.
*
* Returns FAILED_PRECONDITION if the request exists but is not in a pending
* state. (approvalRequests.dismiss)
*
* @param string $name Name of the ApprovalRequest to dismiss.
* @param Google_Service_AccessApproval_DismissApprovalRequestMessage $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_ApprovalRequest
*/
public function dismiss($name, Google_Service_AccessApproval_DismissApprovalRequestMessage $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('dismiss', array($params), "Google_Service_AccessApproval_ApprovalRequest");
}
/**
* Gets an approval request. Returns NOT_FOUND if the request does not exist.
* (approvalRequests.get)
*
* @param string $name Name of the approval request to retrieve.
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_ApprovalRequest
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AccessApproval_ApprovalRequest");
}
/**
* Lists approval requests associated with a project, folder, or organization.
* Approval requests can be filtered by state (pending, active, dismissed). The
* order is reverse chronological.
* (approvalRequests.listFoldersApprovalRequests)
*
* @param string $parent The parent resource. This may be
* "projects/{project_id}", "folders/{folder_id}", or
* "organizations/{organization_id}".
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter on the type of approval requests to
* retrieve. Must be one of the following values:
*
* [not set]: Requests that are pending or have active approvals. ALL: All
* requests. PENDING: Only pending requests. ACTIVE: Only active (i.e.
* currently approved) requests. DISMISSED: Only dismissed (including expired)
* requests.
* @opt_param string pageToken A token identifying the page of results to
* return.
* @opt_param int pageSize Requested page size.
* @return Google_Service_AccessApproval_ListApprovalRequestsResponse
*/
public function listFoldersApprovalRequests($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AccessApproval_ListApprovalRequestsResponse");
}
}

View File

@@ -0,0 +1,67 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "organizations" collection of methods.
* Typical usage is:
* <code>
* $accessapprovalService = new Google_Service_AccessApproval(...);
* $organizations = $accessapprovalService->organizations;
* </code>
*/
class Google_Service_AccessApproval_Resource_Organizations extends Google_Service_Resource
{
/**
* Gets the settings associated with a project, folder, or organization.
* (organizations.getAccessApprovalSettings)
*
* @param string $name Name of the AccessApprovalSettings to retrieve.
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_AccessApprovalSettings
*/
public function getAccessApprovalSettings($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('getAccessApprovalSettings', array($params), "Google_Service_AccessApproval_AccessApprovalSettings");
}
/**
* Updates the settings associated with a project, folder, or organization.
* Settings to update are determined by the value of field_mask.
* (organizations.updateAccessApprovalSettings)
*
* @param string $name The resource name of the settings. Format is one of:
*
* "projects/{project_id}/accessApprovalSettings"
* "folders/{folder_id}/accessApprovalSettings"
* "organizations/{organization_id}/accessApprovalSettings"
* @param Google_Service_AccessApproval_AccessApprovalSettings $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The update mask applies to the settings. For the
* `FieldMask` definition, see https://developers.google.com/protocol-
* buffers/docs/reference/google.protobuf#fieldmask If this field is left unset,
* only the notification_emails field will be updated.
* @return Google_Service_AccessApproval_AccessApprovalSettings
*/
public function updateAccessApprovalSettings($name, Google_Service_AccessApproval_AccessApprovalSettings $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('updateAccessApprovalSettings', array($params), "Google_Service_AccessApproval_AccessApprovalSettings");
}
}

View File

@@ -0,0 +1,112 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "approvalRequests" collection of methods.
* Typical usage is:
* <code>
* $accessapprovalService = new Google_Service_AccessApproval(...);
* $approvalRequests = $accessapprovalService->approvalRequests;
* </code>
*/
class Google_Service_AccessApproval_Resource_OrganizationsApprovalRequests extends Google_Service_Resource
{
/**
* Approves a request and returns the updated ApprovalRequest.
*
* Returns NOT_FOUND if the request does not exist. Returns FAILED_PRECONDITION
* if the request exists but is not in a pending state.
* (approvalRequests.approve)
*
* @param string $name Name of the approval request to approve.
* @param Google_Service_AccessApproval_ApproveApprovalRequestMessage $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_ApprovalRequest
*/
public function approve($name, Google_Service_AccessApproval_ApproveApprovalRequestMessage $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('approve', array($params), "Google_Service_AccessApproval_ApprovalRequest");
}
/**
* Dismisses a request. Returns the updated ApprovalRequest.
*
* NOTE: This does not deny access to the resource if another request has been
* made and approved. It is equivalent in effect to ignoring the request
* altogether.
*
* Returns NOT_FOUND if the request does not exist.
*
* Returns FAILED_PRECONDITION if the request exists but is not in a pending
* state. (approvalRequests.dismiss)
*
* @param string $name Name of the ApprovalRequest to dismiss.
* @param Google_Service_AccessApproval_DismissApprovalRequestMessage $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_ApprovalRequest
*/
public function dismiss($name, Google_Service_AccessApproval_DismissApprovalRequestMessage $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('dismiss', array($params), "Google_Service_AccessApproval_ApprovalRequest");
}
/**
* Gets an approval request. Returns NOT_FOUND if the request does not exist.
* (approvalRequests.get)
*
* @param string $name Name of the approval request to retrieve.
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_ApprovalRequest
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AccessApproval_ApprovalRequest");
}
/**
* Lists approval requests associated with a project, folder, or organization.
* Approval requests can be filtered by state (pending, active, dismissed). The
* order is reverse chronological.
* (approvalRequests.listOrganizationsApprovalRequests)
*
* @param string $parent The parent resource. This may be
* "projects/{project_id}", "folders/{folder_id}", or
* "organizations/{organization_id}".
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter on the type of approval requests to
* retrieve. Must be one of the following values:
*
* [not set]: Requests that are pending or have active approvals. ALL: All
* requests. PENDING: Only pending requests. ACTIVE: Only active (i.e.
* currently approved) requests. DISMISSED: Only dismissed (including expired)
* requests.
* @opt_param string pageToken A token identifying the page of results to
* return.
* @opt_param int pageSize Requested page size.
* @return Google_Service_AccessApproval_ListApprovalRequestsResponse
*/
public function listOrganizationsApprovalRequests($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AccessApproval_ListApprovalRequestsResponse");
}
}

View File

@@ -0,0 +1,67 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $accessapprovalService = new Google_Service_AccessApproval(...);
* $projects = $accessapprovalService->projects;
* </code>
*/
class Google_Service_AccessApproval_Resource_Projects extends Google_Service_Resource
{
/**
* Gets the settings associated with a project, folder, or organization.
* (projects.getAccessApprovalSettings)
*
* @param string $name Name of the AccessApprovalSettings to retrieve.
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_AccessApprovalSettings
*/
public function getAccessApprovalSettings($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('getAccessApprovalSettings', array($params), "Google_Service_AccessApproval_AccessApprovalSettings");
}
/**
* Updates the settings associated with a project, folder, or organization.
* Settings to update are determined by the value of field_mask.
* (projects.updateAccessApprovalSettings)
*
* @param string $name The resource name of the settings. Format is one of:
*
* "projects/{project_id}/accessApprovalSettings"
* "folders/{folder_id}/accessApprovalSettings"
* "organizations/{organization_id}/accessApprovalSettings"
* @param Google_Service_AccessApproval_AccessApprovalSettings $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The update mask applies to the settings. For the
* `FieldMask` definition, see https://developers.google.com/protocol-
* buffers/docs/reference/google.protobuf#fieldmask If this field is left unset,
* only the notification_emails field will be updated.
* @return Google_Service_AccessApproval_AccessApprovalSettings
*/
public function updateAccessApprovalSettings($name, Google_Service_AccessApproval_AccessApprovalSettings $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('updateAccessApprovalSettings', array($params), "Google_Service_AccessApproval_AccessApprovalSettings");
}
}

View File

@@ -0,0 +1,112 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "approvalRequests" collection of methods.
* Typical usage is:
* <code>
* $accessapprovalService = new Google_Service_AccessApproval(...);
* $approvalRequests = $accessapprovalService->approvalRequests;
* </code>
*/
class Google_Service_AccessApproval_Resource_ProjectsApprovalRequests extends Google_Service_Resource
{
/**
* Approves a request and returns the updated ApprovalRequest.
*
* Returns NOT_FOUND if the request does not exist. Returns FAILED_PRECONDITION
* if the request exists but is not in a pending state.
* (approvalRequests.approve)
*
* @param string $name Name of the approval request to approve.
* @param Google_Service_AccessApproval_ApproveApprovalRequestMessage $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_ApprovalRequest
*/
public function approve($name, Google_Service_AccessApproval_ApproveApprovalRequestMessage $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('approve', array($params), "Google_Service_AccessApproval_ApprovalRequest");
}
/**
* Dismisses a request. Returns the updated ApprovalRequest.
*
* NOTE: This does not deny access to the resource if another request has been
* made and approved. It is equivalent in effect to ignoring the request
* altogether.
*
* Returns NOT_FOUND if the request does not exist.
*
* Returns FAILED_PRECONDITION if the request exists but is not in a pending
* state. (approvalRequests.dismiss)
*
* @param string $name Name of the ApprovalRequest to dismiss.
* @param Google_Service_AccessApproval_DismissApprovalRequestMessage $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_ApprovalRequest
*/
public function dismiss($name, Google_Service_AccessApproval_DismissApprovalRequestMessage $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('dismiss', array($params), "Google_Service_AccessApproval_ApprovalRequest");
}
/**
* Gets an approval request. Returns NOT_FOUND if the request does not exist.
* (approvalRequests.get)
*
* @param string $name Name of the approval request to retrieve.
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_ApprovalRequest
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AccessApproval_ApprovalRequest");
}
/**
* Lists approval requests associated with a project, folder, or organization.
* Approval requests can be filtered by state (pending, active, dismissed). The
* order is reverse chronological.
* (approvalRequests.listProjectsApprovalRequests)
*
* @param string $parent The parent resource. This may be
* "projects/{project_id}", "folders/{folder_id}", or
* "organizations/{organization_id}".
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken A token identifying the page of results to
* return.
* @opt_param int pageSize Requested page size.
* @opt_param string filter A filter on the type of approval requests to
* retrieve. Must be one of the following values:
*
* [not set]: Requests that are pending or have active approvals. ALL: All
* requests. PENDING: Only pending requests. ACTIVE: Only active (i.e.
* currently approved) requests. DISMISSED: Only dismissed (including expired)
* requests.
* @return Google_Service_AccessApproval_ListApprovalRequestsResponse
*/
public function listProjectsApprovalRequests($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AccessApproval_ListApprovalRequestsResponse");
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessApproval_ResourceProperties extends Google_Model
{
public $excludesDescendants;
public function setExcludesDescendants($excludesDescendants)
{
$this->excludesDescendants = $excludesDescendants;
}
public function getExcludesDescendants()
{
return $this->excludesDescendants;
}
}

View File

@@ -0,0 +1,338 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* Service definition for AccessContextManager (v1).
*
* <p>
* An API for setting attribute based access control to requests to GCP
* services.</p>
*
* <p>
* For more information about this service, see the API
* <a href="https://cloud.google.com/access-context-manager/docs/reference/rest/" target="_blank">Documentation</a>
* </p>
*
* @author Google, Inc.
*/
class Google_Service_AccessContextManager extends Google_Service
{
/** View and manage your data across Google Cloud Platform services. */
const CLOUD_PLATFORM =
"https://www.googleapis.com/auth/cloud-platform";
public $accessPolicies;
public $accessPolicies_accessLevels;
public $accessPolicies_servicePerimeters;
public $operations;
/**
* Constructs the internal representation of the AccessContextManager service.
*
* @param Google_Client $client The client used to deliver requests.
* @param string $rootUrl The root URL used for requests to the service.
*/
public function __construct(Google_Client $client, $rootUrl = null)
{
parent::__construct($client);
$this->rootUrl = $rootUrl ?: 'https://accesscontextmanager.googleapis.com/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v1';
$this->serviceName = 'accesscontextmanager';
$this->accessPolicies = new Google_Service_AccessContextManager_Resource_AccessPolicies(
$this,
$this->serviceName,
'accessPolicies',
array(
'methods' => array(
'create' => array(
'path' => 'v1/accessPolicies',
'httpMethod' => 'POST',
'parameters' => array(),
),'delete' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'DELETE',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'v1/accessPolicies',
'httpMethod' => 'GET',
'parameters' => array(
'parent' => array(
'location' => 'query',
'type' => 'string',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
),
),'patch' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'PATCH',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'updateMask' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->accessPolicies_accessLevels = new Google_Service_AccessContextManager_Resource_AccessPoliciesAccessLevels(
$this,
$this->serviceName,
'accessLevels',
array(
'methods' => array(
'create' => array(
'path' => 'v1/{+parent}/accessLevels',
'httpMethod' => 'POST',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'delete' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'DELETE',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'accessLevelFormat' => array(
'location' => 'query',
'type' => 'string',
),
),
),'list' => array(
'path' => 'v1/{+parent}/accessLevels',
'httpMethod' => 'GET',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'accessLevelFormat' => array(
'location' => 'query',
'type' => 'string',
),
),
),'patch' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'PATCH',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'updateMask' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->accessPolicies_servicePerimeters = new Google_Service_AccessContextManager_Resource_AccessPoliciesServicePerimeters(
$this,
$this->serviceName,
'servicePerimeters',
array(
'methods' => array(
'create' => array(
'path' => 'v1/{+parent}/servicePerimeters',
'httpMethod' => 'POST',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'delete' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'DELETE',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'v1/{+parent}/servicePerimeters',
'httpMethod' => 'GET',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
),
),'patch' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'PATCH',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'updateMask' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->operations = new Google_Service_AccessContextManager_Resource_Operations(
$this,
$this->serviceName,
'operations',
array(
'methods' => array(
'cancel' => array(
'path' => 'v1/{+name}:cancel',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'delete' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'DELETE',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'filter' => array(
'location' => 'query',
'type' => 'string',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
}
}

View File

@@ -0,0 +1,82 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_AccessLevel extends Google_Model
{
protected $basicType = 'Google_Service_AccessContextManager_BasicLevel';
protected $basicDataType = '';
public $createTime;
public $description;
public $name;
public $title;
public $updateTime;
/**
* @param Google_Service_AccessContextManager_BasicLevel
*/
public function setBasic(Google_Service_AccessContextManager_BasicLevel $basic)
{
$this->basic = $basic;
}
/**
* @return Google_Service_AccessContextManager_BasicLevel
*/
public function getBasic()
{
return $this->basic;
}
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
public function getUpdateTime()
{
return $this->updateTime;
}
}

View File

@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_AccessPolicy extends Google_Model
{
public $createTime;
public $name;
public $parent;
public $title;
public $updateTime;
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setParent($parent)
{
$this->parent = $parent;
}
public function getParent()
{
return $this->parent;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
public function getUpdateTime()
{
return $this->updateTime;
}
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_AccesscontextmanagerEmpty extends Google_Model
{
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_BasicLevel extends Google_Collection
{
protected $collection_key = 'conditions';
public $combiningFunction;
protected $conditionsType = 'Google_Service_AccessContextManager_Condition';
protected $conditionsDataType = 'array';
public function setCombiningFunction($combiningFunction)
{
$this->combiningFunction = $combiningFunction;
}
public function getCombiningFunction()
{
return $this->combiningFunction;
}
/**
* @param Google_Service_AccessContextManager_Condition
*/
public function setConditions($conditions)
{
$this->conditions = $conditions;
}
/**
* @return Google_Service_AccessContextManager_Condition
*/
public function getConditions()
{
return $this->conditions;
}
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_CancelOperationRequest extends Google_Model
{
}

View File

@@ -0,0 +1,83 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_Condition extends Google_Collection
{
protected $collection_key = 'requiredAccessLevels';
protected $devicePolicyType = 'Google_Service_AccessContextManager_DevicePolicy';
protected $devicePolicyDataType = '';
public $ipSubnetworks;
public $members;
public $negate;
public $regions;
public $requiredAccessLevels;
/**
* @param Google_Service_AccessContextManager_DevicePolicy
*/
public function setDevicePolicy(Google_Service_AccessContextManager_DevicePolicy $devicePolicy)
{
$this->devicePolicy = $devicePolicy;
}
/**
* @return Google_Service_AccessContextManager_DevicePolicy
*/
public function getDevicePolicy()
{
return $this->devicePolicy;
}
public function setIpSubnetworks($ipSubnetworks)
{
$this->ipSubnetworks = $ipSubnetworks;
}
public function getIpSubnetworks()
{
return $this->ipSubnetworks;
}
public function setMembers($members)
{
$this->members = $members;
}
public function getMembers()
{
return $this->members;
}
public function setNegate($negate)
{
$this->negate = $negate;
}
public function getNegate()
{
return $this->negate;
}
public function setRegions($regions)
{
$this->regions = $regions;
}
public function getRegions()
{
return $this->regions;
}
public function setRequiredAccessLevels($requiredAccessLevels)
{
$this->requiredAccessLevels = $requiredAccessLevels;
}
public function getRequiredAccessLevels()
{
return $this->requiredAccessLevels;
}
}

View File

@@ -0,0 +1,83 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_DevicePolicy extends Google_Collection
{
protected $collection_key = 'osConstraints';
public $allowedDeviceManagementLevels;
public $allowedEncryptionStatuses;
protected $osConstraintsType = 'Google_Service_AccessContextManager_OsConstraint';
protected $osConstraintsDataType = 'array';
public $requireAdminApproval;
public $requireCorpOwned;
public $requireScreenlock;
public function setAllowedDeviceManagementLevels($allowedDeviceManagementLevels)
{
$this->allowedDeviceManagementLevels = $allowedDeviceManagementLevels;
}
public function getAllowedDeviceManagementLevels()
{
return $this->allowedDeviceManagementLevels;
}
public function setAllowedEncryptionStatuses($allowedEncryptionStatuses)
{
$this->allowedEncryptionStatuses = $allowedEncryptionStatuses;
}
public function getAllowedEncryptionStatuses()
{
return $this->allowedEncryptionStatuses;
}
/**
* @param Google_Service_AccessContextManager_OsConstraint
*/
public function setOsConstraints($osConstraints)
{
$this->osConstraints = $osConstraints;
}
/**
* @return Google_Service_AccessContextManager_OsConstraint
*/
public function getOsConstraints()
{
return $this->osConstraints;
}
public function setRequireAdminApproval($requireAdminApproval)
{
$this->requireAdminApproval = $requireAdminApproval;
}
public function getRequireAdminApproval()
{
return $this->requireAdminApproval;
}
public function setRequireCorpOwned($requireCorpOwned)
{
$this->requireCorpOwned = $requireCorpOwned;
}
public function getRequireCorpOwned()
{
return $this->requireCorpOwned;
}
public function setRequireScreenlock($requireScreenlock)
{
$this->requireScreenlock = $requireScreenlock;
}
public function getRequireScreenlock()
{
return $this->requireScreenlock;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_ListAccessLevelsResponse extends Google_Collection
{
protected $collection_key = 'accessLevels';
protected $accessLevelsType = 'Google_Service_AccessContextManager_AccessLevel';
protected $accessLevelsDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_AccessContextManager_AccessLevel
*/
public function setAccessLevels($accessLevels)
{
$this->accessLevels = $accessLevels;
}
/**
* @return Google_Service_AccessContextManager_AccessLevel
*/
public function getAccessLevels()
{
return $this->accessLevels;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_ListAccessPoliciesResponse extends Google_Collection
{
protected $collection_key = 'accessPolicies';
protected $accessPoliciesType = 'Google_Service_AccessContextManager_AccessPolicy';
protected $accessPoliciesDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_AccessContextManager_AccessPolicy
*/
public function setAccessPolicies($accessPolicies)
{
$this->accessPolicies = $accessPolicies;
}
/**
* @return Google_Service_AccessContextManager_AccessPolicy
*/
public function getAccessPolicies()
{
return $this->accessPolicies;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_ListOperationsResponse extends Google_Collection
{
protected $collection_key = 'operations';
public $nextPageToken;
protected $operationsType = 'Google_Service_AccessContextManager_Operation';
protected $operationsDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Google_Service_AccessContextManager_Operation
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Google_Service_AccessContextManager_Operation
*/
public function getOperations()
{
return $this->operations;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_ListServicePerimetersResponse extends Google_Collection
{
protected $collection_key = 'servicePerimeters';
public $nextPageToken;
protected $servicePerimetersType = 'Google_Service_AccessContextManager_ServicePerimeter';
protected $servicePerimetersDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Google_Service_AccessContextManager_ServicePerimeter
*/
public function setServicePerimeters($servicePerimeters)
{
$this->servicePerimeters = $servicePerimeters;
}
/**
* @return Google_Service_AccessContextManager_ServicePerimeter
*/
public function getServicePerimeters()
{
return $this->servicePerimeters;
}
}

View File

@@ -0,0 +1,73 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_Operation extends Google_Model
{
public $done;
protected $errorType = 'Google_Service_AccessContextManager_Status';
protected $errorDataType = '';
public $metadata;
public $name;
public $response;
public function setDone($done)
{
$this->done = $done;
}
public function getDone()
{
return $this->done;
}
/**
* @param Google_Service_AccessContextManager_Status
*/
public function setError(Google_Service_AccessContextManager_Status $error)
{
$this->error = $error;
}
/**
* @return Google_Service_AccessContextManager_Status
*/
public function getError()
{
return $this->error;
}
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
public function getMetadata()
{
return $this->metadata;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setResponse($response)
{
$this->response = $response;
}
public function getResponse()
{
return $this->response;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_OsConstraint extends Google_Model
{
public $minimumVersion;
public $osType;
public $requireVerifiedChromeOs;
public function setMinimumVersion($minimumVersion)
{
$this->minimumVersion = $minimumVersion;
}
public function getMinimumVersion()
{
return $this->minimumVersion;
}
public function setOsType($osType)
{
$this->osType = $osType;
}
public function getOsType()
{
return $this->osType;
}
public function setRequireVerifiedChromeOs($requireVerifiedChromeOs)
{
$this->requireVerifiedChromeOs = $requireVerifiedChromeOs;
}
public function getRequireVerifiedChromeOs()
{
return $this->requireVerifiedChromeOs;
}
}

View File

@@ -0,0 +1,120 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "accessPolicies" collection of methods.
* Typical usage is:
* <code>
* $accesscontextmanagerService = new Google_Service_AccessContextManager(...);
* $accessPolicies = $accesscontextmanagerService->accessPolicies;
* </code>
*/
class Google_Service_AccessContextManager_Resource_AccessPolicies extends Google_Service_Resource
{
/**
* Create an `AccessPolicy`. Fails if this organization already has a
* `AccessPolicy`. The longrunning Operation will have a successful status once
* the `AccessPolicy` has propagated to long-lasting storage. Syntactic and
* basic semantic errors will be returned in `metadata` as a BadRequest proto.
* (accessPolicies.create)
*
* @param Google_Service_AccessContextManager_AccessPolicy $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function create(Google_Service_AccessContextManager_AccessPolicy $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Delete an AccessPolicy by resource name. The longrunning Operation will have
* a successful status once the AccessPolicy has been removed from long-lasting
* storage. (accessPolicies.delete)
*
* @param string $name Required. Resource name for the access policy to delete.
*
* Format `accessPolicies/{policy_id}`
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Get an AccessPolicy by name. (accessPolicies.get)
*
* @param string $name Required. Resource name for the access policy to get.
*
* Format `accessPolicies/{policy_id}`
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_AccessPolicy
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AccessContextManager_AccessPolicy");
}
/**
* List all AccessPolicies under a container.
* (accessPolicies.listAccessPolicies)
*
* @param array $optParams Optional parameters.
*
* @opt_param string parent Required. Resource name for the container to list
* AccessPolicy instances from.
*
* Format: `organizations/{org_id}`
* @opt_param string pageToken Next page token for the next batch of
* AccessPolicy instances. Defaults to the first page of results.
* @opt_param int pageSize Number of AccessPolicy instances to include in the
* list. Default 100.
* @return Google_Service_AccessContextManager_ListAccessPoliciesResponse
*/
public function listAccessPolicies($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AccessContextManager_ListAccessPoliciesResponse");
}
/**
* Update an AccessPolicy. The longrunning Operation from this RPC will have a
* successful status once the changes to the AccessPolicy have propagated to
* long-lasting storage. Syntactic and basic semantic errors will be returned in
* `metadata` as a BadRequest proto. (accessPolicies.patch)
*
* @param string $name Output only. Resource name of the `AccessPolicy`. Format:
* `accessPolicies/{policy_id}`
* @param Google_Service_AccessContextManager_AccessPolicy $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Mask to control which fields get
* updated. Must be non-empty.
* @return Google_Service_AccessContextManager_Operation
*/
public function patch($name, Google_Service_AccessContextManager_AccessPolicy $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_AccessContextManager_Operation");
}
}

View File

@@ -0,0 +1,135 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "accessLevels" collection of methods.
* Typical usage is:
* <code>
* $accesscontextmanagerService = new Google_Service_AccessContextManager(...);
* $accessLevels = $accesscontextmanagerService->accessLevels;
* </code>
*/
class Google_Service_AccessContextManager_Resource_AccessPoliciesAccessLevels extends Google_Service_Resource
{
/**
* Create an Access Level. The longrunning operation from this RPC will have a
* successful status once the Access Level has propagated to long-lasting
* storage. Access Levels containing errors will result in an error response for
* the first error encountered. (accessLevels.create)
*
* @param string $parent Required. Resource name for the access policy which
* owns this Access Level.
*
* Format: `accessPolicies/{policy_id}`
* @param Google_Service_AccessContextManager_AccessLevel $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function create($parent, Google_Service_AccessContextManager_AccessLevel $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Delete an Access Level by resource name. The longrunning operation from this
* RPC will have a successful status once the Access Level has been removed from
* long-lasting storage. (accessLevels.delete)
*
* @param string $name Required. Resource name for the Access Level.
*
* Format: `accessPolicies/{policy_id}/accessLevels/{access_level_id}`
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Get an Access Level by resource name. (accessLevels.get)
*
* @param string $name Required. Resource name for the Access Level.
*
* Format: `accessPolicies/{policy_id}/accessLevels/{access_level_id}`
* @param array $optParams Optional parameters.
*
* @opt_param string accessLevelFormat Whether to return `BasicLevels` in the
* Cloud Common Expression Language rather than as `BasicLevels`. Defaults to
* AS_DEFINED, where Access Levels are returned as `BasicLevels` or
* `CustomLevels` based on how they were created. If set to CEL, all Access
* Levels are returned as `CustomLevels`. In the CEL case, `BasicLevels` are
* translated to equivalent `CustomLevels`.
* @return Google_Service_AccessContextManager_AccessLevel
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AccessContextManager_AccessLevel");
}
/**
* List all Access Levels for an access policy.
* (accessLevels.listAccessPoliciesAccessLevels)
*
* @param string $parent Required. Resource name for the access policy to list
* Access Levels from.
*
* Format: `accessPolicies/{policy_id}`
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken Next page token for the next batch of Access
* Level instances. Defaults to the first page of results.
* @opt_param int pageSize Number of Access Levels to include in the list.
* Default 100.
* @opt_param string accessLevelFormat Whether to return `BasicLevels` in the
* Cloud Common Expression language, as `CustomLevels`, rather than as
* `BasicLevels`. Defaults to returning `AccessLevels` in the format they were
* defined.
* @return Google_Service_AccessContextManager_ListAccessLevelsResponse
*/
public function listAccessPoliciesAccessLevels($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AccessContextManager_ListAccessLevelsResponse");
}
/**
* Update an Access Level. The longrunning operation from this RPC will have a
* successful status once the changes to the Access Level have propagated to
* long-lasting storage. Access Levels containing errors will result in an error
* response for the first error encountered. (accessLevels.patch)
*
* @param string $name Required. Resource name for the Access Level. The
* `short_name` component must begin with a letter and only include alphanumeric
* and '_'. Format: `accessPolicies/{policy_id}/accessLevels/{short_name}`
* @param Google_Service_AccessContextManager_AccessLevel $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Mask to control which fields get
* updated. Must be non-empty.
* @return Google_Service_AccessContextManager_Operation
*/
public function patch($name, Google_Service_AccessContextManager_AccessLevel $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_AccessContextManager_Operation");
}
}

View File

@@ -0,0 +1,126 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "servicePerimeters" collection of methods.
* Typical usage is:
* <code>
* $accesscontextmanagerService = new Google_Service_AccessContextManager(...);
* $servicePerimeters = $accesscontextmanagerService->servicePerimeters;
* </code>
*/
class Google_Service_AccessContextManager_Resource_AccessPoliciesServicePerimeters extends Google_Service_Resource
{
/**
* Create an Service Perimeter. The longrunning operation from this RPC will
* have a successful status once the Service Perimeter has propagated to long-
* lasting storage. Service Perimeters containing errors will result in an error
* response for the first error encountered. (servicePerimeters.create)
*
* @param string $parent Required. Resource name for the access policy which
* owns this Service Perimeter.
*
* Format: `accessPolicies/{policy_id}`
* @param Google_Service_AccessContextManager_ServicePerimeter $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function create($parent, Google_Service_AccessContextManager_ServicePerimeter $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Delete an Service Perimeter by resource name. The longrunning operation from
* this RPC will have a successful status once the Service Perimeter has been
* removed from long-lasting storage. (servicePerimeters.delete)
*
* @param string $name Required. Resource name for the Service Perimeter.
*
* Format: `accessPolicies/{policy_id}/servicePerimeters/{service_perimeter_id}`
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Get an Service Perimeter by resource name. (servicePerimeters.get)
*
* @param string $name Required. Resource name for the Service Perimeter.
*
* Format:
* `accessPolicies/{policy_id}/servicePerimeters/{service_perimeters_id}`
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_ServicePerimeter
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AccessContextManager_ServicePerimeter");
}
/**
* List all Service Perimeters for an access policy.
* (servicePerimeters.listAccessPoliciesServicePerimeters)
*
* @param string $parent Required. Resource name for the access policy to list
* Service Perimeters from.
*
* Format: `accessPolicies/{policy_id}`
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken Next page token for the next batch of Service
* Perimeter instances. Defaults to the first page of results.
* @opt_param int pageSize Number of Service Perimeters to include in the list.
* Default 100.
* @return Google_Service_AccessContextManager_ListServicePerimetersResponse
*/
public function listAccessPoliciesServicePerimeters($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AccessContextManager_ListServicePerimetersResponse");
}
/**
* Update an Service Perimeter. The longrunning operation from this RPC will
* have a successful status once the changes to the Service Perimeter have
* propagated to long-lasting storage. Service Perimeter containing errors will
* result in an error response for the first error encountered.
* (servicePerimeters.patch)
*
* @param string $name Required. Resource name for the ServicePerimeter. The
* `short_name` component must begin with a letter and only include alphanumeric
* and '_'. Format: `accessPolicies/{policy_id}/servicePerimeters/{short_name}`
* @param Google_Service_AccessContextManager_ServicePerimeter $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Mask to control which fields get
* updated. Must be non-empty.
* @return Google_Service_AccessContextManager_Operation
*/
public function patch($name, Google_Service_AccessContextManager_ServicePerimeter $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_AccessContextManager_Operation");
}
}

View File

@@ -0,0 +1,107 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $accesscontextmanagerService = new Google_Service_AccessContextManager(...);
* $operations = $accesscontextmanagerService->operations;
* </code>
*/
class Google_Service_AccessContextManager_Resource_Operations extends Google_Service_Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param Google_Service_AccessContextManager_CancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_AccesscontextmanagerEmpty
*/
public function cancel($name, Google_Service_AccessContextManager_CancelOperationRequest $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('cancel', array($params), "Google_Service_AccessContextManager_AccesscontextmanagerEmpty");
}
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_AccesscontextmanagerEmpty
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_AccessContextManager_AccesscontextmanagerEmpty");
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
*
* NOTE: the `name` binding allows API services to override the binding to use
* different resource name schemes, such as `users/operations`. To override the
* binding, API services can add a binding such as
* `"/v1/{name=users}/operations"` to their service configuration. For backwards
* compatibility, the default name includes the operations collection id,
* however overriding users must ensure the name binding is the parent resource,
* without the operations collection id. (operations.listOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The standard list page size.
* @opt_param string filter The standard list filter.
* @opt_param string pageToken The standard list page token.
* @return Google_Service_AccessContextManager_ListOperationsResponse
*/
public function listOperations($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AccessContextManager_ListOperationsResponse");
}
}

View File

@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_ServicePerimeter extends Google_Model
{
public $createTime;
public $description;
public $name;
public $perimeterType;
protected $statusType = 'Google_Service_AccessContextManager_ServicePerimeterConfig';
protected $statusDataType = '';
public $title;
public $updateTime;
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setPerimeterType($perimeterType)
{
$this->perimeterType = $perimeterType;
}
public function getPerimeterType()
{
return $this->perimeterType;
}
/**
* @param Google_Service_AccessContextManager_ServicePerimeterConfig
*/
public function setStatus(Google_Service_AccessContextManager_ServicePerimeterConfig $status)
{
$this->status = $status;
}
/**
* @return Google_Service_AccessContextManager_ServicePerimeterConfig
*/
public function getStatus()
{
return $this->status;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
public function getUpdateTime()
{
return $this->updateTime;
}
}

View File

@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_ServicePerimeterConfig extends Google_Collection
{
protected $collection_key = 'restrictedServices';
public $accessLevels;
public $resources;
public $restrictedServices;
public function setAccessLevels($accessLevels)
{
$this->accessLevels = $accessLevels;
}
public function getAccessLevels()
{
return $this->accessLevels;
}
public function setResources($resources)
{
$this->resources = $resources;
}
public function getResources()
{
return $this->resources;
}
public function setRestrictedServices($restrictedServices)
{
$this->restrictedServices = $restrictedServices;
}
public function getRestrictedServices()
{
return $this->restrictedServices;
}
}

View File

@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_Status extends Google_Collection
{
protected $collection_key = 'details';
public $code;
public $details;
public $message;
public function setCode($code)
{
$this->code = $code;
}
public function getCode()
{
return $this->code;
}
public function setDetails($details)
{
$this->details = $details;
}
public function getDetails()
{
return $this->details;
}
public function setMessage($message)
{
$this->message = $message;
}
public function getMessage()
{
return $this->message;
}
}

View File

@@ -0,0 +1,681 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* Service definition for AdExchangeBuyer (v1.4).
*
* <p>
* Accesses your bidding-account information, submits creatives for validation,
* finds available direct deals, and retrieves performance reports.</p>
*
* <p>
* For more information about this service, see the API
* <a href="https://developers.google.com/ad-exchange/buyer-rest" target="_blank">Documentation</a>
* </p>
*
* @author Google, Inc.
*/
class Google_Service_AdExchangeBuyer extends Google_Service
{
/** Manage your Ad Exchange buyer account configuration. */
const ADEXCHANGE_BUYER =
"https://www.googleapis.com/auth/adexchange.buyer";
public $accounts;
public $billingInfo;
public $budget;
public $creatives;
public $marketplacedeals;
public $marketplacenotes;
public $marketplaceprivateauction;
public $performanceReport;
public $pretargetingConfig;
public $products;
public $proposals;
public $pubprofiles;
/**
* Constructs the internal representation of the AdExchangeBuyer service.
*
* @param Google_Client $client The client used to deliver requests.
* @param string $rootUrl The root URL used for requests to the service.
*/
public function __construct(Google_Client $client, $rootUrl = null)
{
parent::__construct($client);
$this->rootUrl = $rootUrl ?: 'https://www.googleapis.com/';
$this->servicePath = 'adexchangebuyer/v1.4/';
$this->batchPath = 'batch/adexchangebuyer/v1.4';
$this->version = 'v1.4';
$this->serviceName = 'adexchangebuyer';
$this->accounts = new Google_Service_AdExchangeBuyer_Resource_Accounts(
$this,
$this->serviceName,
'accounts',
array(
'methods' => array(
'get' => array(
'path' => 'accounts/{id}',
'httpMethod' => 'GET',
'parameters' => array(
'id' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
),
),'list' => array(
'path' => 'accounts',
'httpMethod' => 'GET',
'parameters' => array(),
),'patch' => array(
'path' => 'accounts/{id}',
'httpMethod' => 'PATCH',
'parameters' => array(
'id' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
'confirmUnsafeAccountChange' => array(
'location' => 'query',
'type' => 'boolean',
),
),
),'update' => array(
'path' => 'accounts/{id}',
'httpMethod' => 'PUT',
'parameters' => array(
'id' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
'confirmUnsafeAccountChange' => array(
'location' => 'query',
'type' => 'boolean',
),
),
),
)
)
);
$this->billingInfo = new Google_Service_AdExchangeBuyer_Resource_BillingInfo(
$this,
$this->serviceName,
'billingInfo',
array(
'methods' => array(
'get' => array(
'path' => 'billinginfo/{accountId}',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
),
),'list' => array(
'path' => 'billinginfo',
'httpMethod' => 'GET',
'parameters' => array(),
),
)
)
);
$this->budget = new Google_Service_AdExchangeBuyer_Resource_Budget(
$this,
$this->serviceName,
'budget',
array(
'methods' => array(
'get' => array(
'path' => 'billinginfo/{accountId}/{billingId}',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'billingId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'patch' => array(
'path' => 'billinginfo/{accountId}/{billingId}',
'httpMethod' => 'PATCH',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'billingId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'update' => array(
'path' => 'billinginfo/{accountId}/{billingId}',
'httpMethod' => 'PUT',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'billingId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->creatives = new Google_Service_AdExchangeBuyer_Resource_Creatives(
$this,
$this->serviceName,
'creatives',
array(
'methods' => array(
'addDeal' => array(
'path' => 'creatives/{accountId}/{buyerCreativeId}/addDeal/{dealId}',
'httpMethod' => 'POST',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
'buyerCreativeId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'dealId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'creatives/{accountId}/{buyerCreativeId}',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
'buyerCreativeId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'insert' => array(
'path' => 'creatives',
'httpMethod' => 'POST',
'parameters' => array(),
),'list' => array(
'path' => 'creatives',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'query',
'type' => 'integer',
'repeated' => true,
),
'buyerCreativeId' => array(
'location' => 'query',
'type' => 'string',
'repeated' => true,
),
'dealsStatusFilter' => array(
'location' => 'query',
'type' => 'string',
),
'maxResults' => array(
'location' => 'query',
'type' => 'integer',
),
'openAuctionStatusFilter' => array(
'location' => 'query',
'type' => 'string',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),'listDeals' => array(
'path' => 'creatives/{accountId}/{buyerCreativeId}/listDeals',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
'buyerCreativeId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'removeDeal' => array(
'path' => 'creatives/{accountId}/{buyerCreativeId}/removeDeal/{dealId}',
'httpMethod' => 'POST',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
'buyerCreativeId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'dealId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->marketplacedeals = new Google_Service_AdExchangeBuyer_Resource_Marketplacedeals(
$this,
$this->serviceName,
'marketplacedeals',
array(
'methods' => array(
'delete' => array(
'path' => 'proposals/{proposalId}/deals/delete',
'httpMethod' => 'POST',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'insert' => array(
'path' => 'proposals/{proposalId}/deals/insert',
'httpMethod' => 'POST',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'proposals/{proposalId}/deals',
'httpMethod' => 'GET',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'pqlQuery' => array(
'location' => 'query',
'type' => 'string',
),
),
),'update' => array(
'path' => 'proposals/{proposalId}/deals/update',
'httpMethod' => 'POST',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->marketplacenotes = new Google_Service_AdExchangeBuyer_Resource_Marketplacenotes(
$this,
$this->serviceName,
'marketplacenotes',
array(
'methods' => array(
'insert' => array(
'path' => 'proposals/{proposalId}/notes/insert',
'httpMethod' => 'POST',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'proposals/{proposalId}/notes',
'httpMethod' => 'GET',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'pqlQuery' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->marketplaceprivateauction = new Google_Service_AdExchangeBuyer_Resource_Marketplaceprivateauction(
$this,
$this->serviceName,
'marketplaceprivateauction',
array(
'methods' => array(
'updateproposal' => array(
'path' => 'privateauction/{privateAuctionId}/updateproposal',
'httpMethod' => 'POST',
'parameters' => array(
'privateAuctionId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->performanceReport = new Google_Service_AdExchangeBuyer_Resource_PerformanceReport(
$this,
$this->serviceName,
'performanceReport',
array(
'methods' => array(
'list' => array(
'path' => 'performancereport',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'query',
'type' => 'string',
'required' => true,
),
'endDateTime' => array(
'location' => 'query',
'type' => 'string',
'required' => true,
),
'startDateTime' => array(
'location' => 'query',
'type' => 'string',
'required' => true,
),
'maxResults' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->pretargetingConfig = new Google_Service_AdExchangeBuyer_Resource_PretargetingConfig(
$this,
$this->serviceName,
'pretargetingConfig',
array(
'methods' => array(
'delete' => array(
'path' => 'pretargetingconfigs/{accountId}/{configId}',
'httpMethod' => 'DELETE',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'configId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'pretargetingconfigs/{accountId}/{configId}',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'configId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'insert' => array(
'path' => 'pretargetingconfigs/{accountId}',
'httpMethod' => 'POST',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'pretargetingconfigs/{accountId}',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'patch' => array(
'path' => 'pretargetingconfigs/{accountId}/{configId}',
'httpMethod' => 'PATCH',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'configId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'update' => array(
'path' => 'pretargetingconfigs/{accountId}/{configId}',
'httpMethod' => 'PUT',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'configId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->products = new Google_Service_AdExchangeBuyer_Resource_Products(
$this,
$this->serviceName,
'products',
array(
'methods' => array(
'get' => array(
'path' => 'products/{productId}',
'httpMethod' => 'GET',
'parameters' => array(
'productId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'search' => array(
'path' => 'products/search',
'httpMethod' => 'GET',
'parameters' => array(
'pqlQuery' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->proposals = new Google_Service_AdExchangeBuyer_Resource_Proposals(
$this,
$this->serviceName,
'proposals',
array(
'methods' => array(
'get' => array(
'path' => 'proposals/{proposalId}',
'httpMethod' => 'GET',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'insert' => array(
'path' => 'proposals/insert',
'httpMethod' => 'POST',
'parameters' => array(),
),'patch' => array(
'path' => 'proposals/{proposalId}/{revisionNumber}/{updateAction}',
'httpMethod' => 'PATCH',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'revisionNumber' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'updateAction' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'search' => array(
'path' => 'proposals/search',
'httpMethod' => 'GET',
'parameters' => array(
'pqlQuery' => array(
'location' => 'query',
'type' => 'string',
),
),
),'setupcomplete' => array(
'path' => 'proposals/{proposalId}/setupcomplete',
'httpMethod' => 'POST',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'update' => array(
'path' => 'proposals/{proposalId}/{revisionNumber}/{updateAction}',
'httpMethod' => 'PUT',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'revisionNumber' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'updateAction' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->pubprofiles = new Google_Service_AdExchangeBuyer_Resource_Pubprofiles(
$this,
$this->serviceName,
'pubprofiles',
array(
'methods' => array(
'list' => array(
'path' => 'publisher/{accountId}/profiles',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
),
),
)
)
);
}
}

View File

@@ -0,0 +1,110 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_Account extends Google_Collection
{
protected $collection_key = 'bidderLocation';
public $applyPretargetingToNonGuaranteedDeals;
protected $bidderLocationType = 'Google_Service_AdExchangeBuyer_AccountBidderLocation';
protected $bidderLocationDataType = 'array';
public $cookieMatchingNid;
public $cookieMatchingUrl;
public $id;
public $kind;
public $maximumActiveCreatives;
public $maximumTotalQps;
public $numberActiveCreatives;
public function setApplyPretargetingToNonGuaranteedDeals($applyPretargetingToNonGuaranteedDeals)
{
$this->applyPretargetingToNonGuaranteedDeals = $applyPretargetingToNonGuaranteedDeals;
}
public function getApplyPretargetingToNonGuaranteedDeals()
{
return $this->applyPretargetingToNonGuaranteedDeals;
}
/**
* @param Google_Service_AdExchangeBuyer_AccountBidderLocation
*/
public function setBidderLocation($bidderLocation)
{
$this->bidderLocation = $bidderLocation;
}
/**
* @return Google_Service_AdExchangeBuyer_AccountBidderLocation
*/
public function getBidderLocation()
{
return $this->bidderLocation;
}
public function setCookieMatchingNid($cookieMatchingNid)
{
$this->cookieMatchingNid = $cookieMatchingNid;
}
public function getCookieMatchingNid()
{
return $this->cookieMatchingNid;
}
public function setCookieMatchingUrl($cookieMatchingUrl)
{
$this->cookieMatchingUrl = $cookieMatchingUrl;
}
public function getCookieMatchingUrl()
{
return $this->cookieMatchingUrl;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setMaximumActiveCreatives($maximumActiveCreatives)
{
$this->maximumActiveCreatives = $maximumActiveCreatives;
}
public function getMaximumActiveCreatives()
{
return $this->maximumActiveCreatives;
}
public function setMaximumTotalQps($maximumTotalQps)
{
$this->maximumTotalQps = $maximumTotalQps;
}
public function getMaximumTotalQps()
{
return $this->maximumTotalQps;
}
public function setNumberActiveCreatives($numberActiveCreatives)
{
$this->numberActiveCreatives = $numberActiveCreatives;
}
public function getNumberActiveCreatives()
{
return $this->numberActiveCreatives;
}
}

View File

@@ -0,0 +1,57 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_AccountBidderLocation extends Google_Model
{
public $bidProtocol;
public $maximumQps;
public $region;
public $url;
public function setBidProtocol($bidProtocol)
{
$this->bidProtocol = $bidProtocol;
}
public function getBidProtocol()
{
return $this->bidProtocol;
}
public function setMaximumQps($maximumQps)
{
$this->maximumQps = $maximumQps;
}
public function getMaximumQps()
{
return $this->maximumQps;
}
public function setRegion($region)
{
$this->region = $region;
}
public function getRegion()
{
return $this->region;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_AccountsList extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_AdExchangeBuyer_Account';
protected $itemsDataType = 'array';
public $kind;
/**
* @param Google_Service_AdExchangeBuyer_Account
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return Google_Service_AdExchangeBuyer_Account
*/
public function getItems()
{
return $this->items;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

View File

@@ -0,0 +1,56 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_AddOrderDealsRequest extends Google_Collection
{
protected $collection_key = 'deals';
protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
protected $dealsDataType = 'array';
public $proposalRevisionNumber;
public $updateAction;
/**
* @param Google_Service_AdExchangeBuyer_MarketplaceDeal
*/
public function setDeals($deals)
{
$this->deals = $deals;
}
/**
* @return Google_Service_AdExchangeBuyer_MarketplaceDeal
*/
public function getDeals()
{
return $this->deals;
}
public function setProposalRevisionNumber($proposalRevisionNumber)
{
$this->proposalRevisionNumber = $proposalRevisionNumber;
}
public function getProposalRevisionNumber()
{
return $this->proposalRevisionNumber;
}
public function setUpdateAction($updateAction)
{
$this->updateAction = $updateAction;
}
public function getUpdateAction()
{
return $this->updateAction;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_AddOrderDealsResponse extends Google_Collection
{
protected $collection_key = 'deals';
protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
protected $dealsDataType = 'array';
public $proposalRevisionNumber;
/**
* @param Google_Service_AdExchangeBuyer_MarketplaceDeal
*/
public function setDeals($deals)
{
$this->deals = $deals;
}
/**
* @return Google_Service_AdExchangeBuyer_MarketplaceDeal
*/
public function getDeals()
{
return $this->deals;
}
public function setProposalRevisionNumber($proposalRevisionNumber)
{
$this->proposalRevisionNumber = $proposalRevisionNumber;
}
public function getProposalRevisionNumber()
{
return $this->proposalRevisionNumber;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_AddOrderNotesRequest extends Google_Collection
{
protected $collection_key = 'notes';
protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote';
protected $notesDataType = 'array';
/**
* @param Google_Service_AdExchangeBuyer_MarketplaceNote
*/
public function setNotes($notes)
{
$this->notes = $notes;
}
/**
* @return Google_Service_AdExchangeBuyer_MarketplaceNote
*/
public function getNotes()
{
return $this->notes;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_AddOrderNotesResponse extends Google_Collection
{
protected $collection_key = 'notes';
protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote';
protected $notesDataType = 'array';
/**
* @param Google_Service_AdExchangeBuyer_MarketplaceNote
*/
public function setNotes($notes)
{
$this->notes = $notes;
}
/**
* @return Google_Service_AdExchangeBuyer_MarketplaceNote
*/
public function getNotes()
{
return $this->notes;
}
}

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_BillingInfo extends Google_Collection
{
protected $collection_key = 'billingId';
public $accountId;
public $accountName;
public $billingId;
public $kind;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setAccountName($accountName)
{
$this->accountName = $accountName;
}
public function getAccountName()
{
return $this->accountName;
}
public function setBillingId($billingId)
{
$this->billingId = $billingId;
}
public function getBillingId()
{
return $this->billingId;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_BillingInfoList extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_AdExchangeBuyer_BillingInfo';
protected $itemsDataType = 'array';
public $kind;
/**
* @param Google_Service_AdExchangeBuyer_BillingInfo
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return Google_Service_AdExchangeBuyer_BillingInfo
*/
public function getItems()
{
return $this->items;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

View File

@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_Budget extends Google_Model
{
public $accountId;
public $billingId;
public $budgetAmount;
public $currencyCode;
public $id;
public $kind;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setBillingId($billingId)
{
$this->billingId = $billingId;
}
public function getBillingId()
{
return $this->billingId;
}
public function setBudgetAmount($budgetAmount)
{
$this->budgetAmount = $budgetAmount;
}
public function getBudgetAmount()
{
return $this->budgetAmount;
}
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
public function getCurrencyCode()
{
return $this->currencyCode;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_Buyer extends Google_Model
{
public $accountId;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_ContactInformation extends Google_Model
{
public $email;
public $name;
public function setEmail($email)
{
$this->email = $email;
}
public function getEmail()
{
return $this->email;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_CreateOrdersRequest extends Google_Collection
{
protected $collection_key = 'proposals';
protected $proposalsType = 'Google_Service_AdExchangeBuyer_Proposal';
protected $proposalsDataType = 'array';
public $webPropertyCode;
/**
* @param Google_Service_AdExchangeBuyer_Proposal
*/
public function setProposals($proposals)
{
$this->proposals = $proposals;
}
/**
* @return Google_Service_AdExchangeBuyer_Proposal
*/
public function getProposals()
{
return $this->proposals;
}
public function setWebPropertyCode($webPropertyCode)
{
$this->webPropertyCode = $webPropertyCode;
}
public function getWebPropertyCode()
{
return $this->webPropertyCode;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_CreateOrdersResponse extends Google_Collection
{
protected $collection_key = 'proposals';
protected $proposalsType = 'Google_Service_AdExchangeBuyer_Proposal';
protected $proposalsDataType = 'array';
/**
* @param Google_Service_AdExchangeBuyer_Proposal
*/
public function setProposals($proposals)
{
$this->proposals = $proposals;
}
/**
* @return Google_Service_AdExchangeBuyer_Proposal
*/
public function getProposals()
{
return $this->proposals;
}
}

View File

@@ -0,0 +1,339 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
{
protected $collection_key = 'vendorType';
protected $internal_gapi_mappings = array(
"hTMLSnippet" => "HTMLSnippet",
);
public $hTMLSnippet;
public $accountId;
public $adChoicesDestinationUrl;
protected $adTechnologyProvidersType = 'Google_Service_AdExchangeBuyer_CreativeAdTechnologyProviders';
protected $adTechnologyProvidersDataType = '';
public $advertiserId;
public $advertiserName;
public $agencyId;
public $apiUploadTimestamp;
public $attribute;
public $buyerCreativeId;
public $clickThroughUrl;
protected $correctionsType = 'Google_Service_AdExchangeBuyer_CreativeCorrections';
protected $correctionsDataType = 'array';
public $creativeStatusIdentityType;
public $dealsStatus;
public $detectedDomains;
protected $filteringReasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasons';
protected $filteringReasonsDataType = '';
public $height;
public $impressionTrackingUrl;
public $kind;
public $languages;
protected $nativeAdType = 'Google_Service_AdExchangeBuyer_CreativeNativeAd';
protected $nativeAdDataType = '';
public $openAuctionStatus;
public $productCategories;
public $restrictedCategories;
public $sensitiveCategories;
protected $servingRestrictionsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictions';
protected $servingRestrictionsDataType = 'array';
public $vendorType;
public $version;
public $videoURL;
public $videoVastXML;
public $width;
public function setHTMLSnippet($hTMLSnippet)
{
$this->hTMLSnippet = $hTMLSnippet;
}
public function getHTMLSnippet()
{
return $this->hTMLSnippet;
}
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setAdChoicesDestinationUrl($adChoicesDestinationUrl)
{
$this->adChoicesDestinationUrl = $adChoicesDestinationUrl;
}
public function getAdChoicesDestinationUrl()
{
return $this->adChoicesDestinationUrl;
}
/**
* @param Google_Service_AdExchangeBuyer_CreativeAdTechnologyProviders
*/
public function setAdTechnologyProviders(Google_Service_AdExchangeBuyer_CreativeAdTechnologyProviders $adTechnologyProviders)
{
$this->adTechnologyProviders = $adTechnologyProviders;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeAdTechnologyProviders
*/
public function getAdTechnologyProviders()
{
return $this->adTechnologyProviders;
}
public function setAdvertiserId($advertiserId)
{
$this->advertiserId = $advertiserId;
}
public function getAdvertiserId()
{
return $this->advertiserId;
}
public function setAdvertiserName($advertiserName)
{
$this->advertiserName = $advertiserName;
}
public function getAdvertiserName()
{
return $this->advertiserName;
}
public function setAgencyId($agencyId)
{
$this->agencyId = $agencyId;
}
public function getAgencyId()
{
return $this->agencyId;
}
public function setApiUploadTimestamp($apiUploadTimestamp)
{
$this->apiUploadTimestamp = $apiUploadTimestamp;
}
public function getApiUploadTimestamp()
{
return $this->apiUploadTimestamp;
}
public function setAttribute($attribute)
{
$this->attribute = $attribute;
}
public function getAttribute()
{
return $this->attribute;
}
public function setBuyerCreativeId($buyerCreativeId)
{
$this->buyerCreativeId = $buyerCreativeId;
}
public function getBuyerCreativeId()
{
return $this->buyerCreativeId;
}
public function setClickThroughUrl($clickThroughUrl)
{
$this->clickThroughUrl = $clickThroughUrl;
}
public function getClickThroughUrl()
{
return $this->clickThroughUrl;
}
/**
* @param Google_Service_AdExchangeBuyer_CreativeCorrections
*/
public function setCorrections($corrections)
{
$this->corrections = $corrections;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeCorrections
*/
public function getCorrections()
{
return $this->corrections;
}
public function setCreativeStatusIdentityType($creativeStatusIdentityType)
{
$this->creativeStatusIdentityType = $creativeStatusIdentityType;
}
public function getCreativeStatusIdentityType()
{
return $this->creativeStatusIdentityType;
}
public function setDealsStatus($dealsStatus)
{
$this->dealsStatus = $dealsStatus;
}
public function getDealsStatus()
{
return $this->dealsStatus;
}
public function setDetectedDomains($detectedDomains)
{
$this->detectedDomains = $detectedDomains;
}
public function getDetectedDomains()
{
return $this->detectedDomains;
}
/**
* @param Google_Service_AdExchangeBuyer_CreativeFilteringReasons
*/
public function setFilteringReasons(Google_Service_AdExchangeBuyer_CreativeFilteringReasons $filteringReasons)
{
$this->filteringReasons = $filteringReasons;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeFilteringReasons
*/
public function getFilteringReasons()
{
return $this->filteringReasons;
}
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setImpressionTrackingUrl($impressionTrackingUrl)
{
$this->impressionTrackingUrl = $impressionTrackingUrl;
}
public function getImpressionTrackingUrl()
{
return $this->impressionTrackingUrl;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLanguages($languages)
{
$this->languages = $languages;
}
public function getLanguages()
{
return $this->languages;
}
/**
* @param Google_Service_AdExchangeBuyer_CreativeNativeAd
*/
public function setNativeAd(Google_Service_AdExchangeBuyer_CreativeNativeAd $nativeAd)
{
$this->nativeAd = $nativeAd;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeNativeAd
*/
public function getNativeAd()
{
return $this->nativeAd;
}
public function setOpenAuctionStatus($openAuctionStatus)
{
$this->openAuctionStatus = $openAuctionStatus;
}
public function getOpenAuctionStatus()
{
return $this->openAuctionStatus;
}
public function setProductCategories($productCategories)
{
$this->productCategories = $productCategories;
}
public function getProductCategories()
{
return $this->productCategories;
}
public function setRestrictedCategories($restrictedCategories)
{
$this->restrictedCategories = $restrictedCategories;
}
public function getRestrictedCategories()
{
return $this->restrictedCategories;
}
public function setSensitiveCategories($sensitiveCategories)
{
$this->sensitiveCategories = $sensitiveCategories;
}
public function getSensitiveCategories()
{
return $this->sensitiveCategories;
}
/**
* @param Google_Service_AdExchangeBuyer_CreativeServingRestrictions
*/
public function setServingRestrictions($servingRestrictions)
{
$this->servingRestrictions = $servingRestrictions;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeServingRestrictions
*/
public function getServingRestrictions()
{
return $this->servingRestrictions;
}
public function setVendorType($vendorType)
{
$this->vendorType = $vendorType;
}
public function getVendorType()
{
return $this->vendorType;
}
public function setVersion($version)
{
$this->version = $version;
}
public function getVersion()
{
return $this->version;
}
public function setVideoURL($videoURL)
{
$this->videoURL = $videoURL;
}
public function getVideoURL()
{
return $this->videoURL;
}
public function setVideoVastXML($videoVastXML)
{
$this->videoVastXML = $videoVastXML;
}
public function getVideoVastXML()
{
return $this->videoVastXML;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_CreativeAdTechnologyProviders extends Google_Collection
{
protected $collection_key = 'detectedProviderIds';
public $detectedProviderIds;
public $hasUnidentifiedProvider;
public function setDetectedProviderIds($detectedProviderIds)
{
$this->detectedProviderIds = $detectedProviderIds;
}
public function getDetectedProviderIds()
{
return $this->detectedProviderIds;
}
public function setHasUnidentifiedProvider($hasUnidentifiedProvider)
{
$this->hasUnidentifiedProvider = $hasUnidentifiedProvider;
}
public function getHasUnidentifiedProvider()
{
return $this->hasUnidentifiedProvider;
}
}

View File

@@ -0,0 +1,56 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_CreativeCorrections extends Google_Collection
{
protected $collection_key = 'details';
protected $contextsType = 'Google_Service_AdExchangeBuyer_CreativeCorrectionsContexts';
protected $contextsDataType = 'array';
public $details;
public $reason;
/**
* @param Google_Service_AdExchangeBuyer_CreativeCorrectionsContexts
*/
public function setContexts($contexts)
{
$this->contexts = $contexts;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeCorrectionsContexts
*/
public function getContexts()
{
return $this->contexts;
}
public function setDetails($details)
{
$this->details = $details;
}
public function getDetails()
{
return $this->details;
}
public function setReason($reason)
{
$this->reason = $reason;
}
public function getReason()
{
return $this->reason;
}
}

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_CreativeCorrectionsContexts extends Google_Collection
{
protected $collection_key = 'platform';
public $auctionType;
public $contextType;
public $geoCriteriaId;
public $platform;
public function setAuctionType($auctionType)
{
$this->auctionType = $auctionType;
}
public function getAuctionType()
{
return $this->auctionType;
}
public function setContextType($contextType)
{
$this->contextType = $contextType;
}
public function getContextType()
{
return $this->contextType;
}
public function setGeoCriteriaId($geoCriteriaId)
{
$this->geoCriteriaId = $geoCriteriaId;
}
public function getGeoCriteriaId()
{
return $this->geoCriteriaId;
}
public function setPlatform($platform)
{
$this->platform = $platform;
}
public function getPlatform()
{
return $this->platform;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_CreativeDealIds extends Google_Collection
{
protected $collection_key = 'dealStatuses';
protected $dealStatusesType = 'Google_Service_AdExchangeBuyer_CreativeDealIdsDealStatuses';
protected $dealStatusesDataType = 'array';
public $kind;
/**
* @param Google_Service_AdExchangeBuyer_CreativeDealIdsDealStatuses
*/
public function setDealStatuses($dealStatuses)
{
$this->dealStatuses = $dealStatuses;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeDealIdsDealStatuses
*/
public function getDealStatuses()
{
return $this->dealStatuses;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_CreativeDealIdsDealStatuses extends Google_Model
{
public $arcStatus;
public $dealId;
public $webPropertyId;
public function setArcStatus($arcStatus)
{
$this->arcStatus = $arcStatus;
}
public function getArcStatus()
{
return $this->arcStatus;
}
public function setDealId($dealId)
{
$this->dealId = $dealId;
}
public function getDealId()
{
return $this->dealId;
}
public function setWebPropertyId($webPropertyId)
{
$this->webPropertyId = $webPropertyId;
}
public function getWebPropertyId()
{
return $this->webPropertyId;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_CreativeFilteringReasons extends Google_Collection
{
protected $collection_key = 'reasons';
public $date;
protected $reasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons';
protected $reasonsDataType = 'array';
public function setDate($date)
{
$this->date = $date;
}
public function getDate()
{
return $this->date;
}
/**
* @param Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons
*/
public function setReasons($reasons)
{
$this->reasons = $reasons;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons
*/
public function getReasons()
{
return $this->reasons;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons extends Google_Model
{
public $filteringCount;
public $filteringStatus;
public function setFilteringCount($filteringCount)
{
$this->filteringCount = $filteringCount;
}
public function getFilteringCount()
{
return $this->filteringCount;
}
public function setFilteringStatus($filteringStatus)
{
$this->filteringStatus = $filteringStatus;
}
public function getFilteringStatus()
{
return $this->filteringStatus;
}
}

View File

@@ -0,0 +1,160 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_CreativeNativeAd extends Google_Collection
{
protected $collection_key = 'impressionTrackingUrl';
public $advertiser;
protected $appIconType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon';
protected $appIconDataType = '';
public $body;
public $callToAction;
public $clickLinkUrl;
public $clickTrackingUrl;
public $headline;
protected $imageType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdImage';
protected $imageDataType = '';
public $impressionTrackingUrl;
protected $logoType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdLogo';
protected $logoDataType = '';
public $price;
public $starRating;
public $videoURL;
public function setAdvertiser($advertiser)
{
$this->advertiser = $advertiser;
}
public function getAdvertiser()
{
return $this->advertiser;
}
/**
* @param Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon
*/
public function setAppIcon(Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon $appIcon)
{
$this->appIcon = $appIcon;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon
*/
public function getAppIcon()
{
return $this->appIcon;
}
public function setBody($body)
{
$this->body = $body;
}
public function getBody()
{
return $this->body;
}
public function setCallToAction($callToAction)
{
$this->callToAction = $callToAction;
}
public function getCallToAction()
{
return $this->callToAction;
}
public function setClickLinkUrl($clickLinkUrl)
{
$this->clickLinkUrl = $clickLinkUrl;
}
public function getClickLinkUrl()
{
return $this->clickLinkUrl;
}
public function setClickTrackingUrl($clickTrackingUrl)
{
$this->clickTrackingUrl = $clickTrackingUrl;
}
public function getClickTrackingUrl()
{
return $this->clickTrackingUrl;
}
public function setHeadline($headline)
{
$this->headline = $headline;
}
public function getHeadline()
{
return $this->headline;
}
/**
* @param Google_Service_AdExchangeBuyer_CreativeNativeAdImage
*/
public function setImage(Google_Service_AdExchangeBuyer_CreativeNativeAdImage $image)
{
$this->image = $image;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeNativeAdImage
*/
public function getImage()
{
return $this->image;
}
public function setImpressionTrackingUrl($impressionTrackingUrl)
{
$this->impressionTrackingUrl = $impressionTrackingUrl;
}
public function getImpressionTrackingUrl()
{
return $this->impressionTrackingUrl;
}
/**
* @param Google_Service_AdExchangeBuyer_CreativeNativeAdLogo
*/
public function setLogo(Google_Service_AdExchangeBuyer_CreativeNativeAdLogo $logo)
{
$this->logo = $logo;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeNativeAdLogo
*/
public function getLogo()
{
return $this->logo;
}
public function setPrice($price)
{
$this->price = $price;
}
public function getPrice()
{
return $this->price;
}
public function setStarRating($starRating)
{
$this->starRating = $starRating;
}
public function getStarRating()
{
return $this->starRating;
}
public function setVideoURL($videoURL)
{
$this->videoURL = $videoURL;
}
public function getVideoURL()
{
return $this->videoURL;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon extends Google_Model
{
public $height;
public $url;
public $width;
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_CreativeNativeAdImage extends Google_Model
{
public $height;
public $url;
public $width;
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_CreativeNativeAdLogo extends Google_Model
{
public $height;
public $url;
public $width;
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}

View File

@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_CreativeServingRestrictions extends Google_Collection
{
protected $collection_key = 'disapprovalReasons';
protected $contextsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts';
protected $contextsDataType = 'array';
protected $disapprovalReasonsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons';
protected $disapprovalReasonsDataType = 'array';
public $reason;
/**
* @param Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts
*/
public function setContexts($contexts)
{
$this->contexts = $contexts;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts
*/
public function getContexts()
{
return $this->contexts;
}
/**
* @param Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons
*/
public function setDisapprovalReasons($disapprovalReasons)
{
$this->disapprovalReasons = $disapprovalReasons;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons
*/
public function getDisapprovalReasons()
{
return $this->disapprovalReasons;
}
public function setReason($reason)
{
$this->reason = $reason;
}
public function getReason()
{
return $this->reason;
}
}

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts extends Google_Collection
{
protected $collection_key = 'platform';
public $auctionType;
public $contextType;
public $geoCriteriaId;
public $platform;
public function setAuctionType($auctionType)
{
$this->auctionType = $auctionType;
}
public function getAuctionType()
{
return $this->auctionType;
}
public function setContextType($contextType)
{
$this->contextType = $contextType;
}
public function getContextType()
{
return $this->contextType;
}
public function setGeoCriteriaId($geoCriteriaId)
{
$this->geoCriteriaId = $geoCriteriaId;
}
public function getGeoCriteriaId()
{
return $this->geoCriteriaId;
}
public function setPlatform($platform)
{
$this->platform = $platform;
}
public function getPlatform()
{
return $this->platform;
}
}

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons extends Google_Collection
{
protected $collection_key = 'details';
public $details;
public $reason;
public function setDetails($details)
{
$this->details = $details;
}
public function getDetails()
{
return $this->details;
}
public function setReason($reason)
{
$this->reason = $reason;
}
public function getReason()
{
return $this->reason;
}
}

View File

@@ -0,0 +1,56 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_CreativesList extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_AdExchangeBuyer_Creative';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
/**
* @param Google_Service_AdExchangeBuyer_Creative
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return Google_Service_AdExchangeBuyer_Creative
*/
public function getItems()
{
return $this->items;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,46 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_DealServingMetadata extends Google_Model
{
public $alcoholAdsAllowed;
protected $dealPauseStatusType = 'Google_Service_AdExchangeBuyer_DealServingMetadataDealPauseStatus';
protected $dealPauseStatusDataType = '';
public function setAlcoholAdsAllowed($alcoholAdsAllowed)
{
$this->alcoholAdsAllowed = $alcoholAdsAllowed;
}
public function getAlcoholAdsAllowed()
{
return $this->alcoholAdsAllowed;
}
/**
* @param Google_Service_AdExchangeBuyer_DealServingMetadataDealPauseStatus
*/
public function setDealPauseStatus(Google_Service_AdExchangeBuyer_DealServingMetadataDealPauseStatus $dealPauseStatus)
{
$this->dealPauseStatus = $dealPauseStatus;
}
/**
* @return Google_Service_AdExchangeBuyer_DealServingMetadataDealPauseStatus
*/
public function getDealPauseStatus()
{
return $this->dealPauseStatus;
}
}

View File

@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_DealServingMetadataDealPauseStatus extends Google_Model
{
public $buyerPauseReason;
public $firstPausedBy;
public $hasBuyerPaused;
public $hasSellerPaused;
public $sellerPauseReason;
public function setBuyerPauseReason($buyerPauseReason)
{
$this->buyerPauseReason = $buyerPauseReason;
}
public function getBuyerPauseReason()
{
return $this->buyerPauseReason;
}
public function setFirstPausedBy($firstPausedBy)
{
$this->firstPausedBy = $firstPausedBy;
}
public function getFirstPausedBy()
{
return $this->firstPausedBy;
}
public function setHasBuyerPaused($hasBuyerPaused)
{
$this->hasBuyerPaused = $hasBuyerPaused;
}
public function getHasBuyerPaused()
{
return $this->hasBuyerPaused;
}
public function setHasSellerPaused($hasSellerPaused)
{
$this->hasSellerPaused = $hasSellerPaused;
}
public function getHasSellerPaused()
{
return $this->hasSellerPaused;
}
public function setSellerPauseReason($sellerPauseReason)
{
$this->sellerPauseReason = $sellerPauseReason;
}
public function getSellerPauseReason()
{
return $this->sellerPauseReason;
}
}

View File

@@ -0,0 +1,146 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_DealTerms extends Google_Model
{
public $brandingType;
public $crossListedExternalDealIdType;
public $description;
protected $estimatedGrossSpendType = 'Google_Service_AdExchangeBuyer_Price';
protected $estimatedGrossSpendDataType = '';
public $estimatedImpressionsPerDay;
protected $guaranteedFixedPriceTermsType = 'Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms';
protected $guaranteedFixedPriceTermsDataType = '';
protected $nonGuaranteedAuctionTermsType = 'Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms';
protected $nonGuaranteedAuctionTermsDataType = '';
protected $nonGuaranteedFixedPriceTermsType = 'Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms';
protected $nonGuaranteedFixedPriceTermsDataType = '';
protected $rubiconNonGuaranteedTermsType = 'Google_Service_AdExchangeBuyer_DealTermsRubiconNonGuaranteedTerms';
protected $rubiconNonGuaranteedTermsDataType = '';
public $sellerTimeZone;
public function setBrandingType($brandingType)
{
$this->brandingType = $brandingType;
}
public function getBrandingType()
{
return $this->brandingType;
}
public function setCrossListedExternalDealIdType($crossListedExternalDealIdType)
{
$this->crossListedExternalDealIdType = $crossListedExternalDealIdType;
}
public function getCrossListedExternalDealIdType()
{
return $this->crossListedExternalDealIdType;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
/**
* @param Google_Service_AdExchangeBuyer_Price
*/
public function setEstimatedGrossSpend(Google_Service_AdExchangeBuyer_Price $estimatedGrossSpend)
{
$this->estimatedGrossSpend = $estimatedGrossSpend;
}
/**
* @return Google_Service_AdExchangeBuyer_Price
*/
public function getEstimatedGrossSpend()
{
return $this->estimatedGrossSpend;
}
public function setEstimatedImpressionsPerDay($estimatedImpressionsPerDay)
{
$this->estimatedImpressionsPerDay = $estimatedImpressionsPerDay;
}
public function getEstimatedImpressionsPerDay()
{
return $this->estimatedImpressionsPerDay;
}
/**
* @param Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms
*/
public function setGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms $guaranteedFixedPriceTerms)
{
$this->guaranteedFixedPriceTerms = $guaranteedFixedPriceTerms;
}
/**
* @return Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms
*/
public function getGuaranteedFixedPriceTerms()
{
return $this->guaranteedFixedPriceTerms;
}
/**
* @param Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms
*/
public function setNonGuaranteedAuctionTerms(Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms $nonGuaranteedAuctionTerms)
{
$this->nonGuaranteedAuctionTerms = $nonGuaranteedAuctionTerms;
}
/**
* @return Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms
*/
public function getNonGuaranteedAuctionTerms()
{
return $this->nonGuaranteedAuctionTerms;
}
/**
* @param Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms
*/
public function setNonGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms $nonGuaranteedFixedPriceTerms)
{
$this->nonGuaranteedFixedPriceTerms = $nonGuaranteedFixedPriceTerms;
}
/**
* @return Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms
*/
public function getNonGuaranteedFixedPriceTerms()
{
return $this->nonGuaranteedFixedPriceTerms;
}
/**
* @param Google_Service_AdExchangeBuyer_DealTermsRubiconNonGuaranteedTerms
*/
public function setRubiconNonGuaranteedTerms(Google_Service_AdExchangeBuyer_DealTermsRubiconNonGuaranteedTerms $rubiconNonGuaranteedTerms)
{
$this->rubiconNonGuaranteedTerms = $rubiconNonGuaranteedTerms;
}
/**
* @return Google_Service_AdExchangeBuyer_DealTermsRubiconNonGuaranteedTerms
*/
public function getRubiconNonGuaranteedTerms()
{
return $this->rubiconNonGuaranteedTerms;
}
public function setSellerTimeZone($sellerTimeZone)
{
$this->sellerTimeZone = $sellerTimeZone;
}
public function getSellerTimeZone()
{
return $this->sellerTimeZone;
}
}

View File

@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms extends Google_Collection
{
protected $collection_key = 'fixedPrices';
protected $billingInfoType = 'Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTermsBillingInfo';
protected $billingInfoDataType = '';
protected $fixedPricesType = 'Google_Service_AdExchangeBuyer_PricePerBuyer';
protected $fixedPricesDataType = 'array';
public $guaranteedImpressions;
public $guaranteedLooks;
public $minimumDailyLooks;
/**
* @param Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTermsBillingInfo
*/
public function setBillingInfo(Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTermsBillingInfo $billingInfo)
{
$this->billingInfo = $billingInfo;
}
/**
* @return Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTermsBillingInfo
*/
public function getBillingInfo()
{
return $this->billingInfo;
}
/**
* @param Google_Service_AdExchangeBuyer_PricePerBuyer
*/
public function setFixedPrices($fixedPrices)
{
$this->fixedPrices = $fixedPrices;
}
/**
* @return Google_Service_AdExchangeBuyer_PricePerBuyer
*/
public function getFixedPrices()
{
return $this->fixedPrices;
}
public function setGuaranteedImpressions($guaranteedImpressions)
{
$this->guaranteedImpressions = $guaranteedImpressions;
}
public function getGuaranteedImpressions()
{
return $this->guaranteedImpressions;
}
public function setGuaranteedLooks($guaranteedLooks)
{
$this->guaranteedLooks = $guaranteedLooks;
}
public function getGuaranteedLooks()
{
return $this->guaranteedLooks;
}
public function setMinimumDailyLooks($minimumDailyLooks)
{
$this->minimumDailyLooks = $minimumDailyLooks;
}
public function getMinimumDailyLooks()
{
return $this->minimumDailyLooks;
}
}

View File

@@ -0,0 +1,64 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTermsBillingInfo extends Google_Model
{
public $currencyConversionTimeMs;
public $dfpLineItemId;
public $originalContractedQuantity;
protected $priceType = 'Google_Service_AdExchangeBuyer_Price';
protected $priceDataType = '';
public function setCurrencyConversionTimeMs($currencyConversionTimeMs)
{
$this->currencyConversionTimeMs = $currencyConversionTimeMs;
}
public function getCurrencyConversionTimeMs()
{
return $this->currencyConversionTimeMs;
}
public function setDfpLineItemId($dfpLineItemId)
{
$this->dfpLineItemId = $dfpLineItemId;
}
public function getDfpLineItemId()
{
return $this->dfpLineItemId;
}
public function setOriginalContractedQuantity($originalContractedQuantity)
{
$this->originalContractedQuantity = $originalContractedQuantity;
}
public function getOriginalContractedQuantity()
{
return $this->originalContractedQuantity;
}
/**
* @param Google_Service_AdExchangeBuyer_Price
*/
public function setPrice(Google_Service_AdExchangeBuyer_Price $price)
{
$this->price = $price;
}
/**
* @return Google_Service_AdExchangeBuyer_Price
*/
public function getPrice()
{
return $this->price;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms extends Google_Collection
{
protected $collection_key = 'reservePricePerBuyers';
public $autoOptimizePrivateAuction;
protected $reservePricePerBuyersType = 'Google_Service_AdExchangeBuyer_PricePerBuyer';
protected $reservePricePerBuyersDataType = 'array';
public function setAutoOptimizePrivateAuction($autoOptimizePrivateAuction)
{
$this->autoOptimizePrivateAuction = $autoOptimizePrivateAuction;
}
public function getAutoOptimizePrivateAuction()
{
return $this->autoOptimizePrivateAuction;
}
/**
* @param Google_Service_AdExchangeBuyer_PricePerBuyer
*/
public function setReservePricePerBuyers($reservePricePerBuyers)
{
$this->reservePricePerBuyers = $reservePricePerBuyers;
}
/**
* @return Google_Service_AdExchangeBuyer_PricePerBuyer
*/
public function getReservePricePerBuyers()
{
return $this->reservePricePerBuyers;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms extends Google_Collection
{
protected $collection_key = 'fixedPrices';
protected $fixedPricesType = 'Google_Service_AdExchangeBuyer_PricePerBuyer';
protected $fixedPricesDataType = 'array';
/**
* @param Google_Service_AdExchangeBuyer_PricePerBuyer
*/
public function setFixedPrices($fixedPrices)
{
$this->fixedPrices = $fixedPrices;
}
/**
* @return Google_Service_AdExchangeBuyer_PricePerBuyer
*/
public function getFixedPrices()
{
return $this->fixedPrices;
}
}

View File

@@ -0,0 +1,53 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_DealTermsRubiconNonGuaranteedTerms extends Google_Model
{
protected $priorityPriceType = 'Google_Service_AdExchangeBuyer_Price';
protected $priorityPriceDataType = '';
protected $standardPriceType = 'Google_Service_AdExchangeBuyer_Price';
protected $standardPriceDataType = '';
/**
* @param Google_Service_AdExchangeBuyer_Price
*/
public function setPriorityPrice(Google_Service_AdExchangeBuyer_Price $priorityPrice)
{
$this->priorityPrice = $priorityPrice;
}
/**
* @return Google_Service_AdExchangeBuyer_Price
*/
public function getPriorityPrice()
{
return $this->priorityPrice;
}
/**
* @param Google_Service_AdExchangeBuyer_Price
*/
public function setStandardPrice(Google_Service_AdExchangeBuyer_Price $standardPrice)
{
$this->standardPrice = $standardPrice;
}
/**
* @return Google_Service_AdExchangeBuyer_Price
*/
public function getStandardPrice()
{
return $this->standardPrice;
}
}

View File

@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_DeleteOrderDealsRequest extends Google_Collection
{
protected $collection_key = 'dealIds';
public $dealIds;
public $proposalRevisionNumber;
public $updateAction;
public function setDealIds($dealIds)
{
$this->dealIds = $dealIds;
}
public function getDealIds()
{
return $this->dealIds;
}
public function setProposalRevisionNumber($proposalRevisionNumber)
{
$this->proposalRevisionNumber = $proposalRevisionNumber;
}
public function getProposalRevisionNumber()
{
return $this->proposalRevisionNumber;
}
public function setUpdateAction($updateAction)
{
$this->updateAction = $updateAction;
}
public function getUpdateAction()
{
return $this->updateAction;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse extends Google_Collection
{
protected $collection_key = 'deals';
protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
protected $dealsDataType = 'array';
public $proposalRevisionNumber;
/**
* @param Google_Service_AdExchangeBuyer_MarketplaceDeal
*/
public function setDeals($deals)
{
$this->deals = $deals;
}
/**
* @return Google_Service_AdExchangeBuyer_MarketplaceDeal
*/
public function getDeals()
{
return $this->deals;
}
public function setProposalRevisionNumber($proposalRevisionNumber)
{
$this->proposalRevisionNumber = $proposalRevisionNumber;
}
public function getProposalRevisionNumber()
{
return $this->proposalRevisionNumber;
}
}

View File

@@ -0,0 +1,56 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_DeliveryControl extends Google_Collection
{
protected $collection_key = 'frequencyCaps';
public $creativeBlockingLevel;
public $deliveryRateType;
protected $frequencyCapsType = 'Google_Service_AdExchangeBuyer_DeliveryControlFrequencyCap';
protected $frequencyCapsDataType = 'array';
public function setCreativeBlockingLevel($creativeBlockingLevel)
{
$this->creativeBlockingLevel = $creativeBlockingLevel;
}
public function getCreativeBlockingLevel()
{
return $this->creativeBlockingLevel;
}
public function setDeliveryRateType($deliveryRateType)
{
$this->deliveryRateType = $deliveryRateType;
}
public function getDeliveryRateType()
{
return $this->deliveryRateType;
}
/**
* @param Google_Service_AdExchangeBuyer_DeliveryControlFrequencyCap
*/
public function setFrequencyCaps($frequencyCaps)
{
$this->frequencyCaps = $frequencyCaps;
}
/**
* @return Google_Service_AdExchangeBuyer_DeliveryControlFrequencyCap
*/
public function getFrequencyCaps()
{
return $this->frequencyCaps;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_DeliveryControlFrequencyCap extends Google_Model
{
public $maxImpressions;
public $numTimeUnits;
public $timeUnitType;
public function setMaxImpressions($maxImpressions)
{
$this->maxImpressions = $maxImpressions;
}
public function getMaxImpressions()
{
return $this->maxImpressions;
}
public function setNumTimeUnits($numTimeUnits)
{
$this->numTimeUnits = $numTimeUnits;
}
public function getNumTimeUnits()
{
return $this->numTimeUnits;
}
public function setTimeUnitType($timeUnitType)
{
$this->timeUnitType = $timeUnitType;
}
public function getTimeUnitType()
{
return $this->timeUnitType;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_Dimension extends Google_Collection
{
protected $collection_key = 'dimensionValues';
public $dimensionType;
protected $dimensionValuesType = 'Google_Service_AdExchangeBuyer_DimensionDimensionValue';
protected $dimensionValuesDataType = 'array';
public function setDimensionType($dimensionType)
{
$this->dimensionType = $dimensionType;
}
public function getDimensionType()
{
return $this->dimensionType;
}
/**
* @param Google_Service_AdExchangeBuyer_DimensionDimensionValue
*/
public function setDimensionValues($dimensionValues)
{
$this->dimensionValues = $dimensionValues;
}
/**
* @return Google_Service_AdExchangeBuyer_DimensionDimensionValue
*/
public function getDimensionValues()
{
return $this->dimensionValues;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_DimensionDimensionValue extends Google_Model
{
public $id;
public $name;
public $percentage;
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setPercentage($percentage)
{
$this->percentage = $percentage;
}
public function getPercentage()
{
return $this->percentage;
}
}

View File

@@ -0,0 +1,72 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_EditAllOrderDealsRequest extends Google_Collection
{
protected $collection_key = 'deals';
protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
protected $dealsDataType = 'array';
protected $proposalType = 'Google_Service_AdExchangeBuyer_Proposal';
protected $proposalDataType = '';
public $proposalRevisionNumber;
public $updateAction;
/**
* @param Google_Service_AdExchangeBuyer_MarketplaceDeal
*/
public function setDeals($deals)
{
$this->deals = $deals;
}
/**
* @return Google_Service_AdExchangeBuyer_MarketplaceDeal
*/
public function getDeals()
{
return $this->deals;
}
/**
* @param Google_Service_AdExchangeBuyer_Proposal
*/
public function setProposal(Google_Service_AdExchangeBuyer_Proposal $proposal)
{
$this->proposal = $proposal;
}
/**
* @return Google_Service_AdExchangeBuyer_Proposal
*/
public function getProposal()
{
return $this->proposal;
}
public function setProposalRevisionNumber($proposalRevisionNumber)
{
$this->proposalRevisionNumber = $proposalRevisionNumber;
}
public function getProposalRevisionNumber()
{
return $this->proposalRevisionNumber;
}
public function setUpdateAction($updateAction)
{
$this->updateAction = $updateAction;
}
public function getUpdateAction()
{
return $this->updateAction;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse extends Google_Collection
{
protected $collection_key = 'deals';
protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
protected $dealsDataType = 'array';
public $orderRevisionNumber;
/**
* @param Google_Service_AdExchangeBuyer_MarketplaceDeal
*/
public function setDeals($deals)
{
$this->deals = $deals;
}
/**
* @return Google_Service_AdExchangeBuyer_MarketplaceDeal
*/
public function getDeals()
{
return $this->deals;
}
public function setOrderRevisionNumber($orderRevisionNumber)
{
$this->orderRevisionNumber = $orderRevisionNumber;
}
public function getOrderRevisionNumber()
{
return $this->orderRevisionNumber;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_GetOffersResponse extends Google_Collection
{
protected $collection_key = 'products';
protected $productsType = 'Google_Service_AdExchangeBuyer_Product';
protected $productsDataType = 'array';
/**
* @param Google_Service_AdExchangeBuyer_Product
*/
public function setProducts($products)
{
$this->products = $products;
}
/**
* @return Google_Service_AdExchangeBuyer_Product
*/
public function getProducts()
{
return $this->products;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_GetOrderDealsResponse extends Google_Collection
{
protected $collection_key = 'deals';
protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
protected $dealsDataType = 'array';
/**
* @param Google_Service_AdExchangeBuyer_MarketplaceDeal
*/
public function setDeals($deals)
{
$this->deals = $deals;
}
/**
* @return Google_Service_AdExchangeBuyer_MarketplaceDeal
*/
public function getDeals()
{
return $this->deals;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_GetOrderNotesResponse extends Google_Collection
{
protected $collection_key = 'notes';
protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote';
protected $notesDataType = 'array';
/**
* @param Google_Service_AdExchangeBuyer_MarketplaceNote
*/
public function setNotes($notes)
{
$this->notes = $notes;
}
/**
* @return Google_Service_AdExchangeBuyer_MarketplaceNote
*/
public function getNotes()
{
return $this->notes;
}
}

Some files were not shown because too many files have changed in this diff Show More