diff --git a/src/Google/Service/Apigee.php b/src/Google/Service/Apigee.php index 5c22c2630b..9284375624 100644 --- a/src/Google/Service/Apigee.php +++ b/src/Google/Service/Apigee.php @@ -1563,6 +1563,10 @@ public function __construct(Google_Client $client, $rootUrl = null) 'type' => 'string', 'required' => true, ), + 'disableCache' => array( + 'location' => 'query', + 'type' => 'boolean', + ), 'type' => array( 'location' => 'query', 'type' => 'string', diff --git a/src/Google/Service/Apigee/GoogleCloudApigeeV1GraphQLOperation.php b/src/Google/Service/Apigee/GoogleCloudApigeeV1GraphQLOperation.php index 905f13acd2..ce21c8c24a 100644 --- a/src/Google/Service/Apigee/GoogleCloudApigeeV1GraphQLOperation.php +++ b/src/Google/Service/Apigee/GoogleCloudApigeeV1GraphQLOperation.php @@ -17,9 +17,9 @@ class Google_Service_Apigee_GoogleCloudApigeeV1GraphQLOperation extends Google_Collection { - protected $collection_key = 'operationType'; + protected $collection_key = 'operationTypes'; public $operation; - public $operationType; + public $operationTypes; public function setOperation($operation) { @@ -29,12 +29,12 @@ public function getOperation() { return $this->operation; } - public function setOperationType($operationType) + public function setOperationTypes($operationTypes) { - $this->operationType = $operationType; + $this->operationTypes = $operationTypes; } - public function getOperationType() + public function getOperationTypes() { - return $this->operationType; + return $this->operationTypes; } } diff --git a/src/Google/Service/Apigee/Resource/OrganizationsEnvironmentsAnalyticsAdmin.php b/src/Google/Service/Apigee/Resource/OrganizationsEnvironmentsAnalyticsAdmin.php index 60beaba837..28148e2e03 100644 --- a/src/Google/Service/Apigee/Resource/OrganizationsEnvironmentsAnalyticsAdmin.php +++ b/src/Google/Service/Apigee/Resource/OrganizationsEnvironmentsAnalyticsAdmin.php @@ -26,18 +26,21 @@ class Google_Service_Apigee_Resource_OrganizationsEnvironmentsAnalyticsAdmin extends Google_Service_Resource { /** - * Get a list of metrics and dimensions which can be used for creating analytics - * queries and reports. Each schema element contains the name of the field with - * its associated type and if it is either custom field or standard field. - * (admin.getSchemav2) + * Gets a list of metrics and dimensions that can be used to create analytics + * queries and reports. Each schema element contains the name of the field, its + * associated type, and a flag indicating whether it is a standard or custom + * field. (admin.getSchemav2) * - * @param string $name Required. The parent organization and environment names. - * Must be of the form + * @param string $name Required. Path to the schema. Use the following structure + * in your request: * `organizations/{org}/environments/{env}/analytics/admin/schemav2`. * @param array $optParams Optional parameters. * - * @opt_param string type Required. Type refers to the dataset name whose schema - * needs to be retrieved E.g. type=fact or type=agg_cus1 + * @opt_param bool disableCache Flag that specifies whether the schema is be + * read from the database or cache. Set to `true` to read the schema from the + * database. Defaults to cache. + * @opt_param string type Required. Name of the dataset for which you want to + * retrieve the schema. For example: `fact` or `agg_cus1` * @return Google_Service_Apigee_GoogleCloudApigeeV1Schema */ public function getSchemav2($name, $optParams = array()) diff --git a/src/Google/Service/Area120Tables.php b/src/Google/Service/Area120Tables.php index 99ef0ee301..35adbc6d3b 100644 --- a/src/Google/Service/Area120Tables.php +++ b/src/Google/Service/Area120Tables.php @@ -33,7 +33,7 @@ class Google_Service_Area120Tables extends Google_Service /** See, edit, create, and delete all of your Google Drive files. */ const DRIVE = "https://www.googleapis.com/auth/drive"; - /** View and manage Google Drive files and folders that you have opened or created with this app. */ + /** See, edit, create, and delete only the specific Google Drive files you use with this app. */ const DRIVE_FILE = "https://www.googleapis.com/auth/drive.file"; /** See and download all your Google Drive files. */ diff --git a/src/Google/Service/ChromeManagement/Resource/CustomersReports.php b/src/Google/Service/ChromeManagement/Resource/CustomersReports.php index 9996ecdfe4..d74ac3112c 100644 --- a/src/Google/Service/ChromeManagement/Resource/CustomersReports.php +++ b/src/Google/Service/ChromeManagement/Resource/CustomersReports.php @@ -90,7 +90,7 @@ public function countInstalledApps($customer, $optParams = array()) * in EBNF syntax. Note: OR operations are not supported in this filter. * Supported filter fields: * last_active_date * @opt_param string orderBy Field used to order results. Supported order by - * fields: * machine_name * device_id + * fields: * machine * device_id * @opt_param string orgUnitId The ID of the organizational unit. * @opt_param int pageSize Maximum number of results to return. Maximum and * default are 100. diff --git a/src/Google/Service/CloudBuild.php b/src/Google/Service/CloudBuild.php index d40f512804..8e5faeceeb 100644 --- a/src/Google/Service/CloudBuild.php +++ b/src/Google/Service/CloudBuild.php @@ -30,7 +30,7 @@ */ class Google_Service_CloudBuild extends Google_Service { - /** View and manage your data across Google Cloud Platform services. */ + /** See, edit, configure, and delete your Google Cloud Platform data. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; diff --git a/src/Google/Service/CloudBuild/Source.php b/src/Google/Service/CloudBuild/Source.php index df51530eec..77d347a4bb 100644 --- a/src/Google/Service/CloudBuild/Source.php +++ b/src/Google/Service/CloudBuild/Source.php @@ -21,6 +21,8 @@ class Google_Service_CloudBuild_Source extends Google_Model protected $repoSourceDataType = ''; protected $storageSourceType = 'Google_Service_CloudBuild_StorageSource'; protected $storageSourceDataType = ''; + protected $storageSourceManifestType = 'Google_Service_CloudBuild_StorageSourceManifest'; + protected $storageSourceManifestDataType = ''; /** * @param Google_Service_CloudBuild_RepoSource @@ -50,4 +52,18 @@ public function getStorageSource() { return $this->storageSource; } + /** + * @param Google_Service_CloudBuild_StorageSourceManifest + */ + public function setStorageSourceManifest(Google_Service_CloudBuild_StorageSourceManifest $storageSourceManifest) + { + $this->storageSourceManifest = $storageSourceManifest; + } + /** + * @return Google_Service_CloudBuild_StorageSourceManifest + */ + public function getStorageSourceManifest() + { + return $this->storageSourceManifest; + } } diff --git a/src/Google/Service/CloudBuild/SourceProvenance.php b/src/Google/Service/CloudBuild/SourceProvenance.php index 20f04aaa79..68785c0e29 100644 --- a/src/Google/Service/CloudBuild/SourceProvenance.php +++ b/src/Google/Service/CloudBuild/SourceProvenance.php @@ -23,6 +23,8 @@ class Google_Service_CloudBuild_SourceProvenance extends Google_Model protected $resolvedRepoSourceDataType = ''; protected $resolvedStorageSourceType = 'Google_Service_CloudBuild_StorageSource'; protected $resolvedStorageSourceDataType = ''; + protected $resolvedStorageSourceManifestType = 'Google_Service_CloudBuild_StorageSourceManifest'; + protected $resolvedStorageSourceManifestDataType = ''; /** * @param Google_Service_CloudBuild_FileHashes[] @@ -66,4 +68,18 @@ public function getResolvedStorageSource() { return $this->resolvedStorageSource; } + /** + * @param Google_Service_CloudBuild_StorageSourceManifest + */ + public function setResolvedStorageSourceManifest(Google_Service_CloudBuild_StorageSourceManifest $resolvedStorageSourceManifest) + { + $this->resolvedStorageSourceManifest = $resolvedStorageSourceManifest; + } + /** + * @return Google_Service_CloudBuild_StorageSourceManifest + */ + public function getResolvedStorageSourceManifest() + { + return $this->resolvedStorageSourceManifest; + } } diff --git a/src/Google/Service/CloudBuild/StorageSourceManifest.php b/src/Google/Service/CloudBuild/StorageSourceManifest.php new file mode 100644 index 0000000000..f27bfd3fec --- /dev/null +++ b/src/Google/Service/CloudBuild/StorageSourceManifest.php @@ -0,0 +1,48 @@ +bucket = $bucket; + } + public function getBucket() + { + return $this->bucket; + } + public function setGeneration($generation) + { + $this->generation = $generation; + } + public function getGeneration() + { + return $this->generation; + } + public function setObject($object) + { + $this->object = $object; + } + public function getObject() + { + return $this->object; + } +} diff --git a/src/Google/Service/CloudNaturalLanguage.php b/src/Google/Service/CloudNaturalLanguage.php index 572ddb61ca..0b51866a20 100644 --- a/src/Google/Service/CloudNaturalLanguage.php +++ b/src/Google/Service/CloudNaturalLanguage.php @@ -35,7 +35,7 @@ class Google_Service_CloudNaturalLanguage extends Google_Service /** Apply machine learning models to reveal the structure and meaning of text. */ const CLOUD_LANGUAGE = "https://www.googleapis.com/auth/cloud-language"; - /** View and manage your data across Google Cloud Platform services. */ + /** See, edit, configure, and delete your Google Cloud Platform data. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; diff --git a/src/Google/Service/CloudRuntimeConfig.php b/src/Google/Service/CloudRuntimeConfig.php index 5670775125..84fbd8bdc9 100644 --- a/src/Google/Service/CloudRuntimeConfig.php +++ b/src/Google/Service/CloudRuntimeConfig.php @@ -33,7 +33,7 @@ */ class Google_Service_CloudRuntimeConfig extends Google_Service { - /** View and manage your data across Google Cloud Platform services. */ + /** See, edit, configure, and delete your Google Cloud Platform data. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; /** Manage your Google Cloud Platform services' runtime configuration. */ diff --git a/src/Google/Service/Cloudchannel.php b/src/Google/Service/Cloudchannel.php index 09dee2a700..febbe84254 100644 --- a/src/Google/Service/Cloudchannel.php +++ b/src/Google/Service/Cloudchannel.php @@ -36,6 +36,7 @@ class Google_Service_Cloudchannel extends Google_Service public $accounts; public $accounts_channelPartnerLinks; + public $accounts_channelPartnerLinks_customers; public $accounts_customers; public $accounts_customers_entitlements; public $accounts_offers; @@ -202,6 +203,78 @@ public function __construct(Google_Client $client, $rootUrl = null) ) ) ); + $this->accounts_channelPartnerLinks_customers = new Google_Service_Cloudchannel_Resource_AccountsChannelPartnerLinksCustomers( + $this, + $this->serviceName, + 'customers', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/{+parent}/customers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+parent}/customers', + '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' => 'v1/{+name}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); $this->accounts_customers = new Google_Service_Cloudchannel_Resource_AccountsCustomers( $this, $this->serviceName, diff --git a/src/Google/Service/Cloudchannel/Resource/AccountsChannelPartnerLinksCustomers.php b/src/Google/Service/Cloudchannel/Resource/AccountsChannelPartnerLinksCustomers.php new file mode 100644 index 0000000000..4e05030fdf --- /dev/null +++ b/src/Google/Service/Cloudchannel/Resource/AccountsChannelPartnerLinksCustomers.php @@ -0,0 +1,134 @@ + + * $cloudchannelService = new Google_Service_Cloudchannel(...); + * $customers = $cloudchannelService->customers; + * + */ +class Google_Service_Cloudchannel_Resource_AccountsChannelPartnerLinksCustomers extends Google_Service_Resource +{ + /** + * Creates a new Customer resource under the reseller or distributor account. + * Possible error codes: * PERMISSION_DENIED: The reseller account making the + * request is different from the reseller account in the API request. * + * INVALID_ARGUMENT: * Required request parameters are missing or invalid. * + * Domain field value doesn't match the primary email domain. Return value: The + * newly created Customer resource. (customers.create) + * + * @param string $parent Required. The resource name of reseller account in + * which to create the customer. Parent uses the format: accounts/{account_id} + * @param Google_Service_Cloudchannel_GoogleCloudChannelV1Customer $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudchannel_GoogleCloudChannelV1Customer + */ + public function create($parent, Google_Service_Cloudchannel_GoogleCloudChannelV1Customer $postBody, $optParams = array()) + { + $params = array('parent' => $parent, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Cloudchannel_GoogleCloudChannelV1Customer"); + } + /** + * Deletes the given Customer permanently and irreversibly. Possible error + * codes: * PERMISSION_DENIED: The account making the request does not own this + * customer. * INVALID_ARGUMENT: Required request parameters are missing or + * invalid. * FAILED_PRECONDITION: The customer has existing entitlements. * + * NOT_FOUND: No Customer resource found for the name in the request. + * (customers.delete) + * + * @param string $name Required. The resource name of the customer to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudchannel_GoogleProtobufEmpty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Cloudchannel_GoogleProtobufEmpty"); + } + /** + * Returns a requested Customer resource. Possible error codes: * + * PERMISSION_DENIED: The reseller account making the request is different from + * the reseller account in the API request. * INVALID_ARGUMENT: Required request + * parameters are missing or invalid. * NOT_FOUND: The customer resource doesn't + * exist. Usually the result of an invalid name parameter. Return value: The + * Customer resource. (customers.get) + * + * @param string $name Required. The resource name of the customer to retrieve. + * Name uses the format: accounts/{account_id}/customers/{customer_id} + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudchannel_GoogleCloudChannelV1Customer + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Cloudchannel_GoogleCloudChannelV1Customer"); + } + /** + * List Customers. Possible error codes: * PERMISSION_DENIED: The reseller + * account making the request is different from the reseller account in the API + * request. * INVALID_ARGUMENT: Required request parameters are missing or + * invalid. Return value: List of Customers, or an empty list if there are no + * customers. (customers.listAccountsChannelPartnerLinksCustomers) + * + * @param string $parent Required. The resource name of the reseller account to + * list customers from. Parent uses the format: accounts/{account_id}. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize Optional. The maximum number of customers to return. + * The service may return fewer than this value. If unspecified, returns at most + * 10 customers. The maximum value is 50. + * @opt_param string pageToken Optional. A token identifying a page of results + * other than the first page. Obtained through + * ListCustomersResponse.next_page_token of the previous + * CloudChannelService.ListCustomers call. + * @return Google_Service_Cloudchannel_GoogleCloudChannelV1ListCustomersResponse + */ + public function listAccountsChannelPartnerLinksCustomers($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Cloudchannel_GoogleCloudChannelV1ListCustomersResponse"); + } + /** + * Updates an existing Customer resource for the reseller or distributor. + * Possible error codes: * PERMISSION_DENIED: The reseller account making the + * request is different from the reseller account in the API request. * + * INVALID_ARGUMENT: Required request parameters are missing or invalid. * + * NOT_FOUND: No Customer resource found for the name in the request. Return + * value: The updated Customer resource. (customers.patch) + * + * @param string $name Output only. Resource name of the customer. Format: + * accounts/{account_id}/customers/{customer_id} + * @param Google_Service_Cloudchannel_GoogleCloudChannelV1Customer $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask The update mask that applies to the resource. + * Optional. + * @return Google_Service_Cloudchannel_GoogleCloudChannelV1Customer + */ + public function patch($name, Google_Service_Cloudchannel_GoogleCloudChannelV1Customer $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Cloudchannel_GoogleCloudChannelV1Customer"); + } +} diff --git a/src/Google/Service/Dialogflow.php b/src/Google/Service/Dialogflow.php index 752fafbee0..90c09ec681 100644 --- a/src/Google/Service/Dialogflow.php +++ b/src/Google/Service/Dialogflow.php @@ -31,7 +31,7 @@ */ class Google_Service_Dialogflow extends Google_Service { - /** View and manage your data across Google Cloud Platform services. */ + /** See, edit, configure, and delete your Google Cloud Platform data. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; /** View, manage and query your Dialogflow agents. */ diff --git a/src/Google/Service/DisplayVideo.php b/src/Google/Service/DisplayVideo.php index b57cf12a60..ed990df2f8 100644 --- a/src/Google/Service/DisplayVideo.php +++ b/src/Google/Service/DisplayVideo.php @@ -47,6 +47,7 @@ class Google_Service_DisplayVideo extends Google_Service public $advertisers; public $advertisers_assets; public $advertisers_campaigns; + public $advertisers_campaigns_targetingTypes_assignedTargetingOptions; public $advertisers_channels; public $advertisers_channels_sites; public $advertisers_creatives; @@ -243,7 +244,38 @@ public function __construct(Google_Client $client, $rootUrl = null) 'campaigns', array( 'methods' => array( - 'create' => array( + 'bulkListCampaignAssignedTargetingOptions' => array( + 'path' => 'v1/advertisers/{+advertiserId}/campaigns/{+campaignId}:bulkListCampaignAssignedTargetingOptions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'advertiserId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'campaignId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'create' => array( 'path' => 'v1/advertisers/{+advertiserId}/campaigns', 'httpMethod' => 'POST', 'parameters' => array( @@ -332,6 +364,77 @@ public function __construct(Google_Client $client, $rootUrl = null) ) ) ); + $this->advertisers_campaigns_targetingTypes_assignedTargetingOptions = new Google_Service_DisplayVideo_Resource_AdvertisersCampaignsTargetingTypesAssignedTargetingOptions( + $this, + $this->serviceName, + 'assignedTargetingOptions', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/advertisers/{+advertiserId}/campaigns/{+campaignId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'advertiserId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'campaignId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetingType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'assignedTargetingOptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/advertisers/{+advertiserId}/campaigns/{+campaignId}/targetingTypes/{+targetingType}/assignedTargetingOptions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'advertiserId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'campaignId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetingType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); $this->advertisers_channels = new Google_Service_DisplayVideo_Resource_AdvertisersChannels( $this, $this->serviceName, @@ -527,6 +630,21 @@ public function __construct(Google_Client $client, $rootUrl = null) 'type' => 'string', ), ), + ),'replace' => array( + 'path' => 'v1/advertisers/{advertiserId}/channels/{+channelId}/sites:replace', + 'httpMethod' => 'POST', + 'parameters' => array( + 'advertiserId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'channelId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), ), ) ) @@ -900,6 +1018,16 @@ public function __construct(Google_Client $client, $rootUrl = null) 'required' => true, ), ), + ),'generateDefault' => array( + 'path' => 'v1/advertisers/{+advertiserId}/lineItems:generateDefault', + 'httpMethod' => 'POST', + 'parameters' => array( + 'advertiserId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), ),'get' => array( 'path' => 'v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}', 'httpMethod' => 'GET', @@ -1535,6 +1663,21 @@ public function __construct(Google_Client $client, $rootUrl = null) 'type' => 'string', ), ), + ),'replace' => array( + 'path' => 'v1/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords:replace', + 'httpMethod' => 'POST', + 'parameters' => array( + 'advertiserId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'negativeKeywordListId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), ), ) ) @@ -2478,6 +2621,21 @@ public function __construct(Google_Client $client, $rootUrl = null) 'type' => 'string', ), ), + ),'replace' => array( + 'path' => 'v1/partners/{partnerId}/channels/{+channelId}/sites:replace', + 'httpMethod' => 'POST', + 'parameters' => array( + 'partnerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'channelId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), ), ) ) diff --git a/src/Google/Service/DisplayVideo/AppAssignedTargetingOptionDetails.php b/src/Google/Service/DisplayVideo/AppAssignedTargetingOptionDetails.php index 80b40d1e54..edb732ae44 100644 --- a/src/Google/Service/DisplayVideo/AppAssignedTargetingOptionDetails.php +++ b/src/Google/Service/DisplayVideo/AppAssignedTargetingOptionDetails.php @@ -18,6 +18,7 @@ class Google_Service_DisplayVideo_AppAssignedTargetingOptionDetails extends Google_Model { public $appId; + public $appPlatform; public $displayName; public $negative; @@ -29,6 +30,14 @@ public function getAppId() { return $this->appId; } + public function setAppPlatform($appPlatform) + { + $this->appPlatform = $appPlatform; + } + public function getAppPlatform() + { + return $this->appPlatform; + } public function setDisplayName($displayName) { $this->displayName = $displayName; diff --git a/src/Google/Service/DisplayVideo/BulkListCampaignAssignedTargetingOptionsResponse.php b/src/Google/Service/DisplayVideo/BulkListCampaignAssignedTargetingOptionsResponse.php new file mode 100644 index 0000000000..844303f397 --- /dev/null +++ b/src/Google/Service/DisplayVideo/BulkListCampaignAssignedTargetingOptionsResponse.php @@ -0,0 +1,47 @@ +assignedTargetingOptions = $assignedTargetingOptions; + } + /** + * @return Google_Service_DisplayVideo_AssignedTargetingOption[] + */ + public function getAssignedTargetingOptions() + { + return $this->assignedTargetingOptions; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/src/Google/Service/DisplayVideo/GenerateDefaultLineItemRequest.php b/src/Google/Service/DisplayVideo/GenerateDefaultLineItemRequest.php new file mode 100644 index 0000000000..4f2a577028 --- /dev/null +++ b/src/Google/Service/DisplayVideo/GenerateDefaultLineItemRequest.php @@ -0,0 +1,64 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setInsertionOrderId($insertionOrderId) + { + $this->insertionOrderId = $insertionOrderId; + } + public function getInsertionOrderId() + { + return $this->insertionOrderId; + } + public function setLineItemType($lineItemType) + { + $this->lineItemType = $lineItemType; + } + public function getLineItemType() + { + return $this->lineItemType; + } + /** + * @param Google_Service_DisplayVideo_MobileApp + */ + public function setMobileApp(Google_Service_DisplayVideo_MobileApp $mobileApp) + { + $this->mobileApp = $mobileApp; + } + /** + * @return Google_Service_DisplayVideo_MobileApp + */ + public function getMobileApp() + { + return $this->mobileApp; + } +} diff --git a/src/Google/Service/DisplayVideo/ListCampaignAssignedTargetingOptionsResponse.php b/src/Google/Service/DisplayVideo/ListCampaignAssignedTargetingOptionsResponse.php new file mode 100644 index 0000000000..0c9fc6c06b --- /dev/null +++ b/src/Google/Service/DisplayVideo/ListCampaignAssignedTargetingOptionsResponse.php @@ -0,0 +1,47 @@ +assignedTargetingOptions = $assignedTargetingOptions; + } + /** + * @return Google_Service_DisplayVideo_AssignedTargetingOption[] + */ + public function getAssignedTargetingOptions() + { + return $this->assignedTargetingOptions; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/src/Google/Service/DisplayVideo/ReplaceNegativeKeywordsRequest.php b/src/Google/Service/DisplayVideo/ReplaceNegativeKeywordsRequest.php new file mode 100644 index 0000000000..fd2587a82e --- /dev/null +++ b/src/Google/Service/DisplayVideo/ReplaceNegativeKeywordsRequest.php @@ -0,0 +1,38 @@ +newNegativeKeywords = $newNegativeKeywords; + } + /** + * @return Google_Service_DisplayVideo_NegativeKeyword[] + */ + public function getNewNegativeKeywords() + { + return $this->newNegativeKeywords; + } +} diff --git a/src/Google/Service/DisplayVideo/ReplaceNegativeKeywordsResponse.php b/src/Google/Service/DisplayVideo/ReplaceNegativeKeywordsResponse.php new file mode 100644 index 0000000000..ea33abe6f0 --- /dev/null +++ b/src/Google/Service/DisplayVideo/ReplaceNegativeKeywordsResponse.php @@ -0,0 +1,38 @@ +negativeKeywords = $negativeKeywords; + } + /** + * @return Google_Service_DisplayVideo_NegativeKeyword[] + */ + public function getNegativeKeywords() + { + return $this->negativeKeywords; + } +} diff --git a/src/Google/Service/DisplayVideo/ReplaceSitesRequest.php b/src/Google/Service/DisplayVideo/ReplaceSitesRequest.php new file mode 100644 index 0000000000..9ee9143204 --- /dev/null +++ b/src/Google/Service/DisplayVideo/ReplaceSitesRequest.php @@ -0,0 +1,56 @@ +advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + /** + * @param Google_Service_DisplayVideo_Site[] + */ + public function setNewSites($newSites) + { + $this->newSites = $newSites; + } + /** + * @return Google_Service_DisplayVideo_Site[] + */ + public function getNewSites() + { + return $this->newSites; + } + public function setPartnerId($partnerId) + { + $this->partnerId = $partnerId; + } + public function getPartnerId() + { + return $this->partnerId; + } +} diff --git a/src/Google/Service/DisplayVideo/ReplaceSitesResponse.php b/src/Google/Service/DisplayVideo/ReplaceSitesResponse.php new file mode 100644 index 0000000000..fc63793943 --- /dev/null +++ b/src/Google/Service/DisplayVideo/ReplaceSitesResponse.php @@ -0,0 +1,38 @@ +sites = $sites; + } + /** + * @return Google_Service_DisplayVideo_Site[] + */ + public function getSites() + { + return $this->sites; + } +} diff --git a/src/Google/Service/DisplayVideo/Resource/AdvertisersCampaigns.php b/src/Google/Service/DisplayVideo/Resource/AdvertisersCampaigns.php index fdcfbda0f6..551616561c 100644 --- a/src/Google/Service/DisplayVideo/Resource/AdvertisersCampaigns.php +++ b/src/Google/Service/DisplayVideo/Resource/AdvertisersCampaigns.php @@ -25,6 +25,47 @@ */ class Google_Service_DisplayVideo_Resource_AdvertisersCampaigns extends Google_Service_Resource { + /** + * Lists assigned targeting options of a campaign across targeting types. + * (campaigns.bulkListCampaignAssignedTargetingOptions) + * + * @param string $advertiserId Required. The ID of the advertiser the campaign + * belongs to. + * @param string $campaignId Required. The ID of the campaign to list assigned + * targeting options for. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Allows filtering by assigned targeting option + * properties. Supported syntax: * Filter expressions are made up of one or more + * restrictions. * Restrictions can be combined by the logical operator `OR` on + * the same field. * A restriction has the form of `{field} {operator} {value}`. + * * The operator must be `EQUALS (=)`. * Supported fields: - `targetingType` - + * `inheritance` Examples: * AssignedTargetingOptions of targeting type + * TARGETING_TYPE_LANGUAGE or TARGETING_TYPE_GENDER + * `targetingType="TARGETING_TYPE_LANGUAGE" OR + * targetingType="TARGETING_TYPE_GENDER"` * AssignedTargetingOptions with + * inheritance status of NOT_INHERITED or INHERITED_FROM_PARTNER + * `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The + * length of this field should be no more than 500 characters. + * @opt_param string orderBy Field by which to sort the list. Acceptable values + * are: * `targetingType` (default) The default sorting order is ascending. To + * specify descending order for a field, a suffix "desc" should be added to the + * field name. Example: `targetingType desc`. + * @opt_param int pageSize Requested page size. The size must be an integer + * between `1` and `5000`. If unspecified, the default is `5000`. Returns error + * code `INVALID_ARGUMENT` if an invalid value is specified. + * @opt_param string pageToken A token that lets the client fetch the next page + * of results. Typically, this is the value of next_page_token returned from the + * previous call to `BulkListCampaignAssignedTargetingOptions` method. If not + * specified, the first page of results will be returned. + * @return Google_Service_DisplayVideo_BulkListCampaignAssignedTargetingOptionsResponse + */ + public function bulkListCampaignAssignedTargetingOptions($advertiserId, $campaignId, $optParams = array()) + { + $params = array('advertiserId' => $advertiserId, 'campaignId' => $campaignId); + $params = array_merge($params, $optParams); + return $this->call('bulkListCampaignAssignedTargetingOptions', array($params), "Google_Service_DisplayVideo_BulkListCampaignAssignedTargetingOptionsResponse"); + } /** * Creates a new campaign. Returns the newly created campaign if successful. * (campaigns.create) diff --git a/src/Google/Service/DisplayVideo/Resource/AdvertisersCampaignsTargetingTypes.php b/src/Google/Service/DisplayVideo/Resource/AdvertisersCampaignsTargetingTypes.php new file mode 100644 index 0000000000..849a452633 --- /dev/null +++ b/src/Google/Service/DisplayVideo/Resource/AdvertisersCampaignsTargetingTypes.php @@ -0,0 +1,28 @@ + + * $displayvideoService = new Google_Service_DisplayVideo(...); + * $targetingTypes = $displayvideoService->targetingTypes; + * + */ +class Google_Service_DisplayVideo_Resource_AdvertisersCampaignsTargetingTypes extends Google_Service_Resource +{ +} diff --git a/src/Google/Service/DisplayVideo/Resource/AdvertisersCampaignsTargetingTypesAssignedTargetingOptions.php b/src/Google/Service/DisplayVideo/Resource/AdvertisersCampaignsTargetingTypesAssignedTargetingOptions.php new file mode 100644 index 0000000000..fba72f5118 --- /dev/null +++ b/src/Google/Service/DisplayVideo/Resource/AdvertisersCampaignsTargetingTypesAssignedTargetingOptions.php @@ -0,0 +1,115 @@ + + * $displayvideoService = new Google_Service_DisplayVideo(...); + * $assignedTargetingOptions = $displayvideoService->assignedTargetingOptions; + * + */ +class Google_Service_DisplayVideo_Resource_AdvertisersCampaignsTargetingTypesAssignedTargetingOptions extends Google_Service_Resource +{ + /** + * Gets a single targeting option assigned to a campaign. + * (assignedTargetingOptions.get) + * + * @param string $advertiserId Required. The ID of the advertiser the campaign + * belongs to. + * @param string $campaignId Required. The ID of the campaign the assigned + * targeting option belongs to. + * @param string $targetingType Required. Identifies the type of this assigned + * targeting option. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * + * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * + * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * + * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * + * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * + * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * + * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * + * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * + * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE` * + * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_PARENTAL_STATUS` * + * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` + * * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_VIEWABILITY` + * @param string $assignedTargetingOptionId Required. An identifier unique to + * the targeting type in this campaign that identifies the assigned targeting + * option being requested. + * @param array $optParams Optional parameters. + * @return Google_Service_DisplayVideo_AssignedTargetingOption + */ + public function get($advertiserId, $campaignId, $targetingType, $assignedTargetingOptionId, $optParams = array()) + { + $params = array('advertiserId' => $advertiserId, 'campaignId' => $campaignId, 'targetingType' => $targetingType, 'assignedTargetingOptionId' => $assignedTargetingOptionId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_DisplayVideo_AssignedTargetingOption"); + } + /** + * Lists the targeting options assigned to a campaign for a specified targeting + * type. (assignedTargetingOptions.listAdvertisersCampaignsTargetingTypesAssigne + * dTargetingOptions) + * + * @param string $advertiserId Required. The ID of the advertiser the campaign + * belongs to. + * @param string $campaignId Required. The ID of the campaign to list assigned + * targeting options for. + * @param string $targetingType Required. Identifies the type of assigned + * targeting options to list. Supported targeting types: * + * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * + * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * + * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * + * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * + * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * + * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * + * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * + * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE` * + * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_PARENTAL_STATUS` * + * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` + * * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_VIEWABILITY` + * @param array $optParams Optional parameters. + * + * @opt_param string filter Allows filtering by assigned targeting option + * properties. Supported syntax: * Filter expressions are made up of one or more + * restrictions. * Restrictions can be combined by the logical operator `OR`. * + * A restriction has the form of `{field} {operator} {value}`. * The operator + * must be `EQUALS (=)`. * Supported fields: - `assignedTargetingOptionId` - + * `inheritance` Examples: * AssignedTargetingOptions with ID 1 or 2 + * `assignedTargetingOptionId="1" OR assignedTargetingOptionId="2"` * + * AssignedTargetingOptions with inheritance status of NOT_INHERITED or + * INHERITED_FROM_PARTNER `inheritance="NOT_INHERITED" OR + * inheritance="INHERITED_FROM_PARTNER"` The length of this field should be no + * more than 500 characters. + * @opt_param string orderBy Field by which to sort the list. Acceptable values + * are: * `assignedTargetingOptionId` (default) The default sorting order is + * ascending. To specify descending order for a field, a suffix "desc" should be + * added to the field name. Example: `assignedTargetingOptionId desc`. + * @opt_param int pageSize Requested page size. Must be between `1` and `100`. + * If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` + * if an invalid value is specified. + * @opt_param string pageToken A token identifying a page of results the server + * should return. Typically, this is the value of next_page_token returned from + * the previous call to `ListCampaignAssignedTargetingOptions` method. If not + * specified, the first page of results will be returned. + * @return Google_Service_DisplayVideo_ListCampaignAssignedTargetingOptionsResponse + */ + public function listAdvertisersCampaignsTargetingTypesAssignedTargetingOptions($advertiserId, $campaignId, $targetingType, $optParams = array()) + { + $params = array('advertiserId' => $advertiserId, 'campaignId' => $campaignId, 'targetingType' => $targetingType); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_DisplayVideo_ListCampaignAssignedTargetingOptionsResponse"); + } +} diff --git a/src/Google/Service/DisplayVideo/Resource/AdvertisersChannelsSites.php b/src/Google/Service/DisplayVideo/Resource/AdvertisersChannelsSites.php index d1c3ddfa31..b56cd5daae 100644 --- a/src/Google/Service/DisplayVideo/Resource/AdvertisersChannelsSites.php +++ b/src/Google/Service/DisplayVideo/Resource/AdvertisersChannelsSites.php @@ -120,4 +120,23 @@ public function listAdvertisersChannelsSites($advertiserId, $channelId, $optPara $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_DisplayVideo_ListSitesResponse"); } + /** + * Replaces all of the sites under a single channel. The operation will replace + * the sites under a channel with the sites provided in + * ReplaceSitesRequest.new_sites. (sites.replace) + * + * @param string $advertiserId The ID of the advertiser that owns the parent + * channel. + * @param string $channelId Required. The ID of the parent channel whose sites + * will be replaced. + * @param Google_Service_DisplayVideo_ReplaceSitesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_DisplayVideo_ReplaceSitesResponse + */ + public function replace($advertiserId, $channelId, Google_Service_DisplayVideo_ReplaceSitesRequest $postBody, $optParams = array()) + { + $params = array('advertiserId' => $advertiserId, 'channelId' => $channelId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('replace', array($params), "Google_Service_DisplayVideo_ReplaceSitesResponse"); + } } diff --git a/src/Google/Service/DisplayVideo/Resource/AdvertisersLineItems.php b/src/Google/Service/DisplayVideo/Resource/AdvertisersLineItems.php index 0316705375..8903cc33ee 100644 --- a/src/Google/Service/DisplayVideo/Resource/AdvertisersLineItems.php +++ b/src/Google/Service/DisplayVideo/Resource/AdvertisersLineItems.php @@ -121,6 +121,25 @@ public function delete($advertiserId, $lineItemId, $optParams = array()) $params = array_merge($params, $optParams); return $this->call('delete', array($params), "Google_Service_DisplayVideo_DisplayvideoEmpty"); } + /** + * Creates a new line item with settings (including targeting) inherited from + * the insertion order. Returns the newly created line item if successful. There + * are default values based on the three fields: * The insertion order's + * InsertionOrderType * The insertion order's InsertionOrderAutomationType * The + * given line_item_type (lineItems.generateDefault) + * + * @param string $advertiserId Required. The ID of the advertiser this line item + * belongs to. + * @param Google_Service_DisplayVideo_GenerateDefaultLineItemRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_DisplayVideo_LineItem + */ + public function generateDefault($advertiserId, Google_Service_DisplayVideo_GenerateDefaultLineItemRequest $postBody, $optParams = array()) + { + $params = array('advertiserId' => $advertiserId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('generateDefault', array($params), "Google_Service_DisplayVideo_LineItem"); + } /** * Gets a line item. (lineItems.get) * diff --git a/src/Google/Service/DisplayVideo/Resource/AdvertisersNegativeKeywordListsNegativeKeywords.php b/src/Google/Service/DisplayVideo/Resource/AdvertisersNegativeKeywordListsNegativeKeywords.php index d9be4d2e6f..d004b8b839 100644 --- a/src/Google/Service/DisplayVideo/Resource/AdvertisersNegativeKeywordListsNegativeKeywords.php +++ b/src/Google/Service/DisplayVideo/Resource/AdvertisersNegativeKeywordListsNegativeKeywords.php @@ -120,4 +120,24 @@ public function listAdvertisersNegativeKeywordListsNegativeKeywords($advertiserI $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_DisplayVideo_ListNegativeKeywordsResponse"); } + /** + * Replaces all negative keywords in a single negative keyword list. The + * operation will replace the keywords in a negative keywords with keywords + * provided in ReplaceNegativeKeywordsRequest.new_negative_keywords. + * (negativeKeywords.replace) + * + * @param string $advertiserId Required. The ID of the DV360 advertiser to which + * the parent negative keyword list belongs. + * @param string $negativeKeywordListId Required. The ID of the parent negative + * keyword list to which the negative keywords belong. + * @param Google_Service_DisplayVideo_ReplaceNegativeKeywordsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_DisplayVideo_ReplaceNegativeKeywordsResponse + */ + public function replace($advertiserId, $negativeKeywordListId, Google_Service_DisplayVideo_ReplaceNegativeKeywordsRequest $postBody, $optParams = array()) + { + $params = array('advertiserId' => $advertiserId, 'negativeKeywordListId' => $negativeKeywordListId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('replace', array($params), "Google_Service_DisplayVideo_ReplaceNegativeKeywordsResponse"); + } } diff --git a/src/Google/Service/DisplayVideo/Resource/PartnersChannelsSites.php b/src/Google/Service/DisplayVideo/Resource/PartnersChannelsSites.php index 6585fb76ef..a86bcedf46 100644 --- a/src/Google/Service/DisplayVideo/Resource/PartnersChannelsSites.php +++ b/src/Google/Service/DisplayVideo/Resource/PartnersChannelsSites.php @@ -116,4 +116,22 @@ public function listPartnersChannelsSites($partnerId, $channelId, $optParams = a $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_DisplayVideo_ListSitesResponse"); } + /** + * Replaces all of the sites under a single channel. The operation will replace + * the sites under a channel with the sites provided in + * ReplaceSitesRequest.new_sites. (sites.replace) + * + * @param string $partnerId The ID of the partner that owns the parent channel. + * @param string $channelId Required. The ID of the parent channel whose sites + * will be replaced. + * @param Google_Service_DisplayVideo_ReplaceSitesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_DisplayVideo_ReplaceSitesResponse + */ + public function replace($partnerId, $channelId, Google_Service_DisplayVideo_ReplaceSitesRequest $postBody, $optParams = array()) + { + $params = array('partnerId' => $partnerId, 'channelId' => $channelId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('replace', array($params), "Google_Service_DisplayVideo_ReplaceSitesResponse"); + } } diff --git a/src/Google/Service/Document.php b/src/Google/Service/Document.php index 39fc92b815..a70992bfb7 100644 --- a/src/Google/Service/Document.php +++ b/src/Google/Service/Document.php @@ -32,7 +32,7 @@ */ class Google_Service_Document extends Google_Service { - /** View and manage your data across Google Cloud Platform services. */ + /** See, edit, configure, and delete your Google Cloud Platform data. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; diff --git a/src/Google/Service/Libraryagent.php b/src/Google/Service/Libraryagent.php index 97c36ff5f6..7a9e441497 100644 --- a/src/Google/Service/Libraryagent.php +++ b/src/Google/Service/Libraryagent.php @@ -30,7 +30,7 @@ */ class Google_Service_Libraryagent extends Google_Service { - /** View and manage your data across Google Cloud Platform services. */ + /** See, edit, configure, and delete your Google Cloud Platform data. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; diff --git a/src/Google/Service/OnDemandScanning.php b/src/Google/Service/OnDemandScanning.php index 0b0ae31264..916a5a0c6d 100644 --- a/src/Google/Service/OnDemandScanning.php +++ b/src/Google/Service/OnDemandScanning.php @@ -30,7 +30,7 @@ */ class Google_Service_OnDemandScanning extends Google_Service { - /** View and manage your data across Google Cloud Platform services. */ + /** See, edit, configure, and delete your Google Cloud Platform data. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; diff --git a/src/Google/Service/OrgPolicyAPI.php b/src/Google/Service/OrgPolicyAPI.php index 8f691f3ff7..e2a9b313f7 100644 --- a/src/Google/Service/OrgPolicyAPI.php +++ b/src/Google/Service/OrgPolicyAPI.php @@ -31,7 +31,7 @@ */ class Google_Service_OrgPolicyAPI extends Google_Service { - /** View and manage your data across Google Cloud Platform services. */ + /** See, edit, configure, and delete your Google Cloud Platform data. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; diff --git a/src/Google/Service/PolicySimulator.php b/src/Google/Service/PolicySimulator.php index cf16d7103e..eff0bafddb 100644 --- a/src/Google/Service/PolicySimulator.php +++ b/src/Google/Service/PolicySimulator.php @@ -36,7 +36,7 @@ */ class Google_Service_PolicySimulator extends Google_Service { - /** View and manage your data across Google Cloud Platform services. */ + /** See, edit, configure, and delete your Google Cloud Platform data. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; diff --git a/src/Google/Service/PolicyTroubleshooter.php b/src/Google/Service/PolicyTroubleshooter.php index a1d6834402..31935ae8cb 100644 --- a/src/Google/Service/PolicyTroubleshooter.php +++ b/src/Google/Service/PolicyTroubleshooter.php @@ -30,7 +30,7 @@ */ class Google_Service_PolicyTroubleshooter extends Google_Service { - /** View and manage your data across Google Cloud Platform services. */ + /** See, edit, configure, and delete your Google Cloud Platform data. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; diff --git a/src/Google/Service/ServiceConsumerManagement.php b/src/Google/Service/ServiceConsumerManagement.php index b0f76ef297..4d5be06893 100644 --- a/src/Google/Service/ServiceConsumerManagement.php +++ b/src/Google/Service/ServiceConsumerManagement.php @@ -30,7 +30,7 @@ */ class Google_Service_ServiceConsumerManagement extends Google_Service { - /** View and manage your data across Google Cloud Platform services. */ + /** See, edit, configure, and delete your Google Cloud Platform data. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; diff --git a/src/Google/Service/ServiceManagement.php b/src/Google/Service/ServiceManagement.php index f9b7474a7a..087c8efdb0 100644 --- a/src/Google/Service/ServiceManagement.php +++ b/src/Google/Service/ServiceManagement.php @@ -127,16 +127,6 @@ public function __construct(Google_Client $client, $rootUrl = null) 'required' => true, ), ), - ),'enable' => array( - 'path' => 'v1/services/{serviceName}:enable', - 'httpMethod' => 'POST', - 'parameters' => array( - 'serviceName' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), ),'generateConfigReport' => array( 'path' => 'v1/services:generateConfigReport', 'httpMethod' => 'POST', diff --git a/src/Google/Service/ServiceManagement/Resource/Services.php b/src/Google/Service/ServiceManagement/Resource/Services.php index 2664381432..133ae70b96 100644 --- a/src/Google/Service/ServiceManagement/Resource/Services.php +++ b/src/Google/Service/ServiceManagement/Resource/Services.php @@ -60,23 +60,6 @@ public function delete($serviceName, $optParams = array()) $params = array_merge($params, $optParams); return $this->call('delete', array($params), "Google_Service_ServiceManagement_Operation"); } - /** - * Enables a service for a project, so it can be used for the project. See - * [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for more - * information. Operation (services.enable) - * - * @param string $serviceName Required. Name of the service to enable. - * Specifying an unknown service name will cause the request to fail. - * @param Google_Service_ServiceManagement_EnableServiceRequest $postBody - * @param array $optParams Optional parameters. - * @return Google_Service_ServiceManagement_Operation - */ - public function enable($serviceName, Google_Service_ServiceManagement_EnableServiceRequest $postBody, $optParams = array()) - { - $params = array('serviceName' => $serviceName, 'postBody' => $postBody); - $params = array_merge($params, $optParams); - return $this->call('enable', array($params), "Google_Service_ServiceManagement_Operation"); - } /** * Generates and returns a report (errors, warnings and changes from existing * configurations) associated with GenerateConfigReportRequest.new_value If diff --git a/src/Google/Service/ServiceNetworking.php b/src/Google/Service/ServiceNetworking.php index 99cd2b8c52..a26e8bbfc7 100644 --- a/src/Google/Service/ServiceNetworking.php +++ b/src/Google/Service/ServiceNetworking.php @@ -31,7 +31,7 @@ */ class Google_Service_ServiceNetworking extends Google_Service { - /** View and manage your data across Google Cloud Platform services. */ + /** See, edit, configure, and delete your Google Cloud Platform data. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; /** Manage your Google API service configuration. */ diff --git a/src/Google/Service/ServiceUsage.php b/src/Google/Service/ServiceUsage.php index 6a3f588f15..34a64b0587 100644 --- a/src/Google/Service/ServiceUsage.php +++ b/src/Google/Service/ServiceUsage.php @@ -32,7 +32,7 @@ */ class Google_Service_ServiceUsage extends Google_Service { - /** View and manage your data across Google Cloud Platform services. */ + /** See, edit, configure, and delete your Google Cloud Platform data. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; /** View your data across Google Cloud Platform services. */ diff --git a/src/Google/Service/WebRisk.php b/src/Google/Service/WebRisk.php index 97d93b486e..3f9c9d9ac8 100644 --- a/src/Google/Service/WebRisk.php +++ b/src/Google/Service/WebRisk.php @@ -30,7 +30,7 @@ */ class Google_Service_WebRisk extends Google_Service { - /** View and manage your data across Google Cloud Platform services. */ + /** See, edit, configure, and delete your Google Cloud Platform data. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; diff --git a/synth.metadata b/synth.metadata index b160ee188a..a25b590686 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-php-client-services.git", - "sha": "c8d7ff2c9cb6cad6e88bc5825491c47b8b2e52fd" + "sha": "46b71684a100f3d976e0321cf24f487b314add68" } }, { "git": { "name": "discovery-artifact-manager", "remote": "https://github.com/googleapis/discovery-artifact-manager.git", - "sha": "1416cfadcd925feb85f9f2ede96b4f7c2ddd160f" + "sha": "049c378d9fd7196cf19722cb5a2c8a0779b0107f" } } ]