Class: Google::Apis::CloudbuildV1alpha2::UpdateWorkerPoolOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1alpha2::UpdateWorkerPoolOperationMetadata
- 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 UpdateWorkerPool
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
being updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateWorkerPoolOperationMetadata
constructor
A new instance of UpdateWorkerPoolOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateWorkerPoolOperationMetadata
Returns a new instance of UpdateWorkerPoolOperationMetadata.
2083 2084 2085 |
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 2083 def initialize(**args) update!(**args) end |
Instance Attribute Details
#complete_time ⇒ String
Time the operation was completed.
Corresponds to the JSON property completeTime
2070 2071 2072 |
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 2070 def complete_time @complete_time end |
#create_time ⇒ String
Time the operation was created.
Corresponds to the JSON property createTime
2075 2076 2077 |
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 2075 def create_time @create_time end |
#worker_pool ⇒ String
The resource name of the WorkerPool
being updated. Format: projects/
project/locations/
location/workerPools/
worker_pool`.
Corresponds to the JSON property
workerPool`
2081 2082 2083 |
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 2081 def worker_pool @worker_pool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2088 2089 2090 2091 2092 |
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 2088 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 |