Class Instance

Attributes
NameDescription
strname
Required. Unique name of the resource in this scope including project and location using the form: ``projects/{project_id}/locations/{location_id}/instances/{instance_id}`` Note: Memcached instances are managed and addressed at regional level so location_id here refers to a GCP region; however, users may choose which zones Memcached nodes within an instances should be provisioned in. Refer to [zones] field for more details.
strdisplay_name
User provided name for the instance only used for display purposes. Cannot be more than 80 characters.
Sequence[google.cloud.memcache_v1.types.Instance.LabelsEntry]labels
Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling- resources
strauthorized_network
The full name of the Google Compute Engine `network `__ to which the instance is connected. If left unspecified, the ``default`` network will be used.
Sequence[str]zones
Zones where Memcached nodes should be provisioned in. Memcached nodes will be equally distributed across these zones. If not provided, the service will by default create nodes in all zones in the region for the instance.
intnode_count
Required. Number of nodes in the Memcached instance.
google.cloud.memcache_v1.types.Instance.NodeConfignode_config
Required. Configuration for Memcached nodes.
google.cloud.memcache_v1.types.MemcacheVersionmemcache_version
The major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is MEMCACHE_1_5. The minor version will be automatically determined by our system based on the latest supported minor version.
google.cloud.memcache_v1.types.MemcacheParametersparameters
Optional: User defined parameters to apply to the memcached process on each node.
Sequence[google.cloud.memcache_v1.types.Instance.Node]memcache_nodes
Output only. List of Memcached nodes. Refer to [Node] message for more details.
google.protobuf.timestamp_pb2.Timestampcreate_time
Output only. The time the instance was created.
google.protobuf.timestamp_pb2.Timestampupdate_time
Output only. The time the instance was updated.
google.cloud.memcache_v1.types.Instance.Statestate
Output only. The state of this Memcached instance.
strmemcache_full_version
Output only. The full version of memcached server running on this instance. System automatically determines the full memcached version for an instance based on the input MemcacheVersion. The full version format will be "memcached-1.5.16".
Sequence[google.cloud.memcache_v1.types.Instance.InstanceMessage]instance_messages
List of messages that describe current statuses of memcached instance.
strdiscovery_endpoint
Output only. Endpoint for Discovery API

Inheritance

builtins.object > proto.message.Message > Instance

Classes

InstanceMessage

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

LabelsEntry

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

API documentation for LabelsEntry class.

Node

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

NodeConfig

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

Configuration for a Memcached Node.

State

State(value)

Different states of a Memcached instance.