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
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(java.time.Duration)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
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
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createBranchRule(CreateBranchRuleRequest request)
public ListenableFuture<Operation> createBranchRule(CreateBranchRuleRequest request)
CreateBranchRule creates a branch rule in a given repository.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
createInstance(CreateInstanceRequest request)
public ListenableFuture<Operation> createInstance(CreateInstanceRequest request)
Creates a new instance in a given project and location.
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
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteBranchRule(DeleteBranchRuleRequest request)
public ListenableFuture<Operation> deleteBranchRule(DeleteBranchRuleRequest request)
DeleteBranchRule deletes a branch rule.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteInstance(DeleteInstanceRequest request)
public ListenableFuture<Operation> deleteInstance(DeleteInstanceRequest request)
Deletes a single instance.
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
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
getBranchRule(GetBranchRuleRequest request)
public ListenableFuture<BranchRule> getBranchRule(GetBranchRuleRequest request)
GetBranchRule gets a branch rule.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<BranchRule> |
|
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.
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
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Repository> |
|
listBranchRules(ListBranchRulesRequest request)
public ListenableFuture<ListBranchRulesResponse> listBranchRules(ListBranchRulesRequest request)
ListBranchRules lists branch rules in a given repository.
listInstances(ListInstancesRequest request)
public ListenableFuture<ListInstancesResponse> listInstances(ListInstancesRequest request)
Lists Instances in a given project and location.
listRepositories(ListRepositoriesRequest request)
public ListenableFuture<ListRepositoriesResponse> listRepositories(ListRepositoriesRequest request)
Lists Repositories in a given project and location.
Host: Data Plane
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> |
|
updateBranchRule(UpdateBranchRuleRequest request)
public ListenableFuture<Operation> updateBranchRule(UpdateBranchRuleRequest request)
UpdateBranchRule updates a branch rule.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|