Class: Google::Cloud::Monitoring::V3::Service::GkeService

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

Overview

GKE Service. The "service" here represents a Kubernetes service object. The field names correspond to the resource labels on k8s_service monitored resources.

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.



278
279
280
281
# File 'proto_docs/google/monitoring/v3/service.rb', line 278

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



278
279
280
281
# File 'proto_docs/google/monitoring/v3/service.rb', line 278

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



278
279
280
281
# File 'proto_docs/google/monitoring/v3/service.rb', line 278

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



278
279
280
281
# File 'proto_docs/google/monitoring/v3/service.rb', line 278

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

#service_name::String

Returns The name of this service.

Returns:

  • (::String)

    The name of this service.



278
279
280
281
# File 'proto_docs/google/monitoring/v3/service.rb', line 278

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