1.2.0 (latest) 1.1.0 1.0.0

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

Reference documentation and code samples for the API hub v1 API class SourceMetadata.

SourceMetadata represents the metadata for a resource at the source.

## Inheritance

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

## Implements

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

## 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.ApiHub.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.md.txt)

## Assembly

Google.Cloud.ApiHub.V1.dll

## Constructors

### SourceMetadata()

    public SourceMetadata()

### SourceMetadata(SourceMetadata)

    public SourceMetadata(SourceMetadata other)

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

## Properties

### OriginalResourceCreateTime

    public Timestamp OriginalResourceCreateTime { get; set; }

Output only. The time at which the resource was created at the source.

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

### OriginalResourceId

    public string OriginalResourceId { get; set; }

Output only. The unique identifier of the resource at the source.

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

### OriginalResourceUpdateTime

    public Timestamp OriginalResourceUpdateTime { get; set; }

Output only. The time at which the resource was last updated at the source.

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

### PluginInstanceActionSource

    public SourceMetadata.Types.PluginInstanceActionSource PluginInstanceActionSource { get; set; }

Output only. The source of the resource is a plugin instance action.

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

### SourceCase

    public SourceMetadata.SourceOneofCase SourceCase { get; }

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

### SourceType

    public SourceMetadata.Types.SourceType SourceType { get; set; }

Output only. The type of the source.

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