Class SecureSourceManagerGrpc.SecureSourceManagerBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<SecureSourceManagerGrpc.SecureSourceManagerBlockingStub>
com.google.cloud.securesourcemanager.v1.SecureSourceManagerGrpc.SecureSourceManagerBlockingStub
- Enclosing class:
- SecureSourceManagerGrpc
public static final class SecureSourceManagerGrpc.SecureSourceManagerBlockingStub
extends io.grpc.stub.AbstractBlockingStub<SecureSourceManagerGrpc.SecureSourceManagerBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service SecureSourceManager.
Secure Source Manager API Access Secure Source Manager instances, resources, and repositories.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionBatch creates pull request comments.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) closeIssue(CloseIssueRequest request) Closes an issue.closePullRequest(ClosePullRequestRequest request) Closes a pull request without merging.createBranchRule(CreateBranchRuleRequest request) CreateBranchRule creates a branch rule in a given repository.createHook(CreateHookRequest request) Creates a new hook in a given repository.createInstance(CreateInstanceRequest request) Creates a new instance in a given project and location.createIssue(CreateIssueRequest request) Creates an issue.Creates an issue comment.Creates a pull request.Creates a pull request comment.createRepository(CreateRepositoryRequest request) Creates a new repository in a given project and location.deleteBranchRule(DeleteBranchRuleRequest request) DeleteBranchRule deletes a branch rule.deleteHook(DeleteHookRequest request) Deletes a Hook.deleteInstance(DeleteInstanceRequest request) Deletes a single instance.deleteIssue(DeleteIssueRequest request) Deletes an issue.Deletes an issue comment.Deletes a pull request comment.deleteRepository(DeleteRepositoryRequest request) Deletes a Repository.fetchBlob(FetchBlobRequest request) Fetches a blob from a repository.fetchTree(FetchTreeRequest request) Fetches a tree from a repository.getBranchRule(GetBranchRuleRequest request) GetBranchRule gets a branch rule.getHook(GetHookRequest request) Gets metadata of a hook.com.google.iam.v1.PolicygetIamPolicyRepo(com.google.iam.v1.GetIamPolicyRequest request) Get IAM policy for a repository.getInstance(GetInstanceRequest request) Gets details of a single instance.getIssue(GetIssueRequest request) Gets an issue.getIssueComment(GetIssueCommentRequest request) Gets an issue comment.getPullRequest(GetPullRequestRequest request) Gets a pull request.Gets a pull request comment.getRepository(GetRepositoryRequest request) Gets metadata of a repository.listBranchRules(ListBranchRulesRequest request) ListBranchRules lists branch rules in a given repository.listHooks(ListHooksRequest request) Lists hooks in a given repository.listInstances(ListInstancesRequest request) Lists Instances in a given project and location.Lists comments in an issue.listIssues(ListIssuesRequest request) Lists issues in a repository.Lists pull request comments.Lists a pull request's file diffs.listPullRequests(ListPullRequestsRequest request) Lists pull requests in a repository.listRepositories(ListRepositoriesRequest request) Lists Repositories in a given project and location.mergePullRequest(MergePullRequestRequest request) Merges a pull request.openIssue(OpenIssueRequest request) Opens an issue.openPullRequest(OpenPullRequestRequest request) Opens a pull request.Resolves pull request comments.com.google.iam.v1.PolicysetIamPolicyRepo(com.google.iam.v1.SetIamPolicyRequest request) Set IAM policy on a repository.com.google.iam.v1.TestIamPermissionsResponsetestIamPermissionsRepo(com.google.iam.v1.TestIamPermissionsRequest request) Test IAM permissions on a repository.Unresolves pull request comments.updateBranchRule(UpdateBranchRuleRequest request) UpdateBranchRule updates a branch rule.updateHook(UpdateHookRequest request) Updates the metadata of a hook.updateIssue(UpdateIssueRequest request) Updates a issue.Updates an issue comment.Updates a pull request.Updates a pull request comment.updateRepository(UpdateRepositoryRequest request) Updates the metadata of a repository.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected SecureSourceManagerGrpc.SecureSourceManagerBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<SecureSourceManagerGrpc.SecureSourceManagerBlockingStub>
-
listInstances
Lists Instances in a given project and location.
-
getInstance
Gets details of a single instance.
-
createInstance
Creates a new instance in a given project and location.
-
deleteInstance
Deletes a single instance.
-
listRepositories
Lists Repositories in a given project and location. The instance field is required in the query parameter for requests using the securesourcemanager.googleapis.com endpoint.
-
getRepository
Gets metadata of a repository.
-
createRepository
Creates a new repository in a given project and location. The Repository.Instance field is required in the request body for requests using the securesourcemanager.googleapis.com endpoint.
-
updateRepository
Updates the metadata of a repository.
-
deleteRepository
Deletes a Repository.
-
listHooks
Lists hooks in a given repository.
-
getHook
Gets metadata of a hook.
-
createHook
Creates a new hook in a given repository.
-
updateHook
Updates the metadata of a hook.
-
deleteHook
Deletes a Hook.
-
getIamPolicyRepo
public com.google.iam.v1.Policy getIamPolicyRepo(com.google.iam.v1.GetIamPolicyRequest request) Get IAM policy for a repository.
-
setIamPolicyRepo
public com.google.iam.v1.Policy setIamPolicyRepo(com.google.iam.v1.SetIamPolicyRequest request) Set IAM policy on a repository.
-
testIamPermissionsRepo
public com.google.iam.v1.TestIamPermissionsResponse testIamPermissionsRepo(com.google.iam.v1.TestIamPermissionsRequest request) Test IAM permissions on a repository. IAM permission checks are not required on this method.
-
createBranchRule
CreateBranchRule creates a branch rule in a given repository.
-
listBranchRules
ListBranchRules lists branch rules in a given repository.
-
getBranchRule
GetBranchRule gets a branch rule.
-
updateBranchRule
UpdateBranchRule updates a branch rule.
-
deleteBranchRule
DeleteBranchRule deletes a branch rule.
-
createPullRequest
Creates a pull request.
-
getPullRequest
Gets a pull request.
-
listPullRequests
Lists pull requests in a repository.
-
updatePullRequest
Updates a pull request.
-
mergePullRequest
Merges a pull request.
-
openPullRequest
Opens a pull request.
-
closePullRequest
Closes a pull request without merging.
-
listPullRequestFileDiffs
public ListPullRequestFileDiffsResponse listPullRequestFileDiffs(ListPullRequestFileDiffsRequest request) Lists a pull request's file diffs.
-
fetchTree
Fetches a tree from a repository.
-
fetchBlob
Fetches a blob from a repository.
-
createIssue
Creates an issue.
-
getIssue
Gets an issue.
-
listIssues
Lists issues in a repository.
-
updateIssue
Updates a issue.
-
deleteIssue
Deletes an issue.
-
openIssue
Opens an issue.
-
closeIssue
Closes an issue.
-
getPullRequestComment
Gets a pull request comment.
-
listPullRequestComments
public ListPullRequestCommentsResponse listPullRequestComments(ListPullRequestCommentsRequest request) Lists pull request comments.
-
createPullRequestComment
Creates a pull request comment. This function is used to create a single PullRequestComment of type Comment, or a single PullRequestComment of type Code that's replying to another PullRequestComment of type Code. Use BatchCreatePullRequestComments to create multiple PullRequestComments for code reviews.
-
updatePullRequestComment
Updates a pull request comment.
-
deletePullRequestComment
Deletes a pull request comment.
-
batchCreatePullRequestComments
Batch creates pull request comments. This function is used to create multiple PullRequestComments for code review. There needs to be exactly one PullRequestComment of type Review, and at most 100 PullRequestComments of type Code per request. The Position of the code comments must be unique within the request.
-
resolvePullRequestComments
Resolves pull request comments. A list of PullRequestComment names must be provided. The PullRequestComment names must be in the same conversation thread. If auto_fill is set, all comments in the conversation thread will be resolved.
-
unresolvePullRequestComments
Unresolves pull request comments. A list of PullRequestComment names must be provided. The PullRequestComment names must be in the same conversation thread. If auto_fill is set, all comments in the conversation thread will be unresolved.
-
createIssueComment
Creates an issue comment.
-
getIssueComment
Gets an issue comment.
-
listIssueComments
Lists comments in an issue.
-
updateIssueComment
Updates an issue comment.
-
deleteIssueComment
Deletes an issue comment.
-