Class SecureSourceManagerGrpc.SecureSourceManagerBlockingStub (0.6.0)

public static final class SecureSourceManagerGrpc.SecureSourceManagerBlockingStub extends AbstractBlockingStub<SecureSourceManagerGrpc.SecureSourceManagerBlockingStub>

A stub to allow clients to do synchronous rpc calls to service SecureSourceManager.

Secure Source Manager API Access Secure Source Manager instances, resources, and repositories. This API is split across two servers: the Control Plane and the Data Plane. Data Plane endpoints are hosted directly by your Secure Source Manager instance, so you must connect to your instance's API hostname to access them. The API hostname looks like the following: https://[instance-id]-[project-number]-api.[location].sourcemanager.dev For example, https://my-instance-702770452863-api.us-central1.sourcemanager.dev Data Plane endpoints are denoted with Host: Data Plane. All other endpoints are found in the normal Cloud API location, namely, securcesourcemanager.googleapis.com.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > SecureSourceManagerGrpc.SecureSourceManagerBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected SecureSourceManagerGrpc.SecureSourceManagerBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
SecureSourceManagerGrpc.SecureSourceManagerBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createInstance(CreateInstanceRequest request)

public Operation createInstance(CreateInstanceRequest request)

Creates a new instance in a given project and location.

Parameter
NameDescription
requestCreateInstanceRequest
Returns
TypeDescription
Operation

createRepository(CreateRepositoryRequest request)

public Operation createRepository(CreateRepositoryRequest request)

Creates a new repository in a given project and location. Host: Data Plane

Parameter
NameDescription
requestCreateRepositoryRequest
Returns
TypeDescription
Operation

deleteInstance(DeleteInstanceRequest request)

public Operation deleteInstance(DeleteInstanceRequest request)

Deletes a single instance.

Parameter
NameDescription
requestDeleteInstanceRequest
Returns
TypeDescription
Operation

deleteRepository(DeleteRepositoryRequest request)

public Operation deleteRepository(DeleteRepositoryRequest request)

Deletes a Repository. Host: Data Plane

Parameter
NameDescription
requestDeleteRepositoryRequest
Returns
TypeDescription
Operation

getIamPolicyRepo(GetIamPolicyRequest request)

public Policy getIamPolicyRepo(GetIamPolicyRequest request)

Get IAM policy for a repository.

Parameter
NameDescription
requestcom.google.iam.v1.GetIamPolicyRequest
Returns
TypeDescription
com.google.iam.v1.Policy

getInstance(GetInstanceRequest request)

public Instance getInstance(GetInstanceRequest request)

Gets details of a single instance.

Parameter
NameDescription
requestGetInstanceRequest
Returns
TypeDescription
Instance

getRepository(GetRepositoryRequest request)

public Repository getRepository(GetRepositoryRequest request)

Gets metadata of a repository. Host: Data Plane

Parameter
NameDescription
requestGetRepositoryRequest
Returns
TypeDescription
Repository

listInstances(ListInstancesRequest request)

public ListInstancesResponse listInstances(ListInstancesRequest request)

Lists Instances in a given project and location.

Parameter
NameDescription
requestListInstancesRequest
Returns
TypeDescription
ListInstancesResponse

listRepositories(ListRepositoriesRequest request)

public ListRepositoriesResponse listRepositories(ListRepositoriesRequest request)

Lists Repositories in a given project and location. Host: Data Plane

Parameter
NameDescription
requestListRepositoriesRequest
Returns
TypeDescription
ListRepositoriesResponse

setIamPolicyRepo(SetIamPolicyRequest request)

public Policy setIamPolicyRepo(SetIamPolicyRequest request)

Set IAM policy on a repository.

Parameter
NameDescription
requestcom.google.iam.v1.SetIamPolicyRequest
Returns
TypeDescription
com.google.iam.v1.Policy

testIamPermissionsRepo(TestIamPermissionsRequest request)

public TestIamPermissionsResponse testIamPermissionsRepo(TestIamPermissionsRequest request)

Test IAM permissions on a repository. IAM permission checks are not required on this method.

Parameter
NameDescription
requestcom.google.iam.v1.TestIamPermissionsRequest
Returns
TypeDescription
com.google.iam.v1.TestIamPermissionsResponse