# Apigee Registry V1 API - Class Google::Cloud::ApigeeRegistry::V1::UpdateApiRequest (v0.16.0)

0.15.0 (latest) 0.14.0 0.13.1 0.12.0 0.11.0 0.10.1 0.9.0 0.8.1 0.7.2 0.6.0 0.5.0 0.4.0 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Apigee Registry V1 API class Google::Cloud::ApigeeRegistry::V1::UpdateApiRequest.

Request message for UpdateApi.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #allow_missing

    def allow_missing() -> ::Boolean

**Returns**

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

### #allow_missing=

    def allow_missing=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- If set to true, and the API is not found, a new API will be created. In this situation, `update_mask` is ignored.
**Returns**

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

### #api

    def api() -> ::Google::Cloud::ApigeeRegistry::V1::Api

**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::Api](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-Api)) --- Required. The API to update.


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

### #api=

    def api=(value) -> ::Google::Cloud::ApigeeRegistry::V1::Api

**Parameter**

- **value** ([::Google::Cloud::ApigeeRegistry::V1::Api](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-Api)) --- Required. The API to update.


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

- ([::Google::Cloud::ApigeeRegistry::V1::Api](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-Api)) --- Required. The API to update.


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

### #update_mask

    def update_mask() -> ::Google::Protobuf::FieldMask

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Protobuf-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.

### #update_mask=

    def update_mask=(value) -> ::Google::Protobuf::FieldMask

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Protobuf-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.
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Protobuf-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.