1.0.0-beta16 (latest) 1.0.0-beta15

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

Reference documentation and code samples for the Dataform v1beta1 API class SearchResult.

Client-facing representation of a search result entry.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SearchResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.SearchResult.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SearchResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.SearchResult.md.txt), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SearchResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.SearchResult.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.Dataform.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.md.txt)

## Assembly

Google.Cloud.Dataform.V1Beta1.dll

## Constructors

### SearchResult()

    public SearchResult()

### SearchResult(SearchResult)

    public SearchResult(SearchResult other)

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

## Properties

### Directory

    public DirectorySearchResult Directory { get; set; }

Details when search result is a directory.

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

### EntryCase

    public SearchResult.EntryOneofCase EntryCase { get; }

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

### File

    public FileSearchResult File { get; set; }

Details when search result is a file.

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