# Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::UpdateControlRequest (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::UpdateControlRequest.

Request for UpdateControl method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #control

    def control() -> ::Google::Cloud::DiscoveryEngine::V1::Control

**Returns**

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

### #control=

    def control=(value) -> ::Google::Cloud::DiscoveryEngine::V1::Control

**Parameter**

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

- ([::Google::Cloud::DiscoveryEngine::V1::Control](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-Control)) --- Required. The Control 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)) --- Optional. Indicates which fields in the provided [Control](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-Control "Google::Cloud::DiscoveryEngine::V1::Control (class)") to update. The following are NOT supported:


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

  If not set or empty, 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)) --- Optional. Indicates which fields in the provided [Control](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-Control "Google::Cloud::DiscoveryEngine::V1::Control (class)") to update. The following are NOT supported:


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

  If not set or empty, 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)) --- Optional. Indicates which fields in the provided [Control](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-Control "Google::Cloud::DiscoveryEngine::V1::Control (class)") to update. The following are NOT supported:


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

  If not set or empty, all supported fields are updated.