Class: Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdateList

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

Response returned by List method.

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

Returns a new instance of RollingUpdateList



719
720
721
# File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 719

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

Instance Attribute Details

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

Collection of requested updates. Corresponds to the JSON property items



702
703
704
# File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 702

def items
  @items
end

#kindString

[Output Only] Type of the resource. Corresponds to the JSON property kind

Returns:

  • (String)


707
708
709
# File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 707

def kind
  @kind
end

#next_page_tokenString

A token used to continue a truncated list request. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


712
713
714
# File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 712

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)


717
718
719
# File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 717

def self_link
  @self_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



724
725
726
727
728
729
# File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 724

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