Eventarc v1 API - Class CreateTriggerRequest (2.2.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
NameDescription
otherCreateTriggerRequest

Properties

Parent

public string Parent { get; set; }

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

Property Value
TypeDescription
String

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName

Trigger

public Trigger Trigger { get; set; }

Required. The trigger to create.

Property Value
TypeDescription
Trigger

TriggerId

public string TriggerId { get; set; }

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

Property Value
TypeDescription
String

ValidateOnly

public bool ValidateOnly { get; set; }

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

Property Value
TypeDescription
Boolean