public static final class CloudMemcacheGrpc.CloudMemcacheStub extends io.grpc.stub.AbstractAsyncStub<CloudMemcacheGrpc.CloudMemcacheStub>
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`
| Modifier and Type | Method and Description |
|---|---|
void |
applyParameters(ApplyParametersRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
`ApplyParameters` restarts the set of specified nodes in order to update
them to the current set of parameters for the Memcached Instance.
|
void |
applySoftwareUpdate(ApplySoftwareUpdateRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates software on the selected nodes of the Instance.
|
protected CloudMemcacheGrpc.CloudMemcacheStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
createInstance(CreateInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new Instance in a given location.
|
void |
deleteInstance(DeleteInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a single Instance.
|
void |
getInstance(GetInstanceRequest request,
io.grpc.stub.StreamObserver<Instance> responseObserver)
Gets details of a single Instance.
|
void |
listInstances(ListInstancesRequest request,
io.grpc.stub.StreamObserver<ListInstancesResponse> responseObserver)
Lists Instances in a given location.
|
void |
rescheduleMaintenance(RescheduleMaintenanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Performs the apply phase of the RescheduleMaintenance verb.
|
void |
updateInstance(UpdateInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates an existing Instance in a given project and location.
|
void |
updateParameters(UpdateParametersRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the defined Memcached parameters for an existing instance.
|
protected CloudMemcacheGrpc.CloudMemcacheStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<CloudMemcacheGrpc.CloudMemcacheStub>public void listInstances(ListInstancesRequest request, io.grpc.stub.StreamObserver<ListInstancesResponse> responseObserver)
Lists Instances in a given location.
public void getInstance(GetInstanceRequest request, io.grpc.stub.StreamObserver<Instance> responseObserver)
Gets details of a single Instance.
public void createInstance(CreateInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new Instance in a given location.
public void updateInstance(UpdateInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates an existing Instance in a given project and location.
public void updateParameters(UpdateParametersRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.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.
public void deleteInstance(DeleteInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a single Instance.
public void applyParameters(ApplyParametersRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
`ApplyParameters` restarts the set of specified nodes in order to update them to the current set of parameters for the Memcached Instance.
public void applySoftwareUpdate(ApplySoftwareUpdateRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates software on the selected nodes of the Instance.
public void rescheduleMaintenance(RescheduleMaintenanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Performs the apply phase of the RescheduleMaintenance verb.
Copyright © 2023 Google LLC. All rights reserved.