class CreateTimeSeriesRequest extends Message

The CreateTimeSeries request.

Protobuf type Google\Monitoring\V3\CreateTimeSeriesRequest

Methods

__construct()

No description

string
getName()

The project on which to execute the request. The format is "projects/{project_id_or_number}".

setName(string $var)

The project on which to execute the request. The format is "projects/{project_id_or_number}".

RepeatedField
getTimeSeries()

The new data to be added to a list of time series.

setTimeSeries(array|RepeatedField $var)

The new data to be added to a list of time series.

Details

at line 36
__construct()

at line 48
string getName()

The project on which to execute the request. The format is "projects/{project_id_or_number}".

Generated from protobuf field string name = 3;

Return Value

string

at line 60
setName(string $var)

The project on which to execute the request. The format is "projects/{project_id_or_number}".

Generated from protobuf field string name = 3;

Parameters

string $var

at line 76
RepeatedField getTimeSeries()

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.

Generated from protobuf field repeated .google.monitoring.v3.TimeSeries time_series = 2;

Return Value

RepeatedField

at line 91
setTimeSeries(array|RepeatedField $var)

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.

Generated from protobuf field repeated .google.monitoring.v3.TimeSeries time_series = 2;

Parameters

array|RepeatedField $var