Class FunctionEventTriggerArgs


  • public final class FunctionEventTriggerArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • eventType

        public com.pulumi.core.Output<java.lang.String> eventType()
        Returns:
        The type of event to observe. For example: `"google.storage.object.finalize"`. See the documentation on [calling Cloud Functions](https://cloud.google.com/functions/docs/calling/) for a full reference of accepted triggers.
      • failurePolicy

        public java.util.Optional<com.pulumi.core.Output<FunctionEventTriggerFailurePolicyArgs>> failurePolicy()
        Returns:
        Specifies policy for failed executions. Structure is documented below.
      • resource

        public com.pulumi.core.Output<java.lang.String> resource()
        Returns:
        Required. The name or partial URI of the resource from which to observe events. For example, `"myBucket"` or `"projects/my-project/topics/my-topic"`