Reference documentation and code samples for the Cloud Build V2 API class Google::Cloud::Build::V2::RepositoryManager::Rest::ServiceStub.
REST service stub for the RepositoryManager service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#batch_create_repositories
def batch_create_repositories(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the batch_create_repositories REST call
- request_pb (::Google::Cloud::Build::V2::BatchCreateRepositoriesRequest) — 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_connection
def create_connection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the create_connection REST call
- request_pb (::Google::Cloud::Build::V2::CreateConnectionRequest) — 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::OperationBaseline implementation for the create_repository REST call
- request_pb (::Google::Cloud::Build::V2::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_connection
def delete_connection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the delete_connection REST call
- request_pb (::Google::Cloud::Build::V2::DeleteConnectionRequest) — 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::OperationBaseline implementation for the delete_repository REST call
- request_pb (::Google::Cloud::Build::V2::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() -> StringThe effective endpoint
- (String)
#fetch_git_refs
def fetch_git_refs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Build::V2::FetchGitRefsResponseBaseline implementation for the fetch_git_refs REST call
- request_pb (::Google::Cloud::Build::V2::FetchGitRefsRequest) — 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::Build::V2::FetchGitRefsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Build::V2::FetchGitRefsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#fetch_linkable_repositories
def fetch_linkable_repositories(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Build::V2::FetchLinkableRepositoriesResponseBaseline implementation for the fetch_linkable_repositories REST call
- request_pb (::Google::Cloud::Build::V2::FetchLinkableRepositoriesRequest) — 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::Build::V2::FetchLinkableRepositoriesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Build::V2::FetchLinkableRepositoriesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#fetch_read_token
def fetch_read_token(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Build::V2::FetchReadTokenResponseBaseline implementation for the fetch_read_token REST call
- request_pb (::Google::Cloud::Build::V2::FetchReadTokenRequest) — 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::Build::V2::FetchReadTokenResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Build::V2::FetchReadTokenResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#fetch_read_write_token
def fetch_read_write_token(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Build::V2::FetchReadWriteTokenResponseBaseline implementation for the fetch_read_write_token REST call
- request_pb (::Google::Cloud::Build::V2::FetchReadWriteTokenRequest) — 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::Build::V2::FetchReadWriteTokenResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Build::V2::FetchReadWriteTokenResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_connection
def get_connection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Build::V2::ConnectionBaseline implementation for the get_connection REST call
- request_pb (::Google::Cloud::Build::V2::GetConnectionRequest) — 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::Build::V2::Connection)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Build::V2::Connection) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_repository
def get_repository(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Build::V2::RepositoryBaseline implementation for the get_repository REST call
- request_pb (::Google::Cloud::Build::V2::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::Build::V2::Repository)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Build::V2::Repository) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_connections
def list_connections(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Build::V2::ListConnectionsResponseBaseline implementation for the list_connections REST call
- request_pb (::Google::Cloud::Build::V2::ListConnectionsRequest) — 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::Build::V2::ListConnectionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Build::V2::ListConnectionsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_repositories
def list_repositories(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Build::V2::ListRepositoriesResponseBaseline implementation for the list_repositories REST call
- request_pb (::Google::Cloud::Build::V2::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::Build::V2::ListRepositoriesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Build::V2::ListRepositoriesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)
#update_connection
def update_connection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the update_connection REST call
- request_pb (::Google::Cloud::Build::V2::UpdateConnectionRequest) — 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)