Cloud Monitoring V3 API - Class Google::Cloud::Monitoring::V3::CreateMetricDescriptorRequest (v0.18.0)

Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::CreateMetricDescriptorRequest.

The CreateMetricDescriptor request.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#metric_descriptor

def metric_descriptor() -> ::Google::Api::MetricDescriptor
Returns

#metric_descriptor=

def metric_descriptor=(value) -> ::Google::Api::MetricDescriptor
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Required. The project on which to execute the request. The format is: 4 projects/[PROJECT_ID_OR_NUMBER]

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The project on which to execute the request. The format is: 4 projects/[PROJECT_ID_OR_NUMBER]
Returns
  • (::String) — Required. The project on which to execute the request. The format is: 4 projects/[PROJECT_ID_OR_NUMBER]