# Eventarc V1 API - Class Google::Cloud::Eventarc::V1::UpdateGoogleApiSourceRequest (v2.8.0)

2.8.0 (latest) 2.7.1 2.6.0 2.5.0 2.4.1 2.3.0 2.2.0 2.1.0 2.0.1 1.3.0 1.2.0 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.1 0.1.4 Reference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::UpdateGoogleApiSourceRequest.

The request message for the UpdateGoogleApiSource method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #allow_missing

    def allow_missing() -> ::Boolean

**Returns**

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

### #allow_missing=

    def allow_missing=(value) -> ::Boolean

**Parameter**

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

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

### #google_api_source

    def google_api_source() -> ::Google::Cloud::Eventarc::V1::GoogleApiSource

**Returns**

- ([::Google::Cloud::Eventarc::V1::GoogleApiSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Cloud-Eventarc-V1-GoogleApiSource)) --- Required. The GoogleApiSource to be updated.

### #google_api_source=

    def google_api_source=(value) -> ::Google::Cloud::Eventarc::V1::GoogleApiSource

**Parameter**

- **value** ([::Google::Cloud::Eventarc::V1::GoogleApiSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Cloud-Eventarc-V1-GoogleApiSource)) --- Required. The GoogleApiSource to be updated.
**Returns**

- ([::Google::Cloud::Eventarc::V1::GoogleApiSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Cloud-Eventarc-V1-GoogleApiSource)) --- Required. The GoogleApiSource to be updated.

### #update_mask

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

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Protobuf-FieldMask)) --- Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "\*".

### #update_mask=

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

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Protobuf-FieldMask)) --- Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "\*".
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Protobuf-FieldMask)) --- Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "\*".

### #validate_only

    def validate_only() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. If set, validate the request and preview the review, but do not post it.

### #validate_only=

    def validate_only=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. If set, validate the request and preview the review, but do not post it.
**Returns**

- (::Boolean) --- Optional. If set, validate the request and preview the review, but do not post it.