Class RegistrationServiceGrpc.RegistrationServiceFutureStub

  • Enclosing class:
    RegistrationServiceGrpc

    public static final class RegistrationServiceGrpc.RegistrationServiceFutureStub
    extends io.grpc.stub.AbstractFutureStub<RegistrationServiceGrpc.RegistrationServiceFutureStub>
    A stub to allow clients to do ListenableFuture-style rpc calls to service RegistrationService.
     Service Directory API for registering services. It defines the following
     resource model:
     - The API has a collection of
     [Namespace][google.cloud.servicedirectory.v1.Namespace]
     resources, named `projects/*/locations/*/namespaces/*`.
     - Each Namespace has a collection of
     [Service][google.cloud.servicedirectory.v1.Service] resources, named
     `projects/*/locations/*/namespaces/*/services/*`.
     - Each Service has a collection of
     [Endpoint][google.cloud.servicedirectory.v1.Endpoint]
     resources, named
     `projects/*/locations/*/namespaces/*/services/*/endpoints/*`.
     
    • Method Detail

      • createNamespace

        public com.google.common.util.concurrent.ListenableFuture<Namespace> createNamespace​(CreateNamespaceRequest request)
         Creates a namespace, and returns the new namespace.
         
      • getNamespace

        public com.google.common.util.concurrent.ListenableFuture<Namespace> getNamespace​(GetNamespaceRequest request)
         Gets a namespace.
         
      • updateNamespace

        public com.google.common.util.concurrent.ListenableFuture<Namespace> updateNamespace​(UpdateNamespaceRequest request)
         Updates a namespace.
         
      • deleteNamespace

        public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteNamespace​(DeleteNamespaceRequest request)
         Deletes a namespace. This also deletes all services and endpoints in
         the namespace.
         
      • createService

        public com.google.common.util.concurrent.ListenableFuture<Service> createService​(CreateServiceRequest request)
         Creates a service, and returns the new service.
         
      • getService

        public com.google.common.util.concurrent.ListenableFuture<Service> getService​(GetServiceRequest request)
         Gets a service.
         
      • updateService

        public com.google.common.util.concurrent.ListenableFuture<Service> updateService​(UpdateServiceRequest request)
         Updates a service.
         
      • deleteService

        public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteService​(DeleteServiceRequest request)
         Deletes a service. This also deletes all endpoints associated with
         the service.
         
      • createEndpoint

        public com.google.common.util.concurrent.ListenableFuture<Endpoint> createEndpoint​(CreateEndpointRequest request)
         Creates an endpoint, and returns the new endpoint.
         
      • getEndpoint

        public com.google.common.util.concurrent.ListenableFuture<Endpoint> getEndpoint​(GetEndpointRequest request)
         Gets an endpoint.
         
      • updateEndpoint

        public com.google.common.util.concurrent.ListenableFuture<Endpoint> updateEndpoint​(UpdateEndpointRequest request)
         Updates an endpoint.
         
      • deleteEndpoint

        public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteEndpoint​(DeleteEndpointRequest request)
         Deletes an endpoint.
         
      • getIamPolicy

        public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> getIamPolicy​(com.google.iam.v1.GetIamPolicyRequest request)
         Gets the IAM Policy for a resource (namespace or service only).
         
      • setIamPolicy

        public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> setIamPolicy​(com.google.iam.v1.SetIamPolicyRequest request)
         Sets the IAM Policy for a resource (namespace or service only).
         
      • testIamPermissions

        public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse> testIamPermissions​(com.google.iam.v1.TestIamPermissionsRequest request)
         Tests IAM permissions for a resource (namespace or service only).