Reference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::Destination.
Represents a target of an invocation over HTTP.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cloud_function
def cloud_function() -> ::String
-
(::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.
#cloud_function=
def cloud_function=(value) -> ::String
-
value (::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.
-
(::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.
#cloud_run
def cloud_run() -> ::Google::Cloud::Eventarc::V1::CloudRun
- (::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.
#cloud_run=
def cloud_run=(value) -> ::Google::Cloud::Eventarc::V1::CloudRun
- value (::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.
- (::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.
#gke
def gke() -> ::Google::Cloud::Eventarc::V1::GKE
- (::Google::Cloud::Eventarc::V1::GKE) — A GKE service capable of receiving events. The service should be running in the same project as the trigger.
#gke=
def gke=(value) -> ::Google::Cloud::Eventarc::V1::GKE
- value (::Google::Cloud::Eventarc::V1::GKE) — A GKE service capable of receiving events. The service should be running in the same project as the trigger.
- (::Google::Cloud::Eventarc::V1::GKE) — A GKE service capable of receiving events. The service should be running in the same project as the trigger.
#http_endpoint
def http_endpoint() -> ::Google::Cloud::Eventarc::V1::HttpEndpoint
- (::Google::Cloud::Eventarc::V1::HttpEndpoint) — An HTTP endpoint destination described by an URI.
#http_endpoint=
def http_endpoint=(value) -> ::Google::Cloud::Eventarc::V1::HttpEndpoint
- value (::Google::Cloud::Eventarc::V1::HttpEndpoint) — An HTTP endpoint destination described by an URI.
- (::Google::Cloud::Eventarc::V1::HttpEndpoint) — An HTTP endpoint destination described by an URI.
#network_config
def network_config() -> ::Google::Cloud::Eventarc::V1::NetworkConfig
- (::Google::Cloud::Eventarc::V1::NetworkConfig) — Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
#network_config=
def network_config=(value) -> ::Google::Cloud::Eventarc::V1::NetworkConfig
- value (::Google::Cloud::Eventarc::V1::NetworkConfig) — Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
- (::Google::Cloud::Eventarc::V1::NetworkConfig) — Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
#workflow
def workflow() -> ::String
-
(::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}
#workflow=
def workflow=(value) -> ::String
-
value (::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}
-
(::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}