Reference documentation and code samples for the Google Cloud Eventarc V1 Client class CloudRun.
Represents a Cloud Run destination.
Generated from protobuf message google.cloud.eventarc.v1.CloudRun
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ service
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.
↳ path
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
string
Required. The region the Cloud Run service is deployed in.
getService
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.
string
setService
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.
var
string
$this
getPath
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".
string
setPath
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".
var
string
$this
getRegion
Required. The region the Cloud Run service is deployed in.
string
setRegion
Required. The region the Cloud Run service is deployed in.
var
string
$this