- 2.48.0 (latest)
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.6
- 2.2.1
- 2.1.11
public static final class CloudMemcacheGrpc.CloudMemcacheStub extends AbstractAsyncStub<CloudMemcacheGrpc.CloudMemcacheStub>
A stub to allow clients to do asynchronous 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 GCPregion
; for example: projects/my-memcached-project/locations/us-central1/instances/my-memcached
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > CloudMemcacheGrpc.CloudMemcacheStubMethods
applyParameters(ApplyParametersRequest request, StreamObserver<Operation> responseObserver)
public void applyParameters(ApplyParametersRequest request, StreamObserver<Operation> responseObserver)
ApplyParameters
restarts the set of specified nodes in order to update
them to the current set of parameters for the Memcached Instance.
Parameters | |
---|---|
Name | Description |
request | ApplyParametersRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
build(Channel channel, CallOptions callOptions)
protected CloudMemcacheGrpc.CloudMemcacheStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel | io.grpc.Channel |
callOptions | io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
CloudMemcacheGrpc.CloudMemcacheStub |
createInstance(CreateInstanceRequest request, StreamObserver<Operation> responseObserver)
public void createInstance(CreateInstanceRequest request, StreamObserver<Operation> responseObserver)
Creates a new Instance in a given location.
Parameters | |
---|---|
Name | Description |
request | CreateInstanceRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
deleteInstance(DeleteInstanceRequest request, StreamObserver<Operation> responseObserver)
public void deleteInstance(DeleteInstanceRequest request, StreamObserver<Operation> responseObserver)
Deletes a single Instance.
Parameters | |
---|---|
Name | Description |
request | DeleteInstanceRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)
public void getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)
Gets details of a single Instance.
Parameters | |
---|---|
Name | Description |
request | GetInstanceRequest |
responseObserver | io.grpc.stub.StreamObserver<Instance> |
listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)
public void listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)
Lists Instances in a given location.
Parameters | |
---|---|
Name | Description |
request | ListInstancesRequest |
responseObserver | io.grpc.stub.StreamObserver<ListInstancesResponse> |
rescheduleMaintenance(RescheduleMaintenanceRequest request, StreamObserver<Operation> responseObserver)
public void rescheduleMaintenance(RescheduleMaintenanceRequest request, StreamObserver<Operation> responseObserver)
Reschedules upcoming maintenance event.
Parameters | |
---|---|
Name | Description |
request | RescheduleMaintenanceRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
updateInstance(UpdateInstanceRequest request, StreamObserver<Operation> responseObserver)
public void updateInstance(UpdateInstanceRequest request, StreamObserver<Operation> responseObserver)
Updates an existing Instance in a given project and location.
Parameters | |
---|---|
Name | Description |
request | UpdateInstanceRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
updateParameters(UpdateParametersRequest request, StreamObserver<Operation> responseObserver)
public void updateParameters(UpdateParametersRequest request, StreamObserver<Operation> responseObserver)
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.
Parameters | |
---|---|
Name | Description |
request | UpdateParametersRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |