Class CloudMemcacheGrpc.CloudMemcacheBlockingV2Stub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<CloudMemcacheGrpc.CloudMemcacheBlockingV2Stub>
com.google.cloud.memcache.v1beta2.CloudMemcacheGrpc.CloudMemcacheBlockingV2Stub
Enclosing class:
CloudMemcacheGrpc

public static final class CloudMemcacheGrpc.CloudMemcacheBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<CloudMemcacheGrpc.CloudMemcacheBlockingV2Stub>
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`
 
  • Method Details

    • build

      protected CloudMemcacheGrpc.CloudMemcacheBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<CloudMemcacheGrpc.CloudMemcacheBlockingV2Stub>
    • listInstances

      public ListInstancesResponse listInstances(ListInstancesRequest request) throws io.grpc.StatusException
       Lists Instances in a given location.
       
      Throws:
      io.grpc.StatusException
    • getInstance

      public Instance getInstance(GetInstanceRequest request) throws io.grpc.StatusException
       Gets details of a single Instance.
       
      Throws:
      io.grpc.StatusException
    • createInstance

      public Operation createInstance(CreateInstanceRequest request) throws io.grpc.StatusException
       Creates a new Instance in a given location.
       
      Throws:
      io.grpc.StatusException
    • updateInstance

      public Operation updateInstance(UpdateInstanceRequest request) throws io.grpc.StatusException
       Updates an existing Instance in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • updateParameters

      public Operation updateParameters(UpdateParametersRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • deleteInstance

      public Operation deleteInstance(DeleteInstanceRequest request) throws io.grpc.StatusException
       Deletes a single Instance.
       
      Throws:
      io.grpc.StatusException
    • applyParameters

      public Operation applyParameters(ApplyParametersRequest request) throws io.grpc.StatusException
       `ApplyParameters` restarts the set of specified nodes in order to update
       them to the current set of parameters for the Memcached Instance.
       
      Throws:
      io.grpc.StatusException
    • applySoftwareUpdate

      public Operation applySoftwareUpdate(ApplySoftwareUpdateRequest request) throws io.grpc.StatusException
       Updates software on the selected nodes of the Instance.
       
      Throws:
      io.grpc.StatusException
    • rescheduleMaintenance

      public Operation rescheduleMaintenance(RescheduleMaintenanceRequest request) throws io.grpc.StatusException
       Performs the apply phase of the RescheduleMaintenance verb.
       
      Throws:
      io.grpc.StatusException