Class: Google::Cloud::Monitoring::V3::Service::GkeWorkload
- Inherits:
-
Object
- Object
- Google::Cloud::Monitoring::V3::Service::GkeWorkload
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/monitoring/v3/service.rb
Overview
A GKE Workload (Deployment, StatefulSet, etc). The field names correspond
to the metadata labels on monitored resources that fall under a workload
(for example, k8s_container
or k8s_pod
).
Instance Attribute Summary collapse
-
#cluster_name ⇒ ::String
The name of the parent cluster.
-
#location ⇒ ::String
The location of the parent cluster.
-
#namespace_name ⇒ ::String
The name of the parent namespace.
-
#project_id ⇒ ::String
readonly
Output only.
-
#top_level_controller_name ⇒ ::String
The name of this workload.
-
#top_level_controller_type ⇒ ::String
The type of this workload (for example, "Deployment" or "DaemonSet").
Instance Attribute Details
#cluster_name ⇒ ::String
Returns The name of the parent cluster.
250 251 252 253 |
# File 'proto_docs/google/monitoring/v3/service.rb', line 250 class GkeWorkload include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#location ⇒ ::String
Returns The location of the parent cluster. This may be a zone or region.
250 251 252 253 |
# File 'proto_docs/google/monitoring/v3/service.rb', line 250 class GkeWorkload include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#namespace_name ⇒ ::String
Returns The name of the parent namespace.
250 251 252 253 |
# File 'proto_docs/google/monitoring/v3/service.rb', line 250 class GkeWorkload include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#project_id ⇒ ::String (readonly)
Returns 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.
250 251 252 253 |
# File 'proto_docs/google/monitoring/v3/service.rb', line 250 class GkeWorkload include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#top_level_controller_name ⇒ ::String
Returns The name of this workload.
250 251 252 253 |
# File 'proto_docs/google/monitoring/v3/service.rb', line 250 class GkeWorkload include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#top_level_controller_type ⇒ ::String
Returns The type of this workload (for example, "Deployment" or "DaemonSet").
250 251 252 253 |
# File 'proto_docs/google/monitoring/v3/service.rb', line 250 class GkeWorkload include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |