Class TriggerState


  • public final class TriggerState
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  TriggerState.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static TriggerState.Builder builder()  
      static TriggerState.Builder builder​(TriggerState defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> channel()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> conditions()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> createTime()  
      java.util.Optional<com.pulumi.core.Output<TriggerDestinationArgs>> destination()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> etag()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> labels()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> location()  
      java.util.Optional<com.pulumi.core.Output<java.util.List<TriggerMatchingCriteriaArgs>>> matchingCriterias()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> serviceAccount()  
      java.util.Optional<com.pulumi.core.Output<java.util.List<TriggerTransportArgs>>> transports()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> uid()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> updateTime()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • channel

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> channel()
        Returns:
        Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from Eventarc SaaS partners.
      • conditions

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> conditions()
        Returns:
        Output only. The reason(s) why a trigger is in FAILED state.
      • createTime

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> createTime()
        Returns:
        Output only. The creation time.
      • destination

        public java.util.Optional<com.pulumi.core.Output<TriggerDestinationArgs>> destination()
        Returns:
        Required. Destination specifies where the events should be sent to.
      • etag

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> etag()
        Returns:
        Output only. This checksum is computed by the server based on the value of other fields, and may be sent only on create requests to ensure the client has an up-to-date value before proceeding.
      • labels

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> labels()
        Returns:
        Optional. User labels attached to the triggers that can be used to group resources.
      • location

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> location()
        Returns:
        The location for the resource
      • matchingCriterias

        public java.util.Optional<com.pulumi.core.Output<java.util.List<TriggerMatchingCriteriaArgs>>> matchingCriterias()
        Returns:
        Required. null The list of filters that applies to event attributes. Only events that match all the provided filters will be sent to the destination.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Required. The resource name of the trigger. Must be unique within the location on the project.
      • project

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()
        Returns:
        The project for the resource
      • serviceAccount

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> serviceAccount()
        Returns:
        Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The principal who calls this API must have `iam.serviceAccounts.actAs` permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common for more information. For Cloud Run destinations, this service account is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke authenticated Cloud Run services. In order to create Audit Log triggers, the service account should also have `roles/eventarc.eventReceiver` IAM role.
      • transports

        public java.util.Optional<com.pulumi.core.Output<java.util.List<TriggerTransportArgs>>> transports()
        Returns:
        Optional. In order to deliver messages, Eventarc may use other GCP products as transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes.
      • uid

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> uid()
        Returns:
        Output only. Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
      • updateTime

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> updateTime()
        Returns:
        Output only. The last-modified time.