Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class GcsFileSpec.
Specification of a single file in Cloud Storage.
Generated from protobuf message google.cloud.datacatalog.v1.GcsFileSpec
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ file_path
string
Required. Full file path. Example: gs://bucket_name/a/b.txt
.
↳ gcs_timestamps
Google\Cloud\DataCatalog\V1\SystemTimestamps
Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.
↳ size_bytes
int|string
Output only. File size in bytes.
getFilePath
Required. Full file path. Example: gs://bucket_name/a/b.txt
.
string
setFilePath
Required. Full file path. Example: gs://bucket_name/a/b.txt
.
var
string
$this
getGcsTimestamps
Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.
hasGcsTimestamps
clearGcsTimestamps
setGcsTimestamps
Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.
$this
getSizeBytes
Output only. File size in bytes.
int|string
setSizeBytes
Output only. File size in bytes.
var
int|string
$this