Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 310 and 402] [Versions 310 and 403]

(no description)

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

Defines 20 classes

Google_Service_Resourceviews:: (1 method):
  __construct()

Google_Service_Resourceviews_ZoneOperations_Resource:: (2 methods):
  get()
  listZoneOperations()

Google_Service_Resourceviews_ZoneViews_Resource:: (9 methods):
  addResources()
  delete()
  get()
  getService()
  insert()
  listZoneViews()
  listResources()
  removeResources()
  setService()

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

Google_Service_Resourceviews_ListResourceResponseItem:: (4 methods):
  setEndpoints()
  getEndpoints()
  setResource()
  getResource()

Google_Service_Resourceviews_ListResourceResponseItemEndpoints:: (0 methods):

Google_Service_Resourceviews_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_Resourceviews_OperationError:: (2 methods):
  setErrors()
  getErrors()

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

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

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

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

Google_Service_Resourceviews_ResourceView:: (24 methods):
  setCreationTimestamp()
  getCreationTimestamp()
  setDescription()
  getDescription()
  setEndpoints()
  getEndpoints()
  setFingerprint()
  getFingerprint()
  setId()
  getId()
  setKind()
  getKind()
  setLabels()
  getLabels()
  setName()
  getName()
  setNetwork()
  getNetwork()
  setResources()
  getResources()
  setSelfLink()
  getSelfLink()
  setSize()
  getSize()

Google_Service_Resourceviews_ServiceEndpoint:: (4 methods):
  setName()
  getName()
  setPort()
  getPort()

Google_Service_Resourceviews_ZoneViewsAddResourcesRequest:: (2 methods):
  setResources()
  getResources()

Google_Service_Resourceviews_ZoneViewsGetServiceResponse:: (4 methods):
  setEndpoints()
  getEndpoints()
  setFingerprint()
  getFingerprint()

Google_Service_Resourceviews_ZoneViewsList:: (8 methods):
  setItems()
  getItems()
  setKind()
  getKind()
  setNextPageToken()
  getNextPageToken()
  setSelfLink()
  getSelfLink()

Google_Service_Resourceviews_ZoneViewsListResourcesResponse:: (6 methods):
  setItems()
  getItems()
  setNetwork()
  getNetwork()
  setNextPageToken()
  getNextPageToken()

Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest:: (2 methods):
  setResources()
  getResources()

Google_Service_Resourceviews_ZoneViewsSetServiceRequest:: (6 methods):
  setEndpoints()
  getEndpoints()
  setFingerprint()
  getFingerprint()
  setResourceName()
  getResourceName()


Class: Google_Service_Resourceviews  - X-Ref

Service definition for Resourceviews (v1beta2).

<p>
The Resource View API allows users to create and manage logical sets of
Google Compute Engine instances.</p>

<p>
For more information about this service, see the API
<a href="https://developers.google.com/compute/" target="_blank">Documentation</a>
</p>

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

param: Google_Client $client

Class: Google_Service_Resourceviews_ZoneOperations_Resource  - X-Ref

The "zoneOperations" collection of methods.
Typical usage is:
<code>
$resourceviewsService = new Google_Service_Resourceviews(...);
$zoneOperations = $resourceviewsService->zoneOperations;
</code>

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

param: string $project Name of the project scoping this request.
param: string $zone Name of the zone scoping this request.
param: string $operation Name of the operation resource to return.
param: array $optParams Optional parameters.
return: Google_Service_Resourceviews_Operation

