class Google::Apis::EventarcV1::CloudRun

Represents a Cloud Run destination.

Attributes

path[RW]

Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of URI path segment (section 3.3 of RFC2396). Examples: “/route”, “route”, “route/subroute”. Corresponds to the JSON property `path` @return [String]

region[RW]

Required. The region the Cloud Run service is deployed in. Corresponds to the JSON property `region` @return [String]

service[RW]

Required. The name of the Cloud Run service being addressed. See cloud. google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project of the trigger object can be addressed. Corresponds to the JSON property `service` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/eventarc_v1/classes.rb, line 190
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/eventarc_v1/classes.rb, line 195
def update!(**args)
  @path = args[:path] if args.key?(:path)
  @region = args[:region] if args.key?(:region)
  @service = args[:service] if args.key?(:service)
end