class Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GcsFileSpec
Specification of a single file in Cloud Storage.
Attributes
file_path[RW]
Required. Full file path. Example: `gs://bucket_name/a/b.txt`. Corresponds to the JSON property `filePath` @return [String]
gcs_timestamps[RW]
Timestamps associated with this resource in a particular system. Corresponds to the JSON property `gcsTimestamps` @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SystemTimestamps]
size_bytes[RW]
Output only. File size in bytes. Corresponds to the JSON property `sizeBytes` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/datacatalog_v1/classes.rb, line 836 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/datacatalog_v1/classes.rb, line 841 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