Struct google_bigquery2::api::Dataset[][src]

pub struct Dataset {
Show 16 fields pub access: Option<Vec<DatasetAccess>>, pub creation_time: Option<String>, pub dataset_reference: Option<DatasetReference>, pub default_encryption_configuration: Option<EncryptionConfiguration>, pub default_partition_expiration_ms: Option<String>, pub default_table_expiration_ms: Option<String>, pub description: Option<String>, pub etag: Option<String>, pub friendly_name: Option<String>, pub id: Option<String>, pub kind: Option<String>, pub labels: Option<HashMap<String, String>>, pub last_modified_time: Option<String>, pub location: Option<String>, pub satisfies_pzs: Option<bool>, pub self_link: Option<String>,
}
Expand description

There is no detailed description.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

access: Option<Vec<DatasetAccess>>

[Optional] An array of objects that define dataset access for one or more entities. You can set this property when inserting or updating a dataset in order to control who is allowed to access the data. If unspecified at dataset creation time, BigQuery adds default dataset access for the following entities: access.specialGroup: projectReaders; access.role: READER; access.specialGroup: projectWriters; access.role: WRITER; access.specialGroup: projectOwners; access.role: OWNER; access.userByEmail: [dataset creator email]; access.role: OWNER;

creation_time: Option<String>

[Output-only] The time when this dataset was created, in milliseconds since the epoch.

dataset_reference: Option<DatasetReference>

[Required] A reference that identifies the dataset.

default_encryption_configuration: Option<EncryptionConfiguration>

no description provided

default_partition_expiration_ms: Option<String>

[Optional] 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: Option<String>

[Optional] 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: Option<String>

[Optional] A user-friendly description of the dataset.

etag: Option<String>

[Output-only] A hash of the resource.

friendly_name: Option<String>

[Optional] A descriptive name for the dataset.

id: Option<String>

[Output-only] The fully-qualified unique name of the dataset in the format projectId:datasetId. The dataset name without the project name is given in the datasetId field. When creating a new dataset, leave this field blank, and instead specify the datasetId field.

kind: Option<String>

[Output-only] The resource type.

labels: Option<HashMap<String, String>>

The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See Creating and Updating Dataset Labels for more information.

last_modified_time: Option<String>

[Output-only] The date when this dataset or any of its tables was last modified, in milliseconds since the epoch.

location: Option<String>

The geographic location where the dataset should reside. The default value is US. See details at https://cloud.google.com/bigquery/docs/locations.

satisfies_pzs: Option<bool>

[Output-only] Reserved for future use.

self_link: Option<String>

[Output-only] A URL that can be used to access the resource again. You can use this URL in Get or Update requests to the resource.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.