generated/google/apis/spanner_v1/representations.rb in google-api-client-0.29.0 vs generated/google/apis/spanner_v1/representations.rb in google-api-client-0.29.1
- old
+ new
@@ -284,10 +284,16 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class ReplicaInfo
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class ResultSet
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -607,10 +613,12 @@
class InstanceConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName'
property :name, as: 'name'
+ collection :replicas, as: 'replicas', class: Google::Apis::SpannerV1::ReplicaInfo, decorator: Google::Apis::SpannerV1::ReplicaInfo::Representation
+
end
end
class KeyRange
# @private
@@ -844,9 +852,18 @@
end
class ReadWrite
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ end
+ end
+
+ class ReplicaInfo
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :default_leader_location, as: 'defaultLeaderLocation'
+ property :location, as: 'location'
+ property :type, as: 'type'
end
end
class ResultSet
# @private