Class ProjectsResource.ConfigsResource.WaitersResource.CreateRequest
Creates a Waiter resource. This operation returns a long-running Operation resource which can be polled for completion. However, a waiter with the given name will exist (and can be retrieved) prior to the operation completing. If the operation fails, the failed Waiter resource will still exist and must be deleted prior to subsequent creation attempts.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudRuntimeConfig.v1beta1
Assembly: Google.Apis.CloudRuntimeConfig.v1beta1.dll
Syntax
public class ProjectsResource.ConfigsResource.WaitersResource.CreateRequest : CloudRuntimeConfigBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Waiter, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Waiter body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Waiter | body | |
string | parent |
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
Parent
The path to the configuration that will own the waiter. The configuration must exist beforehand;
the path must be in the format: projects/[PROJECT_ID]/configs/[CONFIG_NAME]
.
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
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()