Data Catalog V1 API - Class Google::Cloud::DataCatalog::V1::GcsFileSpec (v2.3.1)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Data Catalog V1 API class Google::Cloud::DataCatalog::V1::GcsFileSpec.
Specification of a single file in Cloud Storage.
Extended By
-
Google::Protobuf::MessageExts::ClassMethods
Includes
-
Google::Protobuf::MessageExts
Methods
#file_path
def file_path() -> ::String
Returns
-
(::String) — Required. Full file path. Example:
gs://bucket_name/a/b.txt
.
#file_path=
def file_path=(value) -> ::String
Parameter
-
value (::String) — Required. Full file path. Example:
gs://bucket_name/a/b.txt
.
Returns
-
(::String) — Required. Full file path. Example:
gs://bucket_name/a/b.txt
.
#gcs_timestamps
def gcs_timestamps() -> ::Google::Cloud::DataCatalog::V1::SystemTimestamps
#size_bytes
def size_bytes() -> ::Integer
Returns
-
(::Integer) — Output only. File size in bytes.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Data Catalog V1 API - Class Google::Cloud::DataCatalog::V1::GcsFileSpec (v2.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.1 (latest)](/ruby/docs/reference/google-cloud-data_catalog-v1/latest/Google-Cloud-DataCatalog-V1-GcsFileSpec)\n- [2.3.0](/ruby/docs/reference/google-cloud-data_catalog-v1/2.3.0/Google-Cloud-DataCatalog-V1-GcsFileSpec)\n- [2.2.2](/ruby/docs/reference/google-cloud-data_catalog-v1/2.2.2/Google-Cloud-DataCatalog-V1-GcsFileSpec)\n- [2.1.1](/ruby/docs/reference/google-cloud-data_catalog-v1/2.1.1/Google-Cloud-DataCatalog-V1-GcsFileSpec)\n- [2.0.0](/ruby/docs/reference/google-cloud-data_catalog-v1/2.0.0/Google-Cloud-DataCatalog-V1-GcsFileSpec)\n- [1.4.0](/ruby/docs/reference/google-cloud-data_catalog-v1/1.4.0/Google-Cloud-DataCatalog-V1-GcsFileSpec)\n- [1.3.1](/ruby/docs/reference/google-cloud-data_catalog-v1/1.3.1/Google-Cloud-DataCatalog-V1-GcsFileSpec)\n- [1.2.0](/ruby/docs/reference/google-cloud-data_catalog-v1/1.2.0/Google-Cloud-DataCatalog-V1-GcsFileSpec)\n- [1.1.0](/ruby/docs/reference/google-cloud-data_catalog-v1/1.1.0/Google-Cloud-DataCatalog-V1-GcsFileSpec)\n- [1.0.1](/ruby/docs/reference/google-cloud-data_catalog-v1/1.0.1/Google-Cloud-DataCatalog-V1-GcsFileSpec)\n- [0.23.0](/ruby/docs/reference/google-cloud-data_catalog-v1/0.23.0/Google-Cloud-DataCatalog-V1-GcsFileSpec)\n- [0.22.0](/ruby/docs/reference/google-cloud-data_catalog-v1/0.22.0/Google-Cloud-DataCatalog-V1-GcsFileSpec)\n- [0.21.2](/ruby/docs/reference/google-cloud-data_catalog-v1/0.21.2/Google-Cloud-DataCatalog-V1-GcsFileSpec)\n- [0.20.1](/ruby/docs/reference/google-cloud-data_catalog-v1/0.20.1/Google-Cloud-DataCatalog-V1-GcsFileSpec)\n- [0.19.0](/ruby/docs/reference/google-cloud-data_catalog-v1/0.19.0/Google-Cloud-DataCatalog-V1-GcsFileSpec)\n- [0.18.1](/ruby/docs/reference/google-cloud-data_catalog-v1/0.18.1/Google-Cloud-DataCatalog-V1-GcsFileSpec)\n- [0.17.0](/ruby/docs/reference/google-cloud-data_catalog-v1/0.17.0/Google-Cloud-DataCatalog-V1-GcsFileSpec)\n- [0.16.1](/ruby/docs/reference/google-cloud-data_catalog-v1/0.16.1/Google-Cloud-DataCatalog-V1-GcsFileSpec)\n- [0.15.0](/ruby/docs/reference/google-cloud-data_catalog-v1/0.15.0/Google-Cloud-DataCatalog-V1-GcsFileSpec)\n- [0.14.0](/ruby/docs/reference/google-cloud-data_catalog-v1/0.14.0/Google-Cloud-DataCatalog-V1-GcsFileSpec)\n- [0.13.0](/ruby/docs/reference/google-cloud-data_catalog-v1/0.13.0/Google-Cloud-DataCatalog-V1-GcsFileSpec)\n- [0.12.1](/ruby/docs/reference/google-cloud-data_catalog-v1/0.12.1/Google-Cloud-DataCatalog-V1-GcsFileSpec)\n- [0.11.0](/ruby/docs/reference/google-cloud-data_catalog-v1/0.11.0/Google-Cloud-DataCatalog-V1-GcsFileSpec)\n- [0.10.0](/ruby/docs/reference/google-cloud-data_catalog-v1/0.10.0/Google-Cloud-DataCatalog-V1-GcsFileSpec)\n- [0.9.1](/ruby/docs/reference/google-cloud-data_catalog-v1/0.9.1/Google-Cloud-DataCatalog-V1-GcsFileSpec) \nReference documentation and code samples for the Data Catalog V1 API class Google::Cloud::DataCatalog::V1::GcsFileSpec.\n\nSpecification of a single file in Cloud Storage. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #file_path\n\n def file_path() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. Full file path. Example: `gs://bucket_name/a/b.txt`.\n\n### #file_path=\n\n def file_path=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. Full file path. Example: `gs://bucket_name/a/b.txt`. \n**Returns**\n\n- (::String) --- Required. Full file path. Example: `gs://bucket_name/a/b.txt`.\n\n### #gcs_timestamps\n\n def gcs_timestamps() -\u003e ::Google::Cloud::DataCatalog::V1::SystemTimestamps\n\n**Returns**\n\n- ([::Google::Cloud::DataCatalog::V1::SystemTimestamps](./Google-Cloud-DataCatalog-V1-SystemTimestamps)) --- Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.\n\n### #size_bytes\n\n def size_bytes() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Output only. File size in bytes."]]