Class: Google::Apis::RunV2::GoogleCloudRunV2ListRevisionsResponse

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

Overview

Response message containing a list of Revisions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRunV2ListRevisionsResponse

Returns a new instance of GoogleCloudRunV2ListRevisionsResponse.



1336
1337
1338
# File 'lib/google/apis/run_v2/classes.rb', line 1336

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

Instance Attribute Details

#next_page_tokenString

A token indicating there are more items than page_size. Use it in the next ListRevisions request to continue. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1329
1330
1331
# File 'lib/google/apis/run_v2/classes.rb', line 1329

def next_page_token
  @next_page_token
end

#revisionsArray<Google::Apis::RunV2::GoogleCloudRunV2Revision>

The resulting list of Revisions. Corresponds to the JSON property revisions



1334
1335
1336
# File 'lib/google/apis/run_v2/classes.rb', line 1334

def revisions
  @revisions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1341
1342
1343
1344
# File 'lib/google/apis/run_v2/classes.rb', line 1341

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