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.

Note: The following fields are mutually exclusive: cloud_function, cloud_run, gke, workflow, http_endpoint. If a field in that set is populated, all other fields in the set will automatically be cleared.

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.

    Note: The following fields are mutually exclusive: cloud_function, cloud_run, gke, workflow, http_endpoint. If a field in that set is populated, all other fields in the set will automatically be cleared.



192
193
194
195
# File 'proto_docs/google/cloud/eventarc/v1/trigger.rb', line 192

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.

Note: The following fields are mutually exclusive: cloud_run, cloud_function, gke, workflow, http_endpoint. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Eventarc::V1::CloudRun)

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

    Note: The following fields are mutually exclusive: cloud_run, cloud_function, gke, workflow, http_endpoint. If a field in that set is populated, all other fields in the set will automatically be cleared.



192
193
194
195
# File 'proto_docs/google/cloud/eventarc/v1/trigger.rb', line 192

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.

Note: The following fields are mutually exclusive: gke, cloud_run, cloud_function, workflow, http_endpoint. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Eventarc::V1::GKE)

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

    Note: The following fields are mutually exclusive: gke, cloud_run, cloud_function, workflow, http_endpoint. If a field in that set is populated, all other fields in the set will automatically be cleared.



192
193
194
195
# File 'proto_docs/google/cloud/eventarc/v1/trigger.rb', line 192

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.

Note: The following fields are mutually exclusive: http_endpoint, cloud_run, cloud_function, gke, workflow. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Eventarc::V1::HttpEndpoint)

    An HTTP endpoint destination described by an URI.

    Note: The following fields are mutually exclusive: http_endpoint, cloud_run, cloud_function, gke, workflow. If a field in that set is populated, all other fields in the set will automatically be cleared.



192
193
194
195
# File 'proto_docs/google/cloud/eventarc/v1/trigger.rb', line 192

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:



192
193
194
195
# File 'proto_docs/google/cloud/eventarc/v1/trigger.rb', line 192

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}

Note: The following fields are mutually exclusive: workflow, cloud_run, cloud_function, gke, http_endpoint. If a field in that set is populated, all other fields in the set will automatically be cleared.

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}

    Note: The following fields are mutually exclusive: workflow, cloud_run, cloud_function, gke, http_endpoint. If a field in that set is populated, all other fields in the set will automatically be cleared.



192
193
194
195
# File 'proto_docs/google/cloud/eventarc/v1/trigger.rb', line 192

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