# Class UpdateApiRequest (1.16.0)

1.16.0 (latest) 1.15.0 1.14.0 1.13.0 1.12.2 1.11.0 1.10.1 1.9.5 1.8.0 1.7.3 1.6.1 1.5.1 1.4.0 1.3.3 1.2.2 1.1.1 1.0.4 0.2.0 0.1.0

    UpdateApiRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for ApiGatewayService.UpdateApi

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `update_mask` | `google.protobuf.field_mask_pb2.FieldMask` Field mask is used to specify the fields to be overwritten in the Api resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
| `api` | `https://docs.cloud.google.com/python/docs/reference/apigateway/latest/google.cloud.apigateway_v1.types.Api` Required. API resource. |