Class: Google::Cloud::Build::V1::CreateWorkerPoolRequest

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#parent::String

Returns Required. The parent resource where this worker pool will be created. Format: projects/{project}/locations/{location}.

Returns:

  • (::String)

    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.

Returns:

  • (::Boolean)

    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.

Returns:



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]-/.

Returns:

  • (::String)

    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