App Topology V1 API - Class Google::Cloud::AppTopology::V1::AppTopology::Rest::ServiceStub (v0.1.0)

Reference documentation and code samples for the App Topology V1 API class Google::Cloud::AppTopology::V1::AppTopology::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#generate_discovered_resources_topology

def generate_discovered_resources_topology(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppTopology::V1::GenerateDiscoveredResourcesTopologyResponse

Baseline implementation for the generate_discovered_resources_topology REST call

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

#get_domain

def get_domain(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppTopology::V1::Domain

Baseline implementation for the get_domain REST call

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

#get_schema

def get_schema(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppTopology::V1::Schema

Baseline implementation for the get_schema REST call

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

#list_domains

def list_domains(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppTopology::V1::ListDomainsResponse

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