class Google::Apis::VersionhistoryV1::ListVersionsResponse

Response message for ListVersions.

Attributes

next_page_token[RW]

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` @return [String]

versions[RW]

The list of versions. Corresponds to the JSON property ‘versions` @return [Array<Google::Apis::VersionhistoryV1::Version>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/versionhistory_v1/classes.rb, line 175
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/versionhistory_v1/classes.rb, line 180
def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @versions = args[:versions] if args.key?(:versions)
end