Cloud Monitoring V3 API - Class Google::Cloud::Monitoring::V3::Service (v0.9.0)

Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::Service.

A Service is a discrete, autonomous, and network-accessible unit, designed to solve an individual concern (Wikipedia). In Cloud Monitoring, a Service acts as the root resource under which operational aspects of the service are accessible.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#app_engine

def app_engine() -> ::Google::Cloud::Monitoring::V3::Service::AppEngine
Returns

#app_engine=

def app_engine=(value) -> ::Google::Cloud::Monitoring::V3::Service::AppEngine
Parameter
Returns

#cloud_endpoints

def cloud_endpoints() -> ::Google::Cloud::Monitoring::V3::Service::CloudEndpoints
Returns

#cloud_endpoints=

def cloud_endpoints=(value) -> ::Google::Cloud::Monitoring::V3::Service::CloudEndpoints
Parameter
Returns

#cluster_istio

def cluster_istio() -> ::Google::Cloud::Monitoring::V3::Service::ClusterIstio
Returns

#cluster_istio=

def cluster_istio=(value) -> ::Google::Cloud::Monitoring::V3::Service::ClusterIstio
Parameter
Returns

#custom

def custom() -> ::Google::Cloud::Monitoring::V3::Service::Custom
Returns

#custom=

def custom=(value) -> ::Google::Cloud::Monitoring::V3::Service::Custom
Parameter
Returns

#display_name

def display_name() -> ::String
Returns
  • (::String) — Name used for UI elements listing this Service.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Name used for UI elements listing this Service.
Returns
  • (::String) — Name used for UI elements listing this Service.

#istio_canonical_service

def istio_canonical_service() -> ::Google::Cloud::Monitoring::V3::Service::IstioCanonicalService
Returns

#istio_canonical_service=

def istio_canonical_service=(value) -> ::Google::Cloud::Monitoring::V3::Service::IstioCanonicalService
Parameter
Returns

#mesh_istio

def mesh_istio() -> ::Google::Cloud::Monitoring::V3::Service::MeshIstio
Returns

#mesh_istio=

def mesh_istio=(value) -> ::Google::Cloud::Monitoring::V3::Service::MeshIstio
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) —

    Resource name for this Service. The format is:

    projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    

#name=

def name=(value) -> ::String
Parameter
  • value (::String) —

    Resource name for this Service. The format is:

    projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    
Returns
  • (::String) —

    Resource name for this Service. The format is:

    projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    

#telemetry

def telemetry() -> ::Google::Cloud::Monitoring::V3::Service::Telemetry
Returns

#telemetry=

def telemetry=(value) -> ::Google::Cloud::Monitoring::V3::Service::Telemetry
Parameter
Returns

#user_labels

def user_labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels which have been used to annotate the service. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.

#user_labels=

def user_labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Labels which have been used to annotate the service. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels which have been used to annotate the service. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.