class Instance extends Collection (View source)

Properties

protected $collection_key
protected $advancedMachineFeaturesType
protected $advancedMachineFeaturesDataType
bool $canIpForward
protected $confidentialInstanceConfigType
protected $confidentialInstanceConfigDataType
string $cpuPlatform
string $creationTimestamp
bool $deletionProtection
string $description
protected $disksType
protected $disksDataType
protected $displayDeviceType
protected $displayDeviceDataType
string $fingerprint
protected $guestAcceleratorsType
protected $guestAcceleratorsDataType
string $hostname
string $id
protected $instanceEncryptionKeyType
protected $instanceEncryptionKeyDataType
string $keyRevocationActionType
string $kind
string $labelFingerprint
string[] $labels
string $lastStartTimestamp
string $lastStopTimestamp
string $lastSuspendedTimestamp
string $machineType
protected $metadataType
protected $metadataDataType
string $minCpuPlatform
string $name
protected $networkInterfacesType
protected $networkInterfacesDataType
protected $networkPerformanceConfigType
protected $networkPerformanceConfigDataType
protected $paramsType
protected $paramsDataType
string $privateIpv6GoogleAccess
protected $reservationAffinityType
protected $reservationAffinityDataType
string[] $resourcePolicies
protected $resourceStatusType
protected $resourceStatusDataType
bool $satisfiesPzi
bool $satisfiesPzs
protected $schedulingType
protected $schedulingDataType
$selfLink
protected $serviceAccountsType
protected $serviceAccountsDataType
protected $shieldedInstanceConfigType
protected $shieldedInstanceConfigDataType
protected $shieldedInstanceIntegrityPolicyType
protected $shieldedInstanceIntegrityPolicyDataType
string $sourceMachineImage
protected $sourceMachineImageEncryptionKeyType
protected $sourceMachineImageEncryptionKeyDataType
bool $startRestricted
string $status
string $statusMessage
protected $tagsType
protected $tagsDataType
string $zone

Methods

setAdvancedMachineFeatures(AdvancedMachineFeatures $advancedMachineFeatures)

No description

setCanIpForward($canIpForward)

No description

bool
getCanIpForward()

No description

setConfidentialInstanceConfig(ConfidentialInstanceConfig $confidentialInstanceConfig)

No description

setCpuPlatform($cpuPlatform)

No description

string
getCpuPlatform()

No description

setCreationTimestamp($creationTimestamp)

No description

string
getCreationTimestamp()

No description

setDeletionProtection($deletionProtection)

No description

bool
getDeletionProtection()

No description

setDescription($description)

No description

string
getDescription()

No description

setDisks($disks)

No description

getDisks()

No description

setDisplayDevice(DisplayDevice $displayDevice)

No description

getDisplayDevice()

No description

setFingerprint($fingerprint)

No description

string
getFingerprint()

No description

setGuestAccelerators($guestAccelerators)

No description

setHostname($hostname)

No description

string
getHostname()

No description

setId($id)

No description

string
getId()

No description

setInstanceEncryptionKey(CustomerEncryptionKey $instanceEncryptionKey)

No description

setKeyRevocationActionType($keyRevocationActionType)

No description

string
getKeyRevocationActionType()

No description

setKind($kind)

No description

string
getKind()

No description

setLabelFingerprint($labelFingerprint)

No description

string
getLabelFingerprint()

No description

setLabels($labels)

No description

string[]
getLabels()

No description

setLastStartTimestamp($lastStartTimestamp)

No description

string
getLastStartTimestamp()

No description

setLastStopTimestamp($lastStopTimestamp)

No description

string
getLastStopTimestamp()

No description

setLastSuspendedTimestamp($lastSuspendedTimestamp)

No description

string
getLastSuspendedTimestamp()

No description

setMachineType($machineType)

No description

string
getMachineType()

No description

setMetadata(Metadata $metadata)

No description

getMetadata()

No description

setMinCpuPlatform($minCpuPlatform)

No description

string
getMinCpuPlatform()

No description

setName($name)

No description

string
getName()

No description

setNetworkInterfaces($networkInterfaces)

No description

setNetworkPerformanceConfig(NetworkPerformanceConfig $networkPerformanceConfig)

No description

setParams(InstanceParams $params)

No description

getParams()

No description

setPrivateIpv6GoogleAccess($privateIpv6GoogleAccess)

No description

string
getPrivateIpv6GoogleAccess()

No description

setReservationAffinity(ReservationAffinity $reservationAffinity)

No description

setResourcePolicies($resourcePolicies)

No description

string[]
getResourcePolicies()

No description

setResourceStatus(ResourceStatus $resourceStatus)

No description

setSatisfiesPzi($satisfiesPzi)

No description

bool
getSatisfiesPzi()

No description

setSatisfiesPzs($satisfiesPzs)

No description

bool
getSatisfiesPzs()

No description

setScheduling(Scheduling $scheduling)

No description

getScheduling()

No description

setSelfLink($selfLink)

No description

string
getSelfLink()

No description

setServiceAccounts($serviceAccounts)

No description

getServiceAccounts()

No description

setShieldedInstanceConfig(ShieldedInstanceConfig $shieldedInstanceConfig)

No description

setShieldedInstanceIntegrityPolicy(ShieldedInstanceIntegrityPolicy $shieldedInstanceIntegrityPolicy)

No description

setSourceMachineImage($sourceMachineImage)

No description

string
getSourceMachineImage()

No description

setSourceMachineImageEncryptionKey(CustomerEncryptionKey $sourceMachineImageEncryptionKey)

No description

setStartRestricted($startRestricted)

No description

bool
getStartRestricted()

No description

setStatus($status)

No description

string
getStatus()

No description

setStatusMessage($statusMessage)

No description

string
getStatusMessage()

No description

setTags(Tags $tags)

No description

getTags()

No description

setZone($zone)

No description

string
getZone()

No description

Details

setAdvancedMachineFeatures(AdvancedMachineFeatures $advancedMachineFeatures)

No description

Parameters

AdvancedMachineFeatures $advancedMachineFeatures

AdvancedMachineFeatures getAdvancedMachineFeatures()

No description

setCanIpForward($canIpForward)

No description

Parameters

$canIpForward

bool getCanIpForward()

No description

Return Value

bool

setConfidentialInstanceConfig(ConfidentialInstanceConfig $confidentialInstanceConfig)

No description

Parameters

ConfidentialInstanceConfig $confidentialInstanceConfig

ConfidentialInstanceConfig getConfidentialInstanceConfig()

No description

setCpuPlatform($cpuPlatform)

No description

Parameters

$cpuPlatform

string getCpuPlatform()

No description

Return Value

string

setCreationTimestamp($creationTimestamp)

No description

Parameters

$creationTimestamp

string getCreationTimestamp()

No description

Return Value

string

setDeletionProtection($deletionProtection)

No description

Parameters

$deletionProtection

bool getDeletionProtection()

No description

Return Value

bool

setDescription($description)

No description

Parameters

$description

string getDescription()

No description

Return Value

string

setDisks($disks)

No description

Parameters

$disks

AttachedDisk[] getDisks()

No description

Return Value

AttachedDisk[]

setDisplayDevice(DisplayDevice $displayDevice)

No description

Parameters

DisplayDevice $displayDevice

DisplayDevice getDisplayDevice()

No description

Return Value

DisplayDevice

setFingerprint($fingerprint)

No description

Parameters

$fingerprint

string getFingerprint()

No description

Return Value

string

setGuestAccelerators($guestAccelerators)

No description

Parameters

$guestAccelerators

AcceleratorConfig[] getGuestAccelerators()

No description

Return Value

AcceleratorConfig[]

setHostname($hostname)

No description

Parameters

$hostname

string getHostname()

No description

Return Value

string

setId($id)

No description

Parameters

$id

string getId()

No description

Return Value

string

setInstanceEncryptionKey(CustomerEncryptionKey $instanceEncryptionKey)

No description

Parameters

CustomerEncryptionKey $instanceEncryptionKey

CustomerEncryptionKey getInstanceEncryptionKey()

No description

Return Value

CustomerEncryptionKey

setKeyRevocationActionType($keyRevocationActionType)

No description

Parameters

$keyRevocationActionType

string getKeyRevocationActionType()

No description

Return Value

string

setKind($kind)

No description

Parameters

$kind

string getKind()

No description

Return Value

string

setLabelFingerprint($labelFingerprint)

No description

Parameters

$labelFingerprint

string getLabelFingerprint()

No description

Return Value

string

setLabels($labels)

No description

Parameters

$labels

string[] getLabels()

No description

Return Value

string[]

setLastStartTimestamp($lastStartTimestamp)

No description

Parameters

$lastStartTimestamp

string getLastStartTimestamp()

No description

Return Value

string

setLastStopTimestamp($lastStopTimestamp)

No description

Parameters

$lastStopTimestamp

string getLastStopTimestamp()

