Skip to content

Commit

Permalink
Autogenerated update (2019-03-01)
Browse files Browse the repository at this point in the history
Update:
- cloudfunctions:v1
- dlp:v2
- iam:v1
- reseller:v1
- serviceconsumermanagement:v1
- storagetransfer:v1
  • Loading branch information
googleapis-publisher committed Mar 1, 2019
1 parent 29dda36 commit 1fc5ffc
Show file tree
Hide file tree
Showing 20 changed files with 125 additions and 90 deletions.
16 changes: 8 additions & 8 deletions src/Google/Service/CloudFunctions.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ public function __construct(Google_Client $client)
'path' => 'v1/operations',
'httpMethod' => 'GET',
'parameters' => array(
'filter' => array(
'location' => 'query',
'type' => 'string',
),
'name' => array(
'location' => 'query',
'type' => 'string',
Expand All @@ -88,6 +84,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'integer',
),
'filter' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
Expand All @@ -108,6 +108,10 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'filter' => array(
'location' => 'query',
'type' => 'string',
Expand All @@ -116,10 +120,6 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
),
),
)
Expand Down
6 changes: 3 additions & 3 deletions src/Google/Service/CloudFunctions/Resource/Operations.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ public function get($name, $optParams = array())
*
* @param array $optParams Optional parameters.
*
* @opt_param string name Must not be set.
* @opt_param string pageToken The standard list page token.
* @opt_param int pageSize The standard list page size.
* @opt_param string filter Required. A filter for matching the requested
* operations. The supported formats of filter are: To query for specific
* function: project:*,location:*,function:* To query for all of the latest
* operations for a project: project:*,latest:true
* @opt_param string name Must not be set.
* @opt_param string pageToken The standard list page token.
* @opt_param int pageSize The standard list page size.
* @return Google_Service_CloudFunctions_ListOperationsResponse
*/
public function listOperations($optParams = array())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ class Google_Service_CloudFunctions_Resource_ProjectsLocations extends Google_Se
* applicable.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The standard list page size.
* @opt_param string filter The standard list filter.
* @opt_param string pageToken The standard list page token.
* @opt_param int pageSize The standard list page size.
* @return Google_Service_CloudFunctions_ListLocationsResponse
*/
public function listProjectsLocations($name, $optParams = array())
Expand Down
38 changes: 19 additions & 19 deletions src/Google/Service/DLP.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,6 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
Expand All @@ -214,6 +210,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
),
),'patch' => array(
'path' => 'v2/{+name}',
Expand Down Expand Up @@ -274,10 +274,6 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
Expand All @@ -286,6 +282,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
),
),'patch' => array(
'path' => 'v2/{+name}',
Expand Down Expand Up @@ -386,6 +386,10 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
Expand All @@ -394,10 +398,6 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
),
),'patch' => array(
'path' => 'v2/{+name}',
Expand Down Expand Up @@ -468,25 +468,25 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
'orderBy' => array(
'filter' => array(
'location' => 'query',
'type' => 'string',
),
'type' => array(
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'filter' => array(
'pageSize' => array(
'location' => 'query',
'type' => 'string',
'type' => 'integer',
),
'pageToken' => array(
'orderBy' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'type' => array(
'location' => 'query',
'type' => 'integer',
'type' => 'string',
),
),
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ public function get($name, $optParams = array())
* project-id or organizations/my-org-id.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional size of the page, can be limited by server.
* If zero server returns a page of max size 100.
* @opt_param string pageToken Optional page token to continue retrieval. Comes
* from previous call to `ListInspectTemplates`.
* @opt_param string orderBy Optional comma separated list of fields to order
Expand All @@ -100,6 +98,8 @@ public function get($name, $optParams = array())
* `update_time`: corresponds to time the template was last updated. - `name`:
* corresponds to template's name. - `display_name`: corresponds to template's
* display name.
* @opt_param int pageSize Optional size of the page, can be limited by server.
* If zero server returns a page of max size 100.
* @return Google_Service_DLP_GooglePrivacyDlpV2ListInspectTemplatesResponse
*/
public function listOrganizationsInspectTemplates($parent, $optParams = array())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ public function get($name, $optParams = array())
* project-id or organizations/my-org-id.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional size of the page, can be limited by server.
* If zero server returns a page of max size 100.
* @opt_param string pageToken Optional page token to continue retrieval. Comes
* from previous call to `ListStoredInfoTypes`.
* @opt_param string orderBy Optional comma separated list of fields to order
Expand All @@ -100,6 +98,8 @@ public function get($name, $optParams = array())
* was created. - `state`: corresponds to the state of the resource. - `name`:
* corresponds to resource name. - `display_name`: corresponds to info type's
* display name.
* @opt_param int pageSize Optional size of the page, can be limited by server.
* If zero server returns a page of max size 100.
* @return Google_Service_DLP_GooglePrivacyDlpV2ListStoredInfoTypesResponse
*/
public function listOrganizationsStoredInfoTypes($parent, $optParams = array())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ public function get($name, $optParams = array())
* project-id or organizations/my-org-id.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional size of the page, can be limited by server.
* If zero server returns a page of max size 100.
* @opt_param string pageToken Optional page token to continue retrieval. Comes
* from previous call to `ListDeidentifyTemplates`.
* @opt_param string orderBy Optional comma separated list of fields to order
Expand All @@ -101,8 +103,6 @@ public function get($name, $optParams = array())
* `update_time`: corresponds to time the template was last updated. - `name`:
* corresponds to template's name. - `display_name`: corresponds to template's
* display name.
* @opt_param int pageSize Optional size of the page, can be limited by server.
* If zero server returns a page of max size 100.
* @return Google_Service_DLP_GooglePrivacyDlpV2ListDeidentifyTemplatesResponse
*/
public function listProjectsDeidentifyTemplates($parent, $optParams = array())
Expand Down
26 changes: 13 additions & 13 deletions src/Google/Service/DLP/Resource/ProjectsDlpJobs.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,19 +108,6 @@ public function get($name, $optParams = array())
* project-id.
* @param array $optParams Optional parameters.
*
* @opt_param string orderBy Optional comma separated list of fields to order
* by, followed by `asc` or `desc` postfix. This list is case-insensitive,
* default sorting order is ascending, redundant space characters are
* insignificant.
*
* Example: `name asc, end_time asc, create_time desc`
*
* Supported fields are:
*
* - `create_time`: corresponds to time the job was created. - `end_time`:
* corresponds to time the job ended. - `name`: corresponds to job's name. -
* `state`: corresponds to `state`
* @opt_param string type The type of job. Defaults to `DlpJobType.INSPECT`
* @opt_param string filter Optional. Allows filtering.
*
* Supported syntax:
Expand All @@ -144,6 +131,19 @@ public function get($name, $optParams = array())
* The length of this field should be no more than 500 characters.
* @opt_param string pageToken The standard list page token.
* @opt_param int pageSize The standard list page size.
* @opt_param string orderBy Optional comma separated list of fields to order
* by, followed by `asc` or `desc` postfix. This list is case-insensitive,
* default sorting order is ascending, redundant space characters are
* insignificant.
*
* Example: `name asc, end_time asc, create_time desc`
*
* Supported fields are:
*
* - `create_time`: corresponds to time the job was created. - `end_time`:
* corresponds to time the job ended. - `name`: corresponds to job's name. -
* `state`: corresponds to `state`
* @opt_param string type The type of job. Defaults to `DlpJobType.INSPECT`
* @return Google_Service_DLP_GooglePrivacyDlpV2ListDlpJobsResponse
*/
public function listProjectsDlpJobs($parent, $optParams = array())
Expand Down
12 changes: 6 additions & 6 deletions src/Google/Service/Iam.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,19 +125,19 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
'pageSize' => array(
'showDeleted' => array(
'location' => 'query',
'type' => 'integer',
'type' => 'boolean',
),
'view' => array(
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'showDeleted' => array(
'pageSize' => array(
'location' => 'query',
'type' => 'boolean',
'type' => 'integer',
),
'pageToken' => array(
'view' => array(
'location' => 'query',
'type' => 'string',
),
Expand Down
9 changes: 6 additions & 3 deletions src/Google/Service/Iam/Resource/OrganizationsRoles.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,15 @@ public function get($name, $optParams = array())
* `organizations/{ORGANIZATION_ID}` `projects/{PROJECT_ID}`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional limit on the number of roles to include in
* the response.
* @opt_param string view Optional view for the returned Role objects.
* @opt_param bool showDeleted Include Roles that have been deleted.
* @opt_param string pageToken Optional pagination token returned in an earlier
* ListRolesResponse.
* @opt_param int pageSize Optional limit on the number of roles to include in
* the response.
* @opt_param string view Optional view for the returned Role objects. When
* `FULL` is specified, the `includedPermissions` field is returned, which
* includes a list of all permissions in the role. The default value is `BASIC`,
* which does not return the `includedPermissions` field.
* @return Google_Service_Iam_ListRolesResponse
*/
public function listOrganizationsRoles($parent, $optParams = array())
Expand Down
5 changes: 4 additions & 1 deletion src/Google/Service/Iam/Resource/ProjectsRoles.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@ public function get($name, $optParams = array())
* ListRolesResponse.
* @opt_param int pageSize Optional limit on the number of roles to include in
* the response.
* @opt_param string view Optional view for the returned Role objects.
* @opt_param string view Optional view for the returned Role objects. When
* `FULL` is specified, the `includedPermissions` field is returned, which
* includes a list of all permissions in the role. The default value is `BASIC`,
* which does not return the `includedPermissions` field.
* @return Google_Service_Iam_ListRolesResponse
*/
public function listProjectsRoles($parent, $optParams = array())
Expand Down
30 changes: 28 additions & 2 deletions src/Google/Service/Iam/Resource/ProjectsServiceAccounts.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,18 @@ public function get($name, $optParams = array())
return $this->call('get', array($params), "Google_Service_Iam_ServiceAccount");
}
/**
* Returns the IAM access control policy for a ServiceAccount.
* Returns the Cloud IAM access control policy for a ServiceAccount.
*
* Note: Service accounts are both [resources and identities](/iam/docs/service-
* accounts#service_account_permissions). This method treats the service account
* as a resource. It returns the Cloud IAM policy that reflects what members
* have access to the service account.
*
* This method does not return what resources the service account has access to.
* To see if a service account has access to a resource, call the `getIamPolicy`
* method on the target resource. For example, to view grants for a project,
* call the [projects.getIamPolicy](/resource-
* manager/reference/rest/v1/projects/getIamPolicy) method.
* (serviceAccounts.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
Expand Down Expand Up @@ -113,7 +124,19 @@ public function listProjectsServiceAccounts($name, $optParams = array())
return $this->call('list', array($params), "Google_Service_Iam_ListServiceAccountsResponse");
}
/**
* Sets the IAM access control policy for a ServiceAccount.
* Sets the Cloud IAM access control policy for a ServiceAccount.
*
* Note: Service accounts are both [resources and identities](/iam/docs/service-
* accounts#service_account_permissions). This method treats the service account
* as a resource. Use it to grant members access to the service account, such as
* when they need to impersonate it.
*
* This method does not grant the service account access to other resources,
* such as projects. To grant a service account access to resources, include the
* service account in the Cloud IAM policy for the desired resource, then call
* the appropriate `setIamPolicy` method on the target resource. For example, to
* grant a service account access to a project, call the [projects.setIamPolicy
* ](/resource-manager/reference/rest/v1/projects/setIamPolicy) method.
* (serviceAccounts.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
Expand Down Expand Up @@ -213,6 +236,9 @@ public function undelete($name, Google_Service_Iam_UndeleteServiceAccountRequest
return $this->call('undelete', array($params), "Google_Service_Iam_UndeleteServiceAccountResponse");
}
/**
* Note: This method is in the process of being deprecated. Use
* PatchServiceAccount instead.
*
* Updates a ServiceAccount.
*
* Currently, only the following fields are updatable: `display_name` . The
Expand Down
5 changes: 4 additions & 1 deletion src/Google/Service/Iam/Resource/Roles.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ public function get($name, $optParams = array())
* ListRolesResponse.
* @opt_param int pageSize Optional limit on the number of roles to include in
* the response.
* @opt_param string view Optional view for the returned Role objects.
* @opt_param string view Optional view for the returned Role objects. When
* `FULL` is specified, the `includedPermissions` field is returned, which
* includes a list of all permissions in the role. The default value is `BASIC`,
* which does not return the `includedPermissions` field.
* @opt_param string parent The resource name of the parent resource in one of
* the following formats: `` (empty string) -- this refers to curated roles.
* `organizations/{ORGANIZATION_ID}` `projects/{PROJECT_ID}`
Expand Down
2 changes: 1 addition & 1 deletion src/Google/Service/Reseller/Resource/Subscriptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function changeSeats($customerId, $subscriptionId, Google_Service_Reselle
return $this->call('changeSeats', array($params), "Google_Service_Reseller_Subscription");
}
/**
* Cancel, suspend or transfer a subscription to direct. (subscriptions.delete)
* Cancel or transfer a subscription to direct. (subscriptions.delete)
*
* @param string $customerId Either the customer's primary domain name or the
* customer's unique identifier. If using the domain name, we do not recommend
Expand Down
Loading

0 comments on commit 1fc5ffc

Please sign in to comment.