class Google::Apis::SpannerV1::BatchCreateSessionsRequest
The request for BatchCreateSessions.
Attributes
session_count[RW]
Required. The number of sessions to be created in this batch call. The API may return fewer than the requested number of sessions. If a specific number of sessions are desired, the client can make additional calls to BatchCreateSessions (adjusting session_count
as necessary). Corresponds to the JSON property `sessionCount` @return [Fixnum]
session_template[RW]
A session in the Cloud Spanner API. Corresponds to the JSON property `sessionTemplate` @return [Google::Apis::SpannerV1::Session]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/spanner_v1/classes.rb, line 170 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 175 def update!(**args) @session_count = args[:session_count] if args.key?(:session_count) @session_template = args[:session_template] if args.key?(:session_template) end