Stackdriver Monitoring V3 Client - Class CreateTimeSeriesRequest (1.3.2)

Reference documentation and code samples for the Stackdriver Monitoring V3 Client class CreateTimeSeriesRequest.

The CreateTimeSeries request.

Generated from protobuf message google.monitoring.v3.CreateTimeSeriesRequest

Methods

__construct

Constructor.

Parameters
NameDescription
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]

Returns
TypeDescription
string

setName

Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER]

Parameter
NameDescription
var string
Returns
TypeDescription
$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.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

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.

Parameter
NameDescription
var array<Google\Cloud\Monitoring\V3\TimeSeries>
Returns
TypeDescription
$this