Class: Google::Cloud::Monitoring::V3::Service::GkeNamespace

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/monitoring/v3/service.rb

Overview

GKE Namespace. The field names correspond to the resource metadata labels on monitored resources that fall under a namespace (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.



222
223
224
225
# File 'proto_docs/google/monitoring/v3/service.rb', line 222

class GkeNamespace
  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.



222
223
224
225
# File 'proto_docs/google/monitoring/v3/service.rb', line 222

class GkeNamespace
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#namespace_name::String

Returns The name of this namespace.

Returns:

  • (::String)

    The name of this namespace.



222
223
224
225
# File 'proto_docs/google/monitoring/v3/service.rb', line 222

class GkeNamespace
  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.



222
223
224
225
# File 'proto_docs/google/monitoring/v3/service.rb', line 222

class GkeNamespace
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end