Parameter |
Choices/Defaults |
Comments |
auth_kind
string
/ required
|
Choices:
- application
- machineaccount
- serviceaccount
|
The type of credential used.
|
clustering
list
/ elements=string
|
|
One or more fields on which data should be clustered. Only top-level, non-repeated, simple-type fields are supported. When you cluster a table using multiple columns, the order of columns you specify is important. The order of the specified columns determines the sort order of the data.
|
dataset
string
|
|
Name of the dataset.
|
description
string
|
|
A user-friendly description of the dataset.
|
encryption_configuration
dictionary
|
|
Custom encryption configuration.
|
|
kms_key_name
string
|
|
Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key.
|
env_type
string
|
|
Specifies which Ansible environment you're running this module within.
This should not be set unless you know what you're doing.
This only alters the User Agent string for any API requests.
|
expiration_time
integer
|
|
The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely.
|
external_data_configuration
dictionary
|
|
Describes the data format, location, and other properties of a table stored outside of BigQuery. By defining these properties, the data source can then be queried as if it were a standard BigQuery table.
|
|
autodetect
boolean
|
|
Try to detect schema and format options automatically. Any option specified explicitly will be honored.
|
|
bigtable_options
dictionary
|
|
Additional options if sourceFormat is set to BIGTABLE.
|
|
|
column_families
list
/ elements=dictionary
|
|
List of column families to expose in the table schema along with their types.
|
|
|
|
columns
list
/ elements=dictionary
|
|
Lists of columns that should be exposed as individual fields as opposed to a list of (column name, value) pairs.
|
|
|
|
|
encoding
string
|
|
The encoding of the values when the type is not STRING.
Some valid choices include: "TEXT", "BINARY"
|
|
|
|
|
field_name
string
|
|
If the qualifier is not a valid BigQuery field identifier, a valid identifier must be provided as the column field name and is used as field name in queries.
|
|
|
|
|
only_read_latest
boolean
|
|
If this is set, only the latest version of value in this column are exposed .
|
|
|
|
|
qualifier_string
string
/ required
|
|
Qualifier of the column.
|
|
|
|
|
type
string
|
|
The type to convert the value in cells of this column.
Some valid choices include: "BYTES", "STRING", "INTEGER", "FLOAT", "BOOLEAN"
|
|
|
|
encoding
string
|
|
The encoding of the values when the type is not STRING.
Some valid choices include: "TEXT", "BINARY"
|
|
|
|
family_id
string
|
|
Identifier of the column family.
|
|
|
|
only_read_latest
boolean
|
|
If this is set only the latest version of value are exposed for all columns in this column family .
|
|
|
|
type
string
|
|
The type to convert the value in cells of this column family.
Some valid choices include: "BYTES", "STRING", "INTEGER", "FLOAT", "BOOLEAN"
|
|
|
ignore_unspecified_column_families
boolean
|
|
If field is true, then the column families that are not specified in columnFamilies list are not exposed in the table schema .
|
|
|
read_rowkey_as_string
boolean
|
|
If field is true, then the rowkey column families will be read and converted to string.
|
|
compression
string
|
|
The compression type of the data source.
Some valid choices include: "GZIP", "NONE"
|
|
csv_options
dictionary
|
|
Additional properties to set if sourceFormat is set to CSV.
|
|
|
allow_jagged_rows
boolean
|
|
Indicates if BigQuery should accept rows that are missing trailing optional columns .
|
|
|
allow_quoted_newlines
boolean
|
|
Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file .
|
|
|
encoding
string
|
|
The character encoding of the data.
Some valid choices include: "UTF-8", "ISO-8859-1"
|
|
|
field_delimiter
string
|
|
The separator for fields in a CSV file.
|
|
|
quote
string
|
|
The value that is used to quote data sections in a CSV file.
|
|
|
skip_leading_rows
integer
|
|
The number of rows at the top of a CSV file that BigQuery will skip when reading the data.
|
|
google_sheets_options
dictionary
|
|
Additional options if sourceFormat is set to GOOGLE_SHEETS.
|
|
|
skip_leading_rows
integer
|
|
The number of rows at the top of a Google Sheet that BigQuery will skip when reading the data.
|
|
ignore_unknown_values
boolean
|
|
Indicates if BigQuery should allow extra values that are not represented in the table schema .
|
|
max_bad_records
integer
|
|
The maximum number of bad records that BigQuery can ignore when reading data .
|
|
schema
dictionary
|
|
The schema for the data. Schema is required for CSV and JSON formats.
|
|
|
fields
list
/ elements=dictionary
|
|
Describes the fields in a table.
|
|
|
|
description
string
|
|
The field description.
|
|
|
|
fields
list
/ elements=string
|
|
Describes the nested schema fields if the type property is set to RECORD .
|
|
|
|
mode
string
|
|
Field mode.
Some valid choices include: "NULLABLE", "REQUIRED", "REPEATED"
|
|
|
|
name
string
|
|
Field name.
|
|
|
|
type
string
|
|
Field data type.
Some valid choices include: "STRING", "BYTES", "INTEGER", "FLOAT", "TIMESTAMP", "DATE", "TIME", "DATETIME", "RECORD"
|
|
source_format
string
|
|
The data format.
Some valid choices include: "CSV", "GOOGLE_SHEETS", "NEWLINE_DELIMITED_JSON", "AVRO", "DATASTORE_BACKUP", "BIGTABLE", "ORC"
|
|
source_uris
list
/ elements=string
|
|
The fully-qualified URIs that point to your data in Google Cloud.
For Google Cloud Storage URIs: Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources. For Google Cloud Bigtable URIs: Exactly one URI can be specified and it has be a fully specified and valid HTTPS URL for a Google Cloud Bigtable table. For Google Cloud Datastore backups, exactly one URI can be specified. Also, the '*' wildcard character is not allowed.
|
friendly_name
string
|
|
A descriptive name for this table.
|
labels
dictionary
|
|
The labels associated with this dataset. You can use these to organize and group your datasets .
|
name
string
|
|
Name of the table.
|
num_rows
integer
|
|
The number of rows of data in this table, excluding any data in the streaming buffer.
|
project
string
|
|
The Google Cloud Platform project to use.
|
schema
dictionary
|
|
Describes the schema of this table.
|
|
fields
list
/ elements=dictionary
|
|
Describes the fields in a table.
|
|
|
description
string
|
|
The field description. The maximum length is 1,024 characters.
|
|
|
fields
list
/ elements=string
|
|
Describes the nested schema fields if the type property is set to RECORD.
|
|
|
mode
string
|
|
The field mode.
Some valid choices include: "NULLABLE", "REQUIRED", "REPEATED"
|
|
|
name
string
|
|
The field name.
|
|
|
type
string
|
|
The field data type.
Some valid choices include: "STRING", "BYTES", "INTEGER", "FLOAT", "TIMESTAMP", "DATE", "TIME", "DATETIME", "RECORD"
|
scopes
list
/ elements=string
|
|
Array of scopes to be used
|
service_account_contents
jsonarg
|
|
The contents of a Service Account JSON file, either in a dictionary or as a JSON string that represents it.
|
service_account_email
string
|
|
An optional service account email address if machineaccount is selected and the user does not wish to use the default email.
|
service_account_file
path
|
|
The path of a Service Account JSON file if serviceaccount is selected as type.
|
state
string
|
Choices:
present ←
- absent
|
Whether the given object should exist in GCP
|
table_reference
dictionary
|
|
Reference describing the ID of this table.
|
|
dataset_id
string
|
|
The ID of the dataset containing this table.
|
|
project_id
string
|
|
The ID of the project containing this table.
|
|
table_id
string
|
|
The ID of the the table.
|
time_partitioning
dictionary
|
|
If specified, configures time-based partitioning for this table.
|
|
expiration_ms
integer
|
|
Number of milliseconds for which to keep the storage for a partition.
|
|
field
string
|
|
If not set, the table is partitioned by pseudo column, referenced via either '_PARTITIONTIME' as TIMESTAMP type, or '_PARTITIONDATE' as DATE type. If field is specified, the table is instead partitioned by this field. The field must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or REQUIRED.
|
|
type
string
|
|
The only type supported is DAY, which will generate one partition per day.
Some valid choices include: "DAY"
|
view
dictionary
|
|
The view definition.
|
|
use_legacy_sql
boolean
|
|
Specifies whether to use BigQuery's legacy SQL for this view .
|
|
user_defined_function_resources
list
/ elements=dictionary
|
|
Describes user-defined function resources used in the query.
|
|
|
inline_code
string
|
|
An inline resource that contains code for a user-defined function (UDF). Providing a inline code resource is equivalent to providing a URI for a file containing the same code.
|
|
|
resource_uri
string
|
|
A code resource to load from a Google Cloud Storage URI (gs://bucket/path).
|