listZoneOperations($project, $zone, $optParams = array()   X-Ref
Retrieves the list of operation resources contained within the specified
zone. (zoneOperations.listZoneOperations)

param: string $project Name of the project scoping this request.
param: string $zone Name of the zone scoping this request.
param: array $optParams Optional parameters.
return: Google_Service_Resourceviews_OperationList

Class: Google_Service_Resourceviews_ZoneViews_Resource  - X-Ref

The "zoneViews" collection of methods.
Typical usage is:
<code>
$resourceviewsService = new Google_Service_Resourceviews(...);
$zoneViews = $resourceviewsService->zoneViews;
</code>

addResources($project, $zone, $resourceView, Google_Service_Resourceviews_ZoneViewsAddResourcesRequest $postBody, $optParams = array()   X-Ref
Add resources to the view. (zoneViews.addResources)

param: string $project The project name of the resource view.
param: string $zone The zone name of the resource view.
param: string $resourceView The name of the resource view.
param: Google_ZoneViewsAddResourcesRequest $postBody
param: array $optParams Optional parameters.
return: Google_Service_Resourceviews_Operation

delete($project, $zone, $resourceView, $optParams = array()   X-Ref
Delete a resource view. (zoneViews.delete)

param: string $project The project name of the resource view.
param: string $zone The zone name of the resource view.
param: string $resourceView The name of the resource view.
param: array $optParams Optional parameters.
return: Google_Service_Resourceviews_Operation

get($project, $zone, $resourceView, $optParams = array()   X-Ref
Get the information of a zonal resource view. (zoneViews.get)

param: string $project The project name of the resource view.
param: string $zone The zone name of the resource view.
param: string $resourceView The name of the resource view.
param: array $optParams Optional parameters.
return: Google_Service_Resourceviews_ResourceView

getService($project, $zone, $resourceView, $optParams = array()   X-Ref
Get the service information of a resource view or a resource.
(zoneViews.getService)

param: string $project The project name of the resource view.
param: string $zone The zone name of the resource view.
param: string $resourceView The name of the resource view.
param: array $optParams Optional parameters.
return: Google_Service_Resourceviews_ZoneViewsGetServiceResponse

insert($project, $zone, Google_Service_Resourceviews_ResourceView $postBody, $optParams = array()   X-Ref
Create a resource view. (zoneViews.insert)

param: string $project The project name of the resource view.
param: string $zone The zone name of the resource view.
param: Google_ResourceView $postBody
param: array $optParams Optional parameters.
return: Google_Service_Resourceviews_Operation

listZoneViews($project, $zone, $optParams = array()   X-Ref
List resource views. (zoneViews.listZoneViews)

param: string $project The project name of the resource view.
param: string $zone The zone name of the resource view.
param: array $optParams Optional parameters.
return: Google_Service_Resourceviews_ZoneViewsList

listResources($project, $zone, $resourceView, $optParams = array()   X-Ref
List the resources of the resource view. (zoneViews.listResources)

param: string $project The project name of the resource view.
param: string $zone The zone name of the resource view.
param: string $resourceView The name of the resource view.
param: array $optParams Optional parameters.
return: Google_Service_Resourceviews_ZoneViewsListResourcesResponse

removeResources($project, $zone, $resourceView, Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest $postBody, $optParams = array()   X-Ref
Remove resources from the view. (zoneViews.removeResources)

param: string $project The project name of the resource view.
param: string $zone The zone name of the resource view.
param: string $resourceView The name of the resource view.
param: Google_ZoneViewsRemoveResourcesRequest $postBody
param: array $optParams Optional parameters.
return: Google_Service_Resourceviews_Operation

setService($project, $zone, $resourceView, Google_Service_Resourceviews_ZoneViewsSetServiceRequest $postBody, $optParams = array()   X-Ref
Update the service information of a resource view or a resource.
(zoneViews.setService)

param: string $project The project name of the resource view.
param: string $zone The zone name of the resource view.
param: string $resourceView The name of the resource view.
param: Google_ZoneViewsSetServiceRequest $postBody
param: array $optParams Optional parameters.
return: Google_Service_Resourceviews_Operation

Class: Google_Service_Resourceviews_Label  - 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_Resourceviews_ListResourceResponseItem  - X-Ref

setEndpoints($endpoints)   X-Ref
No description

getEndpoints()   X-Ref
No description

setResource($resource)   X-Ref
No description

getResource()   X-Ref
No description

Class: Google_Service_Resourceviews_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_Resourceviews_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_Resourceviews_OperationError  - X-Ref

setErrors($errors)   X-Ref
No description

getErrors()   X-Ref
No description

Class: Google_Service_Resourceviews_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_Resourceviews_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_Resourceviews_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_Resourceviews_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_Resourceviews_ResourceView  - X-Ref

setCreationTimestamp($creationTimestamp)   X-Ref
No description

getCreationTimestamp()   X-Ref
No description

setDescription($description)   X-Ref
No description

getDescription()   X-Ref
No description

setEndpoints($endpoints)   X-Ref
No description

getEndpoints()   X-Ref
No description

setFingerprint($fingerprint)   X-Ref
No description

getFingerprint()   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

setLabels($labels)   X-Ref
No description

getLabels()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description

setNetwork($network)   X-Ref
No description

getNetwork()   X-Ref
No description

setResources($resources)   X-Ref
No description

getResources()   X-Ref
No description

setSelfLink($selfLink)   X-Ref
No description

getSelfLink()   X-Ref
No description

setSize($size)   X-Ref
No description

getSize()   X-Ref
No description

Class: Google_Service_Resourceviews_ServiceEndpoint  - X-Ref

setName($name)   X-Ref
No description

getName()   X-Ref
No description

setPort($port)   X-Ref
No description

getPort()   X-Ref
No description

Class: Google_Service_Resourceviews_ZoneViewsGetServiceResponse  - X-Ref

setEndpoints($endpoints)   X-Ref
No description

getEndpoints()   X-Ref
No description

setFingerprint($fingerprint)   X-Ref
No description

getFingerprint()   X-Ref
No description

Class: Google_Service_Resourceviews_ZoneViewsList  - X-Ref

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_Resourceviews_ZoneViewsListResourcesResponse  - X-Ref

setItems($items)   X-Ref
No description

getItems()   X-Ref
No description

setNetwork($network)   X-Ref
No description

getNetwork()   X-Ref
No description

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description

Class: Google_Service_Resourceviews_ZoneViewsSetServiceRequest  - X-Ref

setEndpoints($endpoints)   X-Ref
No description

getEndpoints()   X-Ref
No description

setFingerprint($fingerprint)   X-Ref
No description

getFingerprint()   X-Ref
No description

setResourceName($resourceName)   X-Ref
No description

getResourceName()   X-Ref
No description