public sealed class CreateWorkerPoolRequest : IMessage<CreateWorkerPoolRequest>, IEquatable<CreateWorkerPoolRequest>, IDeepCloneable<CreateWorkerPoolRequest>, IBufferMessage, IMessage
Request to create a new WorkerPool
.
Implements
IMessage<CreateWorkerPoolRequest>, IEquatable<CreateWorkerPoolRequest>, IDeepCloneable<CreateWorkerPoolRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.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 parent resource where this worker pool will be created.
Format: projects/{project}/locations/{location}
.
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; }
If set, validate the request and preview the response, but do not actually post it.
Property Value | |
---|---|
Type | Description |
Boolean |
WorkerPool
public WorkerPool WorkerPool { get; set; }
Required. WorkerPool
resource to create.
Property Value | |
---|---|
Type | Description |
WorkerPool |
WorkerPoolId
public string WorkerPoolId { get; set; }
Required. Immutable. The ID to use for the WorkerPool
, which will become
the final component of the resource name.
This value should be 1-63 characters, and valid characters are /[a-z][0-9]-/.
Property Value | |
---|---|
Type | Description |
String |