Reference documentation and code samples for the Stackdriver Monitoring V3 Client class GkeService.
GKE Service. The "service" here represents a Kubernetes service object .
The field names correspond to the resource labels on k8s_service
monitored
resources
.
Generated from protobuf message google.monitoring.v3.Service.GkeService
Namespace
Google \ Cloud \ Monitoring \ V3 \ ServiceMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ project_id
string
Output only. The project this resource lives in. For legacy services migrated from the Custom
type, this may be a distinct project from the one parenting the service itself.
↳ location
string
The location of the parent cluster. This may be a zone or region.
↳ cluster_name
string
The name of the parent cluster.
↳ namespace_name
string
The name of the parent namespace.
↳ service_name
string
The name of this service.
getProjectId
Output only. The project this resource lives in. For legacy services
migrated from the Custom
type, this may be a distinct project from the
one parenting the service itself.
string
setProjectId
Output only. The project this resource lives in. For legacy services
migrated from the Custom
type, this may be a distinct project from the
one parenting the service itself.
var
string
$this
getLocation
The location of the parent cluster. This may be a zone or region.
string
setLocation
The location of the parent cluster. This may be a zone or region.
var
string
$this
getClusterName
The name of the parent cluster.
string
setClusterName
The name of the parent cluster.
var
string
$this
getNamespaceName
The name of the parent namespace.
string
setNamespaceName
The name of the parent namespace.
var
string
$this
getServiceName
The name of this service.
string
setServiceName
The name of this service.
var
string
$this