# Apigee Registry V1 API - Class Google::Cloud::ApigeeRegistry::V1::UpdateApiVersionRequest (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::UpdateApiVersionRequest.

Request message for UpdateApiVersion.

## 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 version is not found, a new version 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 version is not found, a new version will be created. In this situation, `update_mask` is ignored.
**Returns**

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

### #api_version

    def api_version() -> ::Google::Cloud::ApigeeRegistry::V1::ApiVersion

**Returns**

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


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

### #api_version=

    def api_version=(value) -> ::Google::Cloud::ApigeeRegistry::V1::ApiVersion

**Parameter**

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


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

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


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

### #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.