Resource: Dataset
The Dataset resource contains summary information about a dataset.
JSON representation |
---|
{ "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "tableSpecs": { string: string, ... }, "state": enum ( |
Fields | |
---|---|
name |
Output only. The resource name of the Dataset. format: "/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}" |
createTime |
Output only. The timestamp of creation of this resource. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The timestamp of the most recent update of this resource. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
labels |
Labels An object containing a list of |
tableSpecs |
Required. The set of BigQuery tables in the dataset. The key should be the table type and the value should be the BigQuery tables in the format
An object containing a list of |
state |
Output only. State of the dataset (creating, active, deleting, etc.) |
dateRange |
Required. Core time window of the dataset. All tables should have complete data covering this period. |
timeZone |
The timezone of the data, default will act as UTC. |
State
The possible states of a resource.
Enums | |
---|---|
STATE_UNSPECIFIED |
State is unspecified, should not occur. |
CREATING |
The resource has not finished being created. |
ACTIVE |
The resource is active/ready to be used. |
UPDATING |
The resource is in the process of being updated. |
DELETING |
The resource is in the process of being deleted. |
Interval
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive).
The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.
JSON representation |
---|
{ "startTime": string, "endTime": string } |
Fields | |
---|---|
startTime |
Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
endTime |
Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
TimeZone
Represents a time zone from the IANA Time Zone Database.
JSON representation |
---|
{ "id": string, "version": string } |
Fields | |
---|---|
id |
IANA Time Zone Database time zone, e.g. "America/New_York". |
version |
Optional. IANA Time Zone Database version number, e.g. "2019a". |
Methods |
|
---|---|
|
Creates a dataset. |
|
Deletes a dataset. |
|
Gets a dataset. |
|
Lists datasets. |
|
Updates the parameters of a single Dataset. |