Class: Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineDestination
- Inherits:
-
Object
- Object
- Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineDestination
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/eventarc_v1/classes.rb,
lib/google/apis/eventarc_v1/representations.rb,
lib/google/apis/eventarc_v1/representations.rb
Overview
Represents a target of an invocation over HTTP.
Instance Attribute Summary collapse
-
#authentication_config ⇒ Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig
Represents a config used to authenticate message requests.
-
#http_endpoint ⇒ Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineDestinationHttpEndpoint
Represents a HTTP endpoint destination.
-
#message_bus ⇒ String
Optional.
-
#network_config ⇒ Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineDestinationNetworkConfig
Represents a network config to be used for destination resolution and connectivity.
-
#output_payload_format ⇒ Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineMessagePayloadFormat
Represents the format of message data.
-
#topic ⇒ String
Optional.
-
#workflow ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudEventarcV1PipelineDestination
constructor
A new instance of GoogleCloudEventarcV1PipelineDestination.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudEventarcV1PipelineDestination
Returns a new instance of GoogleCloudEventarcV1PipelineDestination.
936 937 938 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 936 def initialize(**args) update!(**args) end |
Instance Attribute Details
#authentication_config ⇒ Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig
Represents a config used to authenticate message requests.
Corresponds to the JSON property authenticationConfig
896 897 898 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 896 def authentication_config @authentication_config end |
#http_endpoint ⇒ Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineDestinationHttpEndpoint
Represents a HTTP endpoint destination.
Corresponds to the JSON property httpEndpoint
901 902 903 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 901 def http_endpoint @http_endpoint end |
#message_bus ⇒ String
Optional. The resource name of the Message Bus to which events should be
published. The Message Bus resource should exist in the same project as the
Pipeline. Format: projects/project/locations/location/messageBuses/
message_bus`
Corresponds to the JSON propertymessageBus`
909 910 911 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 909 def @message_bus end |
#network_config ⇒ Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineDestinationNetworkConfig
Represents a network config to be used for destination resolution and
connectivity.
Corresponds to the JSON property networkConfig
915 916 917 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 915 def network_config @network_config end |
#output_payload_format ⇒ Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineMessagePayloadFormat
Represents the format of message data.
Corresponds to the JSON property outputPayloadFormat
920 921 922 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 920 def output_payload_format @output_payload_format end |
#topic ⇒ String
Optional. The resource name of the Pub/Sub topic to which events should be
published. Format: projects/project/locations/location/topics/topic`
Corresponds to the JSON propertytopic`
926 927 928 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 926 def topic @topic end |
#workflow ⇒ String
Optional. The resource name of the Workflow whose Executions are triggered by
the events. The Workflow resource should be deployed in the same project as
the Pipeline. Format: projects/project/locations/location/workflows/
workflow`
Corresponds to the JSON propertyworkflow`
934 935 936 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 934 def workflow @workflow end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
941 942 943 944 945 946 947 948 949 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 941 def update!(**args) @authentication_config = args[:authentication_config] if args.key?(:authentication_config) @http_endpoint = args[:http_endpoint] if args.key?(:http_endpoint) @message_bus = args[:message_bus] if args.key?(:message_bus) @network_config = args[:network_config] if args.key?(:network_config) @output_payload_format = args[:output_payload_format] if args.key?(:output_payload_format) @topic = args[:topic] if args.key?(:topic) @workflow = args[:workflow] if args.key?(:workflow) end |