Class: Google::Apis::VersionhistoryV1::ListReleasesResponse
- Inherits:
-
Object
- Object
- Google::Apis::VersionhistoryV1::ListReleasesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/versionhistory_v1/classes.rb,
lib/google/apis/versionhistory_v1/representations.rb,
lib/google/apis/versionhistory_v1/representations.rb
Overview
Response message for ListReleases.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
page_token
to retrieve the next page. -
#releases ⇒ Array<Google::Apis::VersionhistoryV1::Release>
The list of releases.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListReleasesResponse
constructor
A new instance of ListReleasesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListReleasesResponse
Returns a new instance of ListReleasesResponse.
149 150 151 |
# File 'lib/google/apis/versionhistory_v1/classes.rb', line 149 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
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
142 143 144 |
# File 'lib/google/apis/versionhistory_v1/classes.rb', line 142 def next_page_token @next_page_token end |
#releases ⇒ Array<Google::Apis::VersionhistoryV1::Release>
The list of releases.
Corresponds to the JSON property releases
147 148 149 |
# File 'lib/google/apis/versionhistory_v1/classes.rb', line 147 def releases @releases end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
154 155 156 157 |
# File 'lib/google/apis/versionhistory_v1/classes.rb', line 154 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @releases = args[:releases] if args.key?(:releases) end |