Google Cloud Eventarc V1 Client - Class CreateTriggerRequest (2.1.5)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ parent
string

Required. The parent collection in which to add this trigger.

↳ trigger
Trigger

Required. The trigger to create.

↳ trigger_id
string

Required. The user-provided ID to be assigned to the trigger.

↳ validate_only
bool

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

Returns
Type
Description
string

setParent

Required. The parent collection in which to add this trigger.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getTrigger

Required. The trigger to create.

Returns
Type
Description
Trigger |null

hasTrigger

clearTrigger

setTrigger

Required. The trigger to create.

Parameter
Name
Description
var
Returns
Type
Description
$this

getTriggerId

Required. The user-provided ID to be assigned to the trigger.

Returns
Type
Description
string

setTriggerId

Required. The user-provided ID to be assigned to the trigger.

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

Parameters
Name
Description
parent
string

Required. The parent collection in which to add this trigger. Please see EventarcClient::locationName() for help formatting this field.

trigger
Trigger

Required. The trigger to create.

triggerId
string

Required. The user-provided ID to be assigned to the trigger.

Returns
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: