Package com.google.cloud.run.v2
Class ServicesGrpc.ServicesBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<ServicesGrpc.ServicesBlockingStub>
-
- com.google.cloud.run.v2.ServicesGrpc.ServicesBlockingStub
-
- Enclosing class:
- ServicesGrpc
public static final class ServicesGrpc.ServicesBlockingStub extends io.grpc.stub.AbstractBlockingStub<ServicesGrpc.ServicesBlockingStub>
A stub to allow clients to do synchronous rpc calls to service Services.Cloud Run Service Control Plane API
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ServicesGrpc.ServicesBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.longrunning.Operation
createService(CreateServiceRequest request)
Creates a new Service in a given project and location.com.google.longrunning.Operation
deleteService(DeleteServiceRequest request)
Deletes a Service.com.google.iam.v1.Policy
getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request)
Gets the IAM Access Control policy currently in effect for the given Cloud Run Service.Service
getService(GetServiceRequest request)
Gets information about a Service.ListServicesResponse
listServices(ListServicesRequest request)
Lists Services.com.google.iam.v1.Policy
setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request)
Sets the IAM Access control policy for the specified Service.com.google.iam.v1.TestIamPermissionsResponse
testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request)
Returns permissions that a caller has on the specified Project.com.google.longrunning.Operation
updateService(UpdateServiceRequest request)
Updates a Service.
-
-
-
Method Detail
-
build
protected ServicesGrpc.ServicesBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<ServicesGrpc.ServicesBlockingStub>
-
createService
public com.google.longrunning.Operation createService(CreateServiceRequest request)
Creates a new Service in a given project and location.
-
getService
public Service getService(GetServiceRequest request)
Gets information about a Service.
-
listServices
public ListServicesResponse listServices(ListServicesRequest request)
Lists Services.
-
updateService
public com.google.longrunning.Operation updateService(UpdateServiceRequest request)
Updates a Service.
-
deleteService
public com.google.longrunning.Operation deleteService(DeleteServiceRequest request)
Deletes a Service. This will cause the Service to stop serving traffic and will delete all revisions.
-
getIamPolicy
public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request)
Gets the IAM Access Control policy currently in effect for the given Cloud Run Service. This result does not include any inherited policies.
-
setIamPolicy
public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request)
Sets the IAM Access control policy for the specified Service. Overwrites any existing policy.
-
testIamPermissions
public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request)
Returns permissions that a caller has on the specified Project. There are no permissions required for making this API call.
-
-