2.10.0 (latest) 2.9.0 2.8.0 2.7.0 2.6.2 2.5.0 2.4.0 2.3.1 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.7.0 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.5 Reference documentation and code samples for the API Gateway V1 API class Google::Cloud::ApiGateway::V1::UpdateGatewayRequest.

Request message for ApiGatewayService.UpdateGateway

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #gateway

    def gateway() -> ::Google::Cloud::ApiGateway::V1::Gateway

**Returns**

- ([::Google::Cloud::ApiGateway::V1::Gateway](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_gateway-v1/latest/Google-Cloud-ApiGateway-V1-Gateway)) --- Required. Gateway resource.

### #gateway=

    def gateway=(value) -> ::Google::Cloud::ApiGateway::V1::Gateway

**Parameter**

- **value** ([::Google::Cloud::ApiGateway::V1::Gateway](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_gateway-v1/latest/Google-Cloud-ApiGateway-V1-Gateway)) --- Required. Gateway resource.
**Returns**

- ([::Google::Cloud::ApiGateway::V1::Gateway](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_gateway-v1/latest/Google-Cloud-ApiGateway-V1-Gateway)) --- Required. Gateway resource.

### #update_mask

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

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_gateway-v1/latest/Google-Protobuf-FieldMask)) --- Field mask is used to specify the fields to be overwritten in the Gateway resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

### #update_mask=

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

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_gateway-v1/latest/Google-Protobuf-FieldMask)) --- Field mask is used to specify the fields to be overwritten in the Gateway resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_gateway-v1/latest/Google-Protobuf-FieldMask)) --- Field mask is used to specify the fields to be overwritten in the Gateway resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.