Class ProjectsResource.CollectdTimeSeriesResource.CreateRequest
Cloud Monitoring Agent only: Creates a new time series.This method is only for use by the Cloud Monitoring Agent. Use projects.timeSeries.create instead.
Inheritance
ProjectsResource.CollectdTimeSeriesResource.CreateRequest
Inherited Members
Namespace: Google.Apis.Monitoring.v3
Assembly: Google.Apis.Monitoring.v3.dll
Syntax
public class ProjectsResource.CollectdTimeSeriesResource.CreateRequest : MonitoringBaseServiceRequest<CreateCollectdTimeSeriesResponse>, IClientServiceRequest<CreateCollectdTimeSeriesResponse>, IClientServiceRequest
Constructors
CreateRequest(IClientService, CreateCollectdTimeSeriesRequest, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, CreateCollectdTimeSeriesRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CreateCollectdTimeSeriesRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
The project (https://cloud.google.com/monitoring/api/v3#project_name) in which to create the time series. The format is: projects/[PROJECT_ID_OR_NUMBER]
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()