Cloud Logging V2 API - Class Google::Cloud::Logging::V2::CreateLogMetricRequest (v0.12.0)

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

The parameters to CreateLogMetric.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#metric

def metric() -> ::Google::Cloud::Logging::V2::LogMetric
Returns

#metric=

def metric=(value) -> ::Google::Cloud::Logging::V2::LogMetric
Parameter
Returns

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The resource name of the project in which to create the metric:

    "projects/[PROJECT_ID]"
    

    The new metric must be provided in the request.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the project in which to create the metric:

    "projects/[PROJECT_ID]"
    

    The new metric must be provided in the request.

Returns
  • (::String) — Required. The resource name of the project in which to create the metric:

    "projects/[PROJECT_ID]"
    

    The new metric must be provided in the request.