Class SecureSourceManagerGrpc.SecureSourceManagerStub (0.17.0)

public static final class SecureSourceManagerGrpc.SecureSourceManagerStub extends AbstractAsyncStub<SecureSourceManagerGrpc.SecureSourceManagerStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > SecureSourceManagerGrpc.SecureSourceManagerStub

Methods

build(Channel channel, CallOptions callOptions)

protected SecureSourceManagerGrpc.SecureSourceManagerStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
SecureSourceManagerGrpc.SecureSourceManagerStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createInstance(CreateInstanceRequest request, StreamObserver<Operation> responseObserver)

public void createInstance(CreateInstanceRequest request, StreamObserver<Operation> responseObserver)

Creates a new instance in a given project and location.

Parameters
Name Description
request CreateInstanceRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createRepository(CreateRepositoryRequest request, StreamObserver<Operation> responseObserver)

public void createRepository(CreateRepositoryRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request CreateRepositoryRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteInstance(DeleteInstanceRequest request, StreamObserver<Operation> responseObserver)

public void deleteInstance(DeleteInstanceRequest request, StreamObserver<Operation> responseObserver)

Deletes a single instance.

Parameters
Name Description
request DeleteInstanceRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteRepository(DeleteRepositoryRequest request, StreamObserver<Operation> responseObserver)

public void deleteRepository(DeleteRepositoryRequest request, StreamObserver<Operation> responseObserver)

Deletes a Repository. Host: Data Plane

Parameters
Name Description
request DeleteRepositoryRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getIamPolicyRepo(GetIamPolicyRequest request, StreamObserver<Policy> responseObserver)

public void getIamPolicyRepo(GetIamPolicyRequest request, StreamObserver<Policy> responseObserver)

Get IAM policy for a repository.

Parameters
Name Description
request com.google.iam.v1.GetIamPolicyRequest
responseObserver io.grpc.stub.StreamObserver<com.google.iam.v1.Policy>

getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)

public void getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)

Gets details of a single instance.

Parameters
Name Description
request GetInstanceRequest
responseObserver io.grpc.stub.StreamObserver<Instance>

getRepository(GetRepositoryRequest request, StreamObserver<Repository> responseObserver)

public void getRepository(GetRepositoryRequest request, StreamObserver<Repository> responseObserver)

Gets metadata of a repository. Host: Data Plane

Parameters
Name Description
request GetRepositoryRequest
responseObserver io.grpc.stub.StreamObserver<Repository>

listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)

public void listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)

Lists Instances in a given project and location.

Parameters
Name Description
request ListInstancesRequest
responseObserver io.grpc.stub.StreamObserver<ListInstancesResponse>

listRepositories(ListRepositoriesRequest request, StreamObserver<ListRepositoriesResponse> responseObserver)

public void listRepositories(ListRepositoriesRequest request, StreamObserver<ListRepositoriesResponse> responseObserver)

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

Parameters
Name Description
request ListRepositoriesRequest
responseObserver io.grpc.stub.StreamObserver<ListRepositoriesResponse>

setIamPolicyRepo(SetIamPolicyRequest request, StreamObserver<Policy> responseObserver)

public void setIamPolicyRepo(SetIamPolicyRequest request, StreamObserver<Policy> responseObserver)

Set IAM policy on a repository.

Parameters
Name Description
request com.google.iam.v1.SetIamPolicyRequest
responseObserver io.grpc.stub.StreamObserver<com.google.iam.v1.Policy>

testIamPermissionsRepo(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver)

public void testIamPermissionsRepo(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver)

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

Parameters
Name Description
request com.google.iam.v1.TestIamPermissionsRequest
responseObserver io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse>