generated/google/apis/bigquery_v2/representations.rb in google-api-client-0.9.pre3 vs generated/google/apis/bigquery_v2/representations.rb in google-api-client-0.9.pre4

- old
+ new

@@ -48,10 +48,18 @@ class ErrorProto class Representation < Google::Apis::Core::JsonRepresentation; end end + class ExplainQueryStage + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class ExplainQueryStep + class Representation < Google::Apis::Core::JsonRepresentation; end + end + class ExternalDataConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end end class GetQueryResultsResponse @@ -140,10 +148,14 @@ class QueryResponse class Representation < Google::Apis::Core::JsonRepresentation; end end + class Streamingbuffer + class Representation < Google::Apis::Core::JsonRepresentation; end + end + class Table class Representation < Google::Apis::Core::JsonRepresentation; end end class TableCell @@ -285,10 +297,38 @@ property :message, as: 'message' property :reason, as: 'reason' end end + class ExplainQueryStage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :compute_ratio_avg, as: 'computeRatioAvg' + property :compute_ratio_max, as: 'computeRatioMax' + property :id, as: 'id' + property :name, as: 'name' + property :read_ratio_avg, as: 'readRatioAvg' + property :read_ratio_max, as: 'readRatioMax' + property :records_read, as: 'recordsRead' + property :records_written, as: 'recordsWritten' + collection :steps, as: 'steps', class: Google::Apis::BigqueryV2::ExplainQueryStep, decorator: Google::Apis::BigqueryV2::ExplainQueryStep::Representation + + property :wait_ratio_avg, as: 'waitRatioAvg' + property :wait_ratio_max, as: 'waitRatioMax' + property :write_ratio_avg, as: 'writeRatioAvg' + property :write_ratio_max, as: 'writeRatioMax' + end + end + + class ExplainQueryStep + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + collection :substeps, as: 'substeps' + end + end + class ExternalDataConfiguration # @private class Representation < Google::Apis::Core::JsonRepresentation property :compression, as: 'compression' property :csv_options, as: 'csvOptions', class: Google::Apis::BigqueryV2::CsvOptions, decorator: Google::Apis::BigqueryV2::CsvOptions::Representation @@ -304,10 +344,12 @@ class GetQueryResultsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :cache_hit, as: 'cacheHit' + collection :errors, as: 'errors', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation + property :etag, as: 'etag' property :job_complete, as: 'jobComplete' property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation property :kind, as: 'kind' @@ -508,11 +550,15 @@ end class JobStatistics2 # @private class Representation < Google::Apis::Core::JsonRepresentation + property :billing_tier, as: 'billingTier' property :cache_hit, as: 'cacheHit' + collection :query_plan, as: 'queryPlan', class: Google::Apis::BigqueryV2::ExplainQueryStage, decorator: Google::Apis::BigqueryV2::ExplainQueryStage::Representation + + property :total_bytes_billed, as: 'totalBytesBilled' property :total_bytes_processed, as: 'totalBytesProcessed' end end class JobStatistics3 @@ -591,10 +637,12 @@ class QueryResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :cache_hit, as: 'cacheHit' + collection :errors, as: 'errors', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation + property :job_complete, as: 'jobComplete' property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation property :kind, as: 'kind' property :page_token, as: 'pageToken' @@ -605,10 +653,19 @@ property :total_bytes_processed, as: 'totalBytesProcessed' property :total_rows, as: 'totalRows' end end + class Streamingbuffer + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :estimated_bytes, as: 'estimatedBytes' + property :estimated_rows, as: 'estimatedRows' + property :oldest_entry_time, as: 'oldestEntryTime' + end + end + class Table # @private class Representation < Google::Apis::Core::JsonRepresentation property :creation_time, as: 'creationTime' property :description, as: 'description' @@ -624,10 +681,12 @@ property :num_bytes, as: 'numBytes' property :num_rows, as: 'numRows' property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation property :self_link, as: 'selfLink' + property :streaming_buffer, as: 'streamingBuffer', class: Google::Apis::BigqueryV2::Streamingbuffer, decorator: Google::Apis::BigqueryV2::Streamingbuffer::Representation + property :table_reference, as: 'tableReference', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation property :type, as: 'type' property :view, as: 'view', class: Google::Apis::BigqueryV2::ViewDefinition, decorator: Google::Apis::BigqueryV2::ViewDefinition::Representation @@ -647,10 +706,11 @@ property :ignore_unknown_values, as: 'ignoreUnknownValues' property :kind, as: 'kind' collection :rows, as: 'rows', class: Google::Apis::BigqueryV2::InsertAllTableDataRequest::Row, decorator: Google::Apis::BigqueryV2::InsertAllTableDataRequest::Row::Representation property :skip_invalid_rows, as: 'skipInvalidRows' + property :template_suffix, as: 'templateSuffix' end class Row # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -761,9 +821,11 @@ class ViewDefinition # @private class Representation < Google::Apis::Core::JsonRepresentation property :query, as: 'query' + collection :user_defined_function_resources, as: 'userDefinedFunctionResources', class: Google::Apis::BigqueryV2::UserDefinedFunctionResource, decorator: Google::Apis::BigqueryV2::UserDefinedFunctionResource::Representation + end end end end end