Class: Google::Apis::CloudbuildV1beta1::DeleteWorkerPoolOperationMetadata

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudbuild_v1beta1/classes.rb,
lib/google/apis/cloudbuild_v1beta1/representations.rb,
lib/google/apis/cloudbuild_v1beta1/representations.rb

Overview

Metadata for the DeleteWorkerPool operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeleteWorkerPoolOperationMetadata

Returns a new instance of DeleteWorkerPoolOperationMetadata.



1233
1234
1235
# File 'lib/google/apis/cloudbuild_v1beta1/classes.rb', line 1233

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#complete_timeString

Time the operation was completed. Corresponds to the JSON property completeTime

Returns:

  • (String)


1220
1221
1222
# File 'lib/google/apis/cloudbuild_v1beta1/classes.rb', line 1220

def complete_time
  @complete_time
end

#create_timeString

Time the operation was created. Corresponds to the JSON property createTime

Returns:

  • (String)


1225
1226
1227
# File 'lib/google/apis/cloudbuild_v1beta1/classes.rb', line 1225

def create_time
  @create_time
end

#worker_poolString

The resource name of the WorkerPool being deleted. Format: projects/ project/locations/location/workerPools/worker_pool`. Corresponds to the JSON propertyworkerPool`

Returns:

  • (String)


1231
1232
1233
# File 'lib/google/apis/cloudbuild_v1beta1/classes.rb', line 1231

def worker_pool
  @worker_pool
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1238
1239
1240
1241
1242
# File 'lib/google/apis/cloudbuild_v1beta1/classes.rb', line 1238

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