Class: Google::Apis::ComputeAlpha::AcceleratorPodControllersListResponse

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

Defined Under Namespace

Classes: Warning

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AcceleratorPodControllersListResponse

Returns a new instance of AcceleratorPodControllersListResponse.



223
224
225
# File 'lib/google/apis/compute_alpha/classes.rb', line 223

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

Instance Attribute Details

#itemsArray<Google::Apis::ComputeAlpha::AcceleratorPodController>

Corresponds to the JSON property items



201
202
203
# File 'lib/google/apis/compute_alpha/classes.rb', line 201

def items
  @items
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


206
207
208
# File 'lib/google/apis/compute_alpha/classes.rb', line 206

def kind
  @kind
end

#next_page_tokenString

Corresponds to the JSON property nextPageToken

Returns:

  • (String)


211
212
213
# File 'lib/google/apis/compute_alpha/classes.rb', line 211

def next_page_token
  @next_page_token
end

Corresponds to the JSON property selfLink

Returns:

  • (String)


216
217
218
# File 'lib/google/apis/compute_alpha/classes.rb', line 216

def self_link
  @self_link
end

#warningGoogle::Apis::ComputeAlpha::AcceleratorPodControllersListResponse::Warning

Corresponds to the JSON property warning



221
222
223
# File 'lib/google/apis/compute_alpha/classes.rb', line 221

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



228
229
230
231
232
233
234
# File 'lib/google/apis/compute_alpha/classes.rb', line 228

def update!(**args)
  @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)
  @warning = args[:warning] if args.key?(:warning)
end