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

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

Overview

ListOperationsResponse is the result of ListOperationsRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListOperationsResponse

Returns a new instance of ListOperationsResponse



1599
1600
1601
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1599

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>)


1592
1593
1594
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1592

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



1597
1598
1599
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1597

def operations
  @operations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1604
1605
1606
1607
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1604

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