Class SecureSourceManagerGrpc.SecureSourceManagerFutureStub (0.1.0)

public static final class SecureSourceManagerGrpc.SecureSourceManagerFutureStub extends AbstractFutureStub<SecureSourceManagerGrpc.SecureSourceManagerFutureStub>

A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub > SecureSourceManagerGrpc.SecureSourceManagerFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createInstance(CreateInstanceRequest request)

public ListenableFuture<Operation> createInstance(CreateInstanceRequest request)

Creates a new instance in a given project and location.

Parameter
NameDescription
requestCreateInstanceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createRepository(CreateRepositoryRequest request)

public ListenableFuture<Operation> createRepository(CreateRepositoryRequest request)

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

Parameter
NameDescription
requestCreateRepositoryRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteInstance(DeleteInstanceRequest request)

public ListenableFuture<Operation> deleteInstance(DeleteInstanceRequest request)

Deletes a single instance.

Parameter
NameDescription
requestDeleteInstanceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteRepository(DeleteRepositoryRequest request)

public ListenableFuture<Operation> deleteRepository(DeleteRepositoryRequest request)

Deletes a Repository. Host: Data Plane

Parameter
NameDescription
requestDeleteRepositoryRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getIamPolicyRepo(GetIamPolicyRequest request)

public ListenableFuture<Policy> getIamPolicyRepo(GetIamPolicyRequest request)

Get IAM policy for a repository.

Parameter
NameDescription
requestcom.google.iam.v1.GetIamPolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy>

getInstance(GetInstanceRequest request)

public ListenableFuture<Instance> getInstance(GetInstanceRequest request)

Gets details of a single instance.

Parameter
NameDescription
requestGetInstanceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Instance>

getRepository(GetRepositoryRequest request)

public ListenableFuture<Repository> getRepository(GetRepositoryRequest request)

Gets metadata of a repository. Host: Data Plane

Parameter
NameDescription
requestGetRepositoryRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Repository>

listInstances(ListInstancesRequest request)

public ListenableFuture<ListInstancesResponse> listInstances(ListInstancesRequest request)

Lists Instances in a given project and location.

Parameter
NameDescription
requestListInstancesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListInstancesResponse>

listRepositories(ListRepositoriesRequest request)

public ListenableFuture<ListRepositoriesResponse> listRepositories(ListRepositoriesRequest request)

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

Parameter
NameDescription
requestListRepositoriesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListRepositoriesResponse>

setIamPolicyRepo(SetIamPolicyRequest request)

public ListenableFuture<Policy> setIamPolicyRepo(SetIamPolicyRequest request)

Set IAM policy on a repository.

Parameter
NameDescription
requestcom.google.iam.v1.SetIamPolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy>

testIamPermissionsRepo(TestIamPermissionsRequest request)

public ListenableFuture<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.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse>