Class: Google::Apis::EventarcV1beta1::Destination

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_serviceGoogle::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