Google Cloud Eventarc V1 Client - Class DeleteTriggerRequest (1.0.5)

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

The request message for the DeleteTrigger method.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the trigger to be deleted.

↳ etag string

If provided, the trigger will only be deleted if the etag matches the current etag on the resource.

↳ allow_missing bool

If set to true, and the trigger is not found, the request will succeed but no action will be taken on the server.

↳ validate_only bool

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

getName

Required. The name of the trigger to be deleted.

Returns
TypeDescription
string

setName

Required. The name of the trigger to be deleted.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEtag

If provided, the trigger will only be deleted if the etag matches the current etag on the resource.

Returns
TypeDescription
string

setEtag

If provided, the trigger will only be deleted if the etag matches the current etag on the resource.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAllowMissing

If set to true, and the trigger is not found, the request will succeed but no action will be taken on the server.

Returns
TypeDescription
bool

setAllowMissing

If set to true, and the trigger is not found, the request will succeed but no action will be taken on the server.

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