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. EachTimeSeriesvalue must fully specify a unique time series by supplying all label values for the metric and the monitored resource. The maximum number ofTimeSeriesobjects perCreaterequest is 200.
getName
Required. Theprojecton which
to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]
Returns
Type
Description
string
setName
Required. Theprojecton 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. EachTimeSeriesvalue must fully specify a unique time series by supplying
all label values for the metric and the monitored resource.
The maximum number ofTimeSeriesobjects perCreaterequest is 200.
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. EachTimeSeriesvalue must fully specify a unique time series by supplying
all label values for the metric and the monitored resource.
The maximum number ofTimeSeriesobjects perCreaterequest is 200.
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. EachTimeSeriesvalue must fully specify a unique time series by supplying
all label values for the metric and the monitored resource.
The maximum number ofTimeSeriesobjects perCreaterequest is 200.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Stackdriver Monitoring V3 Client - Class CreateTimeSeriesRequest (2.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.2 (latest)](/php/docs/reference/cloud-monitoring/latest/V3.CreateTimeSeriesRequest)\n- [2.1.1](/php/docs/reference/cloud-monitoring/2.1.1/V3.CreateTimeSeriesRequest)\n- [2.0.1](/php/docs/reference/cloud-monitoring/2.0.1/V3.CreateTimeSeriesRequest)\n- [1.12.1](/php/docs/reference/cloud-monitoring/1.12.1/V3.CreateTimeSeriesRequest)\n- [1.11.1](/php/docs/reference/cloud-monitoring/1.11.1/V3.CreateTimeSeriesRequest)\n- [1.10.3](/php/docs/reference/cloud-monitoring/1.10.3/V3.CreateTimeSeriesRequest)\n- [1.9.0](/php/docs/reference/cloud-monitoring/1.9.0/V3.CreateTimeSeriesRequest)\n- [1.8.0](/php/docs/reference/cloud-monitoring/1.8.0/V3.CreateTimeSeriesRequest)\n- [1.7.1](/php/docs/reference/cloud-monitoring/1.7.1/V3.CreateTimeSeriesRequest)\n- [1.6.0](/php/docs/reference/cloud-monitoring/1.6.0/V3.CreateTimeSeriesRequest)\n- [1.5.1](/php/docs/reference/cloud-monitoring/1.5.1/V3.CreateTimeSeriesRequest)\n- [1.4.0](/php/docs/reference/cloud-monitoring/1.4.0/V3.CreateTimeSeriesRequest)\n- [1.3.2](/php/docs/reference/cloud-monitoring/1.3.2/V3.CreateTimeSeriesRequest)\n- [1.2.2](/php/docs/reference/cloud-monitoring/1.2.2/V3.CreateTimeSeriesRequest) \nReference documentation and code samples for the Stackdriver Monitoring V3 Client class CreateTimeSeriesRequest.\n\nThe `CreateTimeSeries` request.\n\nGenerated from protobuf message `google.monitoring.v3.CreateTimeSeriesRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Monitoring \\\\ V3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The\n[project](https://cloud.google.com/monitoring/api/v3#project_name) on which\nto execute the request. The format is:\nprojects/\\[PROJECT_ID_OR_NUMBER\\]\n\n### setName\n\nRequired. The\n[project](https://cloud.google.com/monitoring/api/v3#project_name) on which\nto execute the request. The format is:\nprojects/\\[PROJECT_ID_OR_NUMBER\\]\n\n### getTimeSeries\n\nRequired. The new data to be added to a list of time series.\n\nAdds at most one data point to each of several time series. The new data\npoint must be more recent than any other point in its time series. Each\n`TimeSeries` value must fully specify a unique time series by supplying\nall label values for the metric and the monitored resource.\nThe maximum number of `TimeSeries` objects per `Create` request is 200.\n\n### setTimeSeries\n\nRequired. The new data to be added to a list of time series.\n\nAdds at most one data point to each of several time series. The new data\npoint must be more recent than any other point in its time series. Each\n`TimeSeries` value must fully specify a unique time series by supplying\nall label values for the metric and the monitored resource.\nThe maximum number of `TimeSeries` objects per `Create` request is 200.\n\n### static::build"]]