[][src]Struct google_bigquery2::Dataset

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

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

kind: Option<String>

[Output-only] The resource type.

description: Option<String>

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

dataset_reference: Option<DatasetReference>

[Required] A reference that identifies the dataset.

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.

creation_time: Option<String>

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

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;

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.

etag: Option<String>

[Output-only] A hash of the resource.

default_encryption_configuration: Option<EncryptionConfiguration>

no description provided

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.

friendly_name: Option<String>

[Optional] A descriptive name for the dataset.

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.

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.

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.

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

impl Resource for Dataset[src]

impl ResponseResult for Dataset[src]

impl RequestValue for Dataset[src]

impl Clone for Dataset[src]

impl Default for Dataset[src]

impl Debug for Dataset[src]

impl Serialize for Dataset[src]

impl<'de> Deserialize<'de> for Dataset[src]

Auto Trait Implementations

impl Send for Dataset

impl Sync for Dataset

impl Unpin for Dataset

impl UnwindSafe for Dataset

impl RefUnwindSafe for Dataset

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]