Autogenerated update (2018-04-21)
Update: - bigquery_v2 - cloudresourcemanager_v1 - cloudresourcemanager_v1beta1 - cloudresourcemanager_v2 - cloudresourcemanager_v2beta1 - datastore_v1 - datastore_v1beta1 - datastore_v1beta3 - firestore_v1beta1
This commit is contained in:
1 parent
467c1c1a8c
commit
9a87638ca2
20 files changed
+115
-27
No files matched your search
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://cloud.google.com/bigquery/
|
||||
module BigqueryV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180401'
|
||||
REVISION = '20180416'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
||||
@@ -195,6 +195,27 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class Clustering
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Repeated] One or more fields on which data should be clustered. Only top-
|
||||
# level, non-repeated, simple-type fields are supported. The order of the fields
|
||||
# will determine how clusters will be generated, so it is important.
|
||||
# Corresponds to the JSON property `fields`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :fields
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@fields = args[:fields] if args.key?(:fields)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class CsvOptions
|
||||
include Google::Apis::Core::Hashable
|
||||
@@ -1095,6 +1116,12 @@ module Google
|
||||
class GoogleSheetsOptions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Experimental] [Optional] Range of a sheet to query from. Only used when non-
|
||||
# empty. Typical format: !:
|
||||
# Corresponds to the JSON property `range`
|
||||
# @return [String]
|
||||
attr_accessor :range
|
||||
|
||||
# [Optional] The number of rows at the top of a sheet that BigQuery will skip
|
||||
# when reading the data. The default value is 0. This property is useful if you
|
||||
# have header rows that should be skipped. When autodetect is on, behavior is
|
||||
@@ -1116,6 +1143,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@range = args[:range] if args.key?(:range)
|
||||
@skip_leading_rows = args[:skip_leading_rows] if args.key?(:skip_leading_rows)
|
||||
end
|
||||
end
|
||||
@@ -1362,13 +1390,20 @@ module Google
|
||||
attr_accessor :allow_quoted_newlines
|
||||
alias_method :allow_quoted_newlines?, :allow_quoted_newlines
|
||||
|
||||
# Indicates if we should automatically infer the options and schema for CSV and
|
||||
# JSON sources.
|
||||
# [Optional] Indicates if we should automatically infer the options and schema
|
||||
# for CSV and JSON sources.
|
||||
# Corresponds to the JSON property `autodetect`
|
||||
# @return [Boolean]
|
||||
attr_accessor :autodetect
|
||||
alias_method :autodetect?, :autodetect
|
||||
|
||||
# [Experimental] Clustering specification for the destination table. Must be
|
||||
# specified with time-based partitioning, data in the table will be first
|
||||
# partitioned and subsequently clustered.
|
||||
# Corresponds to the JSON property `clustering`
|
||||
# @return [Google::Apis::BigqueryV2::Clustering]
|
||||
attr_accessor :clustering
|
||||
|
||||
# [Optional] Specifies whether the job is allowed to create new tables. The
|
||||
# following values are supported: CREATE_IF_NEEDED: If the table does not exist,
|
||||
# BigQuery creates the table. CREATE_NEVER: The table must already exist. If it
|
||||
@@ -1520,7 +1555,7 @@ module Google
|
||||
# @return [Array<String>]
|
||||
attr_accessor :source_uris
|
||||
|
||||
# If specified, configures time-based partitioning for the destination table.
|
||||
# Time-based partitioning specification for the destination table.
|
||||
# Corresponds to the JSON property `timePartitioning`
|
||||
# @return [Google::Apis::BigqueryV2::TimePartitioning]
|
||||
attr_accessor :time_partitioning
|
||||
@@ -1546,6 +1581,7 @@ module Google
|
||||
@allow_jagged_rows = args[:allow_jagged_rows] if args.key?(:allow_jagged_rows)
|
||||
@allow_quoted_newlines = args[:allow_quoted_newlines] if args.key?(:allow_quoted_newlines)
|
||||
@autodetect = args[:autodetect] if args.key?(:autodetect)
|
||||
@clustering = args[:clustering] if args.key?(:clustering)
|
||||
@create_disposition = args[:create_disposition] if args.key?(:create_disposition)
|
||||
@destination_encryption_configuration = args[:destination_encryption_configuration] if args.key?(:destination_encryption_configuration)
|
||||
@destination_table = args[:destination_table] if args.key?(:destination_table)
|
||||
@@ -1583,6 +1619,13 @@ module Google
|
||||
attr_accessor :allow_large_results
|
||||
alias_method :allow_large_results?, :allow_large_results
|
||||
|
||||
# [Experimental] Clustering specification for the destination table. Must be
|
||||
# specified with time-based partitioning, data in the table will be first
|
||||
# partitioned and subsequently clustered.
|
||||
# Corresponds to the JSON property `clustering`
|
||||
# @return [Google::Apis::BigqueryV2::Clustering]
|
||||
attr_accessor :clustering
|
||||
|
||||
# [Optional] Specifies whether the job is allowed to create new tables. The
|
||||
# following values are supported: CREATE_IF_NEEDED: If the table does not exist,
|
||||
# BigQuery creates the table. CREATE_NEVER: The table must already exist. If it
|
||||
@@ -1683,7 +1726,7 @@ module Google
|
||||
# @return [Hash<String,Google::Apis::BigqueryV2::ExternalDataConfiguration>]
|
||||
attr_accessor :table_definitions
|
||||
|
||||
# If specified, configures time-based partitioning for the destination table.
|
||||
# Time-based partitioning specification for the destination table.
|
||||
# Corresponds to the JSON property `timePartitioning`
|
||||
# @return [Google::Apis::BigqueryV2::TimePartitioning]
|
||||
attr_accessor :time_partitioning
|
||||
@@ -1732,6 +1775,7 @@ module Google
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@allow_large_results = args[:allow_large_results] if args.key?(:allow_large_results)
|
||||
@clustering = args[:clustering] if args.key?(:clustering)
|
||||
@create_disposition = args[:create_disposition] if args.key?(:create_disposition)
|
||||
@default_dataset = args[:default_dataset] if args.key?(:default_dataset)
|
||||
@destination_encryption_configuration = args[:destination_encryption_configuration] if args.key?(:destination_encryption_configuration)
|
||||
@@ -2780,6 +2824,13 @@ module Google
|
||||
class Table
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Experimental] Clustering specification for the table. Must be specified with
|
||||
# time-based partitioning, data in the table will be first partitioned and
|
||||
# subsequently clustered.
|
||||
# Corresponds to the JSON property `clustering`
|
||||
# @return [Google::Apis::BigqueryV2::Clustering]
|
||||
attr_accessor :clustering
|
||||
|
||||
# [Output-only] The time when this table was created, in milliseconds since the
|
||||
# epoch.
|
||||
# Corresponds to the JSON property `creationTime`
|
||||
@@ -2893,7 +2944,7 @@ module Google
|
||||
# @return [Google::Apis::BigqueryV2::TableReference]
|
||||
attr_accessor :table_reference
|
||||
|
||||
# If specified, configures time-based partitioning for this table.
|
||||
# Time-based partitioning specification for this table.
|
||||
# Corresponds to the JSON property `timePartitioning`
|
||||
# @return [Google::Apis::BigqueryV2::TimePartitioning]
|
||||
attr_accessor :time_partitioning
|
||||
@@ -2917,6 +2968,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@clustering = args[:clustering] if args.key?(:clustering)
|
||||
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@encryption_configuration = args[:encryption_configuration] if args.key?(:encryption_configuration)
|
||||
@@ -3232,6 +3284,11 @@ module Google
|
||||
class Table
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Experimental] Clustering specification for this table, if configured.
|
||||
# Corresponds to the JSON property `clustering`
|
||||
# @return [Google::Apis::BigqueryV2::Clustering]
|
||||
attr_accessor :clustering
|
||||
|
||||
# The time when this table was created, in milliseconds since the epoch.
|
||||
# Corresponds to the JSON property `creationTime`
|
||||
# @return [Fixnum]
|
||||
@@ -3270,7 +3327,7 @@ module Google
|
||||
# @return [Google::Apis::BigqueryV2::TableReference]
|
||||
attr_accessor :table_reference
|
||||
|
||||
# The time-based partitioning for this table.
|
||||
# The time-based partitioning specification for this table, if configured.
|
||||
# Corresponds to the JSON property `timePartitioning`
|
||||
# @return [Google::Apis::BigqueryV2::TimePartitioning]
|
||||
attr_accessor :time_partitioning
|
||||
@@ -3291,6 +3348,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@clustering = args[:clustering] if args.key?(:clustering)
|
||||
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
||||
@expiration_time = args[:expiration_time] if args.key?(:expiration_time)
|
||||
@friendly_name = args[:friendly_name] if args.key?(:friendly_name)
|
||||
|
||||
@@ -40,6 +40,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Clustering
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CsvOptions
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -422,6 +428,13 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class Clustering
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :fields, as: 'fields'
|
||||
end
|
||||
end
|
||||
|
||||
class CsvOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -622,6 +635,7 @@ module Google
|
||||
class GoogleSheetsOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :range, as: 'range'
|
||||
property :skip_leading_rows, :numeric_string => true, as: 'skipLeadingRows'
|
||||
end
|
||||
end
|
||||
@@ -691,6 +705,8 @@ module Google
|
||||
property :allow_jagged_rows, as: 'allowJaggedRows'
|
||||
property :allow_quoted_newlines, as: 'allowQuotedNewlines'
|
||||
property :autodetect, as: 'autodetect'
|
||||
property :clustering, as: 'clustering', class: Google::Apis::BigqueryV2::Clustering, decorator: Google::Apis::BigqueryV2::Clustering::Representation
|
||||
|
||||
property :create_disposition, as: 'createDisposition'
|
||||
property :destination_encryption_configuration, as: 'destinationEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
|
||||
|
||||
@@ -723,6 +739,8 @@ module Google
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :allow_large_results, as: 'allowLargeResults'
|
||||
property :clustering, as: 'clustering', class: Google::Apis::BigqueryV2::Clustering, decorator: Google::Apis::BigqueryV2::Clustering::Representation
|
||||
|
||||
property :create_disposition, as: 'createDisposition'
|
||||
property :default_dataset, as: 'defaultDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
|
||||
|
||||
@@ -1020,6 +1038,8 @@ module Google
|
||||
class Table
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :clustering, as: 'clustering', class: Google::Apis::BigqueryV2::Clustering, decorator: Google::Apis::BigqueryV2::Clustering::Representation
|
||||
|
||||
property :creation_time, :numeric_string => true, as: 'creationTime'
|
||||
property :description, as: 'description'
|
||||
property :encryption_configuration, as: 'encryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
|
||||
@@ -1135,6 +1155,8 @@ module Google
|
||||
class Table
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :clustering, as: 'clustering', class: Google::Apis::BigqueryV2::Clustering, decorator: Google::Apis::BigqueryV2::Clustering::Representation
|
||||
|
||||
property :creation_time, :numeric_string => true, as: 'creationTime'
|
||||
property :expiration_time, :numeric_string => true, as: 'expirationTime'
|
||||
property :friendly_name, as: 'friendlyName'
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/resource-manager
|
||||
module CloudresourcemanagerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180416'
|
||||
REVISION = '20180418'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -171,7 +171,7 @@ module Google
|
||||
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
||||
# who is authenticated with a Google account or a service account.
|
||||
# * `user:`emailid``: An email address that represents a specific Google
|
||||
# account. For example, `alice@gmail.com` or `joe@example.com`.
|
||||
# account. For example, `alice@gmail.com` .
|
||||
# * `serviceAccount:`emailid``: An email address that represents a service
|
||||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||
# * `group:`emailid``: An email address that represents a Google group.
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/resource-manager
|
||||
module CloudresourcemanagerV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20180416'
|
||||
REVISION = '20180418'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -171,7 +171,7 @@ module Google
|
||||
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
||||
# who is authenticated with a Google account or a service account.
|
||||
# * `user:`emailid``: An email address that represents a specific Google
|
||||
# account. For example, `alice@gmail.com` or `joe@example.com`.
|
||||
# account. For example, `alice@gmail.com` .
|
||||
# * `serviceAccount:`emailid``: An email address that represents a service
|
||||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||
# * `group:`emailid``: An email address that represents a Google group.
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/resource-manager
|
||||
module CloudresourcemanagerV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180416'
|
||||
REVISION = '20180418'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -149,7 +149,7 @@ module Google
|
||||
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
||||
# who is authenticated with a Google account or a service account.
|
||||
# * `user:`emailid``: An email address that represents a specific Google
|
||||
# account. For example, `alice@gmail.com` or `joe@example.com`.
|
||||
# account. For example, `alice@gmail.com` .
|
||||
# * `serviceAccount:`emailid``: An email address that represents a service
|
||||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||
# * `group:`emailid``: An email address that represents a Google group.
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/resource-manager
|
||||
module CloudresourcemanagerV2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20180416'
|
||||
REVISION = '20180418'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -149,7 +149,7 @@ module Google
|
||||
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
||||
# who is authenticated with a Google account or a service account.
|
||||
# * `user:`emailid``: An email address that represents a specific Google
|
||||
# account. For example, `alice@gmail.com` or `joe@example.com`.
|
||||
# account. For example, `alice@gmail.com` .
|
||||
# * `serviceAccount:`emailid``: An email address that represents a service
|
||||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||
# * `group:`emailid``: An email address that represents a Google group.
|
||||
|
||||
@@ -18,7 +18,7 @@ require 'google/apis/datastore_v1/representations.rb'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
# Google Cloud Datastore API
|
||||
# Cloud Datastore API
|
||||
#
|
||||
# Accesses the schemaless NoSQL database to provide fully managed, robust,
|
||||
# scalable storage for your application.
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/datastore/
|
||||
module DatastoreV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180321'
|
||||
REVISION = '20180417'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -20,7 +20,7 @@ require 'google/apis/errors'
|
||||
module Google
|
||||
module Apis
|
||||
module DatastoreV1
|
||||
# Google Cloud Datastore API
|
||||
# Cloud Datastore API
|
||||
#
|
||||
# Accesses the schemaless NoSQL database to provide fully managed, robust,
|
||||
# scalable storage for your application.
|
||||
|
||||
@@ -18,7 +18,7 @@ require 'google/apis/datastore_v1beta1/representations.rb'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
# Google Cloud Datastore API
|
||||
# Cloud Datastore API
|
||||
#
|
||||
# Accesses the schemaless NoSQL database to provide fully managed, robust,
|
||||
# scalable storage for your application.
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/datastore/
|
||||
module DatastoreV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20180321'
|
||||
REVISION = '20180417'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -20,7 +20,7 @@ require 'google/apis/errors'
|
||||
module Google
|
||||
module Apis
|
||||
module DatastoreV1beta1
|
||||
# Google Cloud Datastore API
|
||||
# Cloud Datastore API
|
||||
#
|
||||
# Accesses the schemaless NoSQL database to provide fully managed, robust,
|
||||
# scalable storage for your application.
|
||||
|
||||
@@ -18,7 +18,7 @@ require 'google/apis/datastore_v1beta3/representations.rb'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
# Google Cloud Datastore API
|
||||
# Cloud Datastore API
|
||||
#
|
||||
# Accesses the schemaless NoSQL database to provide fully managed, robust,
|
||||
# scalable storage for your application.
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/datastore/
|
||||
module DatastoreV1beta3
|
||||
VERSION = 'V1beta3'
|
||||
REVISION = '20180321'
|
||||
REVISION = '20180417'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -20,7 +20,7 @@ require 'google/apis/errors'
|
||||
module Google
|
||||
module Apis
|
||||
module DatastoreV1beta3
|
||||
# Google Cloud Datastore API
|
||||
# Cloud Datastore API
|
||||
#
|
||||
# Accesses the schemaless NoSQL database to provide fully managed, robust,
|
||||
# scalable storage for your application.
|
||||
|
||||
@@ -18,14 +18,14 @@ require 'google/apis/firestore_v1beta1/representations.rb'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
# Google Cloud Firestore API
|
||||
# Cloud Firestore API
|
||||
#
|
||||
#
|
||||
#
|
||||
# @see https://cloud.google.com/firestore
|
||||
module FirestoreV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20180403'
|
||||
REVISION = '20180418'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -20,7 +20,7 @@ require 'google/apis/errors'
|
||||
module Google
|
||||
module Apis
|
||||
module FirestoreV1beta1
|
||||
# Google Cloud Firestore API
|
||||
# Cloud Firestore API
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user