Reference documentation and code samples for the Google Cloud License Manager V1 Client class Instance.
Message describing Instance object
Generated from protobuf message google.cloud.licensemanager.v1.Instance
Namespace
Google \ Cloud \ LicenseManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. name of resource
↳ create_time
↳ update_time
↳ labels
↳ state
int
Output only. The state of the VM.
↳ region
string
Output only. The location of the VM.
↳ product_activation
array| Google\Protobuf\Internal\MapField
Output only. Map with Product_Name and Activation State of the VM.
↳ license_version_id
string
Output only. license version id.
↳ compute_instance
string
Required. Compute Instance resource name, i.e. projects/{project}/zones/{zone}/instances/{instance}
getName
Identifier. name of resource
string
setName
Identifier. name of resource
var
string
$this
getCreateTime
Output only. [Output only] Create time stamp
hasCreateTime
clearCreateTime
setCreateTime
Output only. [Output only] Create time stamp
$this
getUpdateTime
Output only. [Output only] Update time stamp
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. [Output only] Update time stamp
$this
getLabels
Optional. Labels as key value pairs
setLabels
Optional. Labels as key value pairs
$this
getState
Output only. The state of the VM.
int
setState
Output only. The state of the VM.
var
int
$this
getRegion
Output only. The location of the VM.
string
setRegion
Output only. The location of the VM.
var
string
$this
getProductActivation
Output only. Map with Product_Name and Activation State of the VM.
setProductActivation
Output only. Map with Product_Name and Activation State of the VM.
$this
getLicenseVersionId
Output only. license version id.
string
setLicenseVersionId
Output only. license version id.
var
string
$this
getComputeInstance
Required. Compute Instance resource name, i.e.
projects/{project}/zones/{zone}/instances/{instance}
string
setComputeInstance
Required. Compute Instance resource name, i.e.
projects/{project}/zones/{zone}/instances/{instance}
var
string
$this