Parameter |
Choices/Defaults |
Comments |
access
list
|
|
An array of objects that define dataset access for one or more entities.
|
|
domain
string
|
|
A domain to grant access to. Any users signed in with the domain specified will be granted the specified access .
|
|
group_by_email
string
|
|
An email address of a Google Group to grant access to.
|
|
role
string
|
|
Describes the rights granted to the user specified by the other member of the access object. Primitive, Predefined and custom roles are supported. Predefined roles that have equivalent primitive roles are swapped by the API to their Primitive counterparts, and will show a diff post-create. See [official docs]( |
special_group
string
|
|
A special group to grant access to.
Possible values include: * `projectOwners`: Owners of the enclosing project.
* `projectReaders`: Readers of the enclosing project.
* `projectWriters`: Writers of the enclosing project.
* `allAuthenticatedUsers`: All authenticated BigQuery users. .
|
|
user_by_email
string
|
|
An email address of a user to grant access to. For example: fred@example.com .
|
|
view
dictionary
|
|
A view from a different dataset to grant access to. Queries executed against that view will have read access to tables in this dataset. The role field is not required when this field is set. If that view is updated by any user, access to the view needs to be granted again via an update operation.
|
|
|
dataset_id
string
/ required
|
|
The ID of the dataset containing this table.
|
|
|
project_id
string
/ required
|
|
The ID of the project containing this table.
|
|
|
table_id
string
/ required
|
|
The ID of the table. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores. The maximum length is 1,024 characters.
|
auth_kind
string
/ required
|
Choices:
- application
- machineaccount
- serviceaccount
|
The type of credential used.
|
dataset_reference
dictionary
/ required
|
|
A reference that identifies the dataset.
|
|
dataset_id
string
/ required
|
|
A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores. The maximum length is 1,024 characters.
|
|
project_id
string
|
|
The ID of the project containing this dataset.
|
default_partition_expiration_ms
integer
added in 2.9 |
|
The default partition expiration for all partitioned tables in the dataset, in milliseconds.
Once this property is set, all newly-created partitioned tables in the dataset will have an `expirationMs` property in the `timePartitioning` settings set to this value, and changing the value will only affect new tables, not existing ones. The storage in a partition will have an expiration time of its partition time plus this value.
Setting this property overrides the use of `defaultTableExpirationMs` for partitioned tables: only one of `defaultTableExpirationMs` and `defaultPartitionExpirationMs` will be used for any new partitioned table. If you provide an explicit `timePartitioning.expirationMs` when creating or updating a partitioned table, that value takes precedence over the default partition expiration time indicated by this property.
|
default_table_expiration_ms
integer
|
|
The default lifetime of all tables in the dataset, in milliseconds.
The minimum value is 3600000 milliseconds (one hour).
Once this property is set, all newly-created tables in the dataset will have an `expirationTime` property set to the creation time plus the value in this property, and changing the value will only affect new tables, not existing ones. When the `expirationTime` for a given table is reached, that table will be deleted automatically.
If a table's `expirationTime` is modified or removed before the table expires, or if you provide an explicit `expirationTime` when creating a table, that value takes precedence over the default expiration time indicated by this property.
|
description
string
|
|
A user-friendly description of the dataset.
|
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.
|
friendly_name
string
|
|
A descriptive name for the dataset.
|
labels
dictionary
|
|
The labels associated with this dataset. You can use these to organize and group your datasets .
|
location
string
|
Default:
"US"
|
The geographic location where the dataset should reside.
See [official docs](
name
string
|
|
Dataset name.
|
project
string
|
|
The Google Cloud Platform project to use.
|
scopes
list
|
|
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
|