1.2.0 (latest) 1.1.0 1.0.0

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

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

The \[UpdateSpec\]\[google.cloud.apihub.v1.ApiHub.UpdateSpec\] method's request.

## Inheritance

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

## Implements

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

### UpdateSpecRequest()

    public UpdateSpecRequest()

### UpdateSpecRequest(UpdateSpecRequest)

    public UpdateSpecRequest(UpdateSpecRequest other)

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

## Properties

### Spec

    public Spec Spec { get; set; }

Required. The spec to update.

The spec's `name` field is used to identify the spec to
update. Format:
`projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`

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

### UpdateMask

    public FieldMask UpdateMask { get; set; }

Required. The list of fields to update.

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