Class: Google::Apis::CloudbuildV1alpha2::CreateWorkerPoolOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1alpha2::CreateWorkerPoolOperationMetadata
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbuild_v1alpha2/classes.rb,
lib/google/apis/cloudbuild_v1alpha2/representations.rb,
lib/google/apis/cloudbuild_v1alpha2/representations.rb
Overview
Metadata for the CreateWorkerPool
operation.
Instance Attribute Summary collapse
-
#complete_time ⇒ String
Time the operation was completed.
-
#create_time ⇒ String
Time the operation was created.
-
#worker_pool ⇒ String
The resource name of the
WorkerPool
to create.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateWorkerPoolOperationMetadata
constructor
A new instance of CreateWorkerPoolOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreateWorkerPoolOperationMetadata
Returns a new instance of CreateWorkerPoolOperationMetadata.
666 667 668 |
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 666 def initialize(**args) update!(**args) end |
Instance Attribute Details
#complete_time ⇒ String
Time the operation was completed.
Corresponds to the JSON property completeTime
653 654 655 |
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 653 def complete_time @complete_time end |
#create_time ⇒ String
Time the operation was created.
Corresponds to the JSON property createTime
658 659 660 |
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 658 def create_time @create_time end |
#worker_pool ⇒ String
The resource name of the WorkerPool
to create. Format: projects/
project/
locations/
location/workerPools/
worker_pool`.
Corresponds to the JSON property
workerPool`
664 665 666 |
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 664 def worker_pool @worker_pool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
671 672 673 674 675 |
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 671 def update!(**args) @complete_time = args[:complete_time] if args.key?(:complete_time) @create_time = args[:create_time] if args.key?(:create_time) @worker_pool = args[:worker_pool] if args.key?(:worker_pool) end |