Class: Google::Apis::ResourceviewsV1beta2::OperationList

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/resourceviews_v1beta2/classes.rb,
generated/google/apis/resourceviews_v1beta2/representations.rb,
generated/google/apis/resourceviews_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) ⇒ OperationList

Returns a new instance of OperationList



371
372
373
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 371

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)


349
350
351
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 349

def id
  @id
end

#itemsArray<Google::Apis::ResourceviewsV1beta2::Operation>

The operation resources. Corresponds to the JSON property items



354
355
356
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 354

def items
  @items
end

#kindString

Type of resource. Corresponds to the JSON property kind

Returns:

  • (String)


359
360
361
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 359

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)


364
365
366
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 364

def next_page_token
  @next_page_token
end

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

Returns:

  • (String)


369
370
371
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 369

def self_link
  @self_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



376
377
378
379
380
381
382
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 376

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