Reference documentation and code samples for the Google Cloud Eventarc V1 Client class CreateTriggerRequest.
The request message for the CreateTrigger method.
Generated from protobuf message google.cloud.eventarc.v1.CreateTriggerRequest
Namespace
Google \ Cloud \ Eventarc \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent collection in which to add this trigger.
↳ trigger
↳ trigger_id
string
Required. The user-provided ID to be assigned to the trigger.
↳ validate_only
bool
Required. If set, validate the request and preview the review, but do not post it.
getParent
Required. The parent collection in which to add this trigger.
string
setParent
Required. The parent collection in which to add this trigger.
var
string
$this
getTrigger
Required. The trigger to create.
hasTrigger
clearTrigger
setTrigger
Required. The trigger to create.
$this
getTriggerId
Required. The user-provided ID to be assigned to the trigger.
string
setTriggerId
Required. The user-provided ID to be assigned to the trigger.
var
string
$this
getValidateOnly
Required. If set, validate the request and preview the review, but do not post it.
bool
setValidateOnly
Required. If set, validate the request and preview the review, but do not post it.
var
bool
$this
static::build
parent
string
Required. The parent collection in which to add this trigger. Please see Google\Cloud\Eventarc\V1\EventarcClient::locationName() for help formatting this field.
trigger
triggerId
string
Required. The user-provided ID to be assigned to the trigger.