Class: Google::Apis::CloudbuildV1::DeleteWorkerPoolOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1::DeleteWorkerPoolOperationMetadata
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbuild_v1/classes.rb,
lib/google/apis/cloudbuild_v1/representations.rb,
lib/google/apis/cloudbuild_v1/representations.rb
Overview
Metadata for the DeleteWorkerPool 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
WorkerPoolbeing deleted.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeleteWorkerPoolOperationMetadata
constructor
A new instance of DeleteWorkerPoolOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeleteWorkerPoolOperationMetadata
Returns a new instance of DeleteWorkerPoolOperationMetadata.
1899 1900 1901 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1899 def initialize(**args) update!(**args) end |
Instance Attribute Details
#complete_time ⇒ String
Time the operation was completed.
Corresponds to the JSON property completeTime
1886 1887 1888 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1886 def complete_time @complete_time end |
#create_time ⇒ String
Time the operation was created.
Corresponds to the JSON property createTime
1891 1892 1893 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1891 def create_time @create_time end |
#worker_pool ⇒ String
The resource name of the WorkerPool being deleted. Format: projects/
project/locations/location/workerPools/worker_pool`.
Corresponds to the JSON propertyworkerPool`
1897 1898 1899 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1897 def worker_pool @worker_pool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1904 1905 1906 1907 1908 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1904 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 |