CreateLogMetricRequest
class CreateLogMetricRequest extends Message
The parameters to CreateLogMetric.
Protobuf type Google\Logging\V2\CreateLogMetricRequest
Methods
No description
The resource name of the project in which to create the metric: "projects/[PROJECT_ID]" The new metric must be provided in the request.
The resource name of the project in which to create the metric: "projects/[PROJECT_ID]" The new metric must be provided in the request.
The new logs-based metric, which must not have an identifier that already exists.
Details
at line 34
__construct()
at line 47
string
getParent()
The resource name of the project in which to create the metric: "projects/[PROJECT_ID]" The new metric must be provided in the request.
Generated from protobuf field string parent = 1;
at line 60
setParent(string $var)
The resource name of the project in which to create the metric: "projects/[PROJECT_ID]" The new metric must be provided in the request.
Generated from protobuf field string parent = 1;
at line 73
LogMetric
getMetric()
The new logs-based metric, which must not have an identifier that already exists.
Generated from protobuf field .google.logging.v2.LogMetric metric = 2;
at line 85
setMetric(LogMetric $var)
The new logs-based metric, which must not have an identifier that already exists.
Generated from protobuf field .google.logging.v2.LogMetric metric = 2;