App Engine Admin V1 API - Class Google::Cloud::AppEngine::V1::DomainMappings::Rest::ServiceStub (v1.0.0)

Reference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::DomainMappings::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#create_domain_mapping

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

Baseline implementation for the create_domain_mapping REST call

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

#delete_domain_mapping

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

Baseline implementation for the delete_domain_mapping 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)

#get_domain_mapping

def get_domain_mapping(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppEngine::V1::DomainMapping

Baseline implementation for the get_domain_mapping 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_domain_mappings

def list_domain_mappings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppEngine::V1::ListDomainMappingsResponse

Baseline implementation for the list_domain_mappings 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_domain_mapping

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

Baseline implementation for the update_domain_mapping REST call

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