- Resource: Instance
- NodeConfig
- MemcacheVersion
- MemcacheParameters
- Node
- State
- State
- InstanceMessage
- Code
- MaintenancePolicy
- WeeklyMaintenanceWindow
- MaintenanceSchedule
- Methods
Resource: Instance
A Memorystore for Memcached instance
JSON representation |
---|
{ "name": string, "displayName": string, "labels": { string: string, ... }, "authorizedNetwork": string, "zones": [ string ], "nodeCount": integer, "nodeConfig": { object ( |
Fields | |
---|---|
name |
Required. Unique name of the resource in this scope including project and location using the form: Note: Memcached instances are managed and addressed at the regional level so |
displayName |
User provided name for the instance, which is only used for display purposes. Cannot be more than 80 characters. |
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 An object containing a list of |
authorizedNetwork |
The full name of the Google Compute Engine network to which the instance is connected. If left unspecified, the |
zones[] |
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. |
nodeCount |
Required. Number of nodes in the Memcached instance. |
nodeConfig |
Required. Configuration for Memcached nodes. |
memcacheVersion |
The major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is |
parameters |
User defined parameters to apply to the memcached process on each node. |
memcacheNodes[] |
Output only. List of Memcached nodes. Refer to |
createTime |
Output only. The time the instance was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The time the instance was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
state |
Output only. The state of this Memcached instance. |
memcacheFullVersion |
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". |
instanceMessages[] |
List of messages that describe the current state of the Memcached instance. |
discoveryEndpoint |
Output only. Endpoint for the Discovery API. |
maintenancePolicy |
The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule. |
maintenanceSchedule |
Output only. Published maintenance schedule. |
reservedIpRangeId[] |
Optional. Contains the id of allocated IP address ranges associated with the private service access connection for example, "test-default" associated with IP range 10.0.0.0/29. |
NodeConfig
Configuration for a Memcached Node.
JSON representation |
---|
{ "cpuCount": integer, "memorySizeMb": integer } |
Fields | |
---|---|
cpuCount |
Required. Number of cpus per Memcached node. |
memorySizeMb |
Required. Memory size in MiB for each Memcached node. |
MemcacheVersion
Memcached versions supported by our service.
Enums | |
---|---|
MEMCACHE_VERSION_UNSPECIFIED |
Memcache version is not specified by customer |
MEMCACHE_1_5 |
Memcached 1.5 version. |
MEMCACHE_1_6_15 |
Memcached 1.6.15 version. |
MemcacheParameters
JSON representation |
---|
{ "id": string, "params": { string: string, ... } } |
Fields | |
---|---|
id |
Output only. The unique ID associated with this set of parameters. Users can use this id to determine if the parameters associated with the instance differ from the parameters associated with the nodes. A discrepancy between parameter ids can inform users that they may need to take action to apply parameters on nodes. |
params |
User defined set of parameters to use in the memcached process. An object containing a list of |
Node
JSON representation |
---|
{ "nodeId": string, "zone": string, "state": enum ( |
Fields | |
---|---|
nodeId |
Output only. Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name. |
zone |
Output only. Location (GCP Zone) for the Memcached node. |
state |
Output only. Current state of the Memcached node. |
host |
Output only. Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node. |
port |
Output only. The port number of the Memcached server on this node. |
parameters |
User defined parameters currently applied to the node. |
memcacheVersion |
Output only. Major version of memcached server running on this node, e.g. MEMCACHE_1_5 |
memcacheFullVersion |
Output only. The full version of memcached server running on this node. e.g. - memcached-1.5.16 |
State
Different states of a Memcached node.
Enums | |
---|---|
STATE_UNSPECIFIED |
Node state is not set. |
CREATING |
Node is being created. |
READY |
Node has been created and ready to be used. |
DELETING |
Node is being deleted. |
UPDATING |
Node is being updated. |
State
Different states of a Memcached instance.
Enums | |
---|---|
STATE_UNSPECIFIED |
State not set. |
CREATING |
Memcached instance is being created. |
READY |
Memcached instance has been created and ready to be used. |
UPDATING |
Memcached instance is updating configuration such as maintenance policy and schedule. |
DELETING |
Memcached instance is being deleted. |
PERFORMING_MAINTENANCE |
Memcached instance is going through maintenance, e.g. data plane rollout. |
MEMCACHE_VERSION_UPGRADING |
Memcached instance is undergoing memcached engine version upgrade. |
InstanceMessage
JSON representation |
---|
{
"code": enum ( |
Fields | |
---|---|
code |
A code that correspond to one type of user-facing message. |
message |
Message on memcached instance which will be exposed to users. |
Code
Enums | |
---|---|
CODE_UNSPECIFIED |
Message Code not set. |
ZONE_DISTRIBUTION_UNBALANCED |
Memcached nodes are distributed unevenly. |
MaintenancePolicy
Maintenance policy per instance.
JSON representation |
---|
{
"createTime": string,
"updateTime": string,
"description": string,
"weeklyMaintenanceWindow": [
{
object ( |
Fields | |
---|---|
createTime |
Output only. The time when the policy was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The time when the policy was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
description |
Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512. |
weeklyMaintenanceWindow[] |
Required. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_maintenance_windows is expected to be one. |
WeeklyMaintenanceWindow
Time window specified for weekly operations.
JSON representation |
---|
{ "day": enum ( |
Fields | |
---|---|
day |
Required. Allows to define schedule that runs specified day of the week. |
startTime |
Required. Start time of the window in UTC. |
duration |
Required. Duration of the time window. A duration in seconds with up to nine fractional digits, ending with ' |
MaintenanceSchedule
Upcoming maintenance schedule.
JSON representation |
---|
{ "startTime": string, "endTime": string, "scheduleDeadlineTime": string } |
Fields | |
---|---|
startTime |
Output only. The start time of any upcoming scheduled maintenance for this instance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
endTime |
Output only. The end time of any upcoming scheduled maintenance for this instance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
scheduleDeadlineTime |
Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Methods |
|
---|---|
|
ApplyParameters restarts the set of specified nodes in order to update them to the current set of parameters for the Memcached Instance. |
|
Creates a new Instance in a given location. |
|
Deletes a single Instance. |
|
Gets details of a single Instance. |
|
Lists Instances in a given location. |
|
Updates an existing Instance in a given project and location. |
|
Reschedules upcoming maintenance event. |
|
Updates the defined Memcached parameters for an existing instance. |
|
Upgrades the Memcache instance to a newer memcached engine version specified in the request. |