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
- request_pb (::Google::Cloud::ResourceSettings::V1::GetSettingRequest) — 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::ResourceSettings::V1::Setting)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ResourceSettings::V1::Setting) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_settings
def list_settings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ResourceSettings::V1::ListSettingsResponse
Baseline implementation for the list_settings REST call
- request_pb (::Google::Cloud::ResourceSettings::V1::ListSettingsRequest) — 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::ResourceSettings::V1::ListSettingsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ResourceSettings::V1::ListSettingsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::ResourceSettings::V1::UpdateSettingRequest) — 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::ResourceSettings::V1::Setting)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ResourceSettings::V1::Setting) — A result object deserialized from the server's reply
- (::ArgumentError)