Reference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::CreateTriggerRequest.
The request message for the CreateTrigger method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
- (::String) — Required. The parent collection in which to add this trigger.
#parent=
def parent=(value) -> ::String
Parameter
- value (::String) — Required. The parent collection in which to add this trigger.
Returns
- (::String) — Required. The parent collection in which to add this trigger.
#trigger
def trigger() -> ::Google::Cloud::Eventarc::V1::Trigger
Returns
- (::Google::Cloud::Eventarc::V1::Trigger) — Required. The trigger to create.
#trigger=
def trigger=(value) -> ::Google::Cloud::Eventarc::V1::Trigger
Parameter
- value (::Google::Cloud::Eventarc::V1::Trigger) — Required. The trigger to create.
Returns
- (::Google::Cloud::Eventarc::V1::Trigger) — Required. The trigger to create.
#trigger_id
def trigger_id() -> ::String
Returns
- (::String) — Required. The user-provided ID to be assigned to the trigger.
#trigger_id=
def trigger_id=(value) -> ::String
Parameter
- value (::String) — Required. The user-provided ID to be assigned to the trigger.
Returns
- (::String) — Required. The user-provided ID to be assigned to the trigger.
#validate_only
def validate_only() -> ::Boolean
Returns
- (::Boolean) — Optional. If set, validate the request and preview the review, but do not post it.
#validate_only=
def validate_only=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. If set, validate the request and preview the review, but do not post it.
Returns
- (::Boolean) — Optional. If set, validate the request and preview the review, but do not post it.