Class: Google::Cloud::Monitoring::V3::Service::GkeWorkload

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#cluster_name::String

Returns The name of the parent cluster.

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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.

Returns:

  • (::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.



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.

Returns:

  • (::String)

    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").

Returns:

  • (::String)

    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