Cloud Monitoring Dashboards V1 API - Class Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Rest::ServiceStub (v0.13.0)

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

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

#delete_dashboard

def delete_dashboard(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_dashboard REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

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_dashboards

def list_dashboards(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Monitoring::Dashboard::V1::ListDashboardsResponse

Baseline implementation for the list_dashboards REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

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