Google Cloud Eventarc V1 Client - Class DeleteChannelRequest (2.0.1)

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

The request message for the DeleteChannel method.

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

Namespace

Google \ Cloud \ Eventarc \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the channel to be deleted.

↳ validate_only bool

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

getName

Required. The name of the channel to be deleted.

Returns
Type Description
string

setName

Required. The name of the channel to be deleted.

Parameter
Name Description
var string
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

static::build

Parameter
Name Description
name string

Required. The name of the channel to be deleted. Please see Google\Cloud\Eventarc\V1\EventarcClient::channelName() for help formatting this field.

Returns
Type Description
Google\Cloud\Eventarc\V1\DeleteChannelRequest