class Google::Apis::SpannerV1::CreateSessionRequest

The request for CreateSession.

Attributes

session[RW]

A session in the Cloud Spanner API. Corresponds to the JSON property `session` @return [Google::Apis::SpannerV1::Session]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/spanner_v1/classes.rb, line 964
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 969
def update!(**args)
  @session = args[:session] if args.key?(:session)
end