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
Returns
-
(::String) — The Cloud Function resource name. Only Cloud Functions V2 is supported.
Format:
projects/{project}/locations/{location}/functions/{function}
#cloud_function=
def cloud_function=(value) -> ::String
Parameter
-
value (::String) — The Cloud Function resource name. Only Cloud Functions V2 is supported.
Format:
projects/{project}/locations/{location}/functions/{function}
Returns
-
(::String) — The Cloud Function resource name. Only Cloud Functions V2 is supported.
Format:
projects/{project}/locations/{location}/functions/{function}
#cloud_run
def cloud_run() -> ::Google::Cloud::Eventarc::V1::CloudRun
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.
#cloud_run=
def cloud_run=(value) -> ::Google::Cloud::Eventarc::V1::CloudRun
Parameter
- 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.
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.
#gke
def gke() -> ::Google::Cloud::Eventarc::V1::GKE
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.
#gke=
def gke=(value) -> ::Google::Cloud::Eventarc::V1::GKE
Parameter
- 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.
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.