Cloud Monitoring Dashboards V1 API - Class Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Rest::ServiceStub (v1.1.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)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

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

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

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

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