Class Google::Cloud::Logging::V2::CreateLogMetricRequest (v0.5.6)

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.