Class: Google::Apis::ReplicapoolV1beta2::InstanceGroupManagerList

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ InstanceGroupManagerList

Returns a new instance of InstanceGroupManagerList



169
170
171
# File 'generated/google/apis/replicapool_v1beta2/classes.rb', line 169

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

Instance Attribute Details

#idString

Unique identifier for the resource; defined by the server (output only). Corresponds to the JSON property id

Returns:

  • (String)


147
148
149
# File 'generated/google/apis/replicapool_v1beta2/classes.rb', line 147

def id
  @id
end

#itemsArray<Google::Apis::ReplicapoolV1beta2::InstanceGroupManager>

A list of instance resources. Corresponds to the JSON property items



152
153
154
# File 'generated/google/apis/replicapool_v1beta2/classes.rb', line 152

def items
  @items
end

#kindString

Type of resource. Corresponds to the JSON property kind

Returns:

  • (String)


157
158
159
# File 'generated/google/apis/replicapool_v1beta2/classes.rb', line 157

def kind
  @kind
end

#next_page_tokenString

A token used to continue a truncated list request (output only). Corresponds to the JSON property nextPageToken

Returns:

  • (String)


162
163
164
# File 'generated/google/apis/replicapool_v1beta2/classes.rb', line 162

def next_page_token
  @next_page_token
end

Server defined URL for this resource (output only). Corresponds to the JSON property selfLink

Returns:

  • (String)


167
168
169
# File 'generated/google/apis/replicapool_v1beta2/classes.rb', line 167

def self_link
  @self_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



174
175
176
177
178
179
180
# File 'generated/google/apis/replicapool_v1beta2/classes.rb', line 174

def update!(**args)
  @id = args[:id] if args.key?(:id)
  @items = args[:items] if args.key?(:items)
  @kind = args[:kind] if args.key?(:kind)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @self_link = args[:self_link] if args.key?(:self_link)
end