Cloud Logging V2 API - Class Google::Cloud::Logging::V2::GetLogMetricRequest (v1.0.1)

Reference documentation and code samples for the Cloud Logging V2 API class Google::Cloud::Logging::V2::GetLogMetricRequest.

The parameters to GetLogMetric.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#metric_name

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

    Required. The resource name of the desired metric:

    "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    

#metric_name=

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

    Required. The resource name of the desired metric:

    "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    
Returns
  • (::String) —

    Required. The resource name of the desired metric:

    "projects/[PROJECT_ID]/metrics/[METRIC_ID]"