# Class UpdateApiSpecRequest (0.10.0)

0.10.0 (latest) 0.9.0 0.8.0 0.7.0 0.6.18 0.5.1 0.4.0 0.3.2 0.2.1 0.1.2

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

Request message for UpdateApiSpec.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `api_spec` | `https://docs.cloud.google.com/python/docs/reference/apigeeregistry/latest/google.cloud.apigee_registry_v1.types.ApiSpec` Required. The spec to update. The `name` field is used to identify the spec to update. Format: `projects/*/locations/*/apis/*/versions/*/specs/*` |
| `update_mask` | `google.protobuf.field_mask_pb2.FieldMask` 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. |
| `allow_missing` | `bool` If set to true, and the spec is not found, a new spec will be created. In this situation, `update_mask` is ignored. |