Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

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

(no description)

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

Defines 20 classes

Google_Service_Autoscaler:: (1 method):
  __construct()

Google_Service_Autoscaler_Autoscalers_Resource:: (6 methods):
  delete()
  get()
  insert()
  listAutoscalers()
  patch()
  update()

Google_Service_Autoscaler_ZoneOperations_Resource:: (3 methods):
  delete()
  get()
  listZoneOperations()

Google_Service_Autoscaler_Zones_Resource:: (1 method):
  listZones()

Google_Service_Autoscaler_Autoscaler:: (16 methods):
  setAutoscalingPolicy()
  getAutoscalingPolicy()
  setCreationTimestamp()
  getCreationTimestamp()
  setDescription()
  getDescription()
  setId()
  getId()
  setKind()
  getKind()
  setName()
  getName()
  setSelfLink()
  getSelfLink()
  setTarget()
  getTarget()

Google_Service_Autoscaler_AutoscalerListResponse:: (6 methods):
  setItems()
  getItems()
  setKind()
  getKind()
  setNextPageToken()
  getNextPageToken()

Google_Service_Autoscaler_AutoscalingPolicy:: (12 methods):
  setCoolDownPeriodSec()
  getCoolDownPeriodSec()
  setCpuUtilization()
  getCpuUtilization()
  setCustomMetricUtilizations()
  getCustomMetricUtilizations()
  setLoadBalancingUtilization()
  getLoadBalancingUtilization()
  setMaxNumReplicas()
  getMaxNumReplicas()
  setMinNumReplicas()
  getMinNumReplicas()

Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization:: (2 methods):
  setUtilizationTarget()
  getUtilizationTarget()

Google_Service_Autoscaler_AutoscalingPolicyCustomMetricUtilization:: (6 methods):
  setMetric()
  getMetric()
  setUtilizationTarget()
  getUtilizationTarget()
  setUtilizationTargetType()
  getUtilizationTargetType()

Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization:: (2 methods):
  setUtilizationTarget()
  getUtilizationTarget()

Google_Service_Autoscaler_DeprecationStatus:: (10 methods):
  setDeleted()
  getDeleted()
  setDeprecated()
  getDeprecated()
  setObsolete()
  getObsolete()
  setReplacement()
  getReplacement()
  setState()
  getState()

Google_Service_Autoscaler_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_Autoscaler_OperationError:: (2 methods):
  setErrors()
  getErrors()

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

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

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

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

Google_Service_Autoscaler_Zone:: (20 methods):
  setCreationTimestamp()
  getCreationTimestamp()
  setDeprecated()
  getDeprecated()
  setDescription()
  getDescription()
  setId()
  getId()
  setKind()
  getKind()
  setMaintenanceWindows()
  getMaintenanceWindows()
  setName()
  getName()
  setRegion()
  getRegion()
  setSelfLink()
  getSelfLink()
  setStatus()
  getStatus()

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

Google_Service_Autoscaler_ZoneMaintenanceWindows:: (8 methods):
  setBeginTime()
  getBeginTime()
  setDescription()
  getDescription()
  setEndTime()
  getEndTime()
  setName()
  getName()


Class: Google_Service_Autoscaler  - X-Ref

Service definition for Autoscaler (v1beta2).

<p>
The Google Compute Engine Autoscaler API provides autoscaling for groups of
Cloud VMs.</p>

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

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

param: Google_Client $client

Class: Google_Service_Autoscaler_Autoscalers_Resource  - X-Ref

The "autoscalers" collection of methods.
Typical usage is:
<code>
$autoscalerService = new Google_Service_Autoscaler(...);
$autoscalers = $autoscalerService->autoscalers;
</code>

delete($project, $zone, $autoscaler, $optParams = array()   X-Ref
Deletes the specified Autoscaler resource. (autoscalers.delete)

param: string $project Project ID of Autoscaler resource.
param: string $zone Zone name of Autoscaler resource.
param: string $autoscaler Name of the Autoscaler resource.
param: array $optParams Optional parameters.
return: Google_Service_Autoscaler_Operation

get($project, $zone, $autoscaler, $optParams = array()   X-Ref
Gets the specified Autoscaler resource. (autoscalers.get)

param: string $project Project ID of Autoscaler resource.
param: string $zone Zone name of Autoscaler resource.
param: string $autoscaler Name of the Autoscaler resource.
param: array $optParams Optional parameters.
return: Google_Service_Autoscaler_Autoscaler

insert($project, $zone, Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array()   X-Ref
Adds new Autoscaler resource. (autoscalers.insert)

param: string $project Project ID of Autoscaler resource.
param: string $zone Zone name of Autoscaler resource.
param: Google_Autoscaler $postBody
param: array $optParams Optional parameters.
return: Google_Service_Autoscaler_Operation

listAutoscalers($project, $zone, $optParams = array()   X-Ref
Lists all Autoscaler resources in this zone. (autoscalers.listAutoscalers)

param: string $project Project ID of Autoscaler resource.
param: string $zone Zone name of Autoscaler resource.
param: array $optParams Optional parameters.
return: Google_Service_Autoscaler_AutoscalerListResponse

patch($project, $zone, $autoscaler, Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array()   X-Ref
Update the entire content of the Autoscaler resource. This method supports
patch semantics. (autoscalers.patch)

param: string $project Project ID of Autoscaler resource.
param: string $zone Zone name of Autoscaler resource.
param: string $autoscaler Name of the Autoscaler resource.
param: Google_Autoscaler $postBody
param: array $optParams Optional parameters.
return: Google_Service_Autoscaler_Operation

update($project, $zone, $autoscaler, Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array()   X-Ref
Update the entire content of the Autoscaler resource. (autoscalers.update)

param: string $project Project ID of Autoscaler resource.
param: string $zone Zone name of Autoscaler resource.
param: string $autoscaler Name of the Autoscaler resource.
param: Google_Autoscaler $postBody
param: array $optParams Optional parameters.
return: Google_Service_Autoscaler_Operation

Class: Google_Service_Autoscaler_ZoneOperations_Resource  - X-Ref

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

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

param: string $project
param: string $zone
param: string $operation
param: array $optParams Optional parameters.

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

param: string $project
param: string $zone
param: string $operation
param: array $optParams Optional parameters.
return: Google_Service_Autoscaler_Operation

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

param: string $project
param: string $zone
param: array $optParams Optional parameters.
return: Google_Service_Autoscaler_OperationList

Class: Google_Service_Autoscaler_Zones_Resource  - X-Ref

The "zones" collection of methods.
Typical usage is:
<code>
$autoscalerService = new Google_Service_Autoscaler(...);
$zones = $autoscalerService->zones;
</code>

listZones($project, $optParams = array()   X-Ref
(zones.listZones)

param: string $project
param: array $optParams Optional parameters.
return: Google_Service_Autoscaler_ZoneList

Class: Google_Service_Autoscaler_Autoscaler  - X-Ref

setAutoscalingPolicy(Google_Service_Autoscaler_AutoscalingPolicy $autoscalingPolicy)   X-Ref
No description

getAutoscalingPolicy()   X-Ref
No description

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

setName($name)   X-Ref
No description

getName()   X-Ref
No description

setSelfLink($selfLink)   X-Ref
No description

getSelfLink()   X-Ref
No description

setTarget($target)   X-Ref
No description

getTarget()   X-Ref
No description

Class: Google_Service_Autoscaler_AutoscalerListResponse  - 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

Class: Google_Service_Autoscaler_AutoscalingPolicy  - X-Ref

setCoolDownPeriodSec($coolDownPeriodSec)   X-Ref
No description

getCoolDownPeriodSec()   X-Ref
No description

setCpuUtilization(Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization $cpuUtilization)   X-Ref
No description

getCpuUtilization()   X-Ref
No description

setCustomMetricUtilizations($customMetricUtilizations)   X-Ref
No description

getCustomMetricUtilizations()   X-Ref
No description

setLoadBalancingUtilization(Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization $loadBalancingUtilization)   X-Ref
No description

getLoadBalancingUtilization()   X-Ref
No description

setMaxNumReplicas($maxNumReplicas)   X-Ref
No description

getMaxNumReplicas()   X-Ref
No description

setMinNumReplicas($minNumReplicas)   X-Ref
No description

getMinNumReplicas()   X-Ref
No description

Class: Google_Service_Autoscaler_DeprecationStatus  - X-Ref

setDeleted($deleted)   X-Ref
No description

getDeleted()   X-Ref
No description

setDeprecated($deprecated)   X-Ref
No description

getDeprecated()   X-Ref
No description

setObsolete($obsolete)   X-Ref
No description

getObsolete()   X-Ref
No description

setReplacement($replacement)   X-Ref
No description

getReplacement()   X-Ref
No description

setState($state)   X-Ref
No description

getState()   X-Ref
No description

Class: Google_Service_Autoscaler_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_Autoscaler_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_Autoscaler_OperationError  - X-Ref

setErrors($errors)   X-Ref
No description

getErrors()   X-Ref
No description

Class: Google_Service_Autoscaler_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_Autoscaler_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_Autoscaler_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_Autoscaler_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_Autoscaler_Zone  - X-Ref

setCreationTimestamp($creationTimestamp)   X-Ref
No description

getCreationTimestamp()   X-Ref
No description

setDeprecated(Google_Service_Autoscaler_DeprecationStatus $deprecated)   X-Ref
No description

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

setMaintenanceWindows($maintenanceWindows)   X-Ref
No description

getMaintenanceWindows()   X-Ref
No description

setName($name)   X-Ref
No description

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

setStatus($status)   X-Ref
No description

getStatus()   X-Ref
No description

Class: Google_Service_Autoscaler_ZoneList  - 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_Autoscaler_ZoneMaintenanceWindows  - X-Ref

setBeginTime($beginTime)   X-Ref
No description

getBeginTime()   X-Ref
No description

setDescription($description)   X-Ref
No description

getDescription()   X-Ref
No description

setEndTime($endTime)   X-Ref
No description

getEndTime()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description