Class SecureSourceManagerGrpc.SecureSourceManagerBlockingStub (0.13.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateInstanceRequest
Returns
Type Description
Operation

createRepository(CreateRepositoryRequest request)

public Operation createRepository(CreateRepositoryRequest request)

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

Parameter
Name Description
request CreateRepositoryRequest
Returns
Type Description
Operation

deleteInstance(DeleteInstanceRequest request)

public Operation deleteInstance(DeleteInstanceRequest request)

Deletes a single instance.

Parameter
Name Description
request DeleteInstanceRequest
Returns
Type Description
Operation

deleteRepository(DeleteRepositoryRequest request)

public Operation deleteRepository(DeleteRepositoryRequest request)

Deletes a Repository. Host: Data Plane

Parameter
Name Description
request DeleteRepositoryRequest
Returns
Type Description
Operation

getIamPolicyRepo(GetIamPolicyRequest request)

public Policy getIamPolicyRepo(GetIamPolicyRequest request)

Get IAM policy for a repository.

Parameter
Name Description
request com.google.iam.v1.GetIamPolicyRequest
Returns
Type Description
com.google.iam.v1.Policy

getInstance(GetInstanceRequest request)

public Instance getInstance(GetInstanceRequest request)

Gets details of a single instance.

Parameter
Name Description
request GetInstanceRequest
Returns
Type Description
Instance

getRepository(GetRepositoryRequest request)

public Repository getRepository(GetRepositoryRequest request)

Gets metadata of a repository. Host: Data Plane

Parameter
Name Description
request GetRepositoryRequest
Returns
Type Description
Repository

listInstances(ListInstancesRequest request)

public ListInstancesResponse listInstances(ListInstancesRequest request)

Lists Instances in a given project and location.

Parameter
Name Description
request ListInstancesRequest
Returns
Type Description
ListInstancesResponse

listRepositories(ListRepositoriesRequest request)

public ListRepositoriesResponse listRepositories(ListRepositoriesRequest request)

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

Parameter
Name Description
request ListRepositoriesRequest
Returns
Type Description
ListRepositoriesResponse

setIamPolicyRepo(SetIamPolicyRequest request)

public Policy setIamPolicyRepo(SetIamPolicyRequest request)

Set IAM policy on a repository.

Parameter
Name Description
request com.google.iam.v1.SetIamPolicyRequest
Returns
Type Description
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
Name Description
request com.google.iam.v1.TestIamPermissionsRequest
Returns
Type Description
com.google.iam.v1.TestIamPermissionsResponse