Class RegistrationServiceGrpc.RegistrationServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<RegistrationServiceGrpc.RegistrationServiceBlockingStub>
-
- com.google.cloud.servicedirectory.v1beta1.RegistrationServiceGrpc.RegistrationServiceBlockingStub
-
- Enclosing class:
- RegistrationServiceGrpc
public static final class RegistrationServiceGrpc.RegistrationServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<RegistrationServiceGrpc.RegistrationServiceBlockingStub>
A stub to allow clients to do synchronous 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.v1beta1.Namespace] resources, named `projects/*/locations/*/namespaces/*`. - Each Namespace has a collection of [Service][google.cloud.servicedirectory.v1beta1.Service] resources, named `projects/*/locations/*/namespaces/*/services/*`. - Each Service has a collection of [Endpoint][google.cloud.servicedirectory.v1beta1.Endpoint] resources, named `projects/*/locations/*/namespaces/*/services/*/endpoints/*`.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RegistrationServiceGrpc.RegistrationServiceBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)EndpointcreateEndpoint(CreateEndpointRequest request)Creates an endpoint, and returns the new endpoint.NamespacecreateNamespace(CreateNamespaceRequest request)Creates a namespace, and returns the new namespace.ServicecreateService(CreateServiceRequest request)Creates a service, and returns the new service.com.google.protobuf.EmptydeleteEndpoint(DeleteEndpointRequest request)Deletes an endpoint.com.google.protobuf.EmptydeleteNamespace(DeleteNamespaceRequest request)Deletes a namespace.com.google.protobuf.EmptydeleteService(DeleteServiceRequest request)Deletes a service.EndpointgetEndpoint(GetEndpointRequest request)Gets an endpoint.com.google.iam.v1.PolicygetIamPolicy(com.google.iam.v1.GetIamPolicyRequest request)Gets the IAM Policy for a resourceNamespacegetNamespace(GetNamespaceRequest request)Gets a namespace.ServicegetService(GetServiceRequest request)Gets a service.ListEndpointsResponselistEndpoints(ListEndpointsRequest request)Lists all endpoints.ListNamespacesResponselistNamespaces(ListNamespacesRequest request)Lists all namespaces.ListServicesResponselistServices(ListServicesRequest request)Lists all services belonging to a namespace.com.google.iam.v1.PolicysetIamPolicy(com.google.iam.v1.SetIamPolicyRequest request)Sets the IAM Policy for a resourcecom.google.iam.v1.TestIamPermissionsResponsetestIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request)Tests IAM permissions for a resource (namespace, service or service workload only).EndpointupdateEndpoint(UpdateEndpointRequest request)Updates an endpoint.NamespaceupdateNamespace(UpdateNamespaceRequest request)Updates a namespace.ServiceupdateService(UpdateServiceRequest request)Updates a service.
-
-
-
Method Detail
-
build
protected RegistrationServiceGrpc.RegistrationServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<RegistrationServiceGrpc.RegistrationServiceBlockingStub>
-
createNamespace
public Namespace createNamespace(CreateNamespaceRequest request)
Creates a namespace, and returns the new namespace.
-
listNamespaces
public ListNamespacesResponse listNamespaces(ListNamespacesRequest request)
Lists all namespaces.
-
getNamespace
public Namespace getNamespace(GetNamespaceRequest request)
Gets a namespace.
-
updateNamespace
public Namespace updateNamespace(UpdateNamespaceRequest request)
Updates a namespace.
-
deleteNamespace
public com.google.protobuf.Empty deleteNamespace(DeleteNamespaceRequest request)
Deletes a namespace. This also deletes all services and endpoints in the namespace.
-
createService
public Service createService(CreateServiceRequest request)
Creates a service, and returns the new service.
-
listServices
public ListServicesResponse listServices(ListServicesRequest request)
Lists all services belonging to a namespace.
-
getService
public Service getService(GetServiceRequest request)
Gets a service.
-
updateService
public Service updateService(UpdateServiceRequest request)
Updates a service.
-
deleteService
public com.google.protobuf.Empty deleteService(DeleteServiceRequest request)
Deletes a service. This also deletes all endpoints associated with the service.
-
createEndpoint
public Endpoint createEndpoint(CreateEndpointRequest request)
Creates an endpoint, and returns the new endpoint.
-
listEndpoints
public ListEndpointsResponse listEndpoints(ListEndpointsRequest request)
Lists all endpoints.
-
getEndpoint
public Endpoint getEndpoint(GetEndpointRequest request)
Gets an endpoint.
-
updateEndpoint
public Endpoint updateEndpoint(UpdateEndpointRequest request)
Updates an endpoint.
-
deleteEndpoint
public com.google.protobuf.Empty deleteEndpoint(DeleteEndpointRequest request)
Deletes an endpoint.
-
getIamPolicy
public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request)
Gets the IAM Policy for a resource
-
setIamPolicy
public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request)
Sets the IAM Policy for a resource
-
testIamPermissions
public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request)
Tests IAM permissions for a resource (namespace, service or service workload only).
-
-