Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1GcsFileSpec
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1GcsFileSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datacatalog_v1beta1/classes.rb,
generated/google/apis/datacatalog_v1beta1/representations.rb,
generated/google/apis/datacatalog_v1beta1/representations.rb
Overview
Specifications of a single file in Cloud Storage.
Instance Attribute Summary collapse
-
#file_path ⇒ String
Required.
-
#gcs_timestamps ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SystemTimestamps
Timestamps about this resource according to a particular system.
-
#size_bytes ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1GcsFileSpec
constructor
A new instance of GoogleCloudDatacatalogV1beta1GcsFileSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1GcsFileSpec
Returns a new instance of GoogleCloudDatacatalogV1beta1GcsFileSpec.
637 638 639 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 637 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_path ⇒ String
Required. The full file path. Example: gs://bucket_name/a/b.txt
.
Corresponds to the JSON property filePath
625 626 627 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 625 def file_path @file_path end |
#gcs_timestamps ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SystemTimestamps
Timestamps about this resource according to a particular system.
Corresponds to the JSON property gcsTimestamps
630 631 632 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 630 def @gcs_timestamps end |
#size_bytes ⇒ Fixnum
Output only. The size of the file, in bytes.
Corresponds to the JSON property sizeBytes
635 636 637 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 635 def size_bytes @size_bytes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
642 643 644 645 646 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 642 def update!(**args) @file_path = args[:file_path] if args.key?(:file_path) @gcs_timestamps = args[:gcs_timestamps] if args.key?(:gcs_timestamps) @size_bytes = args[:size_bytes] if args.key?(:size_bytes) end |