2.17.0 (latest) 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0

    public sealed class GcsFileSpec : IMessage<GcsFileSpec>, IEquatable<GcsFileSpec>, IDeepCloneable<GcsFileSpec>, IBufferMessage, IMessage

Reference documentation and code samples for the Data Catalog v1 API class GcsFileSpec.

Specification of a single file in Cloud Storage.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> GcsFileSpec

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[GcsFileSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.GcsFileSpec.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GcsFileSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.GcsFileSpec.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[GcsFileSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.GcsFileSpec.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DataCatalog.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.md.txt)

## Assembly

Google.Cloud.DataCatalog.V1.dll

## Constructors

### GcsFileSpec()

    public GcsFileSpec()

### GcsFileSpec(GcsFileSpec)

    public GcsFileSpec(GcsFileSpec other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `GcsFileSpec` |

## Properties

### FilePath

    public string FilePath { get; set; }

Required. Full file path. Example: `gs://bucket_name/a/b.txt`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### GcsTimestamps

    public SystemTimestamps GcsTimestamps { get; set; }

Output only. Creation, modification, and expiration timestamps of a Cloud
Storage file.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `SystemTimestamps` |   |

### SizeBytes

    public long SizeBytes { get; set; }

Output only. File size in bytes.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `long` |   |