Class: Google::Apis::ReplicapoolupdaterV1beta1::OperationList

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

Overview

Contains a list of Operation resources.

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.



444
445
446
# File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 444

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

Instance Attribute Details

#idString

[Output Only] Unique identifier for the resource; defined by the server. Corresponds to the JSON property id

Returns:

  • (String)


421
422
423
# File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 421

def id
  @id
end

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

[Output Only] The Operation resources. Corresponds to the JSON property items



426
427
428
# File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 426

def items
  @items
end

#kindString

[Output Only] Type of resource. Always replicapoolupdater#operationList for OperationList resources. Corresponds to the JSON property kind

Returns:

  • (String)


432
433
434
# File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 432

def kind
  @kind
end

#next_page_tokenString

[Output Only] A token used to continue a truncate. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


437
438
439
# File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 437

def next_page_token
  @next_page_token
end

[Output Only] The fully qualified URL for the resource. Corresponds to the JSON property selfLink

Returns:

  • (String)


442
443
444
# File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 442

def self_link
  @self_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



449
450
451
452
453
454
455
# File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 449

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