[][src]Struct google_datacatalog1_beta1::GoogleCloudDatacatalogV1beta1GcsFilesetSpec

pub struct GoogleCloudDatacatalogV1beta1GcsFilesetSpec {
    pub file_patterns: Option<Vec<String>>,
    pub sample_gcs_file_specs: Option<Vec<GoogleCloudDatacatalogV1beta1GcsFileSpec>>,
}

Describes a Cloud Storage fileset entry.

This type is not used in any activity, and only used as part of another schema.

Fields

file_patterns: Option<Vec<String>>

Required. Patterns to identify a set of files in Google Cloud Storage. See Cloud Storage documentation for more information. Note that bucket wildcards are currently not supported.

Examples of valid file_patterns:

  • gs://bucket_name/dir/*: matches all files within bucket_name/dir directory.
  • gs://bucket_name/dir/**: matches all files in bucket_name/dir spanning all subdirectories.
  • gs://bucket_name/file*: matches files prefixed by file in bucket_name
  • gs://bucket_name/??.txt: matches files with two characters followed by .txt in bucket_name
  • gs://bucket_name/[aeiou].txt: matches files that contain a single vowel character followed by .txt in bucket_name
  • gs://bucket_name/[a-m].txt: matches files that contain a, b, ... or m followed by .txt in bucket_name
  • gs://bucket_name/a/*/b: matches all files in bucket_name that match a/*/b pattern, such as a/c/b, a/d/b
  • gs://another_bucket/a.txt: matches gs://another_bucket/a.txt

You can combine wildcards to provide more powerful matches, for example:

  • gs://bucket_name/[a-m]??.j*g
sample_gcs_file_specs: Option<Vec<GoogleCloudDatacatalogV1beta1GcsFileSpec>>

Output only. Sample files contained in this fileset, not all files contained in this fileset are represented here.

Trait Implementations

impl Clone for GoogleCloudDatacatalogV1beta1GcsFilesetSpec[src]

impl Debug for GoogleCloudDatacatalogV1beta1GcsFilesetSpec[src]

impl Default for GoogleCloudDatacatalogV1beta1GcsFilesetSpec[src]

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

impl Part for GoogleCloudDatacatalogV1beta1GcsFilesetSpec[src]

impl Serialize for GoogleCloudDatacatalogV1beta1GcsFilesetSpec[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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 = Infallible

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> Typeable for T where
    T: Any