[[["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,["# Google Cloud Data Catalog V1 Client - Class GcsFileSpec (2.3.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.2 (latest)](/php/docs/reference/cloud-data-catalog/latest/V1.GcsFileSpec)\n- [2.3.1](/php/docs/reference/cloud-data-catalog/2.3.1/V1.GcsFileSpec)\n- [2.2.4](/php/docs/reference/cloud-data-catalog/2.2.4/V1.GcsFileSpec)\n- [2.1.0](/php/docs/reference/cloud-data-catalog/2.1.0/V1.GcsFileSpec)\n- [2.0.2](/php/docs/reference/cloud-data-catalog/2.0.2/V1.GcsFileSpec)\n- [1.10.3](/php/docs/reference/cloud-data-catalog/1.10.3/V1.GcsFileSpec)\n- [1.9.1](/php/docs/reference/cloud-data-catalog/1.9.1/V1.GcsFileSpec)\n- [1.8.2](/php/docs/reference/cloud-data-catalog/1.8.2/V1.GcsFileSpec)\n- [1.7.1](/php/docs/reference/cloud-data-catalog/1.7.1/V1.GcsFileSpec)\n- [1.6.0](/php/docs/reference/cloud-data-catalog/1.6.0/V1.GcsFileSpec)\n- [1.5.1](/php/docs/reference/cloud-data-catalog/1.5.1/V1.GcsFileSpec)\n- [1.4.2](/php/docs/reference/cloud-data-catalog/1.4.2/V1.GcsFileSpec)\n- [1.3.9](/php/docs/reference/cloud-data-catalog/1.3.9/V1.GcsFileSpec) \nReference documentation and code samples for the Google Cloud Data Catalog V1 Client class GcsFileSpec.\n\nSpecification of a single file in Cloud Storage.\n\nGenerated from protobuf message `google.cloud.datacatalog.v1.GcsFileSpec`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DataCatalog \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getFilePath\n\nRequired. Full file path. Example: `gs://bucket_name/a/b.txt`.\n\n### setFilePath\n\nRequired. Full file path. Example: `gs://bucket_name/a/b.txt`.\n\n### getGcsTimestamps\n\nOutput only. Creation, modification, and expiration timestamps of a Cloud\nStorage file.\n\n### hasGcsTimestamps\n\n### clearGcsTimestamps\n\n### setGcsTimestamps\n\nOutput only. Creation, modification, and expiration timestamps of a Cloud\nStorage file.\n\n### getSizeBytes\n\nOutput only. File size in bytes.\n\n### setSizeBytes\n\nOutput only. File size in bytes."]]