Class: Google::Cloud::Run::V2::CreateWorkerPoolRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Run::V2::CreateWorkerPoolRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/run/v2/worker_pool.rb
Overview
Request message for creating a WorkerPool.
Instance Attribute Summary collapse
-
#parent ⇒ ::String
Required.
-
#validate_only ⇒ ::Boolean
Optional.
-
#worker_pool ⇒ ::Google::Cloud::Run::V2::WorkerPool
Required.
-
#worker_pool_id ⇒ ::String
Required.
Instance Attribute Details
#parent ⇒ ::String
Returns 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.
44 45 46 47 |
# File 'proto_docs/google/cloud/run/v2/worker_pool.rb', line 44 class CreateWorkerPoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#validate_only ⇒ ::Boolean
Returns Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.
44 45 46 47 |
# File 'proto_docs/google/cloud/run/v2/worker_pool.rb', line 44 class CreateWorkerPoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#worker_pool ⇒ ::Google::Cloud::Run::V2::WorkerPool
Returns Required. The WorkerPool instance to create.
44 45 46 47 |
# File 'proto_docs/google/cloud/run/v2/worker_pool.rb', line 44 class CreateWorkerPoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#worker_pool_id ⇒ ::String
Returns 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}
.
44 45 46 47 |
# File 'proto_docs/google/cloud/run/v2/worker_pool.rb', line 44 class CreateWorkerPoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |