Class: Google::Cloud::Functions::V2::EventTrigger
- Inherits:
-
Object
- Object
- Google::Cloud::Functions::V2::EventTrigger
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/functions/v2/functions.rb
Overview
Describes EventTrigger, used to request events to be sent from another service.
Defined Under Namespace
Modules: RetryPolicy
Instance Attribute Summary collapse
-
#channel ⇒ ::String
Optional.
-
#event_filters ⇒ ::Array<::Google::Cloud::Functions::V2::EventFilter>
Criteria used to filter events.
-
#event_type ⇒ ::String
Required.
-
#pubsub_topic ⇒ ::String
Optional.
-
#retry_policy ⇒ ::Google::Cloud::Functions::V2::EventTrigger::RetryPolicy
Optional.
-
#service ⇒ ::String
Optional.
-
#service_account_email ⇒ ::String
Optional.
-
#trigger ⇒ ::String
readonly
Output only.
-
#trigger_region ⇒ ::String
The region that the trigger will be in.
Instance Attribute Details
#channel ⇒ ::String
650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 |
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 650 class EventTrigger include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Describes the retry policy in case of function's execution failure. # Retried execution is charged as any other execution. module RetryPolicy # Not specified. RETRY_POLICY_UNSPECIFIED = 0 # Do not retry. RETRY_POLICY_DO_NOT_RETRY = 1 # Retry on any failure, retry up to 7 days with an exponential backoff # (capped at 10 seconds). RETRY_POLICY_RETRY = 2 end end |
#event_filters ⇒ ::Array<::Google::Cloud::Functions::V2::EventFilter>
650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 |
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 650 class EventTrigger include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Describes the retry policy in case of function's execution failure. # Retried execution is charged as any other execution. module RetryPolicy # Not specified. RETRY_POLICY_UNSPECIFIED = 0 # Do not retry. RETRY_POLICY_DO_NOT_RETRY = 1 # Retry on any failure, retry up to 7 days with an exponential backoff # (capped at 10 seconds). RETRY_POLICY_RETRY = 2 end end |
#event_type ⇒ ::String
650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 |
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 650 class EventTrigger include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Describes the retry policy in case of function's execution failure. # Retried execution is charged as any other execution. module RetryPolicy # Not specified. RETRY_POLICY_UNSPECIFIED = 0 # Do not retry. RETRY_POLICY_DO_NOT_RETRY = 1 # Retry on any failure, retry up to 7 days with an exponential backoff # (capped at 10 seconds). RETRY_POLICY_RETRY = 2 end end |
#pubsub_topic ⇒ ::String
650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 |
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 650 class EventTrigger include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Describes the retry policy in case of function's execution failure. # Retried execution is charged as any other execution. module RetryPolicy # Not specified. RETRY_POLICY_UNSPECIFIED = 0 # Do not retry. RETRY_POLICY_DO_NOT_RETRY = 1 # Retry on any failure, retry up to 7 days with an exponential backoff # (capped at 10 seconds). RETRY_POLICY_RETRY = 2 end end |
#retry_policy ⇒ ::Google::Cloud::Functions::V2::EventTrigger::RetryPolicy
650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 |
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 650 class EventTrigger include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Describes the retry policy in case of function's execution failure. # Retried execution is charged as any other execution. module RetryPolicy # Not specified. RETRY_POLICY_UNSPECIFIED = 0 # Do not retry. RETRY_POLICY_DO_NOT_RETRY = 1 # Retry on any failure, retry up to 7 days with an exponential backoff # (capped at 10 seconds). RETRY_POLICY_RETRY = 2 end end |
#service ⇒ ::String
650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 |
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 650 class EventTrigger include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Describes the retry policy in case of function's execution failure. # Retried execution is charged as any other execution. module RetryPolicy # Not specified. RETRY_POLICY_UNSPECIFIED = 0 # Do not retry. RETRY_POLICY_DO_NOT_RETRY = 1 # Retry on any failure, retry up to 7 days with an exponential backoff # (capped at 10 seconds). RETRY_POLICY_RETRY = 2 end end |
#service_account_email ⇒ ::String
650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 |
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 650 class EventTrigger include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Describes the retry policy in case of function's execution failure. # Retried execution is charged as any other execution. module RetryPolicy # Not specified. RETRY_POLICY_UNSPECIFIED = 0 # Do not retry. RETRY_POLICY_DO_NOT_RETRY = 1 # Retry on any failure, retry up to 7 days with an exponential backoff # (capped at 10 seconds). RETRY_POLICY_RETRY = 2 end end |
#trigger ⇒ ::String (readonly)
650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 |
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 650 class EventTrigger include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Describes the retry policy in case of function's execution failure. # Retried execution is charged as any other execution. module RetryPolicy # Not specified. RETRY_POLICY_UNSPECIFIED = 0 # Do not retry. RETRY_POLICY_DO_NOT_RETRY = 1 # Retry on any failure, retry up to 7 days with an exponential backoff # (capped at 10 seconds). RETRY_POLICY_RETRY = 2 end end |
#trigger_region ⇒ ::String
650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 |
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 650 class EventTrigger include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Describes the retry policy in case of function's execution failure. # Retried execution is charged as any other execution. module RetryPolicy # Not specified. RETRY_POLICY_UNSPECIFIED = 0 # Do not retry. RETRY_POLICY_DO_NOT_RETRY = 1 # Retry on any failure, retry up to 7 days with an exponential backoff # (capped at 10 seconds). RETRY_POLICY_RETRY = 2 end end |