# Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::UpdateServingConfigRequest (v2.8.0)

2.8.0 (latest) 2.7.0 2.6.2 2.5.0 2.4.0 2.3.1 2.2.0 2.1.1 2.0.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.2 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.2 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::UpdateServingConfigRequest.

Request for UpdateServingConfig method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #serving_config

    def serving_config() -> ::Google::Cloud::DiscoveryEngine::V1::ServingConfig

**Returns**

- ([::Google::Cloud::DiscoveryEngine::V1::ServingConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-ServingConfig)) --- Required. The ServingConfig to update.

### #serving_config=

    def serving_config=(value) -> ::Google::Cloud::DiscoveryEngine::V1::ServingConfig

**Parameter**

- **value** ([::Google::Cloud::DiscoveryEngine::V1::ServingConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-ServingConfig)) --- Required. The ServingConfig to update.
**Returns**

- ([::Google::Cloud::DiscoveryEngine::V1::ServingConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-ServingConfig)) --- Required. The ServingConfig to update.

### #update_mask

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

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Protobuf-FieldMask)) --- Indicates which fields in the provided [ServingConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-ServingConfig "Google::Cloud::DiscoveryEngine::V1::ServingConfig (class)") to update. The following are NOT supported:


  - [ServingConfig.name](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-ServingConfig#Google__Cloud__DiscoveryEngine__V1__ServingConfig_name_instance_ "Google::Cloud::DiscoveryEngine::V1::ServingConfig#name (method)")

  If not set, all supported fields are updated.

### #update_mask=

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

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Protobuf-FieldMask)) --- Indicates which fields in the provided [ServingConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-ServingConfig "Google::Cloud::DiscoveryEngine::V1::ServingConfig (class)") to update. The following are NOT supported:


  - [ServingConfig.name](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-ServingConfig#Google__Cloud__DiscoveryEngine__V1__ServingConfig_name_instance_ "Google::Cloud::DiscoveryEngine::V1::ServingConfig#name (method)")

  If not set, all supported fields are updated.
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Protobuf-FieldMask)) --- Indicates which fields in the provided [ServingConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-ServingConfig "Google::Cloud::DiscoveryEngine::V1::ServingConfig (class)") to update. The following are NOT supported:


  - [ServingConfig.name](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-ServingConfig#Google__Cloud__DiscoveryEngine__V1__ServingConfig_name_instance_ "Google::Cloud::DiscoveryEngine::V1::ServingConfig#name (method)")

  If not set, all supported fields are updated.