Class SecureSourceManagerGrpc.SecureSourceManagerFutureStub (0.14.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateInstanceRequest
Returns
Type Description
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
Name Description
request CreateRepositoryRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteInstance(DeleteInstanceRequest request)

public ListenableFuture<Operation> deleteInstance(DeleteInstanceRequest request)

Deletes a single instance.

Parameter
Name Description
request DeleteInstanceRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteRepository(DeleteRepositoryRequest request)

public ListenableFuture<Operation> deleteRepository(DeleteRepositoryRequest request)

Deletes a Repository. Host: Data Plane

Parameter
Name Description
request DeleteRepositoryRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getIamPolicyRepo(GetIamPolicyRequest request)

public ListenableFuture<Policy> getIamPolicyRepo(GetIamPolicyRequest request)

Get IAM policy for a repository.

Parameter
Name Description
request com.google.iam.v1.GetIamPolicyRequest
Returns
Type Description
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
Name Description
request GetInstanceRequest
Returns
Type Description
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
Name Description
request GetRepositoryRequest
Returns
Type Description
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
Name Description
request ListInstancesRequest
Returns
Type Description
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
Name Description
request ListRepositoriesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListRepositoriesResponse>

setIamPolicyRepo(SetIamPolicyRequest request)

public ListenableFuture<Policy> setIamPolicyRepo(SetIamPolicyRequest request)

Set IAM policy on a repository.

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