Reference documentation and code samples for the Cloud Monitoring Dashboards V1 API class Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Rest::ServiceStub.
REST service stub for the DashboardsService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_dashboard
def create_dashboard(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Monitoring::Dashboard::V1::Dashboard
Baseline implementation for the create_dashboard REST call
- request_pb (::Google::Cloud::Monitoring::Dashboard::V1::CreateDashboardRequest) — 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::Monitoring::Dashboard::V1::Dashboard)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Monitoring::Dashboard::V1::Dashboard) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_dashboard
def delete_dashboard(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_dashboard REST call
- request_pb (::Google::Cloud::Monitoring::Dashboard::V1::DeleteDashboardRequest) — 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::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_dashboard
def get_dashboard(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Monitoring::Dashboard::V1::Dashboard
Baseline implementation for the get_dashboard REST call
- request_pb (::Google::Cloud::Monitoring::Dashboard::V1::GetDashboardRequest) — 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::Monitoring::Dashboard::V1::Dashboard)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Monitoring::Dashboard::V1::Dashboard) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_dashboards
def list_dashboards(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Monitoring::Dashboard::V1::ListDashboardsResponse
Baseline implementation for the list_dashboards REST call
- request_pb (::Google::Cloud::Monitoring::Dashboard::V1::ListDashboardsRequest) — 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::Monitoring::Dashboard::V1::ListDashboardsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Monitoring::Dashboard::V1::ListDashboardsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_dashboard
def update_dashboard(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Monitoring::Dashboard::V1::Dashboard
Baseline implementation for the update_dashboard REST call
- request_pb (::Google::Cloud::Monitoring::Dashboard::V1::UpdateDashboardRequest) — 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::Monitoring::Dashboard::V1::Dashboard)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Monitoring::Dashboard::V1::Dashboard) — A result object deserialized from the server's reply
- (::ArgumentError)