Class: Google::Apis::EventarcV1::Destination
- Inherits:
-
Object
- Object
- Google::Apis::EventarcV1::Destination
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/eventarc_v1/classes.rb,
lib/google/apis/eventarc_v1/representations.rb,
lib/google/apis/eventarc_v1/representations.rb
Overview
Represents a target of an invocation over HTTP.
Instance Attribute Summary collapse
-
#cloud_run ⇒ Google::Apis::EventarcV1::CloudRun
Represents a Cloud Run 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.
211 212 213 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 211 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_run ⇒ Google::Apis::EventarcV1::CloudRun
Represents a Cloud Run destination.
Corresponds to the JSON property cloudRun
209 210 211 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 209 def cloud_run @cloud_run end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
216 217 218 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 216 def update!(**args) @cloud_run = args[:cloud_run] if args.key?(:cloud_run) end |