Cloud Monitoring V3 API - Class Google::Cloud::Monitoring::V3::CreateMetricDescriptorRequest (v1.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
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
defmetric_descriptor()->::Google::Api::MetricDescriptor
Returns
- (::Google::Api::MetricDescriptor) — Required. The new custom metric descriptor.
#metric_descriptor=
defmetric_descriptor=(value)->::Google::Api::MetricDescriptor
Parameter
- value (::Google::Api::MetricDescriptor) — Required. The new custom metric descriptor.
Returns
- (::Google::Api::MetricDescriptor) — Required. The new custom metric descriptor.
#name
defname()->::String
Returns
- (::String) — Required. The project on which to execute the request. The format is: 4 projects/[PROJECT_ID_OR_NUMBER]
#name=
defname=(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]