TypeError
If 'value' is not a sequence ValueError
If any item in the sequence is not an AccessEntry. created
Union[datetime.datetime, None]: Datetime at which the dataset was created (:data:None
until set from the server).
str: Dataset ID.
default_encryption_configuration default_partition_expiration_msOptional[int]: 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 time_paritioning.expiration_ms
property 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 default_table_expiration_ms
for partitioned tables: only one of default_table_expiration_ms
and default_partition_expiration_ms
will be used for any new partitioned table. If you provide an explicit time_partitioning.expiration_ms
when creating or updating a partitioned table, that value takes precedence over the default partition expiration time indicated by this property.
ValueError
for invalid value types. default_table_expiration_ms
Union[int, None]: Default expiration time for tables in the dataset (defaults to :data:None
).
ValueError
For invalid value types. description
Optional[str]: Description of the dataset as set by the user (defaults to :data:None
).
ValueError
for invalid value types. etag
Union[str, None]: ETag for the dataset resource (:data:None
until set from the server).
Union[str, None]: Title of the dataset as set by the user (defaults to :data:None
).
ValueError
for invalid value types. full_dataset_id
Union[str, None]: ID for the dataset resource (:data:None
until set from the server)
In the format project_id:dataset_id
.
Optional[bool]: True if the dataset and its table names are case-insensitive, otherwise False. By default, this is False, which means the dataset and its table names are case-sensitive. This field does not affect routine references.
Exceptions Type DescriptionValueError
for invalid value types. labels
Dict[str, str]: Labels for the dataset.
This method always returns a dict. To change a dataset's labels, modify the dict, then call xref_update_dataset. To delete a label, set its value to :data:None
before updating.
ValueError
for invalid value types. location
Union[str, None]: Location in which the dataset is hosted as set by the user (defaults to :data:None
).
ValueError
for invalid value types. max_time_travel_hours
Optional[int]: Defines the time travel window in hours. The value can be from 48 to 168 hours (2 to 7 days), and in multiple of 24 hours (48, 72, 96, 120, 144, 168). The default value is 168 hours if this is not set.
modifiedUnion[datetime.datetime, None]: Datetime at which the dataset was last modified (:data:None
until set from the server).
str: URL path for the dataset based on project and dataset ID.
projectstr: Project ID of the project bound to the dataset.
referencegoogle.cloud.bigquery.dataset.DatasetReference: A reference to this dataset.
self_linkUnion[str, None]: URL for the dataset resource (:data:None
until set from the server).
ValueError
for invalid value types. Methods from_api_repr
from_api_repr(resource: dict) -> google.cloud.bigquery.dataset.Dataset
Factory: construct a dataset given its API representation
Returns Type Descriptiongoogle.cloud.bigquery.dataset.Dataset
Dataset parsed from resource
. from_string
from_string(full_dataset_id: str) -> google.cloud.bigquery.dataset.Dataset
Construct a dataset from fully-qualified dataset ID.
Parameter Name Descriptionfull_dataset_id
str
A fully-qualified dataset ID in standard SQL format. Must include both the project ID and the dataset ID, separated by .
.
ValueError
If full_dataset_id
is not a fully-qualified dataset ID in standard SQL format. Returns Type Description Dataset .. rubric:: Examples >>> Dataset.from_string('my-project-id.some_dataset') Dataset(DatasetReference('my-project-id', 'some_dataset'))
Dataset parsed from full_dataset_id
. model
Constructs a ModelReference.
Parameter Name Descriptionmodel_id
str
the ID of the model.
routineConstructs a RoutineReference.
Parameter Name Descriptionroutine_id
str
the ID of the routine.
tabletable(table_id: str) -> google.cloud.bigquery.table.TableReference
Constructs a TableReference.
Parameter Name Descriptiontable_id
str
The ID of the table.
to_api_reprConstruct the API resource representation of this dataset
Returns Type DescriptionDict[str, object]
The dataset represented as an API resource __init__
__init__(dataset_ref) -> None
Initialize self. See help(type(self)) for accurate signature.
DatasetRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4