AutorÃa | Ultima modificación | Ver Log |
<?php/** Copyright 2010 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 CloudUserAccounts (vm_alpha).** <p>* API for the Google Cloud User Accounts service.</p>** <p>* For more information about this service, see the API* <a href="https://cloud.google.com/compute/docs/access/user-accounts/api/latest/" target="_blank">Documentation</a>* </p>** @author Google, Inc.*/#[AllowDynamicProperties]class Google_Service_CloudUserAccounts extends Google_Service{/** View and manage your data across Google Cloud Platform services. */const CLOUD_PLATFORM ="https://www.googleapis.com/auth/cloud-platform";/** View your data across Google Cloud Platform services. */const CLOUD_PLATFORM_READ_ONLY ="https://www.googleapis.com/auth/cloud-platform.read-only";/** Manage your Google Cloud User Accounts. */const CLOUD_USERACCOUNTS ="https://www.googleapis.com/auth/cloud.useraccounts";/** View your Google Cloud User Accounts. */const CLOUD_USERACCOUNTS_READONLY ="https://www.googleapis.com/auth/cloud.useraccounts.readonly";public $globalAccountsOperations;public $groups;public $linux;public $users;/*** Constructs the internal representation of the CloudUserAccounts service.** @param Google_Client $client*/public function __construct(Google_Client $client){parent::__construct($client);$this->rootUrl = 'https://www.googleapis.com/';$this->servicePath = 'clouduseraccounts/vm_alpha/projects/';$this->version = 'vm_alpha';$this->serviceName = 'clouduseraccounts';$this->globalAccountsOperations = new Google_Service_CloudUserAccounts_GlobalAccountsOperations_Resource($this,$this->serviceName,'globalAccountsOperations',array('methods' => array('delete' => array('path' => '{project}/global/operations/{operation}','httpMethod' => 'DELETE','parameters' => array('project' => array('location' => 'path','type' => 'string','required' => true,),'operation' => array('location' => 'path','type' => 'string','required' => true,),),),'get' => array('path' => '{project}/global/operations/{operation}','httpMethod' => 'GET','parameters' => array('project' => array('location' => 'path','type' => 'string','required' => true,),'operation' => array('location' => 'path','type' => 'string','required' => true,),),),'list' => array('path' => '{project}/global/operations','httpMethod' => 'GET','parameters' => array('project' => array('location' => 'path','type' => 'string','required' => true,),'filter' => array('location' => 'query','type' => 'string',),'orderBy' => array('location' => 'query','type' => 'string',),'maxResults' => array('location' => 'query','type' => 'integer',),'pageToken' => array('location' => 'query','type' => 'string',),),),)));$this->groups = new Google_Service_CloudUserAccounts_Groups_Resource($this,$this->serviceName,'groups',array('methods' => array('addMember' => array('path' => '{project}/global/groups/{groupName}/addMember','httpMethod' => 'POST','parameters' => array('project' => array('location' => 'path','type' => 'string','required' => true,),'groupName' => array('location' => 'path','type' => 'string','required' => true,),),),'delete' => array('path' => '{project}/global/groups/{groupName}','httpMethod' => 'DELETE','parameters' => array('project' => array('location' => 'path','type' => 'string','required' => true,),'groupName' => array('location' => 'path','type' => 'string','required' => true,),),),'get' => array('path' => '{project}/global/groups/{groupName}','httpMethod' => 'GET','parameters' => array('project' => array('location' => 'path','type' => 'string','required' => true,),'groupName' => array('location' => 'path','type' => 'string','required' => true,),),),'getIamPolicy' => array('path' => '{project}/global/groups/{resource}/getIamPolicy','httpMethod' => 'GET','parameters' => array('project' => array('location' => 'path','type' => 'string','required' => true,),'resource' => array('location' => 'path','type' => 'string','required' => true,),),),'insert' => array('path' => '{project}/global/groups','httpMethod' => 'POST','parameters' => array('project' => array('location' => 'path','type' => 'string','required' => true,),),),'list' => array('path' => '{project}/global/groups','httpMethod' => 'GET','parameters' => array('project' => array('location' => 'path','type' => 'string','required' => true,),'filter' => array('location' => 'query','type' => 'string',),'orderBy' => array('location' => 'query','type' => 'string',),'maxResults' => array('location' => 'query','type' => 'integer',),'pageToken' => array('location' => 'query','type' => 'string',),),),'removeMember' => array('path' => '{project}/global/groups/{groupName}/removeMember','httpMethod' => 'POST','parameters' => array('project' => array('location' => 'path','type' => 'string','required' => true,),'groupName' => array('location' => 'path','type' => 'string','required' => true,),),),'setIamPolicy' => array('path' => '{project}/global/groups/{resource}/setIamPolicy','httpMethod' => 'POST','parameters' => array('project' => array('location' => 'path','type' => 'string','required' => true,),'resource' => array('location' => 'path','type' => 'string','required' => true,),),),'testIamPermissions' => array('path' => '{project}/global/groups/{resource}/testIamPermissions','httpMethod' => 'POST','parameters' => array('project' => array('location' => 'path','type' => 'string','required' => true,),'resource' => array('location' => 'path','type' => 'string','required' => true,),),),)));$this->linux = new Google_Service_CloudUserAccounts_Linux_Resource($this,$this->serviceName,'linux',array('methods' => array('getAuthorizedKeysView' => array('path' => '{project}/zones/{zone}/authorizedKeysView/{user}','httpMethod' => 'POST','parameters' => array('project' => array('location' => 'path','type' => 'string','required' => true,),'zone' => array('location' => 'path','type' => 'string','required' => true,),'user' => array('location' => 'path','type' => 'string','required' => true,),'instance' => array('location' => 'query','type' => 'string','required' => true,),'login' => array('location' => 'query','type' => 'boolean',),),),'getLinuxAccountViews' => array('path' => '{project}/zones/{zone}/linuxAccountViews','httpMethod' => 'POST','parameters' => array('project' => array('location' => 'path','type' => 'string','required' => true,),'zone' => array('location' => 'path','type' => 'string','required' => true,),'instance' => array('location' => 'query','type' => 'string','required' => true,),'orderBy' => array('location' => 'query','type' => 'string',),'pageToken' => array('location' => 'query','type' => 'string',),'maxResults' => array('location' => 'query','type' => 'integer',),'filter' => array('location' => 'query','type' => 'string',),),),)));$this->users = new Google_Service_CloudUserAccounts_Users_Resource($this,$this->serviceName,'users',array('methods' => array('addPublicKey' => array('path' => '{project}/global/users/{user}/addPublicKey','httpMethod' => 'POST','parameters' => array('project' => array('location' => 'path','type' => 'string','required' => true,),'user' => array('location' => 'path','type' => 'string','required' => true,),),),'delete' => array('path' => '{project}/global/users/{user}','httpMethod' => 'DELETE','parameters' => array('project' => array('location' => 'path','type' => 'string','required' => true,),'user' => array('location' => 'path','type' => 'string','required' => true,),),),'get' => array('path' => '{project}/global/users/{user}','httpMethod' => 'GET','parameters' => array('project' => array('location' => 'path','type' => 'string','required' => true,),'user' => array('location' => 'path','type' => 'string','required' => true,),),),'getIamPolicy' => array('path' => '{project}/global/users/{resource}/getIamPolicy','httpMethod' => 'GET','parameters' => array('project' => array('location' => 'path','type' => 'string','required' => true,),'resource' => array('location' => 'path','type' => 'string','required' => true,),),),'insert' => array('path' => '{project}/global/users','httpMethod' => 'POST','parameters' => array('project' => array('location' => 'path','type' => 'string','required' => true,),),),'list' => array('path' => '{project}/global/users','httpMethod' => 'GET','parameters' => array('project' => array('location' => 'path','type' => 'string','required' => true,),'filter' => array('location' => 'query','type' => 'string',),'orderBy' => array('location' => 'query','type' => 'string',),'maxResults' => array('location' => 'query','type' => 'integer',),'pageToken' => array('location' => 'query','type' => 'string',),),),'removePublicKey' => array('path' => '{project}/global/users/{user}/removePublicKey','httpMethod' => 'POST','parameters' => array('project' => array('location' => 'path','type' => 'string','required' => true,),'user' => array('location' => 'path','type' => 'string','required' => true,),'fingerprint' => array('location' => 'query','type' => 'string','required' => true,),),),'setIamPolicy' => array('path' => '{project}/global/users/{resource}/setIamPolicy','httpMethod' => 'POST','parameters' => array('project' => array('location' => 'path','type' => 'string','required' => true,),'resource' => array('location' => 'path','type' => 'string','required' => true,),),),'testIamPermissions' => array('path' => '{project}/global/users/{resource}/testIamPermissions','httpMethod' => 'POST','parameters' => array('project' => array('location' => 'path','type' => 'string','required' => true,),'resource' => array('location' => 'path','type' => 'string','required' => true,),),),)));}}/*** The "globalAccountsOperations" collection of methods.* Typical usage is:* <code>* $clouduseraccountsService = new Google_Service_CloudUserAccounts(...);* $globalAccountsOperations = $clouduseraccountsService->globalAccountsOperations;* </code>*/#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_GlobalAccountsOperations_Resource extends Google_Service_Resource{/*** Deletes the specified operation resource. (globalAccountsOperations.delete)** @param string $project Project ID for this request.* @param string $operation Name of the Operations resource to delete.* @param array $optParams Optional parameters.*/public function delete($project, $operation, $optParams = array()){$params = array('project' => $project, 'operation' => $operation);$params = array_merge($params, $optParams);return $this->call('delete', array($params));}/*** Retrieves the specified operation resource. (globalAccountsOperations.get)** @param string $project Project ID for this request.* @param string $operation Name of the Operations resource to return.* @param array $optParams Optional parameters.* @return Google_Service_CloudUserAccounts_Operation*/public function get($project, $operation, $optParams = array()){$params = array('project' => $project, 'operation' => $operation);$params = array_merge($params, $optParams);return $this->call('get', array($params), "Google_Service_CloudUserAccounts_Operation");}/*** Retrieves the list of operation resources contained within the specified* project. (globalAccountsOperations.listGlobalAccountsOperations)** @param string $project Project ID for this request.* @param array $optParams Optional parameters.** @opt_param string filter Sets a filter expression for filtering listed* resources, in the form filter={expression}. Your {expression} must be in the* format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.** The FIELD_NAME is the name of the field you want to compare. Only atomic* field types are supported (string, number, boolean). The COMPARISON_STRING* must be either eq (equals) or ne (not equals). The LITERAL_STRING is the* string value to filter to. The literal value must be valid for the type of* field (string, number, boolean). For string fields, the literal value is* interpreted as a regular expression using RE2 syntax. The literal value must* match the entire field.** For example, filter=name ne example-instance.* @opt_param string orderBy Sorts list results by a certain order. By default,* results are returned in alphanumerical order based on the resource name.** You can also sort results in descending order based on the creation timestamp* using orderBy="creationTimestamp desc". This sorts results based on the* creationTimestamp field in reverse chronological order (newest result first).* Use this to sort resources like operations so that the newest operation is* returned first.** Currently, only sorting by name or creationTimestamp desc is supported.* @opt_param string maxResults Maximum count of results to be returned.* @opt_param string pageToken Specifies a page token to use. Use this parameter* if you want to list the next page of results. Set pageToken to the* nextPageToken returned by a previous list request.* @return Google_Service_CloudUserAccounts_OperationList*/public function listGlobalAccountsOperations($project, $optParams = array()){$params = array('project' => $project);$params = array_merge($params, $optParams);return $this->call('list', array($params), "Google_Service_CloudUserAccounts_OperationList");}}/*** The "groups" collection of methods.* Typical usage is:* <code>* $clouduseraccountsService = new Google_Service_CloudUserAccounts(...);* $groups = $clouduseraccountsService->groups;* </code>*/#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_Groups_Resource extends Google_Service_Resource{/*** Adds users to the specified group. (groups.addMember)** @param string $project Project ID for this request.* @param string $groupName Name of the group for this request.* @param Google_GroupsAddMemberRequest $postBody* @param array $optParams Optional parameters.* @return Google_Service_CloudUserAccounts_Operation*/public function addMember($project, $groupName, Google_Service_CloudUserAccounts_GroupsAddMemberRequest $postBody, $optParams = array()){$params = array('project' => $project, 'groupName' => $groupName, 'postBody' => $postBody);$params = array_merge($params, $optParams);return $this->call('addMember', array($params), "Google_Service_CloudUserAccounts_Operation");}/*** Deletes the specified Group resource. (groups.delete)** @param string $project Project ID for this request.* @param string $groupName Name of the Group resource to delete.* @param array $optParams Optional parameters.* @return Google_Service_CloudUserAccounts_Operation*/public function delete($project, $groupName, $optParams = array()){$params = array('project' => $project, 'groupName' => $groupName);$params = array_merge($params, $optParams);return $this->call('delete', array($params), "Google_Service_CloudUserAccounts_Operation");}/*** Returns the specified Group resource. (groups.get)** @param string $project Project ID for this request.* @param string $groupName Name of the Group resource to return.* @param array $optParams Optional parameters.* @return Google_Service_CloudUserAccounts_Group*/public function get($project, $groupName, $optParams = array()){$params = array('project' => $project, 'groupName' => $groupName);$params = array_merge($params, $optParams);return $this->call('get', array($params), "Google_Service_CloudUserAccounts_Group");}/*** Gets the access control policy for a resource. May be empty if no such policy* or resource exists. (groups.getIamPolicy)** @param string $project Project ID for this request.* @param string $resource Name of the resource for this request.* @param array $optParams Optional parameters.* @return Google_Service_CloudUserAccounts_Policy*/public function getIamPolicy($project, $resource, $optParams = array()){$params = array('project' => $project, 'resource' => $resource);$params = array_merge($params, $optParams);return $this->call('getIamPolicy', array($params), "Google_Service_CloudUserAccounts_Policy");}/*** Creates a Group resource in the specified project using the data included in* the request. (groups.insert)** @param string $project Project ID for this request.* @param Google_Group $postBody* @param array $optParams Optional parameters.* @return Google_Service_CloudUserAccounts_Operation*/public function insert($project, Google_Service_CloudUserAccounts_Group $postBody, $optParams = array()){$params = array('project' => $project, 'postBody' => $postBody);$params = array_merge($params, $optParams);return $this->call('insert', array($params), "Google_Service_CloudUserAccounts_Operation");}/*** Retrieves the list of groups contained within the specified project.* (groups.listGroups)** @param string $project Project ID for this request.* @param array $optParams Optional parameters.** @opt_param string filter Sets a filter expression for filtering listed* resources, in the form filter={expression}. Your {expression} must be in the* format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.** The FIELD_NAME is the name of the field you want to compare. Only atomic* field types are supported (string, number, boolean). The COMPARISON_STRING* must be either eq (equals) or ne (not equals). The LITERAL_STRING is the* string value to filter to. The literal value must be valid for the type of* field (string, number, boolean). For string fields, the literal value is* interpreted as a regular expression using RE2 syntax. The literal value must* match the entire field.** For example, filter=name ne example-instance.* @opt_param string orderBy Sorts list results by a certain order. By default,* results are returned in alphanumerical order based on the resource name.** You can also sort results in descending order based on the creation timestamp* using orderBy="creationTimestamp desc". This sorts results based on the* creationTimestamp field in reverse chronological order (newest result first).* Use this to sort resources like operations so that the newest operation is* returned first.** Currently, only sorting by name or creationTimestamp desc is supported.* @opt_param string maxResults Maximum count of results to be returned.* @opt_param string pageToken Specifies a page token to use. Use this parameter* if you want to list the next page of results. Set pageToken to the* nextPageToken returned by a previous list request.* @return Google_Service_CloudUserAccounts_GroupList*/public function listGroups($project, $optParams = array()){$params = array('project' => $project);$params = array_merge($params, $optParams);return $this->call('list', array($params), "Google_Service_CloudUserAccounts_GroupList");}/*** Removes users from the specified group. (groups.removeMember)** @param string $project Project ID for this request.* @param string $groupName Name of the group for this request.* @param Google_GroupsRemoveMemberRequest $postBody* @param array $optParams Optional parameters.* @return Google_Service_CloudUserAccounts_Operation*/public function removeMember($project, $groupName, Google_Service_CloudUserAccounts_GroupsRemoveMemberRequest $postBody, $optParams = array()){$params = array('project' => $project, 'groupName' => $groupName, 'postBody' => $postBody);$params = array_merge($params, $optParams);return $this->call('removeMember', array($params), "Google_Service_CloudUserAccounts_Operation");}/*** Sets the access control policy on the specified resource. Replaces any* existing policy. (groups.setIamPolicy)** @param string $project Project ID for this request.* @param string $resource Name of the resource for this request.* @param Google_Policy $postBody* @param array $optParams Optional parameters.* @return Google_Service_CloudUserAccounts_Policy*/public function setIamPolicy($project, $resource, Google_Service_CloudUserAccounts_Policy $postBody, $optParams = array()){$params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody);$params = array_merge($params, $optParams);return $this->call('setIamPolicy', array($params), "Google_Service_CloudUserAccounts_Policy");}/*** Returns permissions that a caller has on the specified resource.* (groups.testIamPermissions)** @param string $project Project ID for this request.* @param string $resource Name of the resource for this request.* @param Google_TestPermissionsRequest $postBody* @param array $optParams Optional parameters.* @return Google_Service_CloudUserAccounts_TestPermissionsResponse*/public function testIamPermissions($project, $resource, Google_Service_CloudUserAccounts_TestPermissionsRequest $postBody, $optParams = array()){$params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody);$params = array_merge($params, $optParams);return $this->call('testIamPermissions', array($params), "Google_Service_CloudUserAccounts_TestPermissionsResponse");}}/*** The "linux" collection of methods.* Typical usage is:* <code>* $clouduseraccountsService = new Google_Service_CloudUserAccounts(...);* $linux = $clouduseraccountsService->linux;* </code>*/#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_Linux_Resource extends Google_Service_Resource{/*** Returns a list of authorized public keys for a specific user account.* (linux.getAuthorizedKeysView)** @param string $project Project ID for this request.* @param string $zone Name of the zone for this request.* @param string $user The user account for which you want to get a list of* authorized public keys.* @param string $instance The fully-qualified URL of the virtual machine* requesting the view.* @param array $optParams Optional parameters.** @opt_param bool login Whether the view was requested as part of a user-* initiated login.* @return Google_Service_CloudUserAccounts_LinuxGetAuthorizedKeysViewResponse*/public function getAuthorizedKeysView($project, $zone, $user, $instance, $optParams = array()){$params = array('project' => $project, 'zone' => $zone, 'user' => $user, 'instance' => $instance);$params = array_merge($params, $optParams);return $this->call('getAuthorizedKeysView', array($params), "Google_Service_CloudUserAccounts_LinuxGetAuthorizedKeysViewResponse");}/*** Retrieves a list of user accounts for an instance within a specific project.* (linux.getLinuxAccountViews)** @param string $project Project ID for this request.* @param string $zone Name of the zone for this request.* @param string $instance The fully-qualified URL of the virtual machine* requesting the views.* @param array $optParams Optional parameters.** @opt_param string orderBy Sorts list results by a certain order. By default,* results are returned in alphanumerical order based on the resource name.** You can also sort results in descending order based on the creation timestamp* using orderBy="creationTimestamp desc". This sorts results based on the* creationTimestamp field in reverse chronological order (newest result first).* Use this to sort resources like operations so that the newest operation is* returned first.** Currently, only sorting by name or creationTimestamp desc is supported.* @opt_param string pageToken Specifies a page token to use. Use this parameter* if you want to list the next page of results. Set pageToken to the* nextPageToken returned by a previous list request.* @opt_param string maxResults Maximum count of results to be returned.* @opt_param string filter Sets a filter expression for filtering listed* resources, in the form filter={expression}. Your {expression} must be in the* format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.** The FIELD_NAME is the name of the field you want to compare. Only atomic* field types are supported (string, number, boolean). The COMPARISON_STRING* must be either eq (equals) or ne (not equals). The LITERAL_STRING is the* string value to filter to. The literal value must be valid for the type of* field (string, number, boolean). For string fields, the literal value is* interpreted as a regular expression using RE2 syntax. The literal value must* match the entire field.** For example, filter=name ne example-instance.* @return Google_Service_CloudUserAccounts_LinuxGetLinuxAccountViewsResponse*/public function getLinuxAccountViews($project, $zone, $instance, $optParams = array()){$params = array('project' => $project, 'zone' => $zone, 'instance' => $instance);$params = array_merge($params, $optParams);return $this->call('getLinuxAccountViews', array($params), "Google_Service_CloudUserAccounts_LinuxGetLinuxAccountViewsResponse");}}/*** The "users" collection of methods.* Typical usage is:* <code>* $clouduseraccountsService = new Google_Service_CloudUserAccounts(...);* $users = $clouduseraccountsService->users;* </code>*/#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_Users_Resource extends Google_Service_Resource{/*** Adds a public key to the specified User resource with the data included in* the request. (users.addPublicKey)** @param string $project Project ID for this request.* @param string $user Name of the user for this request.* @param Google_PublicKey $postBody* @param array $optParams Optional parameters.* @return Google_Service_CloudUserAccounts_Operation*/public function addPublicKey($project, $user, Google_Service_CloudUserAccounts_PublicKey $postBody, $optParams = array()){$params = array('project' => $project, 'user' => $user, 'postBody' => $postBody);$params = array_merge($params, $optParams);return $this->call('addPublicKey', array($params), "Google_Service_CloudUserAccounts_Operation");}/*** Deletes the specified User resource. (users.delete)** @param string $project Project ID for this request.* @param string $user Name of the user resource to delete.* @param array $optParams Optional parameters.* @return Google_Service_CloudUserAccounts_Operation*/public function delete($project, $user, $optParams = array()){$params = array('project' => $project, 'user' => $user);$params = array_merge($params, $optParams);return $this->call('delete', array($params), "Google_Service_CloudUserAccounts_Operation");}/*** Returns the specified User resource. (users.get)** @param string $project Project ID for this request.* @param string $user Name of the user resource to return.* @param array $optParams Optional parameters.* @return Google_Service_CloudUserAccounts_User*/public function get($project, $user, $optParams = array()){$params = array('project' => $project, 'user' => $user);$params = array_merge($params, $optParams);return $this->call('get', array($params), "Google_Service_CloudUserAccounts_User");}/*** Gets the access control policy for a resource. May be empty if no such policy* or resource exists. (users.getIamPolicy)** @param string $project Project ID for this request.* @param string $resource Name of the resource for this request.* @param array $optParams Optional parameters.* @return Google_Service_CloudUserAccounts_Policy*/public function getIamPolicy($project, $resource, $optParams = array()){$params = array('project' => $project, 'resource' => $resource);$params = array_merge($params, $optParams);return $this->call('getIamPolicy', array($params), "Google_Service_CloudUserAccounts_Policy");}/*** Creates a User resource in the specified project using the data included in* the request. (users.insert)** @param string $project Project ID for this request.* @param Google_User $postBody* @param array $optParams Optional parameters.* @return Google_Service_CloudUserAccounts_Operation*/public function insert($project, Google_Service_CloudUserAccounts_User $postBody, $optParams = array()){$params = array('project' => $project, 'postBody' => $postBody);$params = array_merge($params, $optParams);return $this->call('insert', array($params), "Google_Service_CloudUserAccounts_Operation");}/*** Retrieves a list of users contained within the specified project.* (users.listUsers)** @param string $project Project ID for this request.* @param array $optParams Optional parameters.** @opt_param string filter Sets a filter expression for filtering listed* resources, in the form filter={expression}. Your {expression} must be in the* format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.** The FIELD_NAME is the name of the field you want to compare. Only atomic* field types are supported (string, number, boolean). The COMPARISON_STRING* must be either eq (equals) or ne (not equals). The LITERAL_STRING is the* string value to filter to. The literal value must be valid for the type of* field (string, number, boolean). For string fields, the literal value is* interpreted as a regular expression using RE2 syntax. The literal value must* match the entire field.** For example, filter=name ne example-instance.* @opt_param string orderBy Sorts list results by a certain order. By default,* results are returned in alphanumerical order based on the resource name.** You can also sort results in descending order based on the creation timestamp* using orderBy="creationTimestamp desc". This sorts results based on the* creationTimestamp field in reverse chronological order (newest result first).* Use this to sort resources like operations so that the newest operation is* returned first.** Currently, only sorting by name or creationTimestamp desc is supported.* @opt_param string maxResults Maximum count of results to be returned.* @opt_param string pageToken Specifies a page token to use. Use this parameter* if you want to list the next page of results. Set pageToken to the* nextPageToken returned by a previous list request.* @return Google_Service_CloudUserAccounts_UserList*/public function listUsers($project, $optParams = array()){$params = array('project' => $project);$params = array_merge($params, $optParams);return $this->call('list', array($params), "Google_Service_CloudUserAccounts_UserList");}/*** Removes the specified public key from the user. (users.removePublicKey)** @param string $project Project ID for this request.* @param string $user Name of the user for this request.* @param string $fingerprint The fingerprint of the public key to delete.* Public keys are identified by their fingerprint, which is defined by RFC4716* to be the MD5 digest of the public key.* @param array $optParams Optional parameters.* @return Google_Service_CloudUserAccounts_Operation*/public function removePublicKey($project, $user, $fingerprint, $optParams = array()){$params = array('project' => $project, 'user' => $user, 'fingerprint' => $fingerprint);$params = array_merge($params, $optParams);return $this->call('removePublicKey', array($params), "Google_Service_CloudUserAccounts_Operation");}/*** Sets the access control policy on the specified resource. Replaces any* existing policy. (users.setIamPolicy)** @param string $project Project ID for this request.* @param string $resource Name of the resource for this request.* @param Google_Policy $postBody* @param array $optParams Optional parameters.* @return Google_Service_CloudUserAccounts_Policy*/public function setIamPolicy($project, $resource, Google_Service_CloudUserAccounts_Policy $postBody, $optParams = array()){$params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody);$params = array_merge($params, $optParams);return $this->call('setIamPolicy', array($params), "Google_Service_CloudUserAccounts_Policy");}/*** Returns permissions that a caller has on the specified resource.* (users.testIamPermissions)** @param string $project Project ID for this request.* @param string $resource Name of the resource for this request.* @param Google_TestPermissionsRequest $postBody* @param array $optParams Optional parameters.* @return Google_Service_CloudUserAccounts_TestPermissionsResponse*/public function testIamPermissions($project, $resource, Google_Service_CloudUserAccounts_TestPermissionsRequest $postBody, $optParams = array()){$params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody);$params = array_merge($params, $optParams);return $this->call('testIamPermissions', array($params), "Google_Service_CloudUserAccounts_TestPermissionsResponse");}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_AuthorizedKeysView extends Google_Collection{protected $collection_key = 'keys';protected $internal_gapi_mappings = array();public $keys;public $sudoer;public function setKeys($keys){$this->keys = $keys;}public function getKeys(){return $this->keys;}public function setSudoer($sudoer){$this->sudoer = $sudoer;}public function getSudoer(){return $this->sudoer;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_Binding extends Google_Collection{protected $collection_key = 'members';protected $internal_gapi_mappings = array();public $members;public $role;public function setMembers($members){$this->members = $members;}public function getMembers(){return $this->members;}public function setRole($role){$this->role = $role;}public function getRole(){return $this->role;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_Condition extends Google_Collection{protected $collection_key = 'values';protected $internal_gapi_mappings = array();public $iam;public $op;public $svc;public $sys;public $value;public $values;public function setIam($iam){$this->iam = $iam;}public function getIam(){return $this->iam;}public function setOp($op){$this->op = $op;}public function getOp(){return $this->op;}public function setSvc($svc){$this->svc = $svc;}public function getSvc(){return $this->svc;}public function setSys($sys){$this->sys = $sys;}public function getSys(){return $this->sys;}public function setValue($value){$this->value = $value;}public function getValue(){return $this->value;}public function setValues($values){$this->values = $values;}public function getValues(){return $this->values;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_Group extends Google_Collection{protected $collection_key = 'members';protected $internal_gapi_mappings = array();public $creationTimestamp;public $description;public $id;public $kind;public $members;public $name;public $selfLink;public function setCreationTimestamp($creationTimestamp){$this->creationTimestamp = $creationTimestamp;}public function getCreationTimestamp(){return $this->creationTimestamp;}public function setDescription($description){$this->description = $description;}public function getDescription(){return $this->description;}public function setId($id){$this->id = $id;}public function getId(){return $this->id;}public function setKind($kind){$this->kind = $kind;}public function getKind(){return $this->kind;}public function setMembers($members){$this->members = $members;}public function getMembers(){return $this->members;}public function setName($name){$this->name = $name;}public function getName(){return $this->name;}public function setSelfLink($selfLink){$this->selfLink = $selfLink;}public function getSelfLink(){return $this->selfLink;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_GroupList extends Google_Collection{protected $collection_key = 'items';protected $internal_gapi_mappings = array();public $id;protected $itemsType = 'Google_Service_CloudUserAccounts_Group';protected $itemsDataType = 'array';public $kind;public $nextPageToken;public $selfLink;public function setId($id){$this->id = $id;}public function getId(){return $this->id;}public function setItems($items){$this->items = $items;}public function getItems(){return $this->items;}public function setKind($kind){$this->kind = $kind;}public function getKind(){return $this->kind;}public function setNextPageToken($nextPageToken){$this->nextPageToken = $nextPageToken;}public function getNextPageToken(){return $this->nextPageToken;}public function setSelfLink($selfLink){$this->selfLink = $selfLink;}public function getSelfLink(){return $this->selfLink;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_GroupsAddMemberRequest extends Google_Collection{protected $collection_key = 'users';protected $internal_gapi_mappings = array();public $users;public function setUsers($users){$this->users = $users;}public function getUsers(){return $this->users;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_GroupsRemoveMemberRequest extends Google_Collection{protected $collection_key = 'users';protected $internal_gapi_mappings = array();public $users;public function setUsers($users){$this->users = $users;}public function getUsers(){return $this->users;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_LinuxAccountViews extends Google_Collection{protected $collection_key = 'userViews';protected $internal_gapi_mappings = array();protected $groupViewsType = 'Google_Service_CloudUserAccounts_LinuxGroupView';protected $groupViewsDataType = 'array';public $kind;protected $userViewsType = 'Google_Service_CloudUserAccounts_LinuxUserView';protected $userViewsDataType = 'array';public function setGroupViews($groupViews){$this->groupViews = $groupViews;}public function getGroupViews(){return $this->groupViews;}public function setKind($kind){$this->kind = $kind;}public function getKind(){return $this->kind;}public function setUserViews($userViews){$this->userViews = $userViews;}public function getUserViews(){return $this->userViews;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_LinuxGetAuthorizedKeysViewResponse extends Google_Model{protected $internal_gapi_mappings = array();protected $resourceType = 'Google_Service_CloudUserAccounts_AuthorizedKeysView';protected $resourceDataType = '';public function setResource(Google_Service_CloudUserAccounts_AuthorizedKeysView $resource){$this->resource = $resource;}public function getResource(){return $this->resource;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_LinuxGetLinuxAccountViewsResponse extends Google_Model{protected $internal_gapi_mappings = array();protected $resourceType = 'Google_Service_CloudUserAccounts_LinuxAccountViews';protected $resourceDataType = '';public function setResource(Google_Service_CloudUserAccounts_LinuxAccountViews $resource){$this->resource = $resource;}public function getResource(){return $this->resource;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_LinuxGroupView extends Google_Collection{protected $collection_key = 'members';protected $internal_gapi_mappings = array();public $gid;public $groupName;public $members;public function setGid($gid){$this->gid = $gid;}public function getGid(){return $this->gid;}public function setGroupName($groupName){$this->groupName = $groupName;}public function getGroupName(){return $this->groupName;}public function setMembers($members){$this->members = $members;}public function getMembers(){return $this->members;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_LinuxUserView extends Google_Model{protected $internal_gapi_mappings = array();public $gecos;public $gid;public $homeDirectory;public $shell;public $uid;public $username;public function setGecos($gecos){$this->gecos = $gecos;}public function getGecos(){return $this->gecos;}public function setGid($gid){$this->gid = $gid;}public function getGid(){return $this->gid;}public function setHomeDirectory($homeDirectory){$this->homeDirectory = $homeDirectory;}public function getHomeDirectory(){return $this->homeDirectory;}public function setShell($shell){$this->shell = $shell;}public function getShell(){return $this->shell;}public function setUid($uid){$this->uid = $uid;}public function getUid(){return $this->uid;}public function setUsername($username){$this->username = $username;}public function getUsername(){return $this->username;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_LogConfig extends Google_Model{protected $internal_gapi_mappings = array();protected $counterType = 'Google_Service_CloudUserAccounts_LogConfigCounterOptions';protected $counterDataType = '';public function setCounter(Google_Service_CloudUserAccounts_LogConfigCounterOptions $counter){$this->counter = $counter;}public function getCounter(){return $this->counter;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_LogConfigCounterOptions extends Google_Model{protected $internal_gapi_mappings = array();public $field;public $metric;public function setField($field){$this->field = $field;}public function getField(){return $this->field;}public function setMetric($metric){$this->metric = $metric;}public function getMetric(){return $this->metric;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_Operation extends Google_Collection{protected $collection_key = 'warnings';protected $internal_gapi_mappings = array();public $clientOperationId;public $creationTimestamp;public $endTime;protected $errorType = 'Google_Service_CloudUserAccounts_OperationError';protected $errorDataType = '';public $httpErrorMessage;public $httpErrorStatusCode;public $id;public $insertTime;public $kind;public $name;public $operationType;public $progress;public $region;public $selfLink;public $startTime;public $status;public $statusMessage;public $targetId;public $targetLink;public $user;protected $warningsType = 'Google_Service_CloudUserAccounts_OperationWarnings';protected $warningsDataType = 'array';public $zone;public function setClientOperationId($clientOperationId){$this->clientOperationId = $clientOperationId;}public function getClientOperationId(){return $this->clientOperationId;}public function setCreationTimestamp($creationTimestamp){$this->creationTimestamp = $creationTimestamp;}public function getCreationTimestamp(){return $this->creationTimestamp;}public function setEndTime($endTime){$this->endTime = $endTime;}public function getEndTime(){return $this->endTime;}public function setError(Google_Service_CloudUserAccounts_OperationError $error){$this->error = $error;}public function getError(){return $this->error;}public function setHttpErrorMessage($httpErrorMessage){$this->httpErrorMessage = $httpErrorMessage;}public function getHttpErrorMessage(){return $this->httpErrorMessage;}public function setHttpErrorStatusCode($httpErrorStatusCode){$this->httpErrorStatusCode = $httpErrorStatusCode;}public function getHttpErrorStatusCode(){return $this->httpErrorStatusCode;}public function setId($id){$this->id = $id;}public function getId(){return $this->id;}public function setInsertTime($insertTime){$this->insertTime = $insertTime;}public function getInsertTime(){return $this->insertTime;}public function setKind($kind){$this->kind = $kind;}public function getKind(){return $this->kind;}public function setName($name){$this->name = $name;}public function getName(){return $this->name;}public function setOperationType($operationType){$this->operationType = $operationType;}public function getOperationType(){return $this->operationType;}public function setProgress($progress){$this->progress = $progress;}public function getProgress(){return $this->progress;}public function setRegion($region){$this->region = $region;}public function getRegion(){return $this->region;}public function setSelfLink($selfLink){$this->selfLink = $selfLink;}public function getSelfLink(){return $this->selfLink;}public function setStartTime($startTime){$this->startTime = $startTime;}public function getStartTime(){return $this->startTime;}public function setStatus($status){$this->status = $status;}public function getStatus(){return $this->status;}public function setStatusMessage($statusMessage){$this->statusMessage = $statusMessage;}public function getStatusMessage(){return $this->statusMessage;}public function setTargetId($targetId){$this->targetId = $targetId;}public function getTargetId(){return $this->targetId;}public function setTargetLink($targetLink){$this->targetLink = $targetLink;}public function getTargetLink(){return $this->targetLink;}public function setUser($user){$this->user = $user;}public function getUser(){return $this->user;}public function setWarnings($warnings){$this->warnings = $warnings;}public function getWarnings(){return $this->warnings;}public function setZone($zone){$this->zone = $zone;}public function getZone(){return $this->zone;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_OperationError extends Google_Collection{protected $collection_key = 'errors';protected $internal_gapi_mappings = array();protected $errorsType = 'Google_Service_CloudUserAccounts_OperationErrorErrors';protected $errorsDataType = 'array';public function setErrors($errors){$this->errors = $errors;}public function getErrors(){return $this->errors;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_OperationErrorErrors extends Google_Model{protected $internal_gapi_mappings = array();public $code;public $location;public $message;public function setCode($code){$this->code = $code;}public function getCode(){return $this->code;}public function setLocation($location){$this->location = $location;}public function getLocation(){return $this->location;}public function setMessage($message){$this->message = $message;}public function getMessage(){return $this->message;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_OperationList extends Google_Collection{protected $collection_key = 'items';protected $internal_gapi_mappings = array();public $id;protected $itemsType = 'Google_Service_CloudUserAccounts_Operation';protected $itemsDataType = 'array';public $kind;public $nextPageToken;public $selfLink;public function setId($id){$this->id = $id;}public function getId(){return $this->id;}public function setItems($items){$this->items = $items;}public function getItems(){return $this->items;}public function setKind($kind){$this->kind = $kind;}public function getKind(){return $this->kind;}public function setNextPageToken($nextPageToken){$this->nextPageToken = $nextPageToken;}public function getNextPageToken(){return $this->nextPageToken;}public function setSelfLink($selfLink){$this->selfLink = $selfLink;}public function getSelfLink(){return $this->selfLink;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_OperationWarnings extends Google_Collection{protected $collection_key = 'data';protected $internal_gapi_mappings = array();public $code;protected $dataType = 'Google_Service_CloudUserAccounts_OperationWarningsData';protected $dataDataType = 'array';public $message;public function setCode($code){$this->code = $code;}public function getCode(){return $this->code;}public function setData($data){$this->data = $data;}public function getData(){return $this->data;}public function setMessage($message){$this->message = $message;}public function getMessage(){return $this->message;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_OperationWarningsData extends Google_Model{protected $internal_gapi_mappings = array();public $key;public $value;public function setKey($key){$this->key = $key;}public function getKey(){return $this->key;}public function setValue($value){$this->value = $value;}public function getValue(){return $this->value;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_Policy extends Google_Collection{protected $collection_key = 'rules';protected $internal_gapi_mappings = array();protected $bindingsType = 'Google_Service_CloudUserAccounts_Binding';protected $bindingsDataType = 'array';public $etag;protected $rulesType = 'Google_Service_CloudUserAccounts_Rule';protected $rulesDataType = 'array';public $version;public function setBindings($bindings){$this->bindings = $bindings;}public function getBindings(){return $this->bindings;}public function setEtag($etag){$this->etag = $etag;}public function getEtag(){return $this->etag;}public function setRules($rules){$this->rules = $rules;}public function getRules(){return $this->rules;}public function setVersion($version){$this->version = $version;}public function getVersion(){return $this->version;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_PublicKey extends Google_Model{protected $internal_gapi_mappings = array();public $creationTimestamp;public $description;public $expirationTimestamp;public $fingerprint;public $key;public function setCreationTimestamp($creationTimestamp){$this->creationTimestamp = $creationTimestamp;}public function getCreationTimestamp(){return $this->creationTimestamp;}public function setDescription($description){$this->description = $description;}public function getDescription(){return $this->description;}public function setExpirationTimestamp($expirationTimestamp){$this->expirationTimestamp = $expirationTimestamp;}public function getExpirationTimestamp(){return $this->expirationTimestamp;}public function setFingerprint($fingerprint){$this->fingerprint = $fingerprint;}public function getFingerprint(){return $this->fingerprint;}public function setKey($key){$this->key = $key;}public function getKey(){return $this->key;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_Rule extends Google_Collection{protected $collection_key = 'permissions';protected $internal_gapi_mappings = array();public $action;protected $conditionsType = 'Google_Service_CloudUserAccounts_Condition';protected $conditionsDataType = 'array';public $description;public $ins;protected $logConfigsType = 'Google_Service_CloudUserAccounts_LogConfig';protected $logConfigsDataType = 'array';public $notIns;public $permissions;public function setAction($action){$this->action = $action;}public function getAction(){return $this->action;}public function setConditions($conditions){$this->conditions = $conditions;}public function getConditions(){return $this->conditions;}public function setDescription($description){$this->description = $description;}public function getDescription(){return $this->description;}public function setIns($ins){$this->ins = $ins;}public function getIns(){return $this->ins;}public function setLogConfigs($logConfigs){$this->logConfigs = $logConfigs;}public function getLogConfigs(){return $this->logConfigs;}public function setNotIns($notIns){$this->notIns = $notIns;}public function getNotIns(){return $this->notIns;}public function setPermissions($permissions){$this->permissions = $permissions;}public function getPermissions(){return $this->permissions;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_TestPermissionsRequest extends Google_Collection{protected $collection_key = 'permissions';protected $internal_gapi_mappings = array();public $permissions;public function setPermissions($permissions){$this->permissions = $permissions;}public function getPermissions(){return $this->permissions;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_TestPermissionsResponse extends Google_Collection{protected $collection_key = 'permissions';protected $internal_gapi_mappings = array();public $permissions;public function setPermissions($permissions){$this->permissions = $permissions;}public function getPermissions(){return $this->permissions;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_User extends Google_Collection{protected $collection_key = 'publicKeys';protected $internal_gapi_mappings = array();public $creationTimestamp;public $description;public $groups;public $id;public $kind;public $name;public $owner;protected $publicKeysType = 'Google_Service_CloudUserAccounts_PublicKey';protected $publicKeysDataType = 'array';public $selfLink;public function setCreationTimestamp($creationTimestamp){$this->creationTimestamp = $creationTimestamp;}public function getCreationTimestamp(){return $this->creationTimestamp;}public function setDescription($description){$this->description = $description;}public function getDescription(){return $this->description;}public function setGroups($groups){$this->groups = $groups;}public function getGroups(){return $this->groups;}public function setId($id){$this->id = $id;}public function getId(){return $this->id;}public function setKind($kind){$this->kind = $kind;}public function getKind(){return $this->kind;}public function setName($name){$this->name = $name;}public function getName(){return $this->name;}public function setOwner($owner){$this->owner = $owner;}public function getOwner(){return $this->owner;}public function setPublicKeys($publicKeys){$this->publicKeys = $publicKeys;}public function getPublicKeys(){return $this->publicKeys;}public function setSelfLink($selfLink){$this->selfLink = $selfLink;}public function getSelfLink(){return $this->selfLink;}}#[AllowDynamicProperties]class Google_Service_CloudUserAccounts_UserList extends Google_Collection{protected $collection_key = 'items';protected $internal_gapi_mappings = array();public $id;protected $itemsType = 'Google_Service_CloudUserAccounts_User';protected $itemsDataType = 'array';public $kind;public $nextPageToken;public $selfLink;public function setId($id){$this->id = $id;}public function getId(){return $this->id;}public function setItems($items){$this->items = $items;}public function getItems(){return $this->items;}public function setKind($kind){$this->kind = $kind;}public function getKind(){return $this->kind;}public function setNextPageToken($nextPageToken){$this->nextPageToken = $nextPageToken;}public function getNextPageToken(){return $this->nextPageToken;}public function setSelfLink($selfLink){$this->selfLink = $selfLink;}public function getSelfLink(){return $this->selfLink;}}