Mise à jour des librairies

This commit is contained in:
lars
2019-03-10 23:30:23 +01:00
parent 2040b7be39
commit 7df3d72953
3603 changed files with 233169 additions and 107764 deletions

View File

@@ -19,7 +19,7 @@
* Service definition for AbusiveExperienceReport (v1).
*
* <p>
* View Abusive Experience Report data, and get a list of sites that have a
* Views Abusive Experience Report data, and gets a list of sites that have a
* significant number of abusive experiences.</p>
*
* <p>
@@ -49,6 +49,7 @@ class Google_Service_AbusiveExperienceReport extends Google_Service
parent::__construct($client);
$this->rootUrl = 'https://abusiveexperiencereport.googleapis.com/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v1';
$this->serviceName = 'abusiveexperiencereport';

View File

@@ -46,6 +46,7 @@ class Google_Service_Acceleratedmobilepageurl extends Google_Service
parent::__construct($client);
$this->rootUrl = 'https://acceleratedmobilepageurl.googleapis.com/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v1';
$this->serviceName = 'acceleratedmobilepageurl';

View File

@@ -0,0 +1,295 @@
<?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 (v1beta).
*
* <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
*/
public function __construct(Google_Client $client)
{
parent::__construct($client);
$this->rootUrl = 'https://accesscontextmanager.googleapis.com/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v1beta';
$this->serviceName = 'accesscontextmanager';
$this->accessPolicies = new Google_Service_AccessContextManager_Resource_AccessPolicies(
$this,
$this->serviceName,
'accessPolicies',
array(
'methods' => array(
'create' => array(
'path' => 'v1beta/accessPolicies',
'httpMethod' => 'POST',
'parameters' => array(),
),'delete' => array(
'path' => 'v1beta/{+name}',
'httpMethod' => 'DELETE',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'v1beta/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'v1beta/accessPolicies',
'httpMethod' => 'GET',
'parameters' => array(
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'parent' => array(
'location' => 'query',
'type' => 'string',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),'patch' => array(
'path' => 'v1beta/{+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' => 'v1beta/{+parent}/accessLevels',
'httpMethod' => 'POST',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'delete' => array(
'path' => 'v1beta/{+name}',
'httpMethod' => 'DELETE',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'v1beta/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'accessLevelFormat' => array(
'location' => 'query',
'type' => 'string',
),
),
),'list' => array(
'path' => 'v1beta/{+parent}/accessLevels',
'httpMethod' => 'GET',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'accessLevelFormat' => array(
'location' => 'query',
'type' => 'string',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),'patch' => array(
'path' => 'v1beta/{+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' => 'v1beta/{+parent}/servicePerimeters',
'httpMethod' => 'POST',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'delete' => array(
'path' => 'v1beta/{+name}',
'httpMethod' => 'DELETE',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'v1beta/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'v1beta/{+parent}/servicePerimeters',
'httpMethod' => 'GET',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),'patch' => array(
'path' => 'v1beta/{+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(
'get' => array(
'path' => 'v1beta/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
}
}

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

@@ -15,37 +15,37 @@
* the License.
*/
class Google_Service_ShoppingContent_AccountStatusExampleItem extends Google_Model
class Google_Service_AccessContextManager_AccessPolicy extends Google_Model
{
public $itemId;
public $link;
public $submittedValue;
public $createTime;
public $name;
public $parent;
public $title;
public $valueOnLandingPage;
public $updateTime;
public function setItemId($itemId)
public function setCreateTime($createTime)
{
$this->itemId = $itemId;
$this->createTime = $createTime;
}
public function getItemId()
public function getCreateTime()
{
return $this->itemId;
return $this->createTime;
}
public function setLink($link)
public function setName($name)
{
$this->link = $link;
$this->name = $name;
}
public function getLink()
public function getName()
{
return $this->link;
return $this->name;
}
public function setSubmittedValue($submittedValue)
public function setParent($parent)
{
$this->submittedValue = $submittedValue;
$this->parent = $parent;
}
public function getSubmittedValue()
public function getParent()
{
return $this->submittedValue;
return $this->parent;
}
public function setTitle($title)
{
@@ -55,12 +55,12 @@ class Google_Service_ShoppingContent_AccountStatusExampleItem extends Google_Mod
{
return $this->title;
}
public function setValueOnLandingPage($valueOnLandingPage)
public function setUpdateTime($updateTime)
{
$this->valueOnLandingPage = $valueOnLandingPage;
$this->updateTime = $updateTime;
}
public function getValueOnLandingPage()
public function getUpdateTime()
{
return $this->valueOnLandingPage;
return $this->updateTime;
}
}

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,74 @@
<?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 $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 setRequiredAccessLevels($requiredAccessLevels)
{
$this->requiredAccessLevels = $requiredAccessLevels;
}
public function getRequiredAccessLevels()
{
return $this->requiredAccessLevels;
}
}

View File

@@ -0,0 +1,65 @@
<?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 $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 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_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,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_AccessContextManager_OsConstraint extends Google_Model
{
public $minimumVersion;
public $osType;
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;
}
}

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 int pageSize Number of AccessPolicy instances to include in the
* list. Default 100.
* @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.
* @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 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.
* @opt_param string pageToken Next page token for the next batch of Access
* Level instances. Defaults to the first page of results.
* @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 int pageSize Number of Service Perimeters to include in the list.
* Default 100.
* @opt_param string pageToken Next page token for the next batch of Service
* Perimeter instances. Defaults to the first page of results.
* @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,43 @@
<?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
{
/**
* 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");
}
}

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,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_AccessContextManager_ServicePerimeterConfig extends Google_Collection
{
protected $collection_key = 'unrestrictedServices';
public $accessLevels;
public $resources;
public $restrictedServices;
public $unrestrictedServices;
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;
}
public function setUnrestrictedServices($unrestrictedServices)
{
$this->unrestrictedServices = $unrestrictedServices;
}
public function getUnrestrictedServices()
{
return $this->unrestrictedServices;
}
}

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

@@ -58,6 +58,7 @@ class Google_Service_AdExchangeBuyer extends Google_Service
parent::__construct($client);
$this->rootUrl = 'https://www.googleapis.com/';
$this->servicePath = 'adexchangebuyer/v1.4/';
$this->batchPath = 'batch/adexchangebuyer/v1.4';
$this->version = 'v1.4';
$this->serviceName = 'adexchangebuyer';

View File

@@ -33,6 +33,7 @@ class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
public $clickThroughUrl;
protected $correctionsType = 'Google_Service_AdExchangeBuyer_CreativeCorrections';
protected $correctionsDataType = 'array';
public $creativeStatusIdentityType;
public $dealsStatus;
public $detectedDomains;
protected $filteringReasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasons';
@@ -149,6 +150,14 @@ class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
{
return $this->corrections;
}
public function setCreativeStatusIdentityType($creativeStatusIdentityType)
{
$this->creativeStatusIdentityType = $creativeStatusIdentityType;
}
public function getCreativeStatusIdentityType()
{
return $this->creativeStatusIdentityType;
}
public function setDealsStatus($dealsStatus)
{
$this->dealsStatus = $dealsStatus;

View File

@@ -18,7 +18,6 @@
class Google_Service_AdExchangeBuyer_PublisherProfileApiProto extends Google_Collection
{
protected $collection_key = 'topHeadlines';
public $accountId;
public $audience;
public $buyerPitchStatement;
public $directContact;
@@ -44,14 +43,6 @@ class Google_Service_AdExchangeBuyer_PublisherProfileApiProto extends Google_Col
public $state;
public $topHeadlines;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setAudience($audience)
{
$this->audience = $audience;

View File

@@ -19,13 +19,13 @@
* Service definition for AdExchangeBuyerII (v2beta1).
*
* <p>
* Accesses the latest features for managing Ad Exchange accounts, Real-Time
* Bidding configurations and auction metrics, and Marketplace programmatic
* Accesses the latest features for managing Authorized Buyers accounts, Real-
* Time Bidding configurations and auction metrics, and Marketplace programmatic
* deals.</p>
*
* <p>
* For more information about this service, see the API
* <a href="https://developers.google.com/ad-exchange/buyer-rest/reference/rest/" target="_blank">Documentation</a>
* <a href="https://developers.google.com/authorized-buyers/apis/reference/rest/" target="_blank">Documentation</a>
* </p>
*
* @author Google, Inc.
@@ -41,7 +41,11 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
public $accounts_clients_users;
public $accounts_creatives;
public $accounts_creatives_dealAssociations;
public $accounts_publishers;
public $accounts_finalizedProposals;
public $accounts_products;
public $accounts_proposals;
public $accounts_publisherProfiles;
public $bidders_accounts_creatives;
public $bidders_accounts_filterSets;
public $bidders_accounts_filterSets_bidMetrics;
public $bidders_accounts_filterSets_bidResponseErrors;
@@ -75,6 +79,7 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
parent::__construct($client);
$this->rootUrl = 'https://adexchangebuyer.googleapis.com/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v2beta1';
$this->serviceName = 'adexchangebuyer2';
@@ -205,14 +210,14 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'type' => 'string',
'required' => true,
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
),
),
)
@@ -464,14 +469,14 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
)
)
);
$this->accounts_publishers = new Google_Service_AdExchangeBuyerII_Resource_AccountsPublishers(
$this->accounts_finalizedProposals = new Google_Service_AdExchangeBuyerII_Resource_AccountsFinalizedProposals(
$this,
$this->serviceName,
'publishers',
'finalizedProposals',
array(
'methods' => array(
'list' => array(
'path' => 'v2beta1/accounts/{accountId}/publishers',
'path' => 'v2beta1/accounts/{accountId}/finalizedProposals',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
@@ -479,10 +484,303 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'type' => 'string',
'required' => true,
),
'environment' => array(
'filterSyntax' => array(
'location' => 'query',
'type' => 'string',
),
'filter' => array(
'location' => 'query',
'type' => 'string',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
),
),
)
)
);
$this->accounts_products = new Google_Service_AdExchangeBuyerII_Resource_AccountsProducts(
$this,
$this->serviceName,
'products',
array(
'methods' => array(
'get' => array(
'path' => 'v2beta1/accounts/{accountId}/products/{productId}',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'productId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'v2beta1/accounts/{accountId}/products',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => 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',
),
),
),
)
)
);
$this->accounts_proposals = new Google_Service_AdExchangeBuyerII_Resource_AccountsProposals(
$this,
$this->serviceName,
'proposals',
array(
'methods' => array(
'accept' => array(
'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}:accept',
'httpMethod' => 'POST',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'addNote' => array(
'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}:addNote',
'httpMethod' => 'POST',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'cancelNegotiation' => array(
'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}:cancelNegotiation',
'httpMethod' => 'POST',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'completeSetup' => array(
'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}:completeSetup',
'httpMethod' => 'POST',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'create' => array(
'path' => 'v2beta1/accounts/{accountId}/proposals',
'httpMethod' => 'POST',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'v2beta1/accounts/{accountId}/proposals',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'filterSyntax' => array(
'location' => 'query',
'type' => 'string',
),
'filter' => array(
'location' => 'query',
'type' => 'string',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),'pause' => array(
'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}:pause',
'httpMethod' => 'POST',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'resume' => array(
'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}:resume',
'httpMethod' => 'POST',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'update' => array(
'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}',
'httpMethod' => 'PUT',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->accounts_publisherProfiles = new Google_Service_AdExchangeBuyerII_Resource_AccountsPublisherProfiles(
$this,
$this->serviceName,
'publisherProfiles',
array(
'methods' => array(
'get' => array(
'path' => 'v2beta1/accounts/{accountId}/publisherProfiles/{publisherProfileId}',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'publisherProfileId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'v2beta1/accounts/{accountId}/publisherProfiles',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->bidders_accounts_creatives = new Google_Service_AdExchangeBuyerII_Resource_BiddersAccountsCreatives(
$this,
$this->serviceName,
'creatives',
array(
'methods' => array(
'delete' => array(
'path' => 'v2beta1/{+ownerName}/creatives/{creativeId}',
'httpMethod' => 'DELETE',
'parameters' => array(
'ownerName' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'creativeId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
@@ -565,14 +863,14 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'type' => 'string',
'required' => true,
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
@@ -593,14 +891,14 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'type' => 'string',
'required' => true,
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
),
),
)
@@ -743,14 +1041,14 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'type' => 'integer',
'required' => true,
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
),
),
)
@@ -827,14 +1125,14 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'type' => 'string',
'required' => true,
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
@@ -889,14 +1187,14 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'type' => 'string',
'required' => true,
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
),
),
)
@@ -1095,14 +1393,14 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'type' => 'integer',
'required' => true,
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)

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_AdExchangeBuyerII_AcceptProposalRequest extends Google_Model
{
public $proposalRevision;
public function setProposalRevision($proposalRevision)
{
$this->proposalRevision = $proposalRevision;
}
public function getProposalRevision()
{
return $this->proposalRevision;
}
}

View File

@@ -15,11 +15,10 @@
* the License.
*/
class Google_Service_Pagespeedonline_PagespeedApiImageV4PageRect extends Google_Model
class Google_Service_AdExchangeBuyerII_AdSize extends Google_Model
{
public $height;
public $left;
public $top;
public $sizeType;
public $width;
public function setHeight($height)
@@ -30,21 +29,13 @@ class Google_Service_Pagespeedonline_PagespeedApiImageV4PageRect extends Google_
{
return $this->height;
}
public function setLeft($left)
public function setSizeType($sizeType)
{
$this->left = $left;
$this->sizeType = $sizeType;
}
public function getLeft()
public function getSizeType()
{
return $this->left;
}
public function setTop($top)
{
$this->top = $top;
}
public function getTop()
{
return $this->top;
return $this->sizeType;
}
public function setWidth($width)
{

View File

@@ -0,0 +1,37 @@
<?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_AdExchangeBuyerII_AddNoteRequest extends Google_Model
{
protected $noteType = 'Google_Service_AdExchangeBuyerII_Note';
protected $noteDataType = '';
/**
* @param Google_Service_AdExchangeBuyerII_Note
*/
public function setNote(Google_Service_AdExchangeBuyerII_Note $note)
{
$this->note = $note;
}
/**
* @return Google_Service_AdExchangeBuyerII_Note
*/
public function getNote()
{
return $this->note;
}
}

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_AdExchangeBuyerII_Buyer extends Google_Model
{
public $accountId;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
}

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_AdExchangeBuyerII_CancelNegotiationRequest extends Google_Model
{
}

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_AdExchangeBuyerII_CompleteSetupRequest extends Google_Model
{
}

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_AdExchangeBuyerII_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

@@ -29,6 +29,7 @@ class Google_Service_AdExchangeBuyerII_Creative extends Google_Collection
protected $correctionsDataType = 'array';
public $creativeId;
public $dealsStatus;
public $declaredClickThroughUrls;
public $detectedAdvertiserIds;
public $detectedDomains;
public $detectedLanguages;
@@ -136,6 +137,14 @@ class Google_Service_AdExchangeBuyerII_Creative extends Google_Collection
{
return $this->dealsStatus;
}
public function setDeclaredClickThroughUrls($declaredClickThroughUrls)
{
$this->declaredClickThroughUrls = $declaredClickThroughUrls;
}
public function getDeclaredClickThroughUrls()
{
return $this->declaredClickThroughUrls;
}
public function setDetectedAdvertiserIds($detectedAdvertiserIds)
{
$this->detectedAdvertiserIds = $detectedAdvertiserIds;

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_AdExchangeBuyerII_CreativeRestrictions extends Google_Collection
{
protected $collection_key = 'creativeSpecifications';
public $creativeFormat;
protected $creativeSpecificationsType = 'Google_Service_AdExchangeBuyerII_CreativeSpecification';
protected $creativeSpecificationsDataType = 'array';
public $skippableAdType;
public function setCreativeFormat($creativeFormat)
{
$this->creativeFormat = $creativeFormat;
}
public function getCreativeFormat()
{
return $this->creativeFormat;
}
/**
* @param Google_Service_AdExchangeBuyerII_CreativeSpecification
*/
public function setCreativeSpecifications($creativeSpecifications)
{
$this->creativeSpecifications = $creativeSpecifications;
}
/**
* @return Google_Service_AdExchangeBuyerII_CreativeSpecification
*/
public function getCreativeSpecifications()
{
return $this->creativeSpecifications;
}
public function setSkippableAdType($skippableAdType)
{
$this->skippableAdType = $skippableAdType;
}
public function getSkippableAdType()
{
return $this->skippableAdType;
}
}

View File

@@ -0,0 +1,90 @@
<?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_AdExchangeBuyerII_CreativeSize extends Google_Collection
{
protected $collection_key = 'companionSizes';
public $allowedFormats;
protected $companionSizesType = 'Google_Service_AdExchangeBuyerII_Size';
protected $companionSizesDataType = 'array';
public $creativeSizeType;
public $nativeTemplate;
protected $sizeType = 'Google_Service_AdExchangeBuyerII_Size';
protected $sizeDataType = '';
public $skippableAdType;
public function setAllowedFormats($allowedFormats)
{
$this->allowedFormats = $allowedFormats;
}
public function getAllowedFormats()
{
return $this->allowedFormats;
}
/**
* @param Google_Service_AdExchangeBuyerII_Size
*/
public function setCompanionSizes($companionSizes)
{
$this->companionSizes = $companionSizes;
}
/**
* @return Google_Service_AdExchangeBuyerII_Size
*/
public function getCompanionSizes()
{
return $this->companionSizes;
}
public function setCreativeSizeType($creativeSizeType)
{
$this->creativeSizeType = $creativeSizeType;
}
public function getCreativeSizeType()
{
return $this->creativeSizeType;
}
public function setNativeTemplate($nativeTemplate)
{
$this->nativeTemplate = $nativeTemplate;
}
public function getNativeTemplate()
{
return $this->nativeTemplate;
}
/**
* @param Google_Service_AdExchangeBuyerII_Size
*/
public function setSize(Google_Service_AdExchangeBuyerII_Size $size)
{
$this->size = $size;
}
/**
* @return Google_Service_AdExchangeBuyerII_Size
*/
public function getSize()
{
return $this->size;
}
public function setSkippableAdType($skippableAdType)
{
$this->skippableAdType = $skippableAdType;
}
public function getSkippableAdType()
{
return $this->skippableAdType;
}
}

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_AdExchangeBuyerII_CreativeSpecification extends Google_Collection
{
protected $collection_key = 'creativeCompanionSizes';
protected $creativeCompanionSizesType = 'Google_Service_AdExchangeBuyerII_AdSize';
protected $creativeCompanionSizesDataType = 'array';
protected $creativeSizeType = 'Google_Service_AdExchangeBuyerII_AdSize';
protected $creativeSizeDataType = '';
/**
* @param Google_Service_AdExchangeBuyerII_AdSize
*/
public function setCreativeCompanionSizes($creativeCompanionSizes)
{
$this->creativeCompanionSizes = $creativeCompanionSizes;
}
/**
* @return Google_Service_AdExchangeBuyerII_AdSize
*/
public function getCreativeCompanionSizes()
{
return $this->creativeCompanionSizes;
}
/**
* @param Google_Service_AdExchangeBuyerII_AdSize
*/
public function setCreativeSize(Google_Service_AdExchangeBuyerII_AdSize $creativeSize)
{
$this->creativeSize = $creativeSize;
}
/**
* @return Google_Service_AdExchangeBuyerII_AdSize
*/
public function getCreativeSize()
{
return $this->creativeSize;
}
}

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_AdExchangeBuyerII_CriteriaTargeting extends Google_Collection
{
protected $collection_key = 'targetedCriteriaIds';
public $excludedCriteriaIds;
public $targetedCriteriaIds;
public function setExcludedCriteriaIds($excludedCriteriaIds)
{
$this->excludedCriteriaIds = $excludedCriteriaIds;
}
public function getExcludedCriteriaIds()
{
return $this->excludedCriteriaIds;
}
public function setTargetedCriteriaIds($targetedCriteriaIds)
{
$this->targetedCriteriaIds = $targetedCriteriaIds;
}
public function getTargetedCriteriaIds()
{
return $this->targetedCriteriaIds;
}
}

View File

@@ -0,0 +1,62 @@
<?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_AdExchangeBuyerII_DayPart extends Google_Model
{
public $dayOfWeek;
protected $endTimeType = 'Google_Service_AdExchangeBuyerII_TimeOfDay';
protected $endTimeDataType = '';
protected $startTimeType = 'Google_Service_AdExchangeBuyerII_TimeOfDay';
protected $startTimeDataType = '';
public function setDayOfWeek($dayOfWeek)
{
$this->dayOfWeek = $dayOfWeek;
}
public function getDayOfWeek()
{
return $this->dayOfWeek;
}
/**
* @param Google_Service_AdExchangeBuyerII_TimeOfDay
*/
public function setEndTime(Google_Service_AdExchangeBuyerII_TimeOfDay $endTime)
{
$this->endTime = $endTime;
}
/**
* @return Google_Service_AdExchangeBuyerII_TimeOfDay
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param Google_Service_AdExchangeBuyerII_TimeOfDay
*/
public function setStartTime(Google_Service_AdExchangeBuyerII_TimeOfDay $startTime)
{
$this->startTime = $startTime;
}
/**
* @return Google_Service_AdExchangeBuyerII_TimeOfDay
*/
public function getStartTime()
{
return $this->startTime;
}
}

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_AdExchangeBuyerII_DayPartTargeting extends Google_Collection
{
protected $collection_key = 'dayParts';
protected $dayPartsType = 'Google_Service_AdExchangeBuyerII_DayPart';
protected $dayPartsDataType = 'array';
public $timeZoneType;
/**
* @param Google_Service_AdExchangeBuyerII_DayPart
*/
public function setDayParts($dayParts)
{
$this->dayParts = $dayParts;
}
/**
* @return Google_Service_AdExchangeBuyerII_DayPart
*/
public function getDayParts()
{
return $this->dayParts;
}
public function setTimeZoneType($timeZoneType)
{
$this->timeZoneType = $timeZoneType;
}
public function getTimeZoneType()
{
return $this->timeZoneType;
}
}

View File

@@ -0,0 +1,303 @@
<?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_AdExchangeBuyerII_Deal extends Google_Collection
{
protected $collection_key = 'targetingCriterion';
public $availableEndTime;
public $availableStartTime;
protected $buyerPrivateDataType = 'Google_Service_AdExchangeBuyerII_PrivateData';
protected $buyerPrivateDataDataType = '';
public $createProductId;
public $createProductRevision;
public $createTime;
public $creativePreApprovalPolicy;
protected $creativeRestrictionsType = 'Google_Service_AdExchangeBuyerII_CreativeRestrictions';
protected $creativeRestrictionsDataType = '';
public $creativeSafeFrameCompatibility;
public $dealId;
protected $dealServingMetadataType = 'Google_Service_AdExchangeBuyerII_DealServingMetadata';
protected $dealServingMetadataDataType = '';
protected $dealTermsType = 'Google_Service_AdExchangeBuyerII_DealTerms';
protected $dealTermsDataType = '';
protected $deliveryControlType = 'Google_Service_AdExchangeBuyerII_DeliveryControl';
protected $deliveryControlDataType = '';
public $description;
public $displayName;
public $externalDealId;
public $isSetupComplete;
public $programmaticCreativeSource;
public $proposalId;
protected $sellerContactsType = 'Google_Service_AdExchangeBuyerII_ContactInformation';
protected $sellerContactsDataType = 'array';
public $syndicationProduct;
protected $targetingType = 'Google_Service_AdExchangeBuyerII_MarketplaceTargeting';
protected $targetingDataType = '';
protected $targetingCriterionType = 'Google_Service_AdExchangeBuyerII_TargetingCriteria';
protected $targetingCriterionDataType = 'array';
public $updateTime;
public $webPropertyCode;
public function setAvailableEndTime($availableEndTime)
{
$this->availableEndTime = $availableEndTime;
}
public function getAvailableEndTime()
{
return $this->availableEndTime;
}
public function setAvailableStartTime($availableStartTime)
{
$this->availableStartTime = $availableStartTime;
}
public function getAvailableStartTime()
{
return $this->availableStartTime;
}
/**
* @param Google_Service_AdExchangeBuyerII_PrivateData
*/
public function setBuyerPrivateData(Google_Service_AdExchangeBuyerII_PrivateData $buyerPrivateData)
{
$this->buyerPrivateData = $buyerPrivateData;
}
/**
* @return Google_Service_AdExchangeBuyerII_PrivateData
*/
public function getBuyerPrivateData()
{
return $this->buyerPrivateData;
}
public function setCreateProductId($createProductId)
{
$this->createProductId = $createProductId;
}
public function getCreateProductId()
{
return $this->createProductId;
}
public function setCreateProductRevision($createProductRevision)
{
$this->createProductRevision = $createProductRevision;
}
public function getCreateProductRevision()
{
return $this->createProductRevision;
}
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setCreativePreApprovalPolicy($creativePreApprovalPolicy)
{
$this->creativePreApprovalPolicy = $creativePreApprovalPolicy;
}
public function getCreativePreApprovalPolicy()
{
return $this->creativePreApprovalPolicy;
}
/**
* @param Google_Service_AdExchangeBuyerII_CreativeRestrictions
*/
public function setCreativeRestrictions(Google_Service_AdExchangeBuyerII_CreativeRestrictions $creativeRestrictions)
{
$this->creativeRestrictions = $creativeRestrictions;
}
/**
* @return Google_Service_AdExchangeBuyerII_CreativeRestrictions
*/
public function getCreativeRestrictions()
{
return $this->creativeRestrictions;
}
public function setCreativeSafeFrameCompatibility($creativeSafeFrameCompatibility)
{
$this->creativeSafeFrameCompatibility = $creativeSafeFrameCompatibility;
}
public function getCreativeSafeFrameCompatibility()
{
return $this->creativeSafeFrameCompatibility;
}
public function setDealId($dealId)
{
$this->dealId = $dealId;
}
public function getDealId()
{
return $this->dealId;
}
/**
* @param Google_Service_AdExchangeBuyerII_DealServingMetadata
*/
public function setDealServingMetadata(Google_Service_AdExchangeBuyerII_DealServingMetadata $dealServingMetadata)
{
$this->dealServingMetadata = $dealServingMetadata;
}
/**
* @return Google_Service_AdExchangeBuyerII_DealServingMetadata
*/
public function getDealServingMetadata()
{
return $this->dealServingMetadata;
}
/**
* @param Google_Service_AdExchangeBuyerII_DealTerms
*/
public function setDealTerms(Google_Service_AdExchangeBuyerII_DealTerms $dealTerms)
{
$this->dealTerms = $dealTerms;
}
/**
* @return Google_Service_AdExchangeBuyerII_DealTerms
*/
public function getDealTerms()
{
return $this->dealTerms;
}
/**
* @param Google_Service_AdExchangeBuyerII_DeliveryControl
*/
public function setDeliveryControl(Google_Service_AdExchangeBuyerII_DeliveryControl $deliveryControl)
{
$this->deliveryControl = $deliveryControl;
}
/**
* @return Google_Service_AdExchangeBuyerII_DeliveryControl
*/
public function getDeliveryControl()
{
return $this->deliveryControl;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
public function setExternalDealId($externalDealId)
{
$this->externalDealId = $externalDealId;
}
public function getExternalDealId()
{
return $this->externalDealId;
}
public function setIsSetupComplete($isSetupComplete)
{
$this->isSetupComplete = $isSetupComplete;
}
public function getIsSetupComplete()
{
return $this->isSetupComplete;
}
public function setProgrammaticCreativeSource($programmaticCreativeSource)
{
$this->programmaticCreativeSource = $programmaticCreativeSource;
}
public function getProgrammaticCreativeSource()
{
return $this->programmaticCreativeSource;
}
public function setProposalId($proposalId)
{
$this->proposalId = $proposalId;
}
public function getProposalId()
{
return $this->proposalId;
}
/**
* @param Google_Service_AdExchangeBuyerII_ContactInformation
*/
public function setSellerContacts($sellerContacts)
{
$this->sellerContacts = $sellerContacts;
}
/**
* @return Google_Service_AdExchangeBuyerII_ContactInformation
*/
public function getSellerContacts()
{
return $this->sellerContacts;
}
public function setSyndicationProduct($syndicationProduct)
{
$this->syndicationProduct = $syndicationProduct;
}
public function getSyndicationProduct()
{
return $this->syndicationProduct;
}
/**
* @param Google_Service_AdExchangeBuyerII_MarketplaceTargeting
*/
public function setTargeting(Google_Service_AdExchangeBuyerII_MarketplaceTargeting $targeting)
{
$this->targeting = $targeting;
}
/**
* @return Google_Service_AdExchangeBuyerII_MarketplaceTargeting
*/
public function getTargeting()
{
return $this->targeting;
}
/**
* @param Google_Service_AdExchangeBuyerII_TargetingCriteria
*/
public function setTargetingCriterion($targetingCriterion)
{
$this->targetingCriterion = $targetingCriterion;
}
/**
* @return Google_Service_AdExchangeBuyerII_TargetingCriteria
*/
public function getTargetingCriterion()
{
return $this->targetingCriterion;
}
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
public function getUpdateTime()
{
return $this->updateTime;
}
public function setWebPropertyCode($webPropertyCode)
{
$this->webPropertyCode = $webPropertyCode;
}
public function getWebPropertyCode()
{
return $this->webPropertyCode;
}
}

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_AdExchangeBuyerII_DealPauseStatus 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

@@ -15,23 +15,23 @@
* the License.
*/
class Google_Service_DLP_GooglePrivacyDlpV2beta1Dictionary extends Google_Model
class Google_Service_AdExchangeBuyerII_DealServingMetadata extends Google_Model
{
protected $wordListType = 'Google_Service_DLP_GooglePrivacyDlpV2beta1WordList';
protected $wordListDataType = '';
protected $dealPauseStatusType = 'Google_Service_AdExchangeBuyerII_DealPauseStatus';
protected $dealPauseStatusDataType = '';
/**
* @param Google_Service_DLP_GooglePrivacyDlpV2beta1WordList
* @param Google_Service_AdExchangeBuyerII_DealPauseStatus
*/
public function setWordList(Google_Service_DLP_GooglePrivacyDlpV2beta1WordList $wordList)
public function setDealPauseStatus(Google_Service_AdExchangeBuyerII_DealPauseStatus $dealPauseStatus)
{
$this->wordList = $wordList;
$this->dealPauseStatus = $dealPauseStatus;
}
/**
* @return Google_Service_DLP_GooglePrivacyDlpV2beta1WordList
* @return Google_Service_AdExchangeBuyerII_DealPauseStatus
*/
public function getWordList()
public function getDealPauseStatus()
{
return $this->wordList;
return $this->dealPauseStatus;
}
}

View File

@@ -0,0 +1,121 @@
<?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_AdExchangeBuyerII_DealTerms extends Google_Model
{
public $brandingType;
public $description;
protected $estimatedGrossSpendType = 'Google_Service_AdExchangeBuyerII_Price';
protected $estimatedGrossSpendDataType = '';
public $estimatedImpressionsPerDay;
protected $guaranteedFixedPriceTermsType = 'Google_Service_AdExchangeBuyerII_GuaranteedFixedPriceTerms';
protected $guaranteedFixedPriceTermsDataType = '';
protected $nonGuaranteedAuctionTermsType = 'Google_Service_AdExchangeBuyerII_NonGuaranteedAuctionTerms';
protected $nonGuaranteedAuctionTermsDataType = '';
protected $nonGuaranteedFixedPriceTermsType = 'Google_Service_AdExchangeBuyerII_NonGuaranteedFixedPriceTerms';
protected $nonGuaranteedFixedPriceTermsDataType = '';
public $sellerTimeZone;
public function setBrandingType($brandingType)
{
$this->brandingType = $brandingType;
}
public function getBrandingType()
{
return $this->brandingType;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
/**
* @param Google_Service_AdExchangeBuyerII_Price
*/
public function setEstimatedGrossSpend(Google_Service_AdExchangeBuyerII_Price $estimatedGrossSpend)
{
$this->estimatedGrossSpend = $estimatedGrossSpend;
}
/**
* @return Google_Service_AdExchangeBuyerII_Price
*/
public function getEstimatedGrossSpend()
{
return $this->estimatedGrossSpend;
}
public function setEstimatedImpressionsPerDay($estimatedImpressionsPerDay)
{
$this->estimatedImpressionsPerDay = $estimatedImpressionsPerDay;
}
public function getEstimatedImpressionsPerDay()
{
return $this->estimatedImpressionsPerDay;
}
/**
* @param Google_Service_AdExchangeBuyerII_GuaranteedFixedPriceTerms
*/
public function setGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyerII_GuaranteedFixedPriceTerms $guaranteedFixedPriceTerms)
{
$this->guaranteedFixedPriceTerms = $guaranteedFixedPriceTerms;
}
/**
* @return Google_Service_AdExchangeBuyerII_GuaranteedFixedPriceTerms
*/
public function getGuaranteedFixedPriceTerms()
{
return $this->guaranteedFixedPriceTerms;
}
/**
* @param Google_Service_AdExchangeBuyerII_NonGuaranteedAuctionTerms
*/
public function setNonGuaranteedAuctionTerms(Google_Service_AdExchangeBuyerII_NonGuaranteedAuctionTerms $nonGuaranteedAuctionTerms)
{
$this->nonGuaranteedAuctionTerms = $nonGuaranteedAuctionTerms;
}
/**
* @return Google_Service_AdExchangeBuyerII_NonGuaranteedAuctionTerms
*/
public function getNonGuaranteedAuctionTerms()
{
return $this->nonGuaranteedAuctionTerms;
}
/**
* @param Google_Service_AdExchangeBuyerII_NonGuaranteedFixedPriceTerms
*/
public function setNonGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyerII_NonGuaranteedFixedPriceTerms $nonGuaranteedFixedPriceTerms)
{
$this->nonGuaranteedFixedPriceTerms = $nonGuaranteedFixedPriceTerms;
}
/**
* @return Google_Service_AdExchangeBuyerII_NonGuaranteedFixedPriceTerms
*/
public function getNonGuaranteedFixedPriceTerms()
{
return $this->nonGuaranteedFixedPriceTerms;
}
public function setSellerTimeZone($sellerTimeZone)
{
$this->sellerTimeZone = $sellerTimeZone;
}
public function getSellerTimeZone()
{
return $this->sellerTimeZone;
}
}

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_AdExchangeBuyerII_DeliveryControl extends Google_Collection
{
protected $collection_key = 'frequencyCaps';
public $creativeBlockingLevel;
public $deliveryRateType;
protected $frequencyCapsType = 'Google_Service_AdExchangeBuyerII_FrequencyCap';
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_AdExchangeBuyerII_FrequencyCap
*/
public function setFrequencyCaps($frequencyCaps)
{
$this->frequencyCaps = $frequencyCaps;
}
/**
* @return Google_Service_AdExchangeBuyerII_FrequencyCap
*/
public function getFrequencyCaps()
{
return $this->frequencyCaps;
}
}

View File

@@ -20,6 +20,7 @@ class Google_Service_AdExchangeBuyerII_FilterSet extends Google_Collection
protected $collection_key = 'sellerNetworkIds';
protected $absoluteDateRangeType = 'Google_Service_AdExchangeBuyerII_AbsoluteDateRange';
protected $absoluteDateRangeDataType = '';
public $breakdownDimensions;
public $creativeId;
public $dealId;
public $environment;
@@ -48,6 +49,14 @@ class Google_Service_AdExchangeBuyerII_FilterSet extends Google_Collection
{
return $this->absoluteDateRange;
}
public function setBreakdownDimensions($breakdownDimensions)
{
$this->breakdownDimensions = $breakdownDimensions;
}
public function getBreakdownDimensions()
{
return $this->breakdownDimensions;
}
public function setCreativeId($creativeId)
{
$this->creativeId = $creativeId;

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_AdExchangeBuyerII_FirstPartyMobileApplicationTargeting extends Google_Collection
{
protected $collection_key = 'targetedAppIds';
public $excludedAppIds;
public $targetedAppIds;
public function setExcludedAppIds($excludedAppIds)
{
$this->excludedAppIds = $excludedAppIds;
}
public function getExcludedAppIds()
{
return $this->excludedAppIds;
}
public function setTargetedAppIds($targetedAppIds)
{
$this->targetedAppIds = $targetedAppIds;
}
public function getTargetedAppIds()
{
return $this->targetedAppIds;
}
}

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_AdExchangeBuyerII_FrequencyCap 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,65 @@
<?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_AdExchangeBuyerII_GuaranteedFixedPriceTerms extends Google_Collection
{
protected $collection_key = 'fixedPrices';
protected $fixedPricesType = 'Google_Service_AdExchangeBuyerII_PricePerBuyer';
protected $fixedPricesDataType = 'array';
public $guaranteedImpressions;
public $guaranteedLooks;
public $minimumDailyLooks;
/**
* @param Google_Service_AdExchangeBuyerII_PricePerBuyer
*/
public function setFixedPrices($fixedPrices)
{
$this->fixedPrices = $fixedPrices;
}
/**
* @return Google_Service_AdExchangeBuyerII_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,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_AdExchangeBuyerII_InventorySizeTargeting extends Google_Collection
{
protected $collection_key = 'targetedInventorySizes';
protected $excludedInventorySizesType = 'Google_Service_AdExchangeBuyerII_AdSize';
protected $excludedInventorySizesDataType = 'array';
protected $targetedInventorySizesType = 'Google_Service_AdExchangeBuyerII_AdSize';
protected $targetedInventorySizesDataType = 'array';
/**
* @param Google_Service_AdExchangeBuyerII_AdSize
*/
public function setExcludedInventorySizes($excludedInventorySizes)
{
$this->excludedInventorySizes = $excludedInventorySizes;
}
/**
* @return Google_Service_AdExchangeBuyerII_AdSize
*/
public function getExcludedInventorySizes()
{
return $this->excludedInventorySizes;
}
/**
* @param Google_Service_AdExchangeBuyerII_AdSize
*/
public function setTargetedInventorySizes($targetedInventorySizes)
{
$this->targetedInventorySizes = $targetedInventorySizes;
}
/**
* @return Google_Service_AdExchangeBuyerII_AdSize
*/
public function getTargetedInventorySizes()
{
return $this->targetedInventorySizes;
}
}

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_AdExchangeBuyerII_ListProductsResponse extends Google_Collection
{
protected $collection_key = 'products';
public $nextPageToken;
protected $productsType = 'Google_Service_AdExchangeBuyerII_Product';
protected $productsDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Google_Service_AdExchangeBuyerII_Product
*/
public function setProducts($products)
{
$this->products = $products;
}
/**
* @return Google_Service_AdExchangeBuyerII_Product
*/
public function getProducts()
{
return $this->products;
}
}

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_AdExchangeBuyerII_ListProposalsResponse extends Google_Collection
{
protected $collection_key = 'proposals';
public $nextPageToken;
protected $proposalsType = 'Google_Service_AdExchangeBuyerII_Proposal';
protected $proposalsDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Google_Service_AdExchangeBuyerII_Proposal
*/
public function setProposals($proposals)
{
$this->proposals = $proposals;
}
/**
* @return Google_Service_AdExchangeBuyerII_Proposal
*/
public function getProposals()
{
return $this->proposals;
}
}

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_AdExchangeBuyerII_ListPublisherProfilesResponse extends Google_Collection
{
protected $collection_key = 'publisherProfiles';
public $nextPageToken;
protected $publisherProfilesType = 'Google_Service_AdExchangeBuyerII_PublisherProfile';
protected $publisherProfilesDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Google_Service_AdExchangeBuyerII_PublisherProfile
*/
public function setPublisherProfiles($publisherProfiles)
{
$this->publisherProfiles = $publisherProfiles;
}
/**
* @return Google_Service_AdExchangeBuyerII_PublisherProfile
*/
public function getPublisherProfiles()
{
return $this->publisherProfiles;
}
}

View File

@@ -0,0 +1,101 @@
<?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_AdExchangeBuyerII_MarketplaceTargeting extends Google_Model
{
protected $geoTargetingType = 'Google_Service_AdExchangeBuyerII_CriteriaTargeting';
protected $geoTargetingDataType = '';
protected $inventorySizeTargetingType = 'Google_Service_AdExchangeBuyerII_InventorySizeTargeting';
protected $inventorySizeTargetingDataType = '';
protected $placementTargetingType = 'Google_Service_AdExchangeBuyerII_PlacementTargeting';
protected $placementTargetingDataType = '';
protected $technologyTargetingType = 'Google_Service_AdExchangeBuyerII_TechnologyTargeting';
protected $technologyTargetingDataType = '';
protected $videoTargetingType = 'Google_Service_AdExchangeBuyerII_VideoTargeting';
protected $videoTargetingDataType = '';
/**
* @param Google_Service_AdExchangeBuyerII_CriteriaTargeting
*/
public function setGeoTargeting(Google_Service_AdExchangeBuyerII_CriteriaTargeting $geoTargeting)
{
$this->geoTargeting = $geoTargeting;
}
/**
* @return Google_Service_AdExchangeBuyerII_CriteriaTargeting
*/
public function getGeoTargeting()
{
return $this->geoTargeting;
}
/**
* @param Google_Service_AdExchangeBuyerII_InventorySizeTargeting
*/
public function setInventorySizeTargeting(Google_Service_AdExchangeBuyerII_InventorySizeTargeting $inventorySizeTargeting)
{
$this->inventorySizeTargeting = $inventorySizeTargeting;
}
/**
* @return Google_Service_AdExchangeBuyerII_InventorySizeTargeting
*/
public function getInventorySizeTargeting()
{
return $this->inventorySizeTargeting;
}
/**
* @param Google_Service_AdExchangeBuyerII_PlacementTargeting
*/
public function setPlacementTargeting(Google_Service_AdExchangeBuyerII_PlacementTargeting $placementTargeting)
{
$this->placementTargeting = $placementTargeting;
}
/**
* @return Google_Service_AdExchangeBuyerII_PlacementTargeting
*/
public function getPlacementTargeting()
{
return $this->placementTargeting;
}
/**
* @param Google_Service_AdExchangeBuyerII_TechnologyTargeting
*/
public function setTechnologyTargeting(Google_Service_AdExchangeBuyerII_TechnologyTargeting $technologyTargeting)
{
$this->technologyTargeting = $technologyTargeting;
}
/**
* @return Google_Service_AdExchangeBuyerII_TechnologyTargeting
*/
public function getTechnologyTargeting()
{
return $this->technologyTargeting;
}
/**
* @param Google_Service_AdExchangeBuyerII_VideoTargeting
*/
public function setVideoTargeting(Google_Service_AdExchangeBuyerII_VideoTargeting $videoTargeting)
{
$this->videoTargeting = $videoTargeting;
}
/**
* @return Google_Service_AdExchangeBuyerII_VideoTargeting
*/
public function getVideoTargeting()
{
return $this->videoTargeting;
}
}

View File

@@ -0,0 +1,37 @@
<?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_AdExchangeBuyerII_MobileApplicationTargeting extends Google_Model
{
protected $firstPartyTargetingType = 'Google_Service_AdExchangeBuyerII_FirstPartyMobileApplicationTargeting';
protected $firstPartyTargetingDataType = '';
/**
* @param Google_Service_AdExchangeBuyerII_FirstPartyMobileApplicationTargeting
*/
public function setFirstPartyTargeting(Google_Service_AdExchangeBuyerII_FirstPartyMobileApplicationTargeting $firstPartyTargeting)
{
$this->firstPartyTargeting = $firstPartyTargeting;
}
/**
* @return Google_Service_AdExchangeBuyerII_FirstPartyMobileApplicationTargeting
*/
public function getFirstPartyTargeting()
{
return $this->firstPartyTargeting;
}
}

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_AdExchangeBuyerII_Money extends Google_Model
{
public $currencyCode;
public $nanos;
public $units;
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
public function getCurrencyCode()
{
return $this->currencyCode;
}
public function setNanos($nanos)
{
$this->nanos = $nanos;
}
public function getNanos()
{
return $this->nanos;
}
public function setUnits($units)
{
$this->units = $units;
}
public function getUnits()
{
return $this->units;
}
}

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_AdExchangeBuyerII_NonGuaranteedAuctionTerms extends Google_Collection
{
protected $collection_key = 'reservePricesPerBuyer';
public $autoOptimizePrivateAuction;
protected $reservePricesPerBuyerType = 'Google_Service_AdExchangeBuyerII_PricePerBuyer';
protected $reservePricesPerBuyerDataType = 'array';
public function setAutoOptimizePrivateAuction($autoOptimizePrivateAuction)
{
$this->autoOptimizePrivateAuction = $autoOptimizePrivateAuction;
}
public function getAutoOptimizePrivateAuction()
{
return $this->autoOptimizePrivateAuction;
}
/**
* @param Google_Service_AdExchangeBuyerII_PricePerBuyer
*/
public function setReservePricesPerBuyer($reservePricesPerBuyer)
{
$this->reservePricesPerBuyer = $reservePricesPerBuyer;
}
/**
* @return Google_Service_AdExchangeBuyerII_PricePerBuyer
*/
public function getReservePricesPerBuyer()
{
return $this->reservePricesPerBuyer;
}
}

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_AdExchangeBuyerII_NonGuaranteedFixedPriceTerms extends Google_Collection
{
protected $collection_key = 'fixedPrices';
protected $fixedPricesType = 'Google_Service_AdExchangeBuyerII_PricePerBuyer';
protected $fixedPricesDataType = 'array';
/**
* @param Google_Service_AdExchangeBuyerII_PricePerBuyer
*/
public function setFixedPrices($fixedPrices)
{
$this->fixedPrices = $fixedPrices;
}
/**
* @return Google_Service_AdExchangeBuyerII_PricePerBuyer
*/
public function getFixedPrices()
{
return $this->fixedPrices;
}
}

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_AdExchangeBuyerII_Note extends Google_Model
{
public $createTime;
public $creatorRole;
public $note;
public $noteId;
public $proposalRevision;
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setCreatorRole($creatorRole)
{
$this->creatorRole = $creatorRole;
}
public function getCreatorRole()
{
return $this->creatorRole;
}
public function setNote($note)
{
$this->note = $note;
}
public function getNote()
{
return $this->note;
}
public function setNoteId($noteId)
{
$this->noteId = $noteId;
}
public function getNoteId()
{
return $this->noteId;
}
public function setProposalRevision($proposalRevision)
{
$this->proposalRevision = $proposalRevision;
}
public function getProposalRevision()
{
return $this->proposalRevision;
}
}

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_AdExchangeBuyerII_OperatingSystemTargeting extends Google_Model
{
protected $operatingSystemCriteriaType = 'Google_Service_AdExchangeBuyerII_CriteriaTargeting';
protected $operatingSystemCriteriaDataType = '';
protected $operatingSystemVersionCriteriaType = 'Google_Service_AdExchangeBuyerII_CriteriaTargeting';
protected $operatingSystemVersionCriteriaDataType = '';
/**
* @param Google_Service_AdExchangeBuyerII_CriteriaTargeting
*/
public function setOperatingSystemCriteria(Google_Service_AdExchangeBuyerII_CriteriaTargeting $operatingSystemCriteria)
{
$this->operatingSystemCriteria = $operatingSystemCriteria;
}
/**
* @return Google_Service_AdExchangeBuyerII_CriteriaTargeting
*/
public function getOperatingSystemCriteria()
{
return $this->operatingSystemCriteria;
}
/**
* @param Google_Service_AdExchangeBuyerII_CriteriaTargeting
*/
public function setOperatingSystemVersionCriteria(Google_Service_AdExchangeBuyerII_CriteriaTargeting $operatingSystemVersionCriteria)
{
$this->operatingSystemVersionCriteria = $operatingSystemVersionCriteria;
}
/**
* @return Google_Service_AdExchangeBuyerII_CriteriaTargeting
*/
public function getOperatingSystemVersionCriteria()
{
return $this->operatingSystemVersionCriteria;
}
}

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_AdExchangeBuyerII_PauseProposalRequest extends Google_Model
{
public $reason;
public function setReason($reason)
{
$this->reason = $reason;
}
public function getReason()
{
return $this->reason;
}
}

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_AdExchangeBuyerII_PlacementTargeting extends Google_Model
{
protected $mobileApplicationTargetingType = 'Google_Service_AdExchangeBuyerII_MobileApplicationTargeting';
protected $mobileApplicationTargetingDataType = '';
protected $urlTargetingType = 'Google_Service_AdExchangeBuyerII_UrlTargeting';
protected $urlTargetingDataType = '';
/**
* @param Google_Service_AdExchangeBuyerII_MobileApplicationTargeting
*/
public function setMobileApplicationTargeting(Google_Service_AdExchangeBuyerII_MobileApplicationTargeting $mobileApplicationTargeting)
{
$this->mobileApplicationTargeting = $mobileApplicationTargeting;
}
/**
* @return Google_Service_AdExchangeBuyerII_MobileApplicationTargeting
*/
public function getMobileApplicationTargeting()
{
return $this->mobileApplicationTargeting;
}
/**
* @param Google_Service_AdExchangeBuyerII_UrlTargeting
*/
public function setUrlTargeting(Google_Service_AdExchangeBuyerII_UrlTargeting $urlTargeting)
{
$this->urlTargeting = $urlTargeting;
}
/**
* @return Google_Service_AdExchangeBuyerII_UrlTargeting
*/
public function getUrlTargeting()
{
return $this->urlTargeting;
}
}

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_AdExchangeBuyerII_Price extends Google_Model
{
protected $amountType = 'Google_Service_AdExchangeBuyerII_Money';
protected $amountDataType = '';
public $pricingType;
/**
* @param Google_Service_AdExchangeBuyerII_Money
*/
public function setAmount(Google_Service_AdExchangeBuyerII_Money $amount)
{
$this->amount = $amount;
}
/**
* @return Google_Service_AdExchangeBuyerII_Money
*/
public function getAmount()
{
return $this->amount;
}
public function setPricingType($pricingType)
{
$this->pricingType = $pricingType;
}
public function getPricingType()
{
return $this->pricingType;
}
}

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_AdExchangeBuyerII_PricePerBuyer extends Google_Collection
{
protected $collection_key = 'advertiserIds';
public $advertiserIds;
protected $buyerType = 'Google_Service_AdExchangeBuyerII_Buyer';
protected $buyerDataType = '';
protected $priceType = 'Google_Service_AdExchangeBuyerII_Price';
protected $priceDataType = '';
public function setAdvertiserIds($advertiserIds)
{
$this->advertiserIds = $advertiserIds;
}
public function getAdvertiserIds()
{
return $this->advertiserIds;
}
/**
* @param Google_Service_AdExchangeBuyerII_Buyer
*/
public function setBuyer(Google_Service_AdExchangeBuyerII_Buyer $buyer)
{
$this->buyer = $buyer;
}
/**
* @return Google_Service_AdExchangeBuyerII_Buyer
*/
public function getBuyer()
{
return $this->buyer;
}
/**
* @param Google_Service_AdExchangeBuyerII_Price
*/
public function setPrice(Google_Service_AdExchangeBuyerII_Price $price)
{
$this->price = $price;
}
/**
* @return Google_Service_AdExchangeBuyerII_Price
*/
public function getPrice()
{
return $this->price;
}
}

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_AdExchangeBuyerII_PrivateData extends Google_Model
{
public $referenceId;
public function setReferenceId($referenceId)
{
$this->referenceId = $referenceId;
}
public function getReferenceId()
{
return $this->referenceId;
}
}

View File

@@ -0,0 +1,185 @@
<?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_AdExchangeBuyerII_Product extends Google_Collection
{
protected $collection_key = 'targetingCriterion';
public $availableEndTime;
public $availableStartTime;
public $createTime;
protected $creatorContactsType = 'Google_Service_AdExchangeBuyerII_ContactInformation';
protected $creatorContactsDataType = 'array';
public $displayName;
public $hasCreatorSignedOff;
public $productId;
public $productRevision;
public $publisherProfileId;
protected $sellerType = 'Google_Service_AdExchangeBuyerII_Seller';
protected $sellerDataType = '';
public $syndicationProduct;
protected $targetingCriterionType = 'Google_Service_AdExchangeBuyerII_TargetingCriteria';
protected $targetingCriterionDataType = 'array';
protected $termsType = 'Google_Service_AdExchangeBuyerII_DealTerms';
protected $termsDataType = '';
public $updateTime;
public $webPropertyCode;
public function setAvailableEndTime($availableEndTime)
{
$this->availableEndTime = $availableEndTime;
}
public function getAvailableEndTime()
{
return $this->availableEndTime;
}
public function setAvailableStartTime($availableStartTime)
{
$this->availableStartTime = $availableStartTime;
}
public function getAvailableStartTime()
{
return $this->availableStartTime;
}
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param Google_Service_AdExchangeBuyerII_ContactInformation
*/
public function setCreatorContacts($creatorContacts)
{
$this->creatorContacts = $creatorContacts;
}
/**
* @return Google_Service_AdExchangeBuyerII_ContactInformation
*/
public function getCreatorContacts()
{
return $this->creatorContacts;
}
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
public function setHasCreatorSignedOff($hasCreatorSignedOff)
{
$this->hasCreatorSignedOff = $hasCreatorSignedOff;
}
public function getHasCreatorSignedOff()
{
return $this->hasCreatorSignedOff;
}
public function setProductId($productId)
{
$this->productId = $productId;
}
public function getProductId()
{
return $this->productId;
}
public function setProductRevision($productRevision)
{
$this->productRevision = $productRevision;
}
public function getProductRevision()
{
return $this->productRevision;
}
public function setPublisherProfileId($publisherProfileId)
{
$this->publisherProfileId = $publisherProfileId;
}
public function getPublisherProfileId()
{
return $this->publisherProfileId;
}
/**
* @param Google_Service_AdExchangeBuyerII_Seller
*/
public function setSeller(Google_Service_AdExchangeBuyerII_Seller $seller)
{
$this->seller = $seller;
}
/**
* @return Google_Service_AdExchangeBuyerII_Seller
*/
public function getSeller()
{
return $this->seller;
}
public function setSyndicationProduct($syndicationProduct)
{
$this->syndicationProduct = $syndicationProduct;
}
public function getSyndicationProduct()
{
return $this->syndicationProduct;
}
/**
* @param Google_Service_AdExchangeBuyerII_TargetingCriteria
*/
public function setTargetingCriterion($targetingCriterion)
{
$this->targetingCriterion = $targetingCriterion;
}
/**
* @return Google_Service_AdExchangeBuyerII_TargetingCriteria
*/
public function getTargetingCriterion()
{
return $this->targetingCriterion;
}
/**
* @param Google_Service_AdExchangeBuyerII_DealTerms
*/
public function setTerms(Google_Service_AdExchangeBuyerII_DealTerms $terms)
{
$this->terms = $terms;
}
/**
* @return Google_Service_AdExchangeBuyerII_DealTerms
*/
public function getTerms()
{
return $this->terms;
}
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
public function getUpdateTime()
{
return $this->updateTime;
}
public function setWebPropertyCode($webPropertyCode)
{
$this->webPropertyCode = $webPropertyCode;
}
public function getWebPropertyCode()
{
return $this->webPropertyCode;
}
}

View File

@@ -0,0 +1,240 @@
<?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_AdExchangeBuyerII_Proposal extends Google_Collection
{
protected $collection_key = 'sellerContacts';
protected $billedBuyerType = 'Google_Service_AdExchangeBuyerII_Buyer';
protected $billedBuyerDataType = '';
protected $buyerType = 'Google_Service_AdExchangeBuyerII_Buyer';
protected $buyerDataType = '';
protected $buyerContactsType = 'Google_Service_AdExchangeBuyerII_ContactInformation';
protected $buyerContactsDataType = 'array';
protected $buyerPrivateDataType = 'Google_Service_AdExchangeBuyerII_PrivateData';
protected $buyerPrivateDataDataType = '';
protected $dealsType = 'Google_Service_AdExchangeBuyerII_Deal';
protected $dealsDataType = 'array';
public $displayName;
public $isRenegotiating;
public $isSetupComplete;
public $lastUpdaterOrCommentorRole;
protected $notesType = 'Google_Service_AdExchangeBuyerII_Note';
protected $notesDataType = 'array';
public $originatorRole;
public $privateAuctionId;
public $proposalId;
public $proposalRevision;
public $proposalState;
protected $sellerType = 'Google_Service_AdExchangeBuyerII_Seller';
protected $sellerDataType = '';
protected $sellerContactsType = 'Google_Service_AdExchangeBuyerII_ContactInformation';
protected $sellerContactsDataType = 'array';
public $updateTime;
/**
* @param Google_Service_AdExchangeBuyerII_Buyer
*/
public function setBilledBuyer(Google_Service_AdExchangeBuyerII_Buyer $billedBuyer)
{
$this->billedBuyer = $billedBuyer;
}
/**
* @return Google_Service_AdExchangeBuyerII_Buyer
*/
public function getBilledBuyer()
{
return $this->billedBuyer;
}
/**
* @param Google_Service_AdExchangeBuyerII_Buyer
*/
public function setBuyer(Google_Service_AdExchangeBuyerII_Buyer $buyer)
{
$this->buyer = $buyer;
}
/**
* @return Google_Service_AdExchangeBuyerII_Buyer
*/
public function getBuyer()
{
return $this->buyer;
}
/**
* @param Google_Service_AdExchangeBuyerII_ContactInformation
*/
public function setBuyerContacts($buyerContacts)
{
$this->buyerContacts = $buyerContacts;
}
/**
* @return Google_Service_AdExchangeBuyerII_ContactInformation
*/
public function getBuyerContacts()
{
return $this->buyerContacts;
}
/**
* @param Google_Service_AdExchangeBuyerII_PrivateData
*/
public function setBuyerPrivateData(Google_Service_AdExchangeBuyerII_PrivateData $buyerPrivateData)
{
$this->buyerPrivateData = $buyerPrivateData;
}
/**
* @return Google_Service_AdExchangeBuyerII_PrivateData
*/
public function getBuyerPrivateData()
{
return $this->buyerPrivateData;
}
/**
* @param Google_Service_AdExchangeBuyerII_Deal
*/
public function setDeals($deals)
{
$this->deals = $deals;
}
/**
* @return Google_Service_AdExchangeBuyerII_Deal
*/
public function getDeals()
{
return $this->deals;
}
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
public function setIsRenegotiating($isRenegotiating)
{
$this->isRenegotiating = $isRenegotiating;
}
public function getIsRenegotiating()
{
return $this->isRenegotiating;
}
public function setIsSetupComplete($isSetupComplete)
{
$this->isSetupComplete = $isSetupComplete;
}
public function getIsSetupComplete()
{
return $this->isSetupComplete;
}
public function setLastUpdaterOrCommentorRole($lastUpdaterOrCommentorRole)
{
$this->lastUpdaterOrCommentorRole = $lastUpdaterOrCommentorRole;
}
public function getLastUpdaterOrCommentorRole()
{
return $this->lastUpdaterOrCommentorRole;
}
/**
* @param Google_Service_AdExchangeBuyerII_Note
*/
public function setNotes($notes)
{
$this->notes = $notes;
}
/**
* @return Google_Service_AdExchangeBuyerII_Note
*/
public function getNotes()
{
return $this->notes;
}
public function setOriginatorRole($originatorRole)
{
$this->originatorRole = $originatorRole;
}
public function getOriginatorRole()
{
return $this->originatorRole;
}
public function setPrivateAuctionId($privateAuctionId)
{
$this->privateAuctionId = $privateAuctionId;
}
public function getPrivateAuctionId()
{
return $this->privateAuctionId;
}
public function setProposalId($proposalId)
{
$this->proposalId = $proposalId;
}
public function getProposalId()
{
return $this->proposalId;
}
public function setProposalRevision($proposalRevision)
{
$this->proposalRevision = $proposalRevision;
}
public function getProposalRevision()
{
return $this->proposalRevision;
}
public function setProposalState($proposalState)
{
$this->proposalState = $proposalState;
}
public function getProposalState()
{
return $this->proposalState;
}
/**
* @param Google_Service_AdExchangeBuyerII_Seller
*/
public function setSeller(Google_Service_AdExchangeBuyerII_Seller $seller)
{
$this->seller = $seller;
}
/**
* @return Google_Service_AdExchangeBuyerII_Seller
*/
public function getSeller()
{
return $this->seller;
}
/**
* @param Google_Service_AdExchangeBuyerII_ContactInformation
*/
public function setSellerContacts($sellerContacts)
{
$this->sellerContacts = $sellerContacts;
}
/**
* @return Google_Service_AdExchangeBuyerII_ContactInformation
*/
public function getSellerContacts()
{
return $this->sellerContacts;
}
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
public function getUpdateTime()
{
return $this->updateTime;
}
}

View File

@@ -0,0 +1,164 @@
<?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_AdExchangeBuyerII_PublisherProfile extends Google_Collection
{
protected $collection_key = 'topHeadlines';
public $audienceDescription;
public $buyerPitchStatement;
public $directDealsContact;
public $displayName;
public $domains;
public $googlePlusUrl;
public $logoUrl;
public $mediaKitUrl;
public $overview;
public $programmaticDealsContact;
public $publisherProfileId;
public $rateCardInfoUrl;
public $samplePageUrl;
protected $sellerType = 'Google_Service_AdExchangeBuyerII_Seller';
protected $sellerDataType = '';
public $topHeadlines;
public function setAudienceDescription($audienceDescription)
{
$this->audienceDescription = $audienceDescription;
}
public function getAudienceDescription()
{
return $this->audienceDescription;
}
public function setBuyerPitchStatement($buyerPitchStatement)
{
$this->buyerPitchStatement = $buyerPitchStatement;
}
public function getBuyerPitchStatement()
{
return $this->buyerPitchStatement;
}
public function setDirectDealsContact($directDealsContact)
{
$this->directDealsContact = $directDealsContact;
}
public function getDirectDealsContact()
{
return $this->directDealsContact;
}
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
public function setDomains($domains)
{
$this->domains = $domains;
}
public function getDomains()
{
return $this->domains;
}
public function setGooglePlusUrl($googlePlusUrl)
{
$this->googlePlusUrl = $googlePlusUrl;
}
public function getGooglePlusUrl()
{
return $this->googlePlusUrl;
}
public function setLogoUrl($logoUrl)
{
$this->logoUrl = $logoUrl;
}
public function getLogoUrl()
{
return $this->logoUrl;
}
public function setMediaKitUrl($mediaKitUrl)
{
$this->mediaKitUrl = $mediaKitUrl;
}
public function getMediaKitUrl()
{
return $this->mediaKitUrl;
}
public function setOverview($overview)
{
$this->overview = $overview;
}
public function getOverview()
{
return $this->overview;
}
public function setProgrammaticDealsContact($programmaticDealsContact)
{
$this->programmaticDealsContact = $programmaticDealsContact;
}
public function getProgrammaticDealsContact()
{
return $this->programmaticDealsContact;
}
public function setPublisherProfileId($publisherProfileId)
{
$this->publisherProfileId = $publisherProfileId;
}
public function getPublisherProfileId()
{
return $this->publisherProfileId;
}
public function setRateCardInfoUrl($rateCardInfoUrl)
{
$this->rateCardInfoUrl = $rateCardInfoUrl;
}
public function getRateCardInfoUrl()
{
return $this->rateCardInfoUrl;
}
public function setSamplePageUrl($samplePageUrl)
{
$this->samplePageUrl = $samplePageUrl;
}
public function getSamplePageUrl()
{
return $this->samplePageUrl;
}
/**
* @param Google_Service_AdExchangeBuyerII_Seller
*/
public function setSeller(Google_Service_AdExchangeBuyerII_Seller $seller)
{
$this->seller = $seller;
}
/**
* @return Google_Service_AdExchangeBuyerII_Seller
*/
public function getSeller()
{
return $this->seller;
}
public function setTopHeadlines($topHeadlines)
{
$this->topHeadlines = $topHeadlines;
}
public function getTopHeadlines()
{
return $this->topHeadlines;
}
}

View File

@@ -73,12 +73,12 @@ class Google_Service_AdExchangeBuyerII_Resource_AccountsClientsInvitations exten
* all the invitations for all the clients of a given sponsor buyer.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Requested page size. Server may return fewer clients
* than requested. If unspecified, server will pick an appropriate default.
* @opt_param string pageToken A token identifying a page of results the server
* should return. Typically, this is the value of
* ListClientUserInvitationsResponse.nextPageToken returned from the previous
* call to the clients.invitations.list method.
* @opt_param int pageSize Requested page size. Server may return fewer clients
* than requested. If unspecified, server will pick an appropriate default.
* @return Google_Service_AdExchangeBuyerII_ListClientUserInvitationsResponse
*/
public function listAccountsClientsInvitations($accountId, $clientAccountId, $optParams = array())

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.
*/
/**
* The "finalizedProposals" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...);
* $finalizedProposals = $adexchangebuyer2Service->finalizedProposals;
* </code>
*/
class Google_Service_AdExchangeBuyerII_Resource_AccountsFinalizedProposals extends Google_Service_Resource
{
/**
* List finalized proposals, regardless if a proposal is being renegotiated. A
* filter expression (PQL query) may be specified to filter the results. The
* notes will not be returned.
* (finalizedProposals.listAccountsFinalizedProposals)
*
* @param string $accountId Account ID of the buyer.
* @param array $optParams Optional parameters.
*
* @opt_param string filterSyntax Syntax the filter is written in. Current
* implementation defaults to PQL but in the future it will be LIST_FILTER.
* @opt_param string filter An optional PQL filter query used to query for
* proposals.
*
* Nested repeated fields, such as proposal.deals.targetingCriterion, cannot be
* filtered.
* @opt_param string pageToken The page token as returned from
* ListProposalsResponse.
* @opt_param int pageSize Requested page size. The server may return fewer
* results than requested. If unspecified, the server will pick an appropriate
* default.
* @return Google_Service_AdExchangeBuyerII_ListProposalsResponse
*/
public function listAccountsFinalizedProposals($accountId, $optParams = array())
{
$params = array('accountId' => $accountId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListProposalsResponse");
}
}

View File

@@ -0,0 +1,68 @@
<?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 "products" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...);
* $products = $adexchangebuyer2Service->products;
* </code>
*/
class Google_Service_AdExchangeBuyerII_Resource_AccountsProducts extends Google_Service_Resource
{
/**
* Gets the requested product by ID. (products.get)
*
* @param string $accountId Account ID of the buyer.
* @param string $productId The ID for the product to get the head revision for.
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_Product
*/
public function get($accountId, $productId, $optParams = array())
{
$params = array('accountId' => $accountId, 'productId' => $productId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AdExchangeBuyerII_Product");
}
/**
* List all products visible to the buyer (optionally filtered by the specified
* PQL query). (products.listAccountsProducts)
*
* @param string $accountId Account ID of the buyer.
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken The page token as returned from
* ListProductsResponse.
* @opt_param int pageSize Requested page size. The server may return fewer
* results than requested. If unspecified, the server will pick an appropriate
* default.
* @opt_param string filter An optional PQL query used to query for products.
* See https://developers.google.com/ad-manager/docs/pqlreference for
* documentation about PQL and examples.
*
* Nested repeated fields, such as product.targetingCriterion.inclusions, cannot
* be filtered.
* @return Google_Service_AdExchangeBuyerII_ListProductsResponse
*/
public function listAccountsProducts($accountId, $optParams = array())
{
$params = array('accountId' => $accountId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListProductsResponse");
}
}

View File

@@ -0,0 +1,232 @@
<?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 "proposals" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...);
* $proposals = $adexchangebuyer2Service->proposals;
* </code>
*/
class Google_Service_AdExchangeBuyerII_Resource_AccountsProposals extends Google_Service_Resource
{
/**
* Mark the proposal as accepted at the given revision number. If the number
* does not match the server's revision number an `ABORTED` error message will
* be returned. This call updates the proposal_state from `PROPOSED` to
* `BUYER_ACCEPTED`, or from `SELLER_ACCEPTED` to `FINALIZED`.
* (proposals.accept)
*
* @param string $accountId Account ID of the buyer.
* @param string $proposalId The ID of the proposal to accept.
* @param Google_Service_AdExchangeBuyerII_AcceptProposalRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_Proposal
*/
public function accept($accountId, $proposalId, Google_Service_AdExchangeBuyerII_AcceptProposalRequest $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'proposalId' => $proposalId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('accept', array($params), "Google_Service_AdExchangeBuyerII_Proposal");
}
/**
* Create a new note and attach it to the proposal. The note is assigned a
* unique ID by the server. The proposal revision number will not increase when
* associated with a new note. (proposals.addNote)
*
* @param string $accountId Account ID of the buyer.
* @param string $proposalId The ID of the proposal to attach the note to.
* @param Google_Service_AdExchangeBuyerII_AddNoteRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_Note
*/
public function addNote($accountId, $proposalId, Google_Service_AdExchangeBuyerII_AddNoteRequest $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'proposalId' => $proposalId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('addNote', array($params), "Google_Service_AdExchangeBuyerII_Note");
}
/**
* Cancel an ongoing negotiation on a proposal. This does not cancel or end
* serving for the deals if the proposal has been finalized, but only cancels a
* negotiation unilaterally. (proposals.cancelNegotiation)
*
* @param string $accountId Account ID of the buyer.
* @param string $proposalId The ID of the proposal to cancel negotiation for.
* @param Google_Service_AdExchangeBuyerII_CancelNegotiationRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_Proposal
*/
public function cancelNegotiation($accountId, $proposalId, Google_Service_AdExchangeBuyerII_CancelNegotiationRequest $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'proposalId' => $proposalId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('cancelNegotiation', array($params), "Google_Service_AdExchangeBuyerII_Proposal");
}
/**
* Update the given proposal to indicate that setup has been completed. This
* method is called by the buyer when the line items have been created on their
* end for a finalized proposal and all the required creatives have been
* uploaded using the creatives API. This call updates the `is_setup_completed`
* bit on the proposal and also notifies the seller. The server will advance the
* revision number of the most recent proposal. (proposals.completeSetup)
*
* @param string $accountId Account ID of the buyer.
* @param string $proposalId The ID of the proposal to mark as setup completed.
* @param Google_Service_AdExchangeBuyerII_CompleteSetupRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_Proposal
*/
public function completeSetup($accountId, $proposalId, Google_Service_AdExchangeBuyerII_CompleteSetupRequest $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'proposalId' => $proposalId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('completeSetup', array($params), "Google_Service_AdExchangeBuyerII_Proposal");
}
/**
* Create the given proposal. Each created proposal and any deals it contains
* are assigned a unique ID by the server. (proposals.create)
*
* @param string $accountId Account ID of the buyer.
* @param Google_Service_AdExchangeBuyerII_Proposal $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_Proposal
*/
public function create($accountId, Google_Service_AdExchangeBuyerII_Proposal $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_AdExchangeBuyerII_Proposal");
}
/**
* Gets a proposal given its ID. The proposal is returned at its head revision.
* (proposals.get)
*
* @param string $accountId Account ID of the buyer.
* @param string $proposalId The unique ID of the proposal
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_Proposal
*/
public function get($accountId, $proposalId, $optParams = array())
{
$params = array('accountId' => $accountId, 'proposalId' => $proposalId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AdExchangeBuyerII_Proposal");
}
/**
* List proposals. A filter expression (PQL query) may be specified to filter
* the results. To retrieve all finalized proposals, regardless if a proposal is
* being renegotiated, see the FinalizedProposals resource. Note that
* Bidder/ChildSeat relationships differ from the usual behavior. A Bidder
* account can only see its child seats' proposals by specifying the ChildSeat's
* accountId in the request path. (proposals.listAccountsProposals)
*
* @param string $accountId Account ID of the buyer.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Requested page size. The server may return fewer
* results than requested. If unspecified, the server will pick an appropriate
* default.
* @opt_param string filterSyntax Syntax the filter is written in. Current
* implementation defaults to PQL but in the future it will be LIST_FILTER.
* @opt_param string filter An optional PQL filter query used to query for
* proposals.
*
* Nested repeated fields, such as proposal.deals.targetingCriterion, cannot be
* filtered.
* @opt_param string pageToken The page token as returned from
* ListProposalsResponse.
* @return Google_Service_AdExchangeBuyerII_ListProposalsResponse
*/
public function listAccountsProposals($accountId, $optParams = array())
{
$params = array('accountId' => $accountId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListProposalsResponse");
}
/**
* Update the given proposal to pause serving. This method will set the
* `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to true for all
* deals in the proposal.
*
* It is a no-op to pause an already-paused proposal. It is an error to call
* PauseProposal for a proposal that is not finalized or renegotiating.
* (proposals.pause)
*
* @param string $accountId Account ID of the buyer.
* @param string $proposalId The ID of the proposal to pause.
* @param Google_Service_AdExchangeBuyerII_PauseProposalRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_Proposal
*/
public function pause($accountId, $proposalId, Google_Service_AdExchangeBuyerII_PauseProposalRequest $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'proposalId' => $proposalId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('pause', array($params), "Google_Service_AdExchangeBuyerII_Proposal");
}
/**
* Update the given proposal to resume serving. This method will set the
* `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to false for all
* deals in the proposal.
*
* Note that if the `has_seller_paused` bit is also set, serving will not resume
* until the seller also resumes.
*
* It is a no-op to resume an already-running proposal. It is an error to call
* ResumeProposal for a proposal that is not finalized or renegotiating.
* (proposals.resume)
*
* @param string $accountId Account ID of the buyer.
* @param string $proposalId The ID of the proposal to resume.
* @param Google_Service_AdExchangeBuyerII_ResumeProposalRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_Proposal
*/
public function resume($accountId, $proposalId, Google_Service_AdExchangeBuyerII_ResumeProposalRequest $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'proposalId' => $proposalId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('resume', array($params), "Google_Service_AdExchangeBuyerII_Proposal");
}
/**
* Update the given proposal at the client known revision number. If the server
* revision has advanced since the passed-in `proposal.proposal_revision`, an
* `ABORTED` error message will be returned. Only the buyer-modifiable fields of
* the proposal will be updated.
*
* Note that the deals in the proposal will be updated to match the passed-in
* copy. If a passed-in deal does not have a `deal_id`, the server will assign a
* new unique ID and create the deal. If passed-in deal has a `deal_id`, it will
* be updated to match the passed-in copy. Any existing deals not present in the
* passed-in proposal will be deleted. It is an error to pass in a deal with a
* `deal_id` not present at head. (proposals.update)
*
* @param string $accountId Account ID of the buyer.
* @param string $proposalId The unique ID of the proposal.
* @param Google_Service_AdExchangeBuyerII_Proposal $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_Proposal
*/
public function update($accountId, $proposalId, Google_Service_AdExchangeBuyerII_Proposal $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'proposalId' => $proposalId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_AdExchangeBuyerII_Proposal");
}
}

View File

@@ -0,0 +1,60 @@
<?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 "publisherProfiles" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...);
* $publisherProfiles = $adexchangebuyer2Service->publisherProfiles;
* </code>
*/
class Google_Service_AdExchangeBuyerII_Resource_AccountsPublisherProfiles extends Google_Service_Resource
{
/**
* Gets the requested publisher profile by id. (publisherProfiles.get)
*
* @param string $accountId Account ID of the buyer.
* @param string $publisherProfileId The id for the publisher profile to get.
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_PublisherProfile
*/
public function get($accountId, $publisherProfileId, $optParams = array())
{
$params = array('accountId' => $accountId, 'publisherProfileId' => $publisherProfileId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AdExchangeBuyerII_PublisherProfile");
}
/**
* List all publisher profiles visible to the buyer
* (publisherProfiles.listAccountsPublisherProfiles)
*
* @param string $accountId Account ID of the buyer.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Specify the number of results to include per page.
* @opt_param string pageToken The page token as return from
* ListPublisherProfilesResponse.
* @return Google_Service_AdExchangeBuyerII_ListPublisherProfilesResponse
*/
public function listAccountsPublisherProfiles($accountId, $optParams = array())
{
$params = array('accountId' => $accountId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListPublisherProfilesResponse");
}
}

View File

@@ -1,47 +0,0 @@
<?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 "publishers" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...);
* $publishers = $adexchangebuyer2Service->publishers;
* </code>
*/
class Google_Service_AdExchangeBuyerII_Resource_AccountsPublishers extends Google_Service_Resource
{
/**
* Lists publishers that had recent inventory matches with the requesting buyer.
* (publishers.listAccountsPublishers)
*
* @param string $accountId Account ID of the requesting buyer.
* @param array $optParams Optional parameters.
*
* @opt_param string environment Optional environment (WEB, APP) for which to
* return publishers. If specified, response will only include publishers that
* had recent inventory matches with the requesting buyer on the specified
* platform.
* @return Google_Service_AdExchangeBuyerII_ListPublishersResponse
*/
public function listAccountsPublishers($accountId, $optParams = array())
{
$params = array('accountId' => $accountId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListPublishersResponse");
}
}

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.
*/
/**
* The "creatives" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...);
* $creatives = $adexchangebuyer2Service->creatives;
* </code>
*/
class Google_Service_AdExchangeBuyerII_Resource_BiddersAccountsCreatives extends Google_Service_Resource
{
/**
* Deletes a single creative.
*
* A creative is deactivated upon deletion and does not count against active
* snippet quota. A deleted creative should not be used in bidding (all bids
* with that creative will be rejected). (creatives.delete)
*
* @param string $ownerName Name of the owner (bidder or account) of the
* creative to be deleted. For example:
*
* - For an account-level creative for the buyer account representing bidder
* 123: `bidders/123/accounts/123`
*
* - For an account-level creative for the child seat buyer account 456 whose
* bidder is 123: `bidders/123/accounts/456`
* @param string $creativeId The ID of the creative to delete.
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty
*/
public function delete($ownerName, $creativeId, $optParams = array())
{
$params = array('ownerName' => $ownerName, 'creativeId' => $creativeId);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty");
}
}

View File

@@ -42,13 +42,13 @@ class Google_Service_AdExchangeBuyerII_Resource_BiddersAccountsFilterSetsBidMetr
* whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Requested page size. The server may return fewer
* results than requested. If unspecified, the server will pick an appropriate
* default.
* @opt_param string pageToken A token identifying a page of results the server
* should return. Typically, this is the value of
* ListBidMetricsResponse.nextPageToken returned from the previous call to the
* bidMetrics.list method.
* @opt_param int pageSize Requested page size. The server may return fewer
* results than requested. If unspecified, the server will pick an appropriate
* default.
* @return Google_Service_AdExchangeBuyerII_ListBidMetricsResponse
*/
public function listBiddersAccountsFilterSetsBidMetrics($filterSetName, $optParams = array())

View File

@@ -43,13 +43,13 @@ class Google_Service_AdExchangeBuyerII_Resource_BiddersAccountsFilterSetsBidResp
* whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Requested page size. The server may return fewer
* results than requested. If unspecified, the server will pick an appropriate
* default.
* @opt_param string pageToken A token identifying a page of results the server
* should return. Typically, this is the value of
* ListBidResponseErrorsResponse.nextPageToken returned from the previous call
* to the bidResponseErrors.list method.
* @opt_param int pageSize Requested page size. The server may return fewer
* results than requested. If unspecified, the server will pick an appropriate
* default.
* @return Google_Service_AdExchangeBuyerII_ListBidResponseErrorsResponse
*/
public function listBiddersAccountsFilterSetsBidResponseErrors($filterSetName, $optParams = array())

View File

@@ -43,8 +43,8 @@ class Google_Service_AdExchangeBuyerII_Resource_BiddersAccountsFilterSetsFiltere
* whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
* @param int $creativeStatusId The ID of the creative status for which to
* retrieve a breakdown by creative. See [creative-status-
* codes](https://developers.google.com/ad-exchange/rtb/downloads/creative-
* status-codes).
* codes](https://developers.google.com/authorized-buyers/rtb/downloads
* /creative-status-codes).
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken A token identifying a page of results the server

View File

@@ -43,18 +43,18 @@ class Google_Service_AdExchangeBuyerII_Resource_BiddersAccountsFilterSetsFiltere
* whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
* @param int $creativeStatusId The ID of the creative status for which to
* retrieve a breakdown by detail. See [creative-status-
* codes](https://developers.google.com/ad-exchange/rtb/downloads/creative-
* status-codes). Details are only available for statuses 10, 14, 15, 17, 18,
* 19, 86, and 87.
* codes](https://developers.google.com/authorized-buyers/rtb/downloads
* /creative-status-codes). Details are only available for statuses 10, 14, 15,
* 17, 18, 19, 86, and 87.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Requested page size. The server may return fewer
* results than requested. If unspecified, the server will pick an appropriate
* default.
* @opt_param string pageToken A token identifying a page of results the server
* should return. Typically, this is the value of
* ListCreativeStatusBreakdownByDetailResponse.nextPageToken returned from the
* previous call to the filteredBids.details.list method.
* @opt_param int pageSize Requested page size. The server may return fewer
* results than requested. If unspecified, the server will pick an appropriate
* default.
* @return Google_Service_AdExchangeBuyerII_ListCreativeStatusBreakdownByDetailResponse
*/
public function listBiddersAccountsFilterSetsFilteredBidsDetails($filterSetName, $creativeStatusId, $optParams = array())

View File

@@ -43,13 +43,13 @@ class Google_Service_AdExchangeBuyerII_Resource_BiddersAccountsFilterSetsNonBill
* whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Requested page size. The server may return fewer
* results than requested. If unspecified, the server will pick an appropriate
* default.
* @opt_param string pageToken A token identifying a page of results the server
* should return. Typically, this is the value of
* ListNonBillableWinningBidsResponse.nextPageToken returned from the previous
* call to the nonBillableWinningBids.list method.
* @opt_param int pageSize Requested page size. The server may return fewer
* results than requested. If unspecified, the server will pick an appropriate
* default.
* @return Google_Service_AdExchangeBuyerII_ListNonBillableWinningBidsResponse
*/
public function listBiddersAccountsFilterSetsNonBillableWinningBids($filterSetName, $optParams = array())

View File

@@ -115,13 +115,13 @@ class Google_Service_AdExchangeBuyerII_Resource_BiddersFilterSets extends Google
* whose bidder is 123: `bidders/123/accounts/456`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Requested page size. The server may return fewer
* results than requested. If unspecified, the server will pick an appropriate
* default.
* @opt_param string pageToken A token identifying a page of results the server
* should return. Typically, this is the value of
* ListFilterSetsResponse.nextPageToken returned from the previous call to the
* accounts.filterSets.list method.
* @opt_param int pageSize Requested page size. The server may return fewer
* results than requested. If unspecified, the server will pick an appropriate
* default.
* @return Google_Service_AdExchangeBuyerII_ListFilterSetsResponse
*/
public function listBiddersFilterSets($ownerName, $optParams = array())

View File

@@ -43,8 +43,8 @@ class Google_Service_AdExchangeBuyerII_Resource_BiddersFilterSetsFilteredBidsCre
* whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
* @param int $creativeStatusId The ID of the creative status for which to
* retrieve a breakdown by creative. See [creative-status-
* codes](https://developers.google.com/ad-exchange/rtb/downloads/creative-
* status-codes).
* codes](https://developers.google.com/authorized-buyers/rtb/downloads
* /creative-status-codes).
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken A token identifying a page of results the server

View File

@@ -43,18 +43,18 @@ class Google_Service_AdExchangeBuyerII_Resource_BiddersFilterSetsFilteredBidsDet
* whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
* @param int $creativeStatusId The ID of the creative status for which to
* retrieve a breakdown by detail. See [creative-status-
* codes](https://developers.google.com/ad-exchange/rtb/downloads/creative-
* status-codes). Details are only available for statuses 10, 14, 15, 17, 18,
* 19, 86, and 87.
* codes](https://developers.google.com/authorized-buyers/rtb/downloads
* /creative-status-codes). Details are only available for statuses 10, 14, 15,
* 17, 18, 19, 86, and 87.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Requested page size. The server may return fewer
* results than requested. If unspecified, the server will pick an appropriate
* default.
* @opt_param string pageToken A token identifying a page of results the server
* should return. Typically, this is the value of
* ListCreativeStatusBreakdownByDetailResponse.nextPageToken returned from the
* previous call to the filteredBids.details.list method.
* @opt_param int pageSize Requested page size. The server may return fewer
* results than requested. If unspecified, the server will pick an appropriate
* default.
* @return Google_Service_AdExchangeBuyerII_ListCreativeStatusBreakdownByDetailResponse
*/
public function listBiddersFilterSetsFilteredBidsDetails($filterSetName, $creativeStatusId, $optParams = array())

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_AdExchangeBuyerII_ResumeProposalRequest extends Google_Model
{
}

View File

@@ -17,9 +17,18 @@
class Google_Service_AdExchangeBuyerII_RowDimensions extends Google_Model
{
public $publisherIdentifier;
protected $timeIntervalType = 'Google_Service_AdExchangeBuyerII_TimeInterval';
protected $timeIntervalDataType = '';
public function setPublisherIdentifier($publisherIdentifier)
{
$this->publisherIdentifier = $publisherIdentifier;
}
public function getPublisherIdentifier()
{
return $this->publisherIdentifier;
}
/**
* @param Google_Service_AdExchangeBuyerII_TimeInterval
*/

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_AdExchangeBuyerII_Seller extends Google_Model
{
public $accountId;
public $subAccountId;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setSubAccountId($subAccountId)
{
$this->subAccountId = $subAccountId;
}
public function getSubAccountId()
{
return $this->subAccountId;
}
}

View File

@@ -20,6 +20,8 @@ class Google_Service_AdExchangeBuyerII_ServingRestriction extends Google_Collect
protected $collection_key = 'disapprovalReasons';
protected $contextsType = 'Google_Service_AdExchangeBuyerII_ServingContext';
protected $contextsDataType = 'array';
protected $disapprovalType = 'Google_Service_AdExchangeBuyerII_Disapproval';
protected $disapprovalDataType = '';
protected $disapprovalReasonsType = 'Google_Service_AdExchangeBuyerII_Disapproval';
protected $disapprovalReasonsDataType = 'array';
public $status;
@@ -38,6 +40,20 @@ class Google_Service_AdExchangeBuyerII_ServingRestriction extends Google_Collect
{
return $this->contexts;
}
/**
* @param Google_Service_AdExchangeBuyerII_Disapproval
*/
public function setDisapproval(Google_Service_AdExchangeBuyerII_Disapproval $disapproval)
{
$this->disapproval = $disapproval;
}
/**
* @return Google_Service_AdExchangeBuyerII_Disapproval
*/
public function getDisapproval()
{
return $this->disapproval;
}
/**
* @param Google_Service_AdExchangeBuyerII_Disapproval
*/

View File

@@ -15,11 +15,9 @@
* the License.
*/
class Google_Service_Pagespeedonline_PagespeedApiFormatStringV4ArgsRects extends Google_Model
class Google_Service_AdExchangeBuyerII_Size extends Google_Model
{
public $height;
public $left;
public $top;
public $width;
public function setHeight($height)
@@ -30,22 +28,6 @@ class Google_Service_Pagespeedonline_PagespeedApiFormatStringV4ArgsRects extends
{
return $this->height;
}
public function setLeft($left)
{
$this->left = $left;
}
public function getLeft()
{
return $this->left;
}
public function setTop($top)
{
$this->top = $top;
}
public function getTop()
{
return $this->top;
}
public function setWidth($width)
{
$this->width = $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_AdExchangeBuyerII_TargetingCriteria extends Google_Collection
{
protected $collection_key = 'inclusions';
protected $exclusionsType = 'Google_Service_AdExchangeBuyerII_TargetingValue';
protected $exclusionsDataType = 'array';
protected $inclusionsType = 'Google_Service_AdExchangeBuyerII_TargetingValue';
protected $inclusionsDataType = 'array';
public $key;
/**
* @param Google_Service_AdExchangeBuyerII_TargetingValue
*/
public function setExclusions($exclusions)
{
$this->exclusions = $exclusions;
}
/**
* @return Google_Service_AdExchangeBuyerII_TargetingValue
*/
public function getExclusions()
{
return $this->exclusions;
}
/**
* @param Google_Service_AdExchangeBuyerII_TargetingValue
*/
public function setInclusions($inclusions)
{
$this->inclusions = $inclusions;
}
/**
* @return Google_Service_AdExchangeBuyerII_TargetingValue
*/
public function getInclusions()
{
return $this->inclusions;
}
public function setKey($key)
{
$this->key = $key;
}
public function getKey()
{
return $this->key;
}
}

View File

@@ -0,0 +1,71 @@
<?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_AdExchangeBuyerII_TargetingValue extends Google_Model
{
protected $creativeSizeValueType = 'Google_Service_AdExchangeBuyerII_CreativeSize';
protected $creativeSizeValueDataType = '';
protected $dayPartTargetingValueType = 'Google_Service_AdExchangeBuyerII_DayPartTargeting';
protected $dayPartTargetingValueDataType = '';
public $longValue;
public $stringValue;
/**
* @param Google_Service_AdExchangeBuyerII_CreativeSize
*/
public function setCreativeSizeValue(Google_Service_AdExchangeBuyerII_CreativeSize $creativeSizeValue)
{
$this->creativeSizeValue = $creativeSizeValue;
}
/**
* @return Google_Service_AdExchangeBuyerII_CreativeSize
*/
public function getCreativeSizeValue()
{
return $this->creativeSizeValue;
}
/**
* @param Google_Service_AdExchangeBuyerII_DayPartTargeting
*/
public function setDayPartTargetingValue(Google_Service_AdExchangeBuyerII_DayPartTargeting $dayPartTargetingValue)
{
$this->dayPartTargetingValue = $dayPartTargetingValue;
}
/**
* @return Google_Service_AdExchangeBuyerII_DayPartTargeting
*/
public function getDayPartTargetingValue()
{
return $this->dayPartTargetingValue;
}
public function setLongValue($longValue)
{
$this->longValue = $longValue;
}
public function getLongValue()
{
return $this->longValue;
}
public function setStringValue($stringValue)
{
$this->stringValue = $stringValue;
}
public function getStringValue()
{
return $this->stringValue;
}
}

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.
*/
class Google_Service_AdExchangeBuyerII_TechnologyTargeting extends Google_Model
{
protected $deviceCapabilityTargetingType = 'Google_Service_AdExchangeBuyerII_CriteriaTargeting';
protected $deviceCapabilityTargetingDataType = '';
protected $deviceCategoryTargetingType = 'Google_Service_AdExchangeBuyerII_CriteriaTargeting';
protected $deviceCategoryTargetingDataType = '';
protected $operatingSystemTargetingType = 'Google_Service_AdExchangeBuyerII_OperatingSystemTargeting';
protected $operatingSystemTargetingDataType = '';
/**
* @param Google_Service_AdExchangeBuyerII_CriteriaTargeting
*/
public function setDeviceCapabilityTargeting(Google_Service_AdExchangeBuyerII_CriteriaTargeting $deviceCapabilityTargeting)
{
$this->deviceCapabilityTargeting = $deviceCapabilityTargeting;
}
/**
* @return Google_Service_AdExchangeBuyerII_CriteriaTargeting
*/
public function getDeviceCapabilityTargeting()
{
return $this->deviceCapabilityTargeting;
}
/**
* @param Google_Service_AdExchangeBuyerII_CriteriaTargeting
*/
public function setDeviceCategoryTargeting(Google_Service_AdExchangeBuyerII_CriteriaTargeting $deviceCategoryTargeting)
{
$this->deviceCategoryTargeting = $deviceCategoryTargeting;
}
/**
* @return Google_Service_AdExchangeBuyerII_CriteriaTargeting
*/
public function getDeviceCategoryTargeting()
{
return $this->deviceCategoryTargeting;
}
/**
* @param Google_Service_AdExchangeBuyerII_OperatingSystemTargeting
*/
public function setOperatingSystemTargeting(Google_Service_AdExchangeBuyerII_OperatingSystemTargeting $operatingSystemTargeting)
{
$this->operatingSystemTargeting = $operatingSystemTargeting;
}
/**
* @return Google_Service_AdExchangeBuyerII_OperatingSystemTargeting
*/
public function getOperatingSystemTargeting()
{
return $this->operatingSystemTargeting;
}
}

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_AdExchangeBuyerII_TimeOfDay extends Google_Model
{
public $hours;
public $minutes;
public $nanos;
public $seconds;
public function setHours($hours)
{
$this->hours = $hours;
}
public function getHours()
{
return $this->hours;
}
public function setMinutes($minutes)
{
$this->minutes = $minutes;
}
public function getMinutes()
{
return $this->minutes;
}
public function setNanos($nanos)
{
$this->nanos = $nanos;
}
public function getNanos()
{
return $this->nanos;
}
public function setSeconds($seconds)
{
$this->seconds = $seconds;
}
public function getSeconds()
{
return $this->seconds;
}
}

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_AdExchangeBuyerII_UrlTargeting extends Google_Collection
{
protected $collection_key = 'targetedUrls';
public $excludedUrls;
public $targetedUrls;
public function setExcludedUrls($excludedUrls)
{
$this->excludedUrls = $excludedUrls;
}
public function getExcludedUrls()
{
return $this->excludedUrls;
}
public function setTargetedUrls($targetedUrls)
{
$this->targetedUrls = $targetedUrls;
}
public function getTargetedUrls()
{
return $this->targetedUrls;
}
}

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_AdExchangeBuyerII_VideoTargeting extends Google_Collection
{
protected $collection_key = 'targetedPositionTypes';
public $excludedPositionTypes;
public $targetedPositionTypes;
public function setExcludedPositionTypes($excludedPositionTypes)
{
$this->excludedPositionTypes = $excludedPositionTypes;
}
public function getExcludedPositionTypes()
{
return $this->excludedPositionTypes;
}
public function setTargetedPositionTypes($targetedPositionTypes)
{
$this->targetedPositionTypes = $targetedPositionTypes;
}
public function getTargetedPositionTypes()
{
return $this->targetedPositionTypes;
}
}

View File

@@ -19,7 +19,7 @@
* Service definition for AdExperienceReport (v1).
*
* <p>
* View Ad Experience Report data, and get a list of sites that have a
* Views Ad Experience Report data, and gets a list of sites that have a
* significant number of annoying ads.</p>
*
* <p>
@@ -48,6 +48,7 @@ class Google_Service_AdExperienceReport extends Google_Service
parent::__construct($client);
$this->rootUrl = 'https://adexperiencereport.googleapis.com/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v1';
$this->serviceName = 'adexperiencereport';

View File

@@ -73,6 +73,7 @@ class Google_Service_AdSense extends Google_Service
parent::__construct($client);
$this->rootUrl = 'https://www.googleapis.com/';
$this->servicePath = 'adsense/v1.4/';
$this->batchPath = 'batch/adsense/v1.4';
$this->version = 'v1.4';
$this->serviceName = 'adsense';
@@ -119,7 +120,22 @@ class Google_Service_AdSense extends Google_Service
'adclients',
array(
'methods' => array(
'list' => array(
'getAdCode' => array(
'path' => 'accounts/{accountId}/adclients/{adClientId}/adcode',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'adClientId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'accounts/{accountId}/adclients',
'httpMethod' => 'GET',
'parameters' => array(

View File

@@ -18,6 +18,8 @@
class Google_Service_AdSense_AdCode extends Google_Model
{
public $adCode;
public $ampBody;
public $ampHead;
public $kind;
public function setAdCode($adCode)
@@ -28,6 +30,22 @@ class Google_Service_AdSense_AdCode extends Google_Model
{
return $this->adCode;
}
public function setAmpBody($ampBody)
{
$this->ampBody = $ampBody;
}
public function getAmpBody()
{
return $this->ampBody;
}
public function setAmpHead($ampHead)
{
$this->ampHead = $ampHead;
}
public function getAmpHead()
{
return $this->ampHead;
}
public function setKind($kind)
{
$this->kind = $kind;

View File

@@ -25,6 +25,20 @@
*/
class Google_Service_AdSense_Resource_AccountsAdclients extends Google_Service_Resource
{
/**
* Get Auto ad code for a given ad client. (adclients.getAdCode)
*
* @param string $accountId Account which contains the ad client.
* @param string $adClientId Ad client to get the code for.
* @param array $optParams Optional parameters.
* @return Google_Service_AdSense_AdCode
*/
public function getAdCode($accountId, $adClientId, $optParams = array())
{
$params = array('accountId' => $accountId, 'adClientId' => $adClientId);
$params = array_merge($params, $optParams);
return $this->call('getAdCode', array($params), "Google_Service_AdSense_AdCode");
}
/**
* List all ad clients in the specified account.
* (adclients.listAccountsAdclients)

View File

@@ -55,6 +55,7 @@ class Google_Service_AdSenseHost extends Google_Service
parent::__construct($client);
$this->rootUrl = 'https://www.googleapis.com/';
$this->servicePath = 'adsensehost/v4.1/';
$this->batchPath = 'batch/adsensehost/v4.1';
$this->version = 'v4.1';
$this->serviceName = 'adsensehost';

View File

@@ -0,0 +1,199 @@
<?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 AlertCenter (v1beta1).
*
* <p>
* Manages alerts on issues affecting your domain.</p>
*
* <p>
* For more information about this service, see the API
* <a href="https://developers.google.com/admin-sdk/alertcenter/" target="_blank">Documentation</a>
* </p>
*
* @author Google, Inc.
*/
class Google_Service_AlertCenter extends Google_Service
{
/** See and delete your domain's G Suite alerts, and send alert feedback. */
const APPS_ALERTS =
"https://www.googleapis.com/auth/apps.alerts";
public $alerts;
public $alerts_feedback;
public $v1beta1;
/**
* Constructs the internal representation of the AlertCenter service.
*
* @param Google_Client $client
*/
public function __construct(Google_Client $client)
{
parent::__construct($client);
$this->rootUrl = 'https://alertcenter.googleapis.com/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v1beta1';
$this->serviceName = 'alertcenter';
$this->alerts = new Google_Service_AlertCenter_Resource_Alerts(
$this,
$this->serviceName,
'alerts',
array(
'methods' => array(
'delete' => array(
'path' => 'v1beta1/alerts/{alertId}',
'httpMethod' => 'DELETE',
'parameters' => array(
'alertId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'customerId' => array(
'location' => 'query',
'type' => 'string',
),
),
),'get' => array(
'path' => 'v1beta1/alerts/{alertId}',
'httpMethod' => 'GET',
'parameters' => array(
'alertId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'customerId' => array(
'location' => 'query',
'type' => 'string',
),
),
),'list' => array(
'path' => 'v1beta1/alerts',
'httpMethod' => 'GET',
'parameters' => array(
'filter' => array(
'location' => 'query',
'type' => 'string',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'orderBy' => array(
'location' => 'query',
'type' => 'string',
),
'customerId' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
),
),'undelete' => array(
'path' => 'v1beta1/alerts/{alertId}:undelete',
'httpMethod' => 'POST',
'parameters' => array(
'alertId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->alerts_feedback = new Google_Service_AlertCenter_Resource_AlertsFeedback(
$this,
$this->serviceName,
'feedback',
array(
'methods' => array(
'create' => array(
'path' => 'v1beta1/alerts/{alertId}/feedback',
'httpMethod' => 'POST',
'parameters' => array(
'alertId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'customerId' => array(
'location' => 'query',
'type' => 'string',
),
),
),'list' => array(
'path' => 'v1beta1/alerts/{alertId}/feedback',
'httpMethod' => 'GET',
'parameters' => array(
'alertId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'customerId' => array(
'location' => 'query',
'type' => 'string',
),
'filter' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->v1beta1 = new Google_Service_AlertCenter_Resource_V1beta1(
$this,
$this->serviceName,
'v1beta1',
array(
'methods' => array(
'getSettings' => array(
'path' => 'v1beta1/settings',
'httpMethod' => 'GET',
'parameters' => array(
'customerId' => array(
'location' => 'query',
'type' => 'string',
),
),
),'updateSettings' => array(
'path' => 'v1beta1/settings',
'httpMethod' => 'PATCH',
'parameters' => array(
'customerId' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
}
}

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_AlertCenter_AccountWarning extends Google_Model
{
public $email;
protected $loginDetailsType = 'Google_Service_AlertCenter_LoginDetails';
protected $loginDetailsDataType = '';
public function setEmail($email)
{
$this->email = $email;
}
public function getEmail()
{
return $this->email;
}
/**
* @param Google_Service_AlertCenter_LoginDetails
*/
public function setLoginDetails(Google_Service_AlertCenter_LoginDetails $loginDetails)
{
$this->loginDetails = $loginDetails;
}
/**
* @return Google_Service_AlertCenter_LoginDetails
*/
public function getLoginDetails()
{
return $this->loginDetails;
}
}

View File

@@ -0,0 +1,111 @@
<?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_AlertCenter_Alert extends Google_Model
{
public $alertId;
public $createTime;
public $customerId;
public $data;
public $deleted;
public $endTime;
public $securityInvestigationToolLink;
public $source;
public $startTime;
public $type;
public function setAlertId($alertId)
{
$this->alertId = $alertId;
}
public function getAlertId()
{
return $this->alertId;
}
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setCustomerId($customerId)
{
$this->customerId = $customerId;
}
public function getCustomerId()
{
return $this->customerId;
}
public function setData($data)
{
$this->data = $data;
}
public function getData()
{
return $this->data;
}
public function setDeleted($deleted)
{
$this->deleted = $deleted;
}
public function getDeleted()
{
return $this->deleted;
}
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
public function getEndTime()
{
return $this->endTime;
}
public function setSecurityInvestigationToolLink($securityInvestigationToolLink)
{
$this->securityInvestigationToolLink = $securityInvestigationToolLink;
}
public function getSecurityInvestigationToolLink()
{
return $this->securityInvestigationToolLink;
}
public function setSource($source)
{
$this->source = $source;
}
public function getSource()
{
return $this->source;
}
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
public function getStartTime()
{
return $this->startTime;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

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