Class CloudMemcacheGrpc.CloudMemcacheFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<CloudMemcacheGrpc.CloudMemcacheFutureStub>
-
- com.google.cloud.memcache.v1beta2.CloudMemcacheGrpc.CloudMemcacheFutureStub
-
- Enclosing class:
- CloudMemcacheGrpc
public static final class CloudMemcacheGrpc.CloudMemcacheFutureStub extends io.grpc.stub.AbstractFutureStub<CloudMemcacheGrpc.CloudMemcacheFutureStub>
A stub to allow clients to do ListenableFuture-style 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`
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.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.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
applySoftwareUpdate(ApplySoftwareUpdateRequest request)
Updates software on the selected nodes of the Instance.protected CloudMemcacheGrpc.CloudMemcacheFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
createInstance(CreateInstanceRequest request)
Creates a new Instance in a given location.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
deleteInstance(DeleteInstanceRequest request)
Deletes a single Instance.com.google.common.util.concurrent.ListenableFuture<Instance>
getInstance(GetInstanceRequest request)
Gets details of a single Instance.com.google.common.util.concurrent.ListenableFuture<ListInstancesResponse>
listInstances(ListInstancesRequest request)
Lists Instances in a given location.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
rescheduleMaintenance(RescheduleMaintenanceRequest request)
Performs the apply phase of the RescheduleMaintenance verb.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
updateInstance(UpdateInstanceRequest request)
Updates an existing Instance in a given project and location.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
updateParameters(UpdateParametersRequest request)
Updates the defined Memcached parameters for an existing instance.
-
-
-
Method Detail
-
build
protected CloudMemcacheGrpc.CloudMemcacheFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<CloudMemcacheGrpc.CloudMemcacheFutureStub>
-
listInstances
public com.google.common.util.concurrent.ListenableFuture<ListInstancesResponse> listInstances(ListInstancesRequest request)
Lists Instances in a given location.
-
getInstance
public com.google.common.util.concurrent.ListenableFuture<Instance> getInstance(GetInstanceRequest request)
Gets details of a single Instance.
-
createInstance
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createInstance(CreateInstanceRequest request)
Creates a new Instance in a given location.
-
updateInstance
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateInstance(UpdateInstanceRequest request)
Updates an existing Instance in a given project and location.
-
updateParameters
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.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.
-
deleteInstance
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteInstance(DeleteInstanceRequest request)
Deletes a single Instance.
-
applyParameters
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.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.
-
applySoftwareUpdate
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> applySoftwareUpdate(ApplySoftwareUpdateRequest request)
Updates software on the selected nodes of the Instance.
-
rescheduleMaintenance
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> rescheduleMaintenance(RescheduleMaintenanceRequest request)
Performs the apply phase of the RescheduleMaintenance verb.
-
-