Reference documentation and code samples for the Secure Source Manager V1 API class Google::Cloud::SecureSourceManager::V1::SecureSourceManager::Rest::ServiceStub.
REST service stub for the SecureSourceManager service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_branch_rule
def create_branch_rule(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_branch_rule REST call
- request_pb (::Google::Cloud::SecureSourceManager::V1::CreateBranchRuleRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_instance
def create_instance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_instance REST call
- request_pb (::Google::Cloud::SecureSourceManager::V1::CreateInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_repository
def create_repository(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_repository REST call
- request_pb (::Google::Cloud::SecureSourceManager::V1::CreateRepositoryRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_branch_rule
def delete_branch_rule(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_branch_rule REST call
- request_pb (::Google::Cloud::SecureSourceManager::V1::DeleteBranchRuleRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_instance
def delete_instance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_instance REST call
- request_pb (::Google::Cloud::SecureSourceManager::V1::DeleteInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_repository
def delete_repository(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_repository REST call
- request_pb (::Google::Cloud::SecureSourceManager::V1::DeleteRepositoryRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#get_branch_rule
def get_branch_rule(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecureSourceManager::V1::BranchRule
Baseline implementation for the get_branch_rule REST call
- request_pb (::Google::Cloud::SecureSourceManager::V1::GetBranchRuleRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::SecureSourceManager::V1::BranchRule)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::SecureSourceManager::V1::BranchRule) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_iam_policy_repo
def get_iam_policy_repo(request_pb, options = nil) { |result, operation| ... } -> ::Google::Iam::V1::Policy
Baseline implementation for the get_iam_policy_repo REST call
- request_pb (::Google::Iam::V1::GetIamPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Iam::V1::Policy)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Iam::V1::Policy) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_instance
def get_instance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecureSourceManager::V1::Instance
Baseline implementation for the get_instance REST call
- request_pb (::Google::Cloud::SecureSourceManager::V1::GetInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::SecureSourceManager::V1::Instance)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::SecureSourceManager::V1::Instance) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_repository
def get_repository(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecureSourceManager::V1::Repository
Baseline implementation for the get_repository REST call
- request_pb (::Google::Cloud::SecureSourceManager::V1::GetRepositoryRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::SecureSourceManager::V1::Repository)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::SecureSourceManager::V1::Repository) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_branch_rules
def list_branch_rules(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecureSourceManager::V1::ListBranchRulesResponse
Baseline implementation for the list_branch_rules REST call
- request_pb (::Google::Cloud::SecureSourceManager::V1::ListBranchRulesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::SecureSourceManager::V1::ListBranchRulesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::SecureSourceManager::V1::ListBranchRulesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_instances
def list_instances(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecureSourceManager::V1::ListInstancesResponse
Baseline implementation for the list_instances REST call
- request_pb (::Google::Cloud::SecureSourceManager::V1::ListInstancesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::SecureSourceManager::V1::ListInstancesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::SecureSourceManager::V1::ListInstancesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_repositories
def list_repositories(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecureSourceManager::V1::ListRepositoriesResponse
Baseline implementation for the list_repositories REST call
- request_pb (::Google::Cloud::SecureSourceManager::V1::ListRepositoriesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::SecureSourceManager::V1::ListRepositoriesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::SecureSourceManager::V1::ListRepositoriesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#set_iam_policy_repo
def set_iam_policy_repo(request_pb, options = nil) { |result, operation| ... } -> ::Google::Iam::V1::Policy
Baseline implementation for the set_iam_policy_repo REST call
- request_pb (::Google::Iam::V1::SetIamPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Iam::V1::Policy)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Iam::V1::Policy) — A result object deserialized from the server's reply
- (::ArgumentError)
#test_iam_permissions_repo
def test_iam_permissions_repo(request_pb, options = nil) { |result, operation| ... } -> ::Google::Iam::V1::TestIamPermissionsResponse
Baseline implementation for the test_iam_permissions_repo REST call
- request_pb (::Google::Iam::V1::TestIamPermissionsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Iam::V1::TestIamPermissionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Iam::V1::TestIamPermissionsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_branch_rule
def update_branch_rule(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_branch_rule REST call
- request_pb (::Google::Cloud::SecureSourceManager::V1::UpdateBranchRuleRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)