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.
Parameters | |
---|---|
Name | Description |
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<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 |
getName
Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER]
Returns | |
---|---|
Type | Description |
string |
setName
Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER]
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
array<TimeSeries>
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
name |
string
Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] Please see MetricServiceClient::projectName() for help formatting this field. |
timeSeries |
array<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
The maximum number of |
Returns | |
---|---|
Type | Description |
CreateTimeSeriesRequest |