Resource Settings V1 API - Class Google::Cloud::ResourceSettings::V1::ResourceSettingsService::Rest::ServiceStub (v0.7.1)

Reference documentation and code samples for the Resource Settings V1 API class Google::Cloud::ResourceSettings::V1::ResourceSettingsService::Rest::ServiceStub.

REST service stub for the ResourceSettingsService 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)

#get_setting

def get_setting(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ResourceSettings::V1::Setting

Baseline implementation for the get_setting 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_settings

def list_settings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ResourceSettings::V1::ListSettingsResponse

Baseline implementation for the list_settings 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_setting

def update_setting(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ResourceSettings::V1::Setting

Baseline implementation for the update_setting REST call

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