Class: Google::Cloud::Build::V1::CreateWorkerPoolRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Build::V1::CreateWorkerPoolRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb
Overview
Request to create a new WorkerPool
.
Instance Attribute Summary collapse
-
#parent ⇒ ::String
Required.
-
#validate_only ⇒ ::Boolean
If set, validate the request and preview the response, but do not actually post it.
-
#worker_pool ⇒ ::Google::Cloud::Build::V1::WorkerPool
Required.
-
#worker_pool_id ⇒ ::String
Required.
Instance Attribute Details
#parent ⇒ ::String
Returns Required. The parent resource where this worker pool will be created.
Format: projects/{project}/locations/{location}
.
2267 2268 2269 2270 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 2267 class CreateWorkerPoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#validate_only ⇒ ::Boolean
Returns If set, validate the request and preview the response, but do not actually post it.
2267 2268 2269 2270 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 2267 class CreateWorkerPoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#worker_pool ⇒ ::Google::Cloud::Build::V1::WorkerPool
Returns Required. WorkerPool
resource to create.
2267 2268 2269 2270 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 2267 class CreateWorkerPoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#worker_pool_id ⇒ ::String
Returns 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]-/.
2267 2268 2269 2270 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 2267 class CreateWorkerPoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |