Google Cloud Eventarc V1 Client - Class DeleteChannelRequest (2.1.3)

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

Optional. 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

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

Parameter
Name Description
name string

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

Returns
Type Description
DeleteChannelRequest