Reference documentation and code samples for the Google Cloud Memorystore for Memcached V1 API class Google::Cloud::Memcache::V1::Instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#authorized_network
def authorized_network() -> ::String
-
(::String) — The full name of the Google Compute Engine
network to which the
instance is connected. If left unspecified, the
default
network will be used.
#authorized_network=
def authorized_network=(value) -> ::String
-
value (::String) — The full name of the Google Compute Engine
network to which the
instance is connected. If left unspecified, the
default
network will be used.
-
(::String) — The full name of the Google Compute Engine
network to which the
instance is connected. If left unspecified, the
default
network will be used.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time the instance was created.
#discovery_endpoint
def discovery_endpoint() -> ::String
- (::String) — Output only. Endpoint for Discovery API
#display_name
def display_name() -> ::String
- (::String) — User provided name for the instance only used for display purposes. Cannot be more than 80 characters.
#display_name=
def display_name=(value) -> ::String
- value (::String) — User provided name for the instance only used for display purposes. Cannot be more than 80 characters.
- (::String) — User provided name for the instance only used for display purposes. Cannot be more than 80 characters.
#instance_messages
def instance_messages() -> ::Array<::Google::Cloud::Memcache::V1::Instance::InstanceMessage>
- (::Array<::Google::Cloud::Memcache::V1::Instance::InstanceMessage>) — List of messages that describe current statuses of memcached instance.
#instance_messages=
def instance_messages=(value) -> ::Array<::Google::Cloud::Memcache::V1::Instance::InstanceMessage>
- value (::Array<::Google::Cloud::Memcache::V1::Instance::InstanceMessage>) — List of messages that describe current statuses of memcached instance.
- (::Array<::Google::Cloud::Memcache::V1::Instance::InstanceMessage>) — List of messages that describe current statuses of memcached instance.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
- (::Google::Protobuf::Map{::String => ::String}) — Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
#memcache_full_version
def memcache_full_version() -> ::String
- (::String) — 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".
#memcache_nodes
def memcache_nodes() -> ::Array<::Google::Cloud::Memcache::V1::Instance::Node>
- (::Array<::Google::Cloud::Memcache::V1::Instance::Node>) — Output only. List of Memcached nodes. Refer to [Node] message for more details.
#memcache_version
def memcache_version() -> ::Google::Cloud::Memcache::V1::MemcacheVersion
- (::Google::Cloud::Memcache::V1::MemcacheVersion) — 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.
#memcache_version=
def memcache_version=(value) -> ::Google::Cloud::Memcache::V1::MemcacheVersion
- value (::Google::Cloud::Memcache::V1::MemcacheVersion) — 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::MemcacheVersion) — 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.
#name
def name() -> ::String
-
(::String) — 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.
#name=
def name=(value) -> ::String
-
value (::String) — 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.
-
(::String) — 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.
#node_config
def node_config() -> ::Google::Cloud::Memcache::V1::Instance::NodeConfig
- (::Google::Cloud::Memcache::V1::Instance::NodeConfig) — Required. Configuration for Memcached nodes.
#node_config=
def node_config=(value) -> ::Google::Cloud::Memcache::V1::Instance::NodeConfig
- value (::Google::Cloud::Memcache::V1::Instance::NodeConfig) — Required. Configuration for Memcached nodes.
- (::Google::Cloud::Memcache::V1::Instance::NodeConfig) — Required. Configuration for Memcached nodes.
#node_count
def node_count() -> ::Integer
- (::Integer) — Required. Number of nodes in the Memcached instance.
#node_count=
def node_count=(value) -> ::Integer
- value (::Integer) — Required. Number of nodes in the Memcached instance.
- (::Integer) — Required. Number of nodes in the Memcached instance.
#parameters
def parameters() -> ::Google::Cloud::Memcache::V1::MemcacheParameters
- (::Google::Cloud::Memcache::V1::MemcacheParameters) — Optional: User defined parameters to apply to the memcached process on each node.
#parameters=
def parameters=(value) -> ::Google::Cloud::Memcache::V1::MemcacheParameters
- value (::Google::Cloud::Memcache::V1::MemcacheParameters) — Optional: User defined parameters to apply to the memcached process on each node.
- (::Google::Cloud::Memcache::V1::MemcacheParameters) — Optional: User defined parameters to apply to the memcached process on each node.
#state
def state() -> ::Google::Cloud::Memcache::V1::Instance::State
- (::Google::Cloud::Memcache::V1::Instance::State) — Output only. The state of this Memcached instance.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time the instance was updated.
#zones
def zones() -> ::Array<::String>
- (::Array<::String>) — 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.
#zones=
def zones=(value) -> ::Array<::String>
- value (::Array<::String>) — 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.
- (::Array<::String>) — 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.