Cloud Build V2 API - Class Google::Cloud::Build::V2::RepositoryManager::Rest::ServiceStub (v0.14.2)

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::Operation

Baseline implementation for the batch_create_repositories REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_connection

def create_connection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_connection REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_repository

def create_repository(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_repository REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_connection

def delete_connection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_connection REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_repository

def delete_repository(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_repository REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#fetch_git_refs

def fetch_git_refs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Build::V2::FetchGitRefsResponse

Baseline implementation for the fetch_git_refs REST call

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#fetch_linkable_repositories

def fetch_linkable_repositories(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Build::V2::FetchLinkableRepositoriesResponse

Baseline implementation for the fetch_linkable_repositories REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#fetch_read_token

def fetch_read_token(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Build::V2::FetchReadTokenResponse

Baseline implementation for the fetch_read_token REST call

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#fetch_read_write_token

def fetch_read_write_token(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Build::V2::FetchReadWriteTokenResponse

Baseline implementation for the fetch_read_write_token REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_connection

def get_connection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Build::V2::Connection

Baseline implementation for the get_connection REST call

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_repository

def get_repository(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Build::V2::Repository

Baseline implementation for the get_repository REST call

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_connections

def list_connections(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Build::V2::ListConnectionsResponse

Baseline implementation for the list_connections REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_repositories

def list_repositories(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Build::V2::ListRepositoriesResponse

Baseline implementation for the list_repositories REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_connection

def update_connection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_connection REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)