Reference documentation and code samples for the Stackdriver Monitoring V3 Client class CreateTimeSeriesRequest.
The CreateTimeSeries
request.
Generated from protobuf message google.monitoring.v3.CreateTimeSeriesRequest
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: projects/[PROJECT_ID_OR_NUMBER]
↳ time_series
array< Google\Cloud\Monitoring\V3\TimeSeries
>
Required. The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each TimeSeries
value must fully specify a unique time series by supplying all label values for the metric and the monitored resource. The maximum number of TimeSeries
objects per Create
request is 200.
getName
Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER]
string
setName
Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER]
var
string
$this
getTimeSeries
Required. The new data to be added to a list of time series.
Adds at most one data point to each of several time series. The new data
point must be more recent than any other point in its time series. Each TimeSeries
value must fully specify a unique time series by supplying
all label values for the metric and the monitored resource.
The maximum number of TimeSeries
objects per Create
request is 200.
setTimeSeries
Required. The new data to be added to a list of time series.
Adds at most one data point to each of several time series. The new data
point must be more recent than any other point in its time series. Each TimeSeries
value must fully specify a unique time series by supplying
all label values for the metric and the monitored resource.
The maximum number of TimeSeries
objects per Create
request is 200.
$this
static::build
name
string
Required. The project on which to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER] Please see Google\Cloud\Monitoring\V3\MetricServiceClient::projectName() for help formatting this field.
timeSeries
array< Google\Cloud\Monitoring\V3\TimeSeries
>
Required. The new data to be added to a list of time series.
Adds at most one data point to each of several time series. The new data
point must be more recent than any other point in its time series. Each TimeSeries
value must fully specify a unique time series by supplying
all label values for the metric and the monitored resource.
The maximum number of TimeSeries
objects per Create
request is 200.