Reference documentation and code samples for the Google Cloud Eventarc V1 Client class GKE.
Represents a GKE destination.
Generated from protobuf message google.cloud.eventarc.v1.GKE
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ cluster
string
Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.
↳ location
string
Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.
↳ namespace
string
Required. The namespace the GKE service is running in.
↳ service
string
Required. Name of the GKE service.
↳ path
string
Optional. The relative path on the GKE 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".
getCluster
Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.
string
setCluster
Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.
var
string
$this
getLocation
Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.
string
setLocation
Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.
var
string
$this
getNamespace
Required. The namespace the GKE service is running in.
string
setNamespace
Required. The namespace the GKE service is running in.
var
string
$this
getService
Required. Name of the GKE service.
string
setService
Required. Name of the GKE service.
var
string
$this
getPath
Optional. The relative path on the GKE 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 GKE 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