Eventarc V1 API - Class Google::Cloud::Eventarc::V1::CloudRun (v0.2.1)

Reference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::CloudRun.

Represents a Cloud Run destination.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#path

def path() -> ::String
Returns
  • (::String) — Optional. The relative path on the Cloud Run service the events should be sent to.

    The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".

#path=

def path=(value) -> ::String
Parameter
  • value (::String) — Optional. The relative path on the Cloud Run service the events should be sent to.

    The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".

Returns
  • (::String) — Optional. The relative path on the Cloud Run service the events should be sent to.

    The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".

#region

def region() -> ::String
Returns
  • (::String) — Required. The region the Cloud Run service is deployed in.

#region=

def region=(value) -> ::String
Parameter
  • value (::String) — Required. The region the Cloud Run service is deployed in.
Returns
  • (::String) — Required. The region the Cloud Run service is deployed in.

#service

def service() -> ::String
Returns
  • (::String) — Required. The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services.

    Only services located in the same project as the trigger object can be addressed.

#service=

def service=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services.

    Only services located in the same project as the trigger object can be addressed.

Returns
  • (::String) — Required. The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services.

    Only services located in the same project as the trigger object can be addressed.