Interface SecureSourceManagerGrpc.AsyncService (0.6.0)

public static interface SecureSourceManagerGrpc.AsyncService

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.

Methods

createInstance(CreateInstanceRequest request, StreamObserver<Operation> responseObserver)

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

Creates a new instance in a given project and location.

Parameters
NameDescription
requestCreateInstanceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createRepository(CreateRepositoryRequest request, StreamObserver<Operation> responseObserver)

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

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

Parameters
NameDescription
requestCreateRepositoryRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteInstance(DeleteInstanceRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a single instance.

Parameters
NameDescription
requestDeleteInstanceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteRepository(DeleteRepositoryRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a Repository. Host: Data Plane

Parameters
NameDescription
requestDeleteRepositoryRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getIamPolicyRepo(GetIamPolicyRequest request, StreamObserver<Policy> responseObserver)

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

Get IAM policy for a repository.

Parameters
NameDescription
requestcom.google.iam.v1.GetIamPolicyRequest
responseObserverio.grpc.stub.StreamObserver<com.google.iam.v1.Policy>

getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)

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

Gets details of a single instance.

Parameters
NameDescription
requestGetInstanceRequest
responseObserverio.grpc.stub.StreamObserver<Instance>

getRepository(GetRepositoryRequest request, StreamObserver<Repository> responseObserver)

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

Gets metadata of a repository. Host: Data Plane

Parameters
NameDescription
requestGetRepositoryRequest
responseObserverio.grpc.stub.StreamObserver<Repository>

listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)

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

Lists Instances in a given project and location.

Parameters
NameDescription
requestListInstancesRequest
responseObserverio.grpc.stub.StreamObserver<ListInstancesResponse>

listRepositories(ListRepositoriesRequest request, StreamObserver<ListRepositoriesResponse> responseObserver)

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

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

Parameters
NameDescription
requestListRepositoriesRequest
responseObserverio.grpc.stub.StreamObserver<ListRepositoriesResponse>

setIamPolicyRepo(SetIamPolicyRequest request, StreamObserver<Policy> responseObserver)

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

Set IAM policy on a repository.

Parameters
NameDescription
requestcom.google.iam.v1.SetIamPolicyRequest
responseObserverio.grpc.stub.StreamObserver<com.google.iam.v1.Policy>

testIamPermissionsRepo(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver)

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

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

Parameters
NameDescription
requestcom.google.iam.v1.TestIamPermissionsRequest
responseObserverio.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse>