Class Instance (0.1.4)

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

A resource that represents a Secure Source Manager instance.

Attributes

NameDescription
name str
Optional. A unique identifier for an instance. The name should be of the format: projects/{project_number}/locations/{location_id}/instances/{instance_id} project_number: Maps to a unique int64 id assigned to each project. location_id: Refers to the region where the instance will be deployed. Since Secure Source Manager is a regional service, it must be one of the valid GCP regions. instance_id: User provided name for the instance, must be unique for a project_number and location_id combination.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Create timestamp.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Update timestamp.
labels MutableMapping[str, str]
Optional. Labels as key value pairs.
state google.cloud.securesourcemanager_v1.types.Instance.State
Output only. Current state of the instance.
state_note google.cloud.securesourcemanager_v1.types.Instance.StateNote
Output only. An optional field providing information about the current instance state.
kms_key str
Optional. Immutable. Customer-managed encryption key name, in the format projects/\ */locations/*/keyRings/*/cryptoKeys/*.
host_config google.cloud.securesourcemanager_v1.types.Instance.HostConfig
Output only. A list of hostnames for this instance.

Classes

HostConfig

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

HostConfig has different instance endpoints.

LabelsEntry

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

The abstract base class for a message.

Parameters
NameDescription
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)

Secure Source Manager instance state.

Values: STATE_UNSPECIFIED (0): Not set. This should only be the case for incoming requests. CREATING (1): Instance is being created. ACTIVE (2): Instance is ready. DELETING (3): Instance is being deleted. PAUSED (4): Instance is paused.

StateNote

StateNote(value)

Provides information about the current instance state.

Values: STATE_NOTE_UNSPECIFIED (0): STATE_NOTE_UNSPECIFIED as the first value of State. PAUSED_CMEK_UNAVAILABLE (1): CMEK access is unavailable. INSTANCE_RESUMING (2): INSTANCE_RESUMING indicates that the instance was previously paused and is under the process of being brought back.