Eventarc v1 API - Class CreateTriggerRequest (2.6.0)

public sealed class CreateTriggerRequest : IMessage<CreateTriggerRequest>, IEquatable<CreateTriggerRequest>, IDeepCloneable<CreateTriggerRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Eventarc v1 API class CreateTriggerRequest.

The request message for the CreateTrigger method.

Inheritance

object > CreateTriggerRequest

Namespace

Google.Cloud.Eventarc.V1

Assembly

Google.Cloud.Eventarc.V1.dll

Constructors

CreateTriggerRequest()

public CreateTriggerRequest()

CreateTriggerRequest(CreateTriggerRequest)

public CreateTriggerRequest(CreateTriggerRequest other)
Parameter
Name Description
other CreateTriggerRequest

Properties

Parent

public string Parent { get; set; }

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

Property Value
Type Description
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
Type Description
LocationName

Trigger

public Trigger Trigger { get; set; }

Required. The trigger to create.

Property Value
Type Description
Trigger

TriggerId

public string TriggerId { get; set; }

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

Property Value
Type Description
string

ValidateOnly

public bool ValidateOnly { get; set; }

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

Property Value
Type Description
bool