appEngineRelease = $appEngineRelease; } /** * @return string */ public function getAppEngineRelease() { return $this->appEngineRelease; } /** * Output only. Availability of the instance. * * Accepted values: UNSPECIFIED, RESIDENT, DYNAMIC * * @param self::AVAILABILITY_* $availability */ public function setAvailability($availability) { $this->availability = $availability; } /** * @return self::AVAILABILITY_* */ public function getAvailability() { return $this->availability; } /** * Output only. Average latency (ms) over the last minute. * * @param int $averageLatency */ public function setAverageLatency($averageLatency) { $this->averageLatency = $averageLatency; } /** * @return int */ public function getAverageLatency() { return $this->averageLatency; } /** * Output only. Number of errors since this instance was started. * * @param int $errors */ public function setErrors($errors) { $this->errors = $errors; } /** * @return int */ public function getErrors() { return $this->errors; } /** * Output only. Relative name of the instance within the version. Example: * instance-1. * * @param string $id */ public function setId($id) { $this->id = $id; } /** * @return string */ public function getId() { return $this->id; } /** * Output only. Total memory in use (bytes). * * @param string $memoryUsage */ public function setMemoryUsage($memoryUsage) { $this->memoryUsage = $memoryUsage; } /** * @return string */ public function getMemoryUsage() { return $this->memoryUsage; } /** * Output only. Full path to the Instance resource in the API. Example: * apps/myapp/services/default/versions/v1/instances/instance-1. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Output only. Average queries per second (QPS) over the last minute. * * @param float $qps */ public function setQps($qps) { $this->qps = $qps; } /** * @return float */ public function getQps() { return $this->qps; } /** * Output only. Number of requests since this instance was started. * * @param int $requests */ public function setRequests($requests) { $this->requests = $requests; } /** * @return int */ public function getRequests() { return $this->requests; } /** * Output only. Time that this instance was started.@OutputOnly * * @param string $startTime */ public function setStartTime($startTime) { $this->startTime = $startTime; } /** * @return string */ public function getStartTime() { return $this->startTime; } /** * Output only. Whether this instance is in debug mode. Only applicable for * instances in App Engine flexible environment. * * @param bool $vmDebugEnabled */ public function setVmDebugEnabled($vmDebugEnabled) { $this->vmDebugEnabled = $vmDebugEnabled; } /** * @return bool */ public function getVmDebugEnabled() { return $this->vmDebugEnabled; } /** * Output only. Virtual machine ID of this instance. Only applicable for * instances in App Engine flexible environment. * * @param string $vmId */ public function setVmId($vmId) { $this->vmId = $vmId; } /** * @return string */ public function getVmId() { return $this->vmId; } /** * Output only. The IP address of this instance. Only applicable for instances * in App Engine flexible environment. * * @param string $vmIp */ public function setVmIp($vmIp) { $this->vmIp = $vmIp; } /** * @return string */ public function getVmIp() { return $this->vmIp; } /** * Output only. The liveness health check of this instance. Only applicable * for instances in App Engine flexible environment. * * Accepted values: LIVENESS_STATE_UNSPECIFIED, UNKNOWN, HEALTHY, UNHEALTHY, * DRAINING, TIMEOUT * * @param self::VM_LIVENESS_* $vmLiveness */ public function setVmLiveness($vmLiveness) { $this->vmLiveness = $vmLiveness; } /** * @return self::VM_LIVENESS_* */ public function getVmLiveness() { return $this->vmLiveness; } /** * Output only. Name of the virtual machine where this instance lives. Only * applicable for instances in App Engine flexible environment. * * @param string $vmName */ public function setVmName($vmName) { $this->vmName = $vmName; } /** * @return string */ public function getVmName() { return $this->vmName; } /** * Output only. Status of the virtual machine where this instance lives. Only * applicable for instances in App Engine flexible environment. * * @param string $vmStatus */ public function setVmStatus($vmStatus) { $this->vmStatus = $vmStatus; } /** * @return string */ public function getVmStatus() { return $this->vmStatus; } /** * Output only. Zone where the virtual machine is located. Only applicable for * instances in App Engine flexible environment. * * @param string $vmZoneName */ public function setVmZoneName($vmZoneName) { $this->vmZoneName = $vmZoneName; } /** * @return string */ public function getVmZoneName() { return $this->vmZoneName; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Instance::class, 'Google_Service_Appengine_Instance');