class Google::Apis::SpannerV1::ListSessionsResponse
The response for ListSessions.
Attributes
next_page_token[RW]
`next_page_token` can be sent in a subsequent ListSessions call to fetch more of the matching sessions. Corresponds to the JSON property `nextPageToken` @return [String]
sessions[RW]
The list of requested sessions. Corresponds to the JSON property `sessions` @return [Array<Google::Apis::SpannerV1::Session>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/spanner_v1/classes.rb, line 2208 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/spanner_v1/classes.rb, line 2213 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @sessions = args[:sessions] if args.key?(:sessions) end