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::DashboardBaseline 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::EmptyBaseline 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)
 
#endpoint
def endpoint() -> StringThe effective endpoint
- (String)
 
#get_dashboard
def get_dashboard(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Monitoring::Dashboard::V1::DashboardBaseline 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)
 
#list_dashboards
def list_dashboards(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Monitoring::Dashboard::V1::ListDashboardsResponseBaseline 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)
 
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
 
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)
 
#update_dashboard
def update_dashboard(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Monitoring::Dashboard::V1::DashboardBaseline 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)