Class: Google::Cloud::Eventarc::V1::Destination

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/eventarc/v1/trigger.rb

Overview

Represents a target of an invocation over HTTP.

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_function::String

Returns The Cloud Function resource name. Cloud Functions V1 and V2 are supported. Format: projects/{project}/locations/{location}/functions/{function}

This is a read-only field. Creating Cloud Functions V1/V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.

Returns:

  • (::String)

    The Cloud Function resource name. Cloud Functions V1 and V2 are supported. Format: projects/{project}/locations/{location}/functions/{function}

    This is a read-only field. Creating Cloud Functions V1/V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.



182
183
184
185
# File 'proto_docs/google/cloud/eventarc/v1/trigger.rb', line 182

class Destination
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#cloud_run::Google::Cloud::Eventarc::V1::CloudRun

Returns Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.

Returns:



182
183
184
185
# File 'proto_docs/google/cloud/eventarc/v1/trigger.rb', line 182

class Destination
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#gke::Google::Cloud::Eventarc::V1::GKE

Returns A GKE service capable of receiving events. The service should be running in the same project as the trigger.

Returns:



182
183
184
185
# File 'proto_docs/google/cloud/eventarc/v1/trigger.rb', line 182

class Destination
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#http_endpoint::Google::Cloud::Eventarc::V1::HttpEndpoint

Returns An HTTP endpoint destination described by an URI.

Returns:



182
183
184
185
# File 'proto_docs/google/cloud/eventarc/v1/trigger.rb', line 182

class Destination
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#network_config::Google::Cloud::Eventarc::V1::NetworkConfig

Returns Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.

Returns:



182
183
184
185
# File 'proto_docs/google/cloud/eventarc/v1/trigger.rb', line 182

class Destination
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#workflow::String

Returns 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 trigger. Format: projects/{project}/locations/{location}/workflows/{workflow}.

Returns:

  • (::String)

    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 trigger. Format: projects/{project}/locations/{location}/workflows/{workflow}



182
183
184
185
# File 'proto_docs/google/cloud/eventarc/v1/trigger.rb', line 182

class Destination
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end