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.
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.
#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.
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.
-
(::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.
#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.
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.
#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.
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.
-
(::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.
#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.
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.
#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.
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.
-
(::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.
#http_endpoint
def http_endpoint() -> ::Google::Cloud::Eventarc::V1::HttpEndpoint
-
(::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.
#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.
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.
-
(::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.
#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}
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.
#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}
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.
-
(::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.