generated/google/apis/spanner_v1/representations.rb in google-api-client-0.13.2 vs generated/google/apis/spanner_v1/representations.rb in google-api-client-0.13.3
- old
+ new
@@ -20,983 +20,998 @@
module Google
module Apis
module SpannerV1
- class UpdateInstanceRequest
+ class AuditConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Empty
+ class AuditLogConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class TransactionOptions
+ class AuthorizationLoggingOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class CreateDatabaseRequest
+ class BeginTransactionRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class CreateInstanceRequest
+ class Binding
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Condition
+ class ChildLink
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class AuditLogConfig
+ class CloudAuditOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class ReadOnly
+ class CommitRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class ExecuteSqlRequest
+ class CommitResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Policy
+ class Condition
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class ReadRequest
+ class CounterOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Write
+ class CreateDatabaseMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class ReadWrite
+ class CreateDatabaseRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class DataAccessOptions
+ class CreateInstanceMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Operation
+ class CreateInstanceRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class ResultSet
+ class DataAccessOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Status
+ class Database
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class UpdateDatabaseDdlRequest
+ class Delete
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Binding
+ class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class PartialResultSet
+ class ExecuteSqlRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class UpdateInstanceMetadata
+ class Expr
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class ListOperationsResponse
+ class Field
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class ResultSetMetadata
+ class GetDatabaseDdlResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class TransactionSelector
+ class GetIamPolicyRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Mutation
+ class Instance
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class KeySet
+ class InstanceConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class GetDatabaseDdlResponse
+ class KeyRange
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Database
+ class KeySet
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Instance
+ class ListDatabasesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class SetIamPolicyRequest
+ class ListInstanceConfigsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class ListDatabasesResponse
+ class ListInstancesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class RollbackRequest
+ class ListOperationsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Transaction
+ class LogConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class UpdateDatabaseDdlMetadata
+ class Mutation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class CounterOptions
+ class Operation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class StructType
+ class PartialResultSet
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class QueryPlan
+ class PlanNode
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Field
+ class Policy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class TestIamPermissionsRequest
+ class QueryPlan
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class ResultSetStats
+ class ReadOnly
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class CommitResponse
+ class ReadRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Type
+ class ReadWrite
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class PlanNode
+ class ResultSet
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class CreateInstanceMetadata
+ class ResultSetMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class AuditConfig
+ class ResultSetStats
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class ChildLink
+ class RollbackRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class CloudAuditOptions
+ class Rule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Expr
+ class Session
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Delete
+ class SetIamPolicyRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class ListInstanceConfigsResponse
+ class ShortRepresentation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class BeginTransactionRequest
+ class Status
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class CommitRequest
+ class StructType
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class TestIamPermissionsResponse
+ class TestIamPermissionsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class GetIamPolicyRequest
+ class TestIamPermissionsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Rule
+ class Transaction
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class CreateDatabaseMetadata
+ class TransactionOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class LogConfig
+ class TransactionSelector
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Session
+ class Type
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class KeyRange
+ class UpdateDatabaseDdlMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class ListInstancesResponse
+ class UpdateDatabaseDdlRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class ShortRepresentation
+ class UpdateInstanceMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class InstanceConfig
+ class UpdateInstanceRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class UpdateInstanceRequest
- # @private
- class Representation < Google::Apis::Core::JsonRepresentation
- property :field_mask, as: 'fieldMask'
- property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
+ class Write
+ class Representation < Google::Apis::Core::JsonRepresentation; end
- end
+ include Google::Apis::Core::JsonObjectSupport
end
- class Empty
+ class AuditConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::SpannerV1::AuditLogConfig, decorator: Google::Apis::SpannerV1::AuditLogConfig::Representation
+
+ collection :exempted_members, as: 'exemptedMembers'
+ property :service, as: 'service'
end
end
- class TransactionOptions
+ class AuditLogConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :read_only, as: 'readOnly', class: Google::Apis::SpannerV1::ReadOnly, decorator: Google::Apis::SpannerV1::ReadOnly::Representation
-
- property :read_write, as: 'readWrite', class: Google::Apis::SpannerV1::ReadWrite, decorator: Google::Apis::SpannerV1::ReadWrite::Representation
-
+ collection :exempted_members, as: 'exemptedMembers'
+ property :log_type, as: 'logType'
end
end
- class CreateDatabaseRequest
+ class AuthorizationLoggingOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :create_statement, as: 'createStatement'
- collection :extra_statements, as: 'extraStatements'
+ property :permission_type, as: 'permissionType'
end
end
- class CreateInstanceRequest
+ class BeginTransactionRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
+ property :options, as: 'options', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
- property :instance_id, as: 'instanceId'
end
end
- class Condition
+ class Binding
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :sys, as: 'sys'
- property :value, as: 'value'
- collection :values, as: 'values'
- property :iam, as: 'iam'
- property :op, as: 'op'
- property :svc, as: 'svc'
+ property :condition, as: 'condition', class: Google::Apis::SpannerV1::Expr, decorator: Google::Apis::SpannerV1::Expr::Representation
+
+ collection :members, as: 'members'
+ property :role, as: 'role'
end
end
- class AuditLogConfig
+ class ChildLink
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- collection :exempted_members, as: 'exemptedMembers'
- property :log_type, as: 'logType'
+ property :child_index, as: 'childIndex'
+ property :type, as: 'type'
+ property :variable, as: 'variable'
end
end
- class ReadOnly
+ class CloudAuditOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :min_read_timestamp, as: 'minReadTimestamp'
- property :max_staleness, as: 'maxStaleness'
- property :read_timestamp, as: 'readTimestamp'
- property :return_read_timestamp, as: 'returnReadTimestamp'
- property :exact_staleness, as: 'exactStaleness'
- property :strong, as: 'strong'
+ property :authorization_logging_options, as: 'authorizationLoggingOptions', class: Google::Apis::SpannerV1::AuthorizationLoggingOptions, decorator: Google::Apis::SpannerV1::AuthorizationLoggingOptions::Representation
+
+ property :log_name, as: 'logName'
end
end
- class ExecuteSqlRequest
+ class CommitRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::TransactionSelector, decorator: Google::Apis::SpannerV1::TransactionSelector::Representation
+ collection :mutations, as: 'mutations', class: Google::Apis::SpannerV1::Mutation, decorator: Google::Apis::SpannerV1::Mutation::Representation
- property :resume_token, :base64 => true, as: 'resumeToken'
- hash :param_types, as: 'paramTypes', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
+ property :single_use_transaction, as: 'singleUseTransaction', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
- property :sql, as: 'sql'
- hash :params, as: 'params'
- property :query_mode, as: 'queryMode'
+ property :transaction_id, :base64 => true, as: 'transactionId'
end
end
- class Policy
+ class CommitResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- collection :rules, as: 'rules', class: Google::Apis::SpannerV1::Rule, decorator: Google::Apis::SpannerV1::Rule::Representation
-
- property :version, as: 'version'
- collection :audit_configs, as: 'auditConfigs', class: Google::Apis::SpannerV1::AuditConfig, decorator: Google::Apis::SpannerV1::AuditConfig::Representation
-
- collection :bindings, as: 'bindings', class: Google::Apis::SpannerV1::Binding, decorator: Google::Apis::SpannerV1::Binding::Representation
-
- property :etag, :base64 => true, as: 'etag'
- property :iam_owned, as: 'iamOwned'
+ property :commit_timestamp, as: 'commitTimestamp'
end
end
- class ReadRequest
+ class Condition
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :limit, :numeric_string => true, as: 'limit'
- property :index, as: 'index'
- property :key_set, as: 'keySet', class: Google::Apis::SpannerV1::KeySet, decorator: Google::Apis::SpannerV1::KeySet::Representation
-
- collection :columns, as: 'columns'
- property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::TransactionSelector, decorator: Google::Apis::SpannerV1::TransactionSelector::Representation
-
- property :resume_token, :base64 => true, as: 'resumeToken'
- property :table, as: 'table'
+ property :iam, as: 'iam'
+ property :op, as: 'op'
+ property :svc, as: 'svc'
+ property :sys, as: 'sys'
+ property :value, as: 'value'
+ collection :values, as: 'values'
end
end
- class Write
+ class CounterOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :table, as: 'table'
- collection :values, as: 'values', :class => Array do
- include Representable::JSON::Collection
- items
- end
-
- collection :columns, as: 'columns'
+ property :field, as: 'field'
+ property :metric, as: 'metric'
end
end
- class ReadWrite
+ class CreateDatabaseMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :database, as: 'database'
end
end
- class DataAccessOptions
+ class CreateDatabaseRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :create_statement, as: 'createStatement'
+ collection :extra_statements, as: 'extraStatements'
end
end
- class Operation
+ class CreateInstanceMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :done, as: 'done'
- hash :response, as: 'response'
- property :name, as: 'name'
- property :error, as: 'error', class: Google::Apis::SpannerV1::Status, decorator: Google::Apis::SpannerV1::Status::Representation
+ property :cancel_time, as: 'cancelTime'
+ property :end_time, as: 'endTime'
+ property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
- hash :metadata, as: 'metadata'
+ property :start_time, as: 'startTime'
end
end
- class ResultSet
+ class CreateInstanceRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :stats, as: 'stats', class: Google::Apis::SpannerV1::ResultSetStats, decorator: Google::Apis::SpannerV1::ResultSetStats::Representation
+ property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
- collection :rows, as: 'rows', :class => Array do
- include Representable::JSON::Collection
- items
+ property :instance_id, as: 'instanceId'
+ end
end
- property :metadata, as: 'metadata', class: Google::Apis::SpannerV1::ResultSetMetadata, decorator: Google::Apis::SpannerV1::ResultSetMetadata::Representation
-
+ class DataAccessOptions
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
end
end
- class Status
+ class Database
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- collection :details, as: 'details'
- property :code, as: 'code'
- property :message, as: 'message'
+ property :name, as: 'name'
+ property :state, as: 'state'
end
end
- class UpdateDatabaseDdlRequest
+ class Delete
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- collection :statements, as: 'statements'
- property :operation_id, as: 'operationId'
+ property :key_set, as: 'keySet', class: Google::Apis::SpannerV1::KeySet, decorator: Google::Apis::SpannerV1::KeySet::Representation
+
+ property :table, as: 'table'
end
end
- class Binding
+ class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- collection :members, as: 'members'
- property :role, as: 'role'
- property :condition, as: 'condition', class: Google::Apis::SpannerV1::Expr, decorator: Google::Apis::SpannerV1::Expr::Representation
-
end
end
- class PartialResultSet
+ class ExecuteSqlRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :chunked_value, as: 'chunkedValue'
- collection :values, as: 'values'
- property :metadata, as: 'metadata', class: Google::Apis::SpannerV1::ResultSetMetadata, decorator: Google::Apis::SpannerV1::ResultSetMetadata::Representation
+ hash :param_types, as: 'paramTypes', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
+ hash :params, as: 'params'
+ property :query_mode, as: 'queryMode'
property :resume_token, :base64 => true, as: 'resumeToken'
- property :stats, as: 'stats', class: Google::Apis::SpannerV1::ResultSetStats, decorator: Google::Apis::SpannerV1::ResultSetStats::Representation
+ property :sql, as: 'sql'
+ property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::TransactionSelector, decorator: Google::Apis::SpannerV1::TransactionSelector::Representation
end
end
- class UpdateInstanceMetadata
+ class Expr
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :start_time, as: 'startTime'
- property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
-
- property :end_time, as: 'endTime'
- property :cancel_time, as: 'cancelTime'
+ property :description, as: 'description'
+ property :expression, as: 'expression'
+ property :location, as: 'location'
+ property :title, as: 'title'
end
end
- class ListOperationsResponse
+ class Field
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- collection :operations, as: 'operations', class: Google::Apis::SpannerV1::Operation, decorator: Google::Apis::SpannerV1::Operation::Representation
+ property :name, as: 'name'
+ property :type, as: 'type', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
- property :next_page_token, as: 'nextPageToken'
end
end
- class ResultSetMetadata
+ class GetDatabaseDdlResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :row_type, as: 'rowType', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation
-
- property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::Transaction, decorator: Google::Apis::SpannerV1::Transaction::Representation
-
+ collection :statements, as: 'statements'
end
end
- class TransactionSelector
+ class GetIamPolicyRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :single_use, as: 'singleUse', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
+ end
+ end
- property :begin, as: 'begin', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
-
- property :id, :base64 => true, as: 'id'
+ class Instance
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :config, as: 'config'
+ property :display_name, as: 'displayName'
+ hash :labels, as: 'labels'
+ property :name, as: 'name'
+ property :node_count, as: 'nodeCount'
+ property :state, as: 'state'
end
end
- class Mutation
+ class InstanceConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :delete, as: 'delete', class: Google::Apis::SpannerV1::Delete, decorator: Google::Apis::SpannerV1::Delete::Representation
+ property :display_name, as: 'displayName'
+ property :name, as: 'name'
+ end
+ end
- property :insert_or_update, as: 'insertOrUpdate', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
-
- property :insert, as: 'insert', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
-
- property :update, as: 'update', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
-
- property :replace, as: 'replace', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
-
+ class KeyRange
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :end_closed, as: 'endClosed'
+ collection :end_open, as: 'endOpen'
+ collection :start_closed, as: 'startClosed'
+ collection :start_open, as: 'startOpen'
end
end
class KeySet
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- collection :ranges, as: 'ranges', class: Google::Apis::SpannerV1::KeyRange, decorator: Google::Apis::SpannerV1::KeyRange::Representation
-
property :all, as: 'all'
collection :keys, as: 'keys', :class => Array do
include Representable::JSON::Collection
items
end
- end
- end
+ collection :ranges, as: 'ranges', class: Google::Apis::SpannerV1::KeyRange, decorator: Google::Apis::SpannerV1::KeyRange::Representation
- class GetDatabaseDdlResponse
- # @private
- class Representation < Google::Apis::Core::JsonRepresentation
- collection :statements, as: 'statements'
end
end
- class Database
+ class ListDatabasesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :state, as: 'state'
- property :name, as: 'name'
+ collection :databases, as: 'databases', class: Google::Apis::SpannerV1::Database, decorator: Google::Apis::SpannerV1::Database::Representation
+
+ property :next_page_token, as: 'nextPageToken'
end
end
- class Instance
+ class ListInstanceConfigsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :name, as: 'name'
- property :display_name, as: 'displayName'
- property :node_count, as: 'nodeCount'
- hash :labels, as: 'labels'
- property :config, as: 'config'
- property :state, as: 'state'
+ collection :instance_configs, as: 'instanceConfigs', class: Google::Apis::SpannerV1::InstanceConfig, decorator: Google::Apis::SpannerV1::InstanceConfig::Representation
+
+ property :next_page_token, as: 'nextPageToken'
end
end
- class SetIamPolicyRequest
+ class ListInstancesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :policy, as: 'policy', class: Google::Apis::SpannerV1::Policy, decorator: Google::Apis::SpannerV1::Policy::Representation
+ collection :instances, as: 'instances', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
- property :update_mask, as: 'updateMask'
+ property :next_page_token, as: 'nextPageToken'
end
end
- class ListDatabasesResponse
+ class ListOperationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
- collection :databases, as: 'databases', class: Google::Apis::SpannerV1::Database, decorator: Google::Apis::SpannerV1::Database::Representation
+ collection :operations, as: 'operations', class: Google::Apis::SpannerV1::Operation, decorator: Google::Apis::SpannerV1::Operation::Representation
end
end
- class RollbackRequest
+ class LogConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :transaction_id, :base64 => true, as: 'transactionId'
+ property :cloud_audit, as: 'cloudAudit', class: Google::Apis::SpannerV1::CloudAuditOptions, decorator: Google::Apis::SpannerV1::CloudAuditOptions::Representation
+
+ property :counter, as: 'counter', class: Google::Apis::SpannerV1::CounterOptions, decorator: Google::Apis::SpannerV1::CounterOptions::Representation
+
+ property :data_access, as: 'dataAccess', class: Google::Apis::SpannerV1::DataAccessOptions, decorator: Google::Apis::SpannerV1::DataAccessOptions::Representation
+
end
end
- class Transaction
+ class Mutation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :read_timestamp, as: 'readTimestamp'
- property :id, :base64 => true, as: 'id'
+ property :delete, as: 'delete', class: Google::Apis::SpannerV1::Delete, decorator: Google::Apis::SpannerV1::Delete::Representation
+
+ property :insert, as: 'insert', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
+
+ property :insert_or_update, as: 'insertOrUpdate', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
+
+ property :replace, as: 'replace', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
+
+ property :update, as: 'update', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
+
end
end
- class UpdateDatabaseDdlMetadata
+ class Operation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :database, as: 'database'
- collection :statements, as: 'statements'
- collection :commit_timestamps, as: 'commitTimestamps'
+ property :done, as: 'done'
+ property :error, as: 'error', class: Google::Apis::SpannerV1::Status, decorator: Google::Apis::SpannerV1::Status::Representation
+
+ hash :metadata, as: 'metadata'
+ property :name, as: 'name'
+ hash :response, as: 'response'
end
end
- class CounterOptions
+ class PartialResultSet
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :field, as: 'field'
- property :metric, as: 'metric'
+ property :chunked_value, as: 'chunkedValue'
+ property :metadata, as: 'metadata', class: Google::Apis::SpannerV1::ResultSetMetadata, decorator: Google::Apis::SpannerV1::ResultSetMetadata::Representation
+
+ property :resume_token, :base64 => true, as: 'resumeToken'
+ property :stats, as: 'stats', class: Google::Apis::SpannerV1::ResultSetStats, decorator: Google::Apis::SpannerV1::ResultSetStats::Representation
+
+ collection :values, as: 'values'
end
end
- class StructType
+ class PlanNode
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- collection :fields, as: 'fields', class: Google::Apis::SpannerV1::Field, decorator: Google::Apis::SpannerV1::Field::Representation
+ collection :child_links, as: 'childLinks', class: Google::Apis::SpannerV1::ChildLink, decorator: Google::Apis::SpannerV1::ChildLink::Representation
+ property :display_name, as: 'displayName'
+ hash :execution_stats, as: 'executionStats'
+ property :index, as: 'index'
+ property :kind, as: 'kind'
+ hash :metadata, as: 'metadata'
+ property :short_representation, as: 'shortRepresentation', class: Google::Apis::SpannerV1::ShortRepresentation, decorator: Google::Apis::SpannerV1::ShortRepresentation::Representation
+
end
end
- class QueryPlan
+ class Policy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- collection :plan_nodes, as: 'planNodes', class: Google::Apis::SpannerV1::PlanNode, decorator: Google::Apis::SpannerV1::PlanNode::Representation
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::SpannerV1::AuditConfig, decorator: Google::Apis::SpannerV1::AuditConfig::Representation
+ collection :bindings, as: 'bindings', class: Google::Apis::SpannerV1::Binding, decorator: Google::Apis::SpannerV1::Binding::Representation
+
+ property :etag, :base64 => true, as: 'etag'
+ property :iam_owned, as: 'iamOwned'
+ collection :rules, as: 'rules', class: Google::Apis::SpannerV1::Rule, decorator: Google::Apis::SpannerV1::Rule::Representation
+
+ property :version, as: 'version'
end
end
- class Field
+ class QueryPlan
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :name, as: 'name'
- property :type, as: 'type', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
+ collection :plan_nodes, as: 'planNodes', class: Google::Apis::SpannerV1::PlanNode, decorator: Google::Apis::SpannerV1::PlanNode::Representation
end
end
- class TestIamPermissionsRequest
+ class ReadOnly
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- collection :permissions, as: 'permissions'
+ property :exact_staleness, as: 'exactStaleness'
+ property :max_staleness, as: 'maxStaleness'
+ property :min_read_timestamp, as: 'minReadTimestamp'
+ property :read_timestamp, as: 'readTimestamp'
+ property :return_read_timestamp, as: 'returnReadTimestamp'
+ property :strong, as: 'strong'
end
end
- class ResultSetStats
+ class ReadRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- hash :query_stats, as: 'queryStats'
- property :query_plan, as: 'queryPlan', class: Google::Apis::SpannerV1::QueryPlan, decorator: Google::Apis::SpannerV1::QueryPlan::Representation
+ collection :columns, as: 'columns'
+ property :index, as: 'index'
+ property :key_set, as: 'keySet', class: Google::Apis::SpannerV1::KeySet, decorator: Google::Apis::SpannerV1::KeySet::Representation
+ property :limit, :numeric_string => true, as: 'limit'
+ property :resume_token, :base64 => true, as: 'resumeToken'
+ property :table, as: 'table'
+ property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::TransactionSelector, decorator: Google::Apis::SpannerV1::TransactionSelector::Representation
+
end
end
- class CommitResponse
+ class ReadWrite
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :commit_timestamp, as: 'commitTimestamp'
end
end
- class Type
+ class ResultSet
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :struct_type, as: 'structType', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation
+ property :metadata, as: 'metadata', class: Google::Apis::SpannerV1::ResultSetMetadata, decorator: Google::Apis::SpannerV1::ResultSetMetadata::Representation
- property :array_element_type, as: 'arrayElementType', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
+ collection :rows, as: 'rows', :class => Array do
+ include Representable::JSON::Collection
+ items
+ end
- property :code, as: 'code'
+ property :stats, as: 'stats', class: Google::Apis::SpannerV1::ResultSetStats, decorator: Google::Apis::SpannerV1::ResultSetStats::Representation
+
end
end
- class PlanNode
+ class ResultSetMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- collection :child_links, as: 'childLinks', class: Google::Apis::SpannerV1::ChildLink, decorator: Google::Apis::SpannerV1::ChildLink::Representation
+ property :row_type, as: 'rowType', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation
- hash :metadata, as: 'metadata'
- hash :execution_stats, as: 'executionStats'
- property :short_representation, as: 'shortRepresentation', class: Google::Apis::SpannerV1::ShortRepresentation, decorator: Google::Apis::SpannerV1::ShortRepresentation::Representation
+ property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::Transaction, decorator: Google::Apis::SpannerV1::Transaction::Representation
- property :index, as: 'index'
- property :kind, as: 'kind'
- property :display_name, as: 'displayName'
end
end
- class CreateInstanceMetadata
+ class ResultSetStats
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :end_time, as: 'endTime'
- property :cancel_time, as: 'cancelTime'
- property :start_time, as: 'startTime'
- property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
+ property :query_plan, as: 'queryPlan', class: Google::Apis::SpannerV1::QueryPlan, decorator: Google::Apis::SpannerV1::QueryPlan::Representation
+ hash :query_stats, as: 'queryStats'
end
end
- class AuditConfig
+ class RollbackRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::SpannerV1::AuditLogConfig, decorator: Google::Apis::SpannerV1::AuditLogConfig::Representation
-
- collection :exempted_members, as: 'exemptedMembers'
- property :service, as: 'service'
+ property :transaction_id, :base64 => true, as: 'transactionId'
end
end
- class ChildLink
+ class Rule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :variable, as: 'variable'
- property :child_index, as: 'childIndex'
- property :type, as: 'type'
+ property :action, as: 'action'
+ collection :conditions, as: 'conditions', class: Google::Apis::SpannerV1::Condition, decorator: Google::Apis::SpannerV1::Condition::Representation
+
+ property :description, as: 'description'
+ collection :in, as: 'in'
+ collection :log_config, as: 'logConfig', class: Google::Apis::SpannerV1::LogConfig, decorator: Google::Apis::SpannerV1::LogConfig::Representation
+
+ collection :not_in, as: 'notIn'
+ collection :permissions, as: 'permissions'
end
end
- class CloudAuditOptions
+ class Session
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :log_name, as: 'logName'
+ property :name, as: 'name'
end
end
- class Expr
+ class SetIamPolicyRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :description, as: 'description'
- property :expression, as: 'expression'
- property :location, as: 'location'
- property :title, as: 'title'
+ property :policy, as: 'policy', class: Google::Apis::SpannerV1::Policy, decorator: Google::Apis::SpannerV1::Policy::Representation
+
+ property :update_mask, as: 'updateMask'
end
end
- class Delete
+ class ShortRepresentation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :key_set, as: 'keySet', class: Google::Apis::SpannerV1::KeySet, decorator: Google::Apis::SpannerV1::KeySet::Representation
-
- property :table, as: 'table'
+ property :description, as: 'description'
+ hash :subqueries, as: 'subqueries'
end
end
- class ListInstanceConfigsResponse
+ class Status
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :next_page_token, as: 'nextPageToken'
- collection :instance_configs, as: 'instanceConfigs', class: Google::Apis::SpannerV1::InstanceConfig, decorator: Google::Apis::SpannerV1::InstanceConfig::Representation
-
+ property :code, as: 'code'
+ collection :details, as: 'details'
+ property :message, as: 'message'
end
end
- class BeginTransactionRequest
+ class StructType
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :options, as: 'options', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
+ collection :fields, as: 'fields', class: Google::Apis::SpannerV1::Field, decorator: Google::Apis::SpannerV1::Field::Representation
end
end
- class CommitRequest
+ class TestIamPermissionsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- collection :mutations, as: 'mutations', class: Google::Apis::SpannerV1::Mutation, decorator: Google::Apis::SpannerV1::Mutation::Representation
-
- property :single_use_transaction, as: 'singleUseTransaction', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
-
- property :transaction_id, :base64 => true, as: 'transactionId'
+ collection :permissions, as: 'permissions'
end
end
class TestIamPermissionsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :permissions, as: 'permissions'
end
end
- class GetIamPolicyRequest
+ class Transaction
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :id, :base64 => true, as: 'id'
+ property :read_timestamp, as: 'readTimestamp'
end
end
- class Rule
+ class TransactionOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- collection :conditions, as: 'conditions', class: Google::Apis::SpannerV1::Condition, decorator: Google::Apis::SpannerV1::Condition::Representation
+ property :read_only, as: 'readOnly', class: Google::Apis::SpannerV1::ReadOnly, decorator: Google::Apis::SpannerV1::ReadOnly::Representation
- collection :log_config, as: 'logConfig', class: Google::Apis::SpannerV1::LogConfig, decorator: Google::Apis::SpannerV1::LogConfig::Representation
+ property :read_write, as: 'readWrite', class: Google::Apis::SpannerV1::ReadWrite, decorator: Google::Apis::SpannerV1::ReadWrite::Representation
- collection :in, as: 'in'
- collection :permissions, as: 'permissions'
- property :action, as: 'action'
- collection :not_in, as: 'notIn'
- property :description, as: 'description'
end
end
- class CreateDatabaseMetadata
+ class TransactionSelector
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :database, as: 'database'
+ property :begin, as: 'begin', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
+
+ property :id, :base64 => true, as: 'id'
+ property :single_use, as: 'singleUse', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
+
end
end
- class LogConfig
+ class Type
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :counter, as: 'counter', class: Google::Apis::SpannerV1::CounterOptions, decorator: Google::Apis::SpannerV1::CounterOptions::Representation
+ property :array_element_type, as: 'arrayElementType', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
- property :data_access, as: 'dataAccess', class: Google::Apis::SpannerV1::DataAccessOptions, decorator: Google::Apis::SpannerV1::DataAccessOptions::Representation
+ property :code, as: 'code'
+ property :struct_type, as: 'structType', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation
- property :cloud_audit, as: 'cloudAudit', class: Google::Apis::SpannerV1::CloudAuditOptions, decorator: Google::Apis::SpannerV1::CloudAuditOptions::Representation
-
end
end
- class Session
+ class UpdateDatabaseDdlMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :name, as: 'name'
+ collection :commit_timestamps, as: 'commitTimestamps'
+ property :database, as: 'database'
+ collection :statements, as: 'statements'
end
end
- class KeyRange
+ class UpdateDatabaseDdlRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- collection :start_open, as: 'startOpen'
- collection :start_closed, as: 'startClosed'
- collection :end_open, as: 'endOpen'
- collection :end_closed, as: 'endClosed'
+ property :operation_id, as: 'operationId'
+ collection :statements, as: 'statements'
end
end
- class ListInstancesResponse
+ class UpdateInstanceMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :next_page_token, as: 'nextPageToken'
- collection :instances, as: 'instances', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
+ property :cancel_time, as: 'cancelTime'
+ property :end_time, as: 'endTime'
+ property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
+ property :start_time, as: 'startTime'
end
end
- class ShortRepresentation
+ class UpdateInstanceRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :description, as: 'description'
- hash :subqueries, as: 'subqueries'
+ property :field_mask, as: 'fieldMask'
+ property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
+
end
end
- class InstanceConfig
+ class Write
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :name, as: 'name'
- property :display_name, as: 'displayName'
+ collection :columns, as: 'columns'
+ property :table, as: 'table'
+ collection :values, as: 'values', :class => Array do
+ include Representable::JSON::Collection
+ items
+ end
+
end
end
end
end
end