Class: Google::Apis::EventarcV1beta1::Destination
- Inherits:
-
Object
- Object
- Google::Apis::EventarcV1beta1::Destination
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/eventarc_v1beta1/classes.rb,
generated/google/apis/eventarc_v1beta1/representations.rb,
generated/google/apis/eventarc_v1beta1/representations.rb
Overview
Represents a target of an invocation over HTTP.
Instance Attribute Summary collapse
-
#cloud_run_service ⇒ Google::Apis::EventarcV1beta1::CloudRunService
Represents a Cloud Run service destination.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Destination
constructor
A new instance of Destination.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Destination
Returns a new instance of Destination.
224 225 226 |
# File 'generated/google/apis/eventarc_v1beta1/classes.rb', line 224 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_run_service ⇒ Google::Apis::EventarcV1beta1::CloudRunService
Represents a Cloud Run service destination.
Corresponds to the JSON property cloudRunService
222 223 224 |
# File 'generated/google/apis/eventarc_v1beta1/classes.rb', line 222 def cloud_run_service @cloud_run_service end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
229 230 231 |
# File 'generated/google/apis/eventarc_v1beta1/classes.rb', line 229 def update!(**args) @cloud_run_service = args[:cloud_run_service] if args.key?(:cloud_run_service) end |