Class: Google::Apis::ContainerV1beta1::ListOperationsResponse

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

Overview

ListOperationsResponse is the result of ListOperationsRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListOperationsResponse

Returns a new instance of ListOperationsResponse.



3409
3410
3411
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3409

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

Instance Attribute Details

#missing_zonesArray<String>

If any zones are listed here, the list of operations returned may be missing the operations from those zones. Corresponds to the JSON property missingZones

Returns:

  • (Array<String>)


3402
3403
3404
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3402

def missing_zones
  @missing_zones
end

#operationsArray<Google::Apis::ContainerV1beta1::Operation>

A list of operations in the project in the specified zone. Corresponds to the JSON property operations



3407
3408
3409
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3407

def operations
  @operations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3414
3415
3416
3417
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3414

def update!(**args)
  @missing_zones = args[:missing_zones] if args.key?(:missing_zones)
  @operations = args[:operations] if args.key?(:operations)
end