1.2.0 (latest) 1.1.0 1.0.0

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

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

The spec contents.

## Inheritance

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

## Implements

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

### SpecContents()

    public SpecContents()

### SpecContents(SpecContents)

    public SpecContents(SpecContents other)

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

## Properties

### Contents

    public ByteString Contents { get; set; }

Required. The contents of the spec.

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

### MimeType

    public string MimeType { get; set; }

Required. The mime type of the content for example application/json,
application/yaml, application/wsdl etc.

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