NAME

Google::Cloud::Datacatalog::V1::GcsFilesetSpec - Compiled Protocol Buffers messages for google/cloud/datacatalog/v1/gcs_fileset_spec.proto

SYNOPSIS

use Google::Cloud::Datacatalog::V1::GcsFilesetSpec;

my $msg = Google::Cloud::Datacatalog::V1::GcsFilesetSpec::GcsFilesetSpec->new({
    file_patterns => $file_patterns,
    sample_gcs_file_specs => $sample_gcs_file_specs,
});

# Read or update a field
my $val = $msg->file_patterns();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Datacatalog::V1::GcsFilesetSpec::GcsFilesetSpec->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/datacatalog/v1/gcs_fileset_spec.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Datacatalog::V1::GcsFilesetSpec::GcsFilesetSpec

Describes a Cloud Storage fileset entry.

Inherits from Protobuf::Message.

Accessors

  • $msg->file_patterns() / $msg->file_patterns($value)

    Type: String

    Required. Patterns to identify a set of files in Google Cloud Storage.

    For more information, see [Wildcard Names] (https://cloud.google.com/storage/docs/wildcards).

    Note: Currently, bucket wildcards are not supported.

    Examples of valid `file_patterns`:

    * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir`
                                directory
    * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir`
                                 and 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
                                the `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 match complex sets of files, for example:

    `gs://bucket_name/[a-m]??.j*g`

  • $msg->sample_gcs_file_specs() / $msg->sample_gcs_file_specs($value)

    Type: Message (Google::Cloud::Datacatalog::V1::GcsFilesetSpec::GcsFileSpec)

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

Google::Cloud::Datacatalog::V1::GcsFilesetSpec::GcsFileSpec

Specification of a single file in Cloud Storage.

Inherits from Protobuf::Message.

Accessors

  • $msg->file_path() / $msg->file_path($value)

    Type: String

    Required. Full file path. Example: `gs://bucket_name/a/b.txt`.

  • $msg->gcs_timestamps() / $msg->gcs_timestamps($value)

    Type: Message (Google::Cloud::Datacatalog::V1::Timestamps::SystemTimestamps)

    Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.

  • $msg->size_bytes() / $msg->size_bytes($value)

    Type: Int64

    Output only. File size in bytes.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Datacatalog::V1::GcsFilesetSpec::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.