Reference documentation and code samples for the Stackdriver Monitoring V3 Client class CreateMetricDescriptorRequest.
The CreateMetricDescriptor
request.
Generated from protobuf message google.monitoring.v3.CreateMetricDescriptorRequest
Namespace
Google \ Cloud \ Monitoring \ V3Methods
__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]
string
setName
Required. The project on which to execute the request. The format is: 4 projects/[PROJECT_ID_OR_NUMBER]
var
string
$this
getMetricDescriptor
Required. The new custom metric descriptor.
hasMetricDescriptor
clearMetricDescriptor
setMetricDescriptor
Required. The new custom metric descriptor.
$this
static::build
name
string
Required. The project on which to execute the request. The format is: 4 projects/[PROJECT_ID_OR_NUMBER]
metricDescriptor