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

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

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

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