Class ProjectsResource.ConfigsResource.CreateRequest
Creates a new RuntimeConfig resource. The configuration name must be unique within project.
Inheritance
ProjectsResource.ConfigsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.CloudRuntimeConfig.v1beta1
Assembly: Google.Apis.CloudRuntimeConfig.v1beta1.dll
Syntax
public class ProjectsResource.ConfigsResource.CreateRequest : CloudRuntimeConfigBaseServiceRequest<RuntimeConfig>, IClientServiceRequest<RuntimeConfig>, IClientServiceRequest
Constructors
CreateRequest(IClientService, RuntimeConfig, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, RuntimeConfig body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| RuntimeConfig | body | |
| string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRuntimeConfig.v1beta1.Data.RuntimeConfig>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRuntimeConfig.v1beta1.Data.RuntimeConfig>.MethodName
Parent
The project ID
for this request, in the format projects/[PROJECT_ID].
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
| Type | Description |
|---|---|
| string |
RequestId
An optional but recommended unique request_id. If the server receives two create() requests with
the same request_id, then the second request will be ignored and the first resource created and
stored in the backend is returned. Empty request_id fields are ignored. It is responsibility of
the client to ensure uniqueness of the request_id strings. request_id strings are limited to 64
characters.
Declaration
[RequestParameter("requestId", RequestParameterType.Query)]
public virtual string RequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRuntimeConfig.v1beta1.Data.RuntimeConfig>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRuntimeConfig.v1beta1.Data.RuntimeConfig>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()