Class: Google::Apis::GkehubV1alpha::ListRolloutsResponse

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

Overview

Response message for listing rollouts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListRolloutsResponse

Returns a new instance of ListRolloutsResponse.



4264
4265
4266
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4264

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

Instance Attribute Details

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


4257
4258
4259
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4257

def next_page_token
  @next_page_token
end

#rolloutsArray<Google::Apis::GkehubV1alpha::Rollout>

The rollouts from the specified parent resource. Corresponds to the JSON property rollouts



4262
4263
4264
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4262

def rollouts
  @rollouts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4269
4270
4271
4272
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4269

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @rollouts = args[:rollouts] if args.key?(:rollouts)
end