Class LocationsResource.WorkforcePoolsResource.CreateRequest
Creates a new WorkforcePool. You cannot reuse the name of a deleted pool until 30 days after deletion.
Inheritance
LocationsResource.WorkforcePoolsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.Iam.v1
Assembly: Google.Apis.Iam.v1.dll
Syntax
public class LocationsResource.WorkforcePoolsResource.CreateRequest : IamBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
CreateRequest(IClientService, WorkforcePool, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, WorkforcePool body, string location)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| WorkforcePool | body | |
| string | location |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Location
Optional. The location of the pool to create. Format: locations/{location}.
Declaration
[RequestParameter("location", RequestParameterType.Path)]
public virtual string Location { get; }
Property Value
| Type | Description |
|---|---|
| string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
WorkforcePoolId
Optional. The ID to use for the pool, which becomes the final component of the resource name. The
IDs must be a globally unique string of 6 to 63 lowercase letters, digits, or hyphens. It must start
with a letter, and cannot have a trailing hyphen. The prefix gcp- is reserved for use by Google,
and may not be specified.
Declaration
[RequestParameter("workforcePoolId", RequestParameterType.Query)]
public virtual string WorkforcePoolId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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()