generated/google/apis/spanner_v1/representations.rb in google-api-client-0.31.0 vs generated/google/apis/spanner_v1/representations.rb in google-api-client-0.32.0

- old
+ new

@@ -20,10 +20,22 @@ module Google module Apis module SpannerV1 + class BatchCreateSessionsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchCreateSessionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class BeginTransactionRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -140,10 +152,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GetPolicyOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Instance class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -416,10 +434,27 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class BatchCreateSessionsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :session_count, as: 'sessionCount' + property :session_template, as: 'sessionTemplate', class: Google::Apis::SpannerV1::Session, decorator: Google::Apis::SpannerV1::Session::Representation + + end + end + + class BatchCreateSessionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :session, as: 'session', class: Google::Apis::SpannerV1::Session, decorator: Google::Apis::SpannerV1::Session::Representation + + end + end + class BeginTransactionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :options, as: 'options', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation @@ -593,9 +628,18 @@ end class GetIamPolicyRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :options, as: 'options', class: Google::Apis::SpannerV1::GetPolicyOptions, decorator: Google::Apis::SpannerV1::GetPolicyOptions::Representation + + end + end + + class GetPolicyOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :requested_policy_version, as: 'requestedPolicyVersion' end end class Instance # @private