Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]

(no description)

File Size: 1713 lines (47 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 24 classes

Google_Service_Computeaccounts:: (1 method):
  __construct()

Google_Service_Computeaccounts_GlobalAccountsOperations_Resource:: (3 methods):
  delete()
  get()
  listGlobalAccountsOperations()

Google_Service_Computeaccounts_Groups_Resource:: (6 methods):
  addMember()
  delete()
  get()
  insert()
  listGroups()
  removeMember()

Google_Service_Computeaccounts_Linux_Resource:: (2 methods):
  getAuthorizedKeysView()
  getLinuxAccountViews()

Google_Service_Computeaccounts_Users_Resource:: (6 methods):
  addPublicKey()
  delete()
  get()
  insert()
  listUsers()
  removePublicKey()

Google_Service_Computeaccounts_AuthorizedKeysView:: (2 methods):
  setKeys()
  getKeys()

Google_Service_Computeaccounts_Group:: (14 methods):
  setCreationTimestamp()
  getCreationTimestamp()
  setDescription()
  getDescription()
  setId()
  getId()
  setKind()
  getKind()
  setMembers()
  getMembers()
  setName()
  getName()
  setSelfLink()
  getSelfLink()

Google_Service_Computeaccounts_GroupList:: (10 methods):
  setId()
  getId()
  setItems()
  getItems()
  setKind()
  getKind()
  setNextPageToken()
  getNextPageToken()
  setSelfLink()
  getSelfLink()

Google_Service_Computeaccounts_GroupsAddMemberRequest:: (2 methods):
  setUsers()
  getUsers()

Google_Service_Computeaccounts_GroupsRemoveMemberRequest:: (2 methods):
  setUsers()
  getUsers()

Google_Service_Computeaccounts_LinuxAccountViews:: (6 methods):
  setGroupViews()
  getGroupViews()
  setKind()
  getKind()
  setUserViews()
  getUserViews()

Google_Service_Computeaccounts_LinuxGetAuthorizedKeysViewResponse:: (2 methods):
  setResource()
  getResource()

Google_Service_Computeaccounts_LinuxGetLinuxAccountViewsResponse:: (2 methods):
  setResource()
  getResource()

Google_Service_Computeaccounts_LinuxGroupView:: (6 methods):
  setGid()
  getGid()
  setGroupName()
  getGroupName()
  setMembers()
  getMembers()

Google_Service_Computeaccounts_LinuxUserView:: (12 methods):
  setGecos()
  getGecos()
  setGid()
  getGid()
  setHomeDirectory()
  getHomeDirectory()
  setShell()
  getShell()
  setUid()
  getUid()
  setUsername()
  getUsername()

Google_Service_Computeaccounts_Operation:: (44 methods):
  setClientOperationId()
  getClientOperationId()
  setCreationTimestamp()
  getCreationTimestamp()
  setEndTime()
  getEndTime()
  setError()
  getError()
  setHttpErrorMessage()
  getHttpErrorMessage()
  setHttpErrorStatusCode()
  getHttpErrorStatusCode()
  setId()
  getId()
  setInsertTime()
  getInsertTime()
  setKind()
  getKind()
  setName()
  getName()
  setOperationType()
  getOperationType()
  setProgress()
  getProgress()
  setRegion()
  getRegion()
  setSelfLink()
  getSelfLink()
  setStartTime()
  getStartTime()
  setStatus()
  getStatus()
  setStatusMessage()
  getStatusMessage()
  setTargetId()
  getTargetId()
  setTargetLink()
  getTargetLink()
  setUser()
  getUser()
  setWarnings()
  getWarnings()
  setZone()
  getZone()

Google_Service_Computeaccounts_OperationError:: (2 methods):
  setErrors()
  getErrors()

Google_Service_Computeaccounts_OperationErrorErrors:: (6 methods):
  setCode()
  getCode()
  setLocation()
  getLocation()
  setMessage()
  getMessage()

Google_Service_Computeaccounts_OperationList:: (10 methods):
  setId()
  getId()
  setItems()
  getItems()
  setKind()
  getKind()
  setNextPageToken()
  getNextPageToken()
  setSelfLink()
  getSelfLink()

Google_Service_Computeaccounts_OperationWarnings:: (6 methods):
  setCode()
  getCode()
  setData()
  getData()
  setMessage()
  getMessage()

Google_Service_Computeaccounts_OperationWarningsData:: (4 methods):
  setKey()
  getKey()
  setValue()
  getValue()

Google_Service_Computeaccounts_PublicKey:: (10 methods):
  setCreationTimestamp()
  getCreationTimestamp()
  setDescription()
  getDescription()
  setExpirationTimestamp()
  getExpirationTimestamp()
  setFingerprint()
  getFingerprint()
  setKey()
  getKey()

Google_Service_Computeaccounts_User:: (18 methods):
  setCreationTimestamp()
  getCreationTimestamp()
  setDescription()
  getDescription()
  setGroups()
  getGroups()
  setId()
  getId()
  setKind()
  getKind()
  setName()
  getName()
  setOwner()
  getOwner()
  setPublicKeys()
  getPublicKeys()
  setSelfLink()
  getSelfLink()

Google_Service_Computeaccounts_UserList:: (10 methods):
  setId()
  getId()
  setItems()
  getItems()
  setKind()
  getKind()
  setNextPageToken()
  getNextPageToken()
  setSelfLink()
  getSelfLink()


Class: Google_Service_Computeaccounts  - X-Ref

Service definition for Computeaccounts (alpha).

<p>
API for the Google Compute 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>

__construct(Google_Client $client)   X-Ref
Constructs the internal representation of the Computeaccounts service.

param: Google_Client $client

Class: Google_Service_Computeaccounts_GlobalAccountsOperations_Resource  - X-Ref

The "globalAccountsOperations" collection of methods.
Typical usage is:
<code>
$computeaccountsService = new Google_Service_Computeaccounts(...);
$globalAccountsOperations = $computeaccountsService->globalAccountsOperations;
</code>

delete($project, $operation, $optParams = array()   X-Ref
Deletes the specified operation resource. (globalAccountsOperations.delete)

param: string $project Project ID for this request.
param: string $operation Name of the operation resource to delete.
param: array $optParams Optional parameters.

get($project, $operation, $optParams = array()   X-Ref
Retrieves the specified operation resource. (globalAccountsOperations.get)

param: string $project Project ID for this request.
param: string $operation Name of the operation resource to return.
param: array $optParams Optional parameters.
return: Google_Service_Computeaccounts_Operation

listGlobalAccountsOperations($project, $optParams = array()   X-Ref
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.
return: Google_Service_Computeaccounts_OperationList

Class: Google_Service_Computeaccounts_Groups_Resource  - X-Ref

The "groups" collection of methods.
Typical usage is:
<code>
$computeaccountsService = new Google_Service_Computeaccounts(...);
$groups = $computeaccountsService->groups;
</code>

addMember($project, $groupName, Google_Service_Computeaccounts_GroupsAddMemberRequest $postBody, $optParams = array()   X-Ref
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_Computeaccounts_Operation

delete($project, $groupName, $optParams = array()   X-Ref
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_Computeaccounts_Operation

get($project, $groupName, $optParams = array()   X-Ref
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_Computeaccounts_Group

insert($project, Google_Service_Computeaccounts_Group $postBody, $optParams = array()   X-Ref
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_Computeaccounts_Operation

listGroups($project, $optParams = array()   X-Ref
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.
return: Google_Service_Computeaccounts_GroupList

removeMember($project, $groupName, Google_Service_Computeaccounts_GroupsRemoveMemberRequest $postBody, $optParams = array()   X-Ref
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_Computeaccounts_Operation

Class: Google_Service_Computeaccounts_Linux_Resource  - X-Ref

The "linux" collection of methods.
Typical usage is:
<code>
$computeaccountsService = new Google_Service_Computeaccounts(...);
$linux = $computeaccountsService->linux;
</code>

getAuthorizedKeysView($project, $zone, $user, $instance, $optParams = array()   X-Ref
Returns the AuthorizedKeysView of the specified user.
(linux.getAuthorizedKeysView)

param: string $project Project ID for this request.
param: string $zone Name of the zone for this request.
param: string $user Username of the AuthorizedKeysView to return.
param: string $instance The fully-qualified URL of the instance requesting
param: array $optParams Optional parameters.
return: Google_Service_Computeaccounts_LinuxGetAuthorizedKeysViewResponse

getLinuxAccountViews($project, $zone, $instance, $optParams = array()   X-Ref
Retrieves the Linux views for an instance contained within the specified
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 instance requesting
param: array $optParams Optional parameters.
return: Google_Service_Computeaccounts_LinuxGetLinuxAccountViewsResponse

Class: Google_Service_Computeaccounts_Users_Resource  - X-Ref

The "users" collection of methods.
Typical usage is:
<code>
$computeaccountsService = new Google_Service_Computeaccounts(...);
$users = $computeaccountsService->users;
</code>

addPublicKey($project, $user, Google_Service_Computeaccounts_PublicKey $postBody, $optParams = array()   X-Ref
Adds a public key to the specified user using 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_Computeaccounts_Operation

delete($project, $user, $optParams = array()   X-Ref
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_Computeaccounts_Operation

get($project, $user, $optParams = array()   X-Ref
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_Computeaccounts_User

insert($project, Google_Service_Computeaccounts_User $postBody, $optParams = array()   X-Ref
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_Computeaccounts_Operation

listUsers($project, $optParams = array()   X-Ref
Retrieves the list of users contained within the specified project.
(users.listUsers)

param: string $project Project ID for this request.
param: array $optParams Optional parameters.
return: Google_Service_Computeaccounts_UserList

removePublicKey($project, $user, $fingerprint, $optParams = array()   X-Ref
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.
param: array $optParams Optional parameters.
return: Google_Service_Computeaccounts_Operation

Class: Google_Service_Computeaccounts_AuthorizedKeysView  - X-Ref

setKeys($keys)   X-Ref
No description

getKeys()   X-Ref
No description

Class: Google_Service_Computeaccounts_Group  - X-Ref

setCreationTimestamp($creationTimestamp)   X-Ref
No description

getCreationTimestamp()   X-Ref
No description

setDescription($description)   X-Ref
No description

getDescription()   X-Ref
No description

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setMembers($members)   X-Ref
No description

getMembers()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description

setSelfLink($selfLink)   X-Ref
No description

getSelfLink()   X-Ref
No description

Class: Google_Service_Computeaccounts_GroupList  - X-Ref

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setItems($items)   X-Ref
No description

getItems()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description

setSelfLink($selfLink)   X-Ref
No description

getSelfLink()   X-Ref
No description

Class: Google_Service_Computeaccounts_GroupsAddMemberRequest  - X-Ref

setUsers($users)   X-Ref
No description

getUsers()   X-Ref
No description

Class: Google_Service_Computeaccounts_LinuxAccountViews  - X-Ref

setGroupViews($groupViews)   X-Ref
No description

getGroupViews()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setUserViews($userViews)   X-Ref
No description

getUserViews()   X-Ref
No description

Class: Google_Service_Computeaccounts_LinuxGetAuthorizedKeysViewResponse  - X-Ref

setResource(Google_Service_Computeaccounts_AuthorizedKeysView $resource)   X-Ref
No description

getResource()   X-Ref
No description

Class: Google_Service_Computeaccounts_LinuxGetLinuxAccountViewsResponse  - X-Ref

setResource(Google_Service_Computeaccounts_LinuxAccountViews $resource)   X-Ref
No description

getResource()   X-Ref
No description

Class: Google_Service_Computeaccounts_LinuxGroupView  - X-Ref

setGid($gid)   X-Ref
No description

getGid()   X-Ref
No description

setGroupName($groupName)   X-Ref
No description

getGroupName()   X-Ref
No description

setMembers($members)   X-Ref
No description

getMembers()   X-Ref
No description

Class: Google_Service_Computeaccounts_LinuxUserView  - X-Ref

setGecos($gecos)   X-Ref
No description

getGecos()   X-Ref
No description

setGid($gid)   X-Ref
No description

getGid()   X-Ref
No description

setHomeDirectory($homeDirectory)   X-Ref
No description

getHomeDirectory()   X-Ref
No description

setShell($shell)   X-Ref
No description

getShell()   X-Ref
No description

setUid($uid)   X-Ref
No description

getUid()   X-Ref
No description

setUsername($username)   X-Ref
No description

getUsername()   X-Ref
No description

Class: Google_Service_Computeaccounts_Operation  - X-Ref

setClientOperationId($clientOperationId)   X-Ref
No description

getClientOperationId()   X-Ref
No description

setCreationTimestamp($creationTimestamp)   X-Ref
No description

getCreationTimestamp()   X-Ref
No description

setEndTime($endTime)   X-Ref
No description

getEndTime()   X-Ref
No description

setError(Google_Service_Computeaccounts_OperationError $error)   X-Ref
No description

getError()   X-Ref
No description

setHttpErrorMessage($httpErrorMessage)   X-Ref
No description

getHttpErrorMessage()   X-Ref
No description

setHttpErrorStatusCode($httpErrorStatusCode)   X-Ref
No description

getHttpErrorStatusCode()   X-Ref
No description

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setInsertTime($insertTime)   X-Ref
No description

getInsertTime()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description

setOperationType($operationType)   X-Ref
No description

getOperationType()   X-Ref
No description

setProgress($progress)   X-Ref
No description

getProgress()   X-Ref
No description

setRegion($region)   X-Ref
No description

getRegion()   X-Ref
No description

setSelfLink($selfLink)   X-Ref
No description

getSelfLink()   X-Ref
No description

setStartTime($startTime)   X-Ref
No description

getStartTime()   X-Ref
No description

setStatus($status)   X-Ref
No description

getStatus()   X-Ref
No description

setStatusMessage($statusMessage)   X-Ref
No description

getStatusMessage()   X-Ref
No description

setTargetId($targetId)   X-Ref
No description

getTargetId()   X-Ref
No description

setTargetLink($targetLink)   X-Ref
No description

getTargetLink()   X-Ref
No description

setUser($user)   X-Ref
No description

getUser()   X-Ref
No description

setWarnings($warnings)   X-Ref
No description

getWarnings()   X-Ref
No description

setZone($zone)   X-Ref
No description

getZone()   X-Ref
No description

Class: Google_Service_Computeaccounts_OperationError  - X-Ref

setErrors($errors)   X-Ref
No description

getErrors()   X-Ref
No description

Class: Google_Service_Computeaccounts_OperationErrorErrors  - X-Ref

setCode($code)   X-Ref
No description

getCode()   X-Ref
No description

setLocation($location)   X-Ref
No description

getLocation()   X-Ref
No description

setMessage($message)   X-Ref
No description

getMessage()   X-Ref
No description

Class: Google_Service_Computeaccounts_OperationList  - X-Ref

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setItems($items)   X-Ref
No description

getItems()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description

setSelfLink($selfLink)   X-Ref
No description

getSelfLink()   X-Ref
No description

Class: Google_Service_Computeaccounts_OperationWarnings  - X-Ref

setCode($code)   X-Ref
No description

getCode()   X-Ref
No description

setData($data)   X-Ref
No description

getData()   X-Ref
No description

setMessage($message)   X-Ref
No description

getMessage()   X-Ref
No description

Class: Google_Service_Computeaccounts_OperationWarningsData  - X-Ref

setKey($key)   X-Ref
No description

getKey()   X-Ref
No description

setValue($value)   X-Ref
No description

getValue()   X-Ref
No description

Class: Google_Service_Computeaccounts_PublicKey  - X-Ref

setCreationTimestamp($creationTimestamp)   X-Ref
No description

getCreationTimestamp()   X-Ref
No description

setDescription($description)   X-Ref
No description

getDescription()   X-Ref
No description

setExpirationTimestamp($expirationTimestamp)   X-Ref
No description

getExpirationTimestamp()   X-Ref
No description

setFingerprint($fingerprint)   X-Ref
No description

getFingerprint()   X-Ref
No description

setKey($key)   X-Ref
No description

getKey()   X-Ref
No description

Class: Google_Service_Computeaccounts_User  - X-Ref

setCreationTimestamp($creationTimestamp)   X-Ref
No description

getCreationTimestamp()   X-Ref
No description

setDescription($description)   X-Ref
No description

getDescription()   X-Ref
No description

setGroups($groups)   X-Ref
No description

getGroups()   X-Ref
No description

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description

setOwner($owner)   X-Ref
No description

getOwner()   X-Ref
No description

setPublicKeys($publicKeys)   X-Ref
No description

getPublicKeys()   X-Ref
No description

setSelfLink($selfLink)   X-Ref
No description

getSelfLink()   X-Ref
No description

Class: Google_Service_Computeaccounts_UserList  - X-Ref

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setItems($items)   X-Ref
No description

getItems()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description

setSelfLink($selfLink)   X-Ref
No description

getSelfLink()   X-Ref
No description