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

Request message for UpdateApiSpec.

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

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

### #api_spec

    def api_spec() -> ::Google::Cloud::ApigeeRegistry::V1::ApiSpec

**Returns**

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


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

### #api_spec=

    def api_spec=(value) -> ::Google::Cloud::ApigeeRegistry::V1::ApiSpec

**Parameter**

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


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

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

    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.