Developer Connect V1 API - Class Google::Cloud::DeveloperConnect::V1::DeveloperConnect::Rest::ServiceStub (v0.1.0)

Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::DeveloperConnect::V1::DeveloperConnect::Rest::ServiceStub.

REST service stub for the DeveloperConnect service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#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)
def create_git_repository_link(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_git_repository_link 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)
def delete_git_repository_link(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_git_repository_link 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_hub_installations

def fetch_git_hub_installations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::DeveloperConnect::V1::FetchGitHubInstallationsResponse

Baseline implementation for the fetch_git_hub_installations REST call

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

#fetch_git_refs

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

Baseline implementation for the fetch_git_refs REST call

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

#fetch_linkable_git_repositories

def fetch_linkable_git_repositories(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::DeveloperConnect::V1::FetchLinkableGitRepositoriesResponse

Baseline implementation for the fetch_linkable_git_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::DeveloperConnect::V1::FetchReadTokenResponse

Baseline implementation for the fetch_read_token REST call

Parameters
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::DeveloperConnect::V1::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::DeveloperConnect::V1::Connection

Baseline implementation for the get_connection REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)
def get_git_repository_link(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::DeveloperConnect::V1::GitRepositoryLink

Baseline implementation for the get_git_repository_link REST call

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

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#list_connections

def list_connections(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::DeveloperConnect::V1::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)
def list_git_repository_links(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::DeveloperConnect::V1::ListGitRepositoryLinksResponse

Baseline implementation for the list_git_repository_links REST call

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

#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)