Google Cloud Eventarc V1 Client - Class DeleteChannelRequest (1.1.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
NameDescription
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
TypeDescription
string

setName

Required. The name of the channel to be deleted.

Parameter
NameDescription
var string
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

Parameter
NameDescription
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
TypeDescription
Google\Cloud\Eventarc\V1\DeleteChannelRequest