Class Instance (0.1.0)

Instance(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message describing Instance object

Attributes

Name Description
name str
Identifier. name of resource
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. [Output only] Create time stamp
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. [Output only] Update time stamp
labels MutableMapping[str, str]
Optional. Labels as key value pairs
state google.cloud.licensemanager_v1.types.Instance.State
Output only. The state of the VM.
region str
Output only. The location of the VM.
product_activation MutableMapping[str, google.cloud.licensemanager_v1.types.ActivationState]
Output only. Map with Product_Name and Activation State of the VM.
license_version_id str
Output only. license version id.
compute_instance str
Required. Compute Instance resource name, i.e. projects/{project}/zones/{zone}/instances/{instance}

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

ProductActivationEntry

ProductActivationEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

State

State(value)

VM status enum.