Class: Google::Apis::RunV2::GoogleCloudRunV2ListRevisionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::RunV2::GoogleCloudRunV2ListRevisionsResponse
- 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
-
#next_page_token ⇒ String
A token indicating there are more items than page_size.
-
#revisions ⇒ Array<Google::Apis::RunV2::GoogleCloudRunV2Revision>
The resulting list of Revisions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRunV2ListRevisionsResponse
constructor
A new instance of GoogleCloudRunV2ListRevisionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRunV2ListRevisionsResponse
Returns a new instance of GoogleCloudRunV2ListRevisionsResponse.
1259 1260 1261 |
# File 'lib/google/apis/run_v2/classes.rb', line 1259 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
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
1252 1253 1254 |
# File 'lib/google/apis/run_v2/classes.rb', line 1252 def next_page_token @next_page_token end |
#revisions ⇒ Array<Google::Apis::RunV2::GoogleCloudRunV2Revision>
The resulting list of Revisions.
Corresponds to the JSON property revisions
1257 1258 1259 |
# File 'lib/google/apis/run_v2/classes.rb', line 1257 def revisions @revisions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1264 1265 1266 1267 |
# File 'lib/google/apis/run_v2/classes.rb', line 1264 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @revisions = args[:revisions] if args.key?(:revisions) end |