Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GcsFileSpec
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GcsFileSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datacatalog_v1/classes.rb,
lib/google/apis/datacatalog_v1/representations.rb,
lib/google/apis/datacatalog_v1/representations.rb
Overview
Specification of a single file in Cloud Storage.
Instance Attribute Summary collapse
-
#file_path ⇒ String
Required.
-
#gcs_timestamps ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SystemTimestamps
Timestamps associated with this resource in a particular system.
-
#size_bytes ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1GcsFileSpec
constructor
A new instance of GoogleCloudDatacatalogV1GcsFileSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1GcsFileSpec
Returns a new instance of GoogleCloudDatacatalogV1GcsFileSpec.
1361 1362 1363 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1361 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_path ⇒ String
Required. Full file path. Example: gs://bucket_name/a/b.txt.
Corresponds to the JSON property filePath
1349 1350 1351 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1349 def file_path @file_path end |
#gcs_timestamps ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SystemTimestamps
Timestamps associated with this resource in a particular system.
Corresponds to the JSON property gcsTimestamps
1354 1355 1356 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1354 def @gcs_timestamps end |
#size_bytes ⇒ Fixnum
Output only. File size in bytes.
Corresponds to the JSON property sizeBytes
1359 1360 1361 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1359 def size_bytes @size_bytes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1366 1367 1368 1369 1370 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1366 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 |