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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
Google\Cloud\Eventarc\V1\Channel|null |
hasChannel
clearChannel
setChannel
The channel to be updated.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Eventarc\V1\Channel
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
Google\Protobuf\FieldMask
|
Returns | |
---|---|
Type | Description |
$this |
getValidateOnly
Required. If set, validate the request and preview the review, but do not post it.
Returns | |
---|---|
Type | Description |
bool |
setValidateOnly
Required. If set, validate the request and preview the review, but do not post it.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |