# BigQuery Connection V1 API - Class Google::Cloud::Bigquery::Connection::V1::UpdateConnectionRequest (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.18.0 0.17.2 0.16.0 0.15.1 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.3 Reference documentation and code samples for the BigQuery Connection V1 API class Google::Cloud::Bigquery::Connection::V1::UpdateConnectionRequest.

The request for
[ConnectionService.UpdateConnection](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-connection-v1/latest/Google-Cloud-Bigquery-Connection-V1-ConnectionService-Client#Google__Cloud__Bigquery__Connection__V1__ConnectionService__Client_update_connection_instance_ "Google::Cloud::Bigquery::Connection::V1::ConnectionService::Client#update_connection (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #connection

    def connection() -> ::Google::Cloud::Bigquery::Connection::V1::Connection

**Returns**

- ([::Google::Cloud::Bigquery::Connection::V1::Connection](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-connection-v1/latest/Google-Cloud-Bigquery-Connection-V1-Connection)) --- Required. Connection containing the updated fields.

### #connection=

    def connection=(value) -> ::Google::Cloud::Bigquery::Connection::V1::Connection

**Parameter**

- **value** ([::Google::Cloud::Bigquery::Connection::V1::Connection](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-connection-v1/latest/Google-Cloud-Bigquery-Connection-V1-Connection)) --- Required. Connection containing the updated fields.
**Returns**

- ([::Google::Cloud::Bigquery::Connection::V1::Connection](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-connection-v1/latest/Google-Cloud-Bigquery-Connection-V1-Connection)) --- Required. Connection containing the updated fields.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. Name of the connection to update, for example: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Name of the connection to update, for example: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
**Returns**

- (::String) --- Required. Name of the connection to update, for example: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`

### #update_mask

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

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-connection-v1/latest/Google-Protobuf-FieldMask)) --- Required. Update mask for the connection fields to be 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-bigquery-connection-v1/latest/Google-Protobuf-FieldMask)) --- Required. Update mask for the connection fields to be updated.
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-connection-v1/latest/Google-Protobuf-FieldMask)) --- Required. Update mask for the connection fields to be updated.