No description

Return Value

string

setLastSuspendedTimestamp($lastSuspendedTimestamp)

No description

Parameters

$lastSuspendedTimestamp

string getLastSuspendedTimestamp()

No description

Return Value

string

setMachineType($machineType)

No description

Parameters

$machineType

string getMachineType()

No description

Return Value

string

setMetadata(Metadata $metadata)

No description

Parameters

Metadata $metadata

Metadata getMetadata()

No description

Return Value

Metadata

setMinCpuPlatform($minCpuPlatform)

No description

Parameters

$minCpuPlatform

string getMinCpuPlatform()

No description

Return Value

string

setName($name)

No description

Parameters

$name

string getName()

No description

Return Value

string

setNetworkInterfaces($networkInterfaces)

No description

Parameters

$networkInterfaces

NetworkInterface[] getNetworkInterfaces()

No description

Return Value

NetworkInterface[]

setNetworkPerformanceConfig(NetworkPerformanceConfig $networkPerformanceConfig)

No description

Parameters

NetworkPerformanceConfig $networkPerformanceConfig

NetworkPerformanceConfig getNetworkPerformanceConfig()

No description

setParams(InstanceParams $params)

No description

Parameters

InstanceParams $params

InstanceParams getParams()

No description

Return Value

InstanceParams

setPrivateIpv6GoogleAccess($privateIpv6GoogleAccess)

No description

Parameters

$privateIpv6GoogleAccess

string getPrivateIpv6GoogleAccess()

No description

Return Value

string

setReservationAffinity(ReservationAffinity $reservationAffinity)

No description

Parameters

ReservationAffinity $reservationAffinity

ReservationAffinity getReservationAffinity()

No description

Return Value

ReservationAffinity

setResourcePolicies($resourcePolicies)

No description

Parameters

$resourcePolicies

string[] getResourcePolicies()

No description

Return Value

string[]

setResourceStatus(ResourceStatus $resourceStatus)

No description

Parameters

ResourceStatus $resourceStatus

ResourceStatus getResourceStatus()

No description

Return Value

ResourceStatus

setSatisfiesPzi($satisfiesPzi)

No description

Parameters

$satisfiesPzi

bool getSatisfiesPzi()

No description

Return Value

bool

setSatisfiesPzs($satisfiesPzs)

No description

Parameters

$satisfiesPzs

bool getSatisfiesPzs()

No description

Return Value

bool

setScheduling(Scheduling $scheduling)

No description

Parameters

Scheduling $scheduling

Scheduling getScheduling()

No description

Return Value

Scheduling

No description

Parameters

$selfLink

No description

Return Value

string

setServiceAccounts($serviceAccounts)

No description

Parameters

$serviceAccounts

ServiceAccount[] getServiceAccounts()

No description

Return Value

ServiceAccount[]

setShieldedInstanceConfig(ShieldedInstanceConfig $shieldedInstanceConfig)

No description

Parameters

ShieldedInstanceConfig $shieldedInstanceConfig

ShieldedInstanceConfig getShieldedInstanceConfig()

No description

Return Value

ShieldedInstanceConfig

setShieldedInstanceIntegrityPolicy(ShieldedInstanceIntegrityPolicy $shieldedInstanceIntegrityPolicy)

No description

Parameters

ShieldedInstanceIntegrityPolicy $shieldedInstanceIntegrityPolicy

ShieldedInstanceIntegrityPolicy getShieldedInstanceIntegrityPolicy()

No description

setSourceMachineImage($sourceMachineImage)

No description

Parameters

$sourceMachineImage

string getSourceMachineImage()

No description

Return Value

string

setSourceMachineImageEncryptionKey(CustomerEncryptionKey $sourceMachineImageEncryptionKey)

No description

Parameters

CustomerEncryptionKey $sourceMachineImageEncryptionKey

CustomerEncryptionKey getSourceMachineImageEncryptionKey()

No description

Return Value

CustomerEncryptionKey

setStartRestricted($startRestricted)

No description

Parameters

$startRestricted

bool getStartRestricted()

No description

Return Value

bool

setStatus($status)

No description

Parameters

$status

string getStatus()

No description

Return Value

string

setStatusMessage($statusMessage)

No description

Parameters

$statusMessage

string getStatusMessage()

No description

Return Value

string

setTags(Tags $tags)

No description

Parameters

Tags $tags

Tags getTags()

No description

Return Value

Tags

setZone($zone)

No description

Parameters

$zone

string getZone()

No description

Return Value

string