Reference documentation and code samples for the Stackdriver Monitoring V3 Client class CreateMetricDescriptorRequest.
The CreateMetricDescriptor
request.
Generated from protobuf message google.monitoring.v3.CreateMetricDescriptorRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The project on which to execute the request. The format is: 4 projects/[PROJECT_ID_OR_NUMBER]
↳ metric_descriptor
getName
Required. The project on which to execute the request. The format is: 4 projects/[PROJECT_ID_OR_NUMBER]
Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
string
setName
Required. The project on which to execute the request. The format is: 4 projects/[PROJECT_ID_OR_NUMBER]
Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
var
string
$this
getMetricDescriptor
Required. The new custom metric descriptor.
Generated from protobuf field .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED];
hasMetricDescriptor
clearMetricDescriptor
setMetricDescriptor
Required. The new custom metric descriptor.
Generated from protobuf field .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED];
$this