Class CreateWorkerPoolRequest (0.11.0)

CreateWorkerPoolRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for creating a WorkerPool.

Attributes

Name Description
parent str
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.
worker_pool google.cloud.run_v2.types.WorkerPool
Required. The WorkerPool instance to create.
worker_pool_id str
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}.
validate_only bool
Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.