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
- request_pb (::Google::Cloud::DeveloperConnect::V1::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_git_repository_link
def create_git_repository_link(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_git_repository_link REST call
- request_pb (::Google::Cloud::DeveloperConnect::V1::CreateGitRepositoryLinkRequest) — 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::Operation
Baseline implementation for the delete_connection REST call
- request_pb (::Google::Cloud::DeveloperConnect::V1::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_git_repository_link
def delete_git_repository_link(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_git_repository_link REST call
- request_pb (::Google::Cloud::DeveloperConnect::V1::DeleteGitRepositoryLinkRequest) — 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)
#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
- request_pb (::Google::Cloud::DeveloperConnect::V1::FetchGitHubInstallationsRequest) — 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::DeveloperConnect::V1::FetchGitHubInstallationsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::DeveloperConnect::V1::FetchGitHubInstallationsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::DeveloperConnect::V1::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::DeveloperConnect::V1::FetchGitRefsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::DeveloperConnect::V1::FetchGitRefsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::DeveloperConnect::V1::FetchLinkableGitRepositoriesRequest) — 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::DeveloperConnect::V1::FetchLinkableGitRepositoriesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::DeveloperConnect::V1::FetchLinkableGitRepositoriesResponse) — 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::DeveloperConnect::V1::FetchReadTokenResponse
Baseline implementation for the fetch_read_token REST call
- request_pb (::Google::Cloud::DeveloperConnect::V1::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::DeveloperConnect::V1::FetchReadTokenResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::DeveloperConnect::V1::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::DeveloperConnect::V1::FetchReadWriteTokenResponse
Baseline implementation for the fetch_read_write_token REST call
- request_pb (::Google::Cloud::DeveloperConnect::V1::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::DeveloperConnect::V1::FetchReadWriteTokenResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::DeveloperConnect::V1::FetchReadWriteTokenResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::DeveloperConnect::V1::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::DeveloperConnect::V1::Connection)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::DeveloperConnect::V1::Connection) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_git_repository_link
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
- request_pb (::Google::Cloud::DeveloperConnect::V1::GetGitRepositoryLinkRequest) — 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::DeveloperConnect::V1::GitRepositoryLink)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::DeveloperConnect::V1::GitRepositoryLink) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_connections
def list_connections(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::DeveloperConnect::V1::ListConnectionsResponse
Baseline implementation for the list_connections REST call
- request_pb (::Google::Cloud::DeveloperConnect::V1::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::DeveloperConnect::V1::ListConnectionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::DeveloperConnect::V1::ListConnectionsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_git_repository_links
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
- request_pb (::Google::Cloud::DeveloperConnect::V1::ListGitRepositoryLinksRequest) — 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::DeveloperConnect::V1::ListGitRepositoryLinksResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::DeveloperConnect::V1::ListGitRepositoryLinksResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_connection
def update_connection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_connection REST call
- request_pb (::Google::Cloud::DeveloperConnect::V1::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)