Cloud Memorystore for Memcached v1 API - Class Instance (2.2.0)

public sealed class Instance : IMessage<Instance>, IEquatable<Instance>, IDeepCloneable<Instance>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Memorystore for Memcached v1 API class Instance.

A Memorystore for Memcached instance

Inheritance

Object > Instance

Namespace

Google.Cloud.Memcache.V1

Assembly

Google.Cloud.Memcache.V1.dll

Constructors

Instance()

public Instance()

Instance(Instance)

public Instance(Instance other)
Parameter
NameDescription
otherInstance

Properties

AuthorizedNetwork

public string AuthorizedNetwork { get; set; }

The full name of the Google Compute Engine network to which the instance is connected. If left unspecified, the default network will be used.

Property Value
TypeDescription
String

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The time the instance was created.

Property Value
TypeDescription
Timestamp

DiscoveryEndpoint

public string DiscoveryEndpoint { get; set; }

Output only. Endpoint for the Discovery API.

Property Value
TypeDescription
String

DisplayName

public string DisplayName { get; set; }

User provided name for the instance, which is only used for display purposes. Cannot be more than 80 characters.

Property Value
TypeDescription
String

InstanceMessages

public RepeatedField<Instance.Types.InstanceMessage> InstanceMessages { get; }

List of messages that describe the current state of the Memcached instance.

Property Value
TypeDescription
RepeatedField<Instance.Types.InstanceMessage>

InstanceName

public InstanceName InstanceName { get; set; }

InstanceName-typed view over the Name resource name property.

Property Value
TypeDescription
InstanceName

Labels

public MapField<string, string> Labels { get; }

Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources

Property Value
TypeDescription
MapField<String, String>

MaintenancePolicy

public MaintenancePolicy MaintenancePolicy { get; set; }

The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.

Property Value
TypeDescription
MaintenancePolicy

MaintenanceSchedule

public MaintenanceSchedule MaintenanceSchedule { get; set; }

Output only. Published maintenance schedule.

Property Value
TypeDescription
MaintenanceSchedule

MemcacheFullVersion

public string MemcacheFullVersion { get; set; }

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".

Property Value
TypeDescription
String

MemcacheNodes

public RepeatedField<Instance.Types.Node> MemcacheNodes { get; }

Output only. List of Memcached nodes. Refer to [Node][google.cloud.memcache.v1.Instance.Node] message for more details.

Property Value
TypeDescription
RepeatedField<Instance.Types.Node>

MemcacheVersion

public MemcacheVersion MemcacheVersion { get; set; }

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.

Property Value
TypeDescription
MemcacheVersion

Name

public string Name { get; set; }

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 the regional level so location_id here refers to a Google Cloud region; however, users may choose which zones Memcached nodes should be provisioned in within an instance. Refer to [zones][google.cloud.memcache.v1.Instance.zones] field for more details.

Property Value
TypeDescription
String

NodeConfig

public Instance.Types.NodeConfig NodeConfig { get; set; }

Required. Configuration for Memcached nodes.

Property Value
TypeDescription
Instance.Types.NodeConfig

NodeCount

public int NodeCount { get; set; }

Required. Number of nodes in the Memcached instance.

Property Value
TypeDescription
Int32

Parameters

public MemcacheParameters Parameters { get; set; }

User defined parameters to apply to the memcached process on each node.

Property Value
TypeDescription
MemcacheParameters

State

public Instance.Types.State State { get; set; }

Output only. The state of this Memcached instance.

Property Value
TypeDescription
Instance.Types.State

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The time the instance was updated.

Property Value
TypeDescription
Timestamp

Zones

public RepeatedField<string> Zones { get; }

Zones in which Memcached nodes should be provisioned. 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.

Property Value
TypeDescription
RepeatedField<String>