Reference documentation and code samples for the Maintenance V1BETA API class Google::Cloud::Maintenance::Api::V1beta::Maintenance::Rest::ServiceStub.
REST service stub for the Maintenance 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
- (String)
#get_resource_maintenance
def get_resource_maintenance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Maintenance::Api::V1beta::ResourceMaintenance
Baseline implementation for the get_resource_maintenance REST call
- request_pb (::Google::Cloud::Maintenance::Api::V1beta::GetResourceMaintenanceRequest) — 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::Maintenance::Api::V1beta::ResourceMaintenance)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Maintenance::Api::V1beta::ResourceMaintenance) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_resource_maintenances
def list_resource_maintenances(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Maintenance::Api::V1beta::ListResourceMaintenancesResponse
Baseline implementation for the list_resource_maintenances REST call
- request_pb (::Google::Cloud::Maintenance::Api::V1beta::ListResourceMaintenancesRequest) — 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::Maintenance::Api::V1beta::ListResourceMaintenancesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Maintenance::Api::V1beta::ListResourceMaintenancesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#summarize_maintenances
def summarize_maintenances(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Maintenance::Api::V1beta::SummarizeMaintenancesResponse
Baseline implementation for the summarize_maintenances REST call
- request_pb (::Google::Cloud::Maintenance::Api::V1beta::SummarizeMaintenancesRequest) — 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::Maintenance::Api::V1beta::SummarizeMaintenancesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Maintenance::Api::V1beta::SummarizeMaintenancesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)