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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
string |
setName
Required. The name of the trigger to be deleted.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getEtag
If provided, the trigger will only be deleted if the etag matches the current etag on the resource.
Returns | |
---|---|
Type | Description |
string |
setEtag
If provided, the trigger will only be deleted if the etag matches the current etag on the resource.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
bool
|
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 |