Class CloudMemcacheGrpc.CloudMemcacheBlockingStub (2.29.0)

public static final class CloudMemcacheGrpc.CloudMemcacheBlockingStub extends AbstractBlockingStub<CloudMemcacheGrpc.CloudMemcacheBlockingStub>

A stub to allow clients to do synchronous rpc calls to service CloudMemcache.

Configures and manages Cloud Memorystore for Memcached instances. The memcache.googleapis.com service implements the Google Cloud Memorystore for Memcached API and defines the following resource model for managing Memorystore Memcached (also called Memcached below) instances:

  • The service works with a collection of cloud projects, named: /projects/*
  • Each project has a collection of available locations, named: /locations/*
  • Each location has a collection of Memcached instances, named: /instances/*
  • As such, Memcached instances are resources of the form: /projects/{project_id}/locations/{location_id}/instances/{instance_id} Note that location_id must be a GCP region; for example:
  • projects/my-memcached-project/locations/us-central1/instances/my-memcached

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > CloudMemcacheGrpc.CloudMemcacheBlockingStub

Methods

applyParameters(ApplyParametersRequest request)

public Operation applyParameters(ApplyParametersRequest request)

ApplyParameters restarts the set of specified nodes in order to update them to the current set of parameters for the Memcached Instance.

Parameter
NameDescription
requestApplyParametersRequest
Returns
TypeDescription
Operation

applySoftwareUpdate(ApplySoftwareUpdateRequest request)

public Operation applySoftwareUpdate(ApplySoftwareUpdateRequest request)

Updates software on the selected nodes of the Instance.

Parameter
NameDescription
requestApplySoftwareUpdateRequest
Returns
TypeDescription
Operation

build(Channel channel, CallOptions callOptions)

protected CloudMemcacheGrpc.CloudMemcacheBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
CloudMemcacheGrpc.CloudMemcacheBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createInstance(CreateInstanceRequest request)

public Operation createInstance(CreateInstanceRequest request)

Creates a new Instance in a given location.

Parameter
NameDescription
requestCreateInstanceRequest
Returns
TypeDescription
Operation

deleteInstance(DeleteInstanceRequest request)

public Operation deleteInstance(DeleteInstanceRequest request)

Deletes a single Instance.

Parameter
NameDescription
requestDeleteInstanceRequest
Returns
TypeDescription
Operation

getInstance(GetInstanceRequest request)

public Instance getInstance(GetInstanceRequest request)

Gets details of a single Instance.

Parameter
NameDescription
requestGetInstanceRequest
Returns
TypeDescription
Instance

listInstances(ListInstancesRequest request)

public ListInstancesResponse listInstances(ListInstancesRequest request)

Lists Instances in a given location.

Parameter
NameDescription
requestListInstancesRequest
Returns
TypeDescription
ListInstancesResponse

rescheduleMaintenance(RescheduleMaintenanceRequest request)

public Operation rescheduleMaintenance(RescheduleMaintenanceRequest request)

Performs the apply phase of the RescheduleMaintenance verb.

Parameter
NameDescription
requestRescheduleMaintenanceRequest
Returns
TypeDescription
Operation

updateInstance(UpdateInstanceRequest request)

public Operation updateInstance(UpdateInstanceRequest request)

Updates an existing Instance in a given project and location.

Parameter
NameDescription
requestUpdateInstanceRequest
Returns
TypeDescription
Operation

updateParameters(UpdateParametersRequest request)

public Operation updateParameters(UpdateParametersRequest request)

Updates the defined Memcached parameters for an existing instance. This method only stages the parameters, it must be followed by ApplyParameters to apply the parameters to nodes of the Memcached instance.

Parameter
NameDescription
requestUpdateParametersRequest
Returns
TypeDescription
Operation