Google Cloud Eventarc V1 Client - Class UpdateChannelRequest (1.1.1)

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

The request message for the UpdateChannel method.

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

Namespace

Google \ Cloud \ Eventarc \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ channel Google\Cloud\Eventarc\V1\Channel

The channel to be updated.

↳ update_mask Google\Protobuf\FieldMask

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 bool

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

getChannel

The channel to be updated.

Returns
TypeDescription
Google\Cloud\Eventarc\V1\Channel|null

hasChannel

clearChannel

setChannel

The channel to be updated.

Parameter
NameDescription
var Google\Cloud\Eventarc\V1\Channel
Returns
TypeDescription
$this

getUpdateMask

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
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

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
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

getValidateOnly

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

Returns
TypeDescription
bool

setValidateOnly

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
channel Google\Cloud\Eventarc\V1\Channel

The channel to be updated.

updateMask Google\Protobuf\FieldMask

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
TypeDescription
Google\Cloud\Eventarc\V1\UpdateChannelRequest