# Apigee Registry v1 API - Class UpdateApiRequest (1.0.0-beta08)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.0.0-beta08 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.UpdateApiRequest)
- [1.0.0-beta07](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/1.0.0-beta07/Google.Cloud.ApigeeRegistry.V1.UpdateApiRequest)

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

Reference documentation and code samples for the Apigee Registry v1 API class UpdateApiRequest.

Request message for UpdateApi.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.ApigeeRegistry.V1.dll

## Constructors

### UpdateApiRequest()

    public UpdateApiRequest()

### UpdateApiRequest(UpdateApiRequest)

    public UpdateApiRequest(UpdateApiRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.UpdateApiRequest` |

## Properties

### AllowMissing

    public bool AllowMissing { get; set; }

If set to true, and the API is not found, a new API will be created.
In this situation, `update_mask` is ignored.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### Api

    public Api Api { get; set; }

Required. The API to update.

The `name` field is used to identify the API to update.
Format: `projects/*/locations/*/apis/*`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.Api` |   |

### UpdateMask

    public FieldMask UpdateMask { get; set; }

The list of fields to be updated. If omitted, all fields are updated that
are set in the request message (fields set to default values are ignored).
If an asterisk "\*" is specified, all fields are updated, including fields
that are unspecified/default in the request.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` |   |