public sealed class CreateWorkerPoolRequest : IMessage<CreateWorkerPoolRequest>, IEquatable<CreateWorkerPoolRequest>, IDeepCloneable<CreateWorkerPoolRequest>, IBufferMessage, IMessageReference documentation and code samples for the Cloud Run Admin v2 API class CreateWorkerPoolRequest.
Request message for creating a WorkerPool.
Implements
IMessageCreateWorkerPoolRequest, IEquatableCreateWorkerPoolRequest, IDeepCloneableCreateWorkerPoolRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Run.V2Assembly
Google.Cloud.Run.V2.dll
Constructors
CreateWorkerPoolRequest()
public CreateWorkerPoolRequest()CreateWorkerPoolRequest(CreateWorkerPoolRequest)
public CreateWorkerPoolRequest(CreateWorkerPoolRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateWorkerPoolRequest |
Properties
Parent
public string Parent { get; set; }Required. The location and project in which this worker pool should be
created. Format: projects/{project}/locations/{location}, where
{project} can be project id or number. Only lowercase characters, digits,
and hyphens.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }LocationName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
LocationName |
|
ValidateOnly
public bool ValidateOnly { get; set; }Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
WorkerPool
public WorkerPool WorkerPool { get; set; }Required. The WorkerPool instance to create.
| Property Value | |
|---|---|
| Type | Description |
WorkerPool |
|
WorkerPoolId
public string WorkerPoolId { get; set; }Required. The unique identifier for the WorkerPool. It must begin with
letter, and cannot end with hyphen; must contain fewer than 50 characters.
The name of the worker pool becomes
{parent}/workerPools/{worker_pool_id}.
| Property Value | |
|---|---|
| Type | Description |
string |
|