Class: Google::Cloud::Compute::V1::LogConfigCounterOptionsCustomField

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Overview

Custom fields. These can be used to create a counter with arbitrary field/value pairs. See: go/rpcsp-custom-fields.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns Name is the field name.

Returns:

  • (::String)

    Name is the field name.



7984
7985
7986
7987
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 7984

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

#value::String

Returns Value is the field value. It is important that in contrast to the CounterOptions.field, the value here is a constant that is not derived from the IAMContext.

Returns:

  • (::String)

    Value is the field value. It is important that in contrast to the CounterOptions.field, the value here is a constant that is not derived from the IAMContext.



7984
7985
7986
7987
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 7984

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