Google Cloud Eventarc V1 Client - Class UpdateGoogleApiSourceRequest (2.1.5)

Reference documentation and code samples for the Google Cloud Eventarc V1 Client class UpdateGoogleApiSourceRequest.

The request message for the UpdateGoogleApiSource method.

Generated from protobuf message google.cloud.eventarc.v1.UpdateGoogleApiSourceRequest

Namespace

Google \ Cloud \ Eventarc \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ google_api_source
GoogleApiSource

Required. The GoogleApiSource to be updated.

↳ update_mask
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 "*".

↳ allow_missing
bool

Optional. If set to true, and the GoogleApiSource is not found, a new GoogleApiSource will be created. In this situation, update_mask is ignored.

↳ validate_only
bool

Optional. If set, validate the request and preview the review, but do not post it.

getGoogleApiSource

Required. The GoogleApiSource to be updated.

Returns
Type
Description

hasGoogleApiSource

clearGoogleApiSource

setGoogleApiSource

Required. The GoogleApiSource to be updated.

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateMask

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
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

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 "*".

Parameter
Name
Description
Returns
Type
Description
$this

getAllowMissing

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
Type
Description
bool

setAllowMissing

Optional. If set to true, and the GoogleApiSource is not found, a new GoogleApiSource will be created. In this situation, update_mask is ignored.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getValidateOnly

Optional. If set, validate the request and preview the review, but do not post it.

Returns
Type
Description
bool

setValidateOnly

Optional. If set, validate the request and preview the review, but do not post it.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

static::build

Parameters
Name
Description
googleApiSource
GoogleApiSource

Required. The GoogleApiSource to be updated.

updateMask
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
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: