Class: Google::Api::LabelDescriptor

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/api/label.rb

Overview

A description of a label.

Defined Under Namespace

Modules: ValueType

Instance Attribute Summary collapse

Instance Attribute Details

#description::String

Returns A human-readable description for the label.

Returns:

  • (::String)

    A human-readable description for the label.



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# File 'proto_docs/google/api/label.rb', line 32

class LabelDescriptor
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Value types that can be used as label values.
  module ValueType
    # A variable-length string. This is the default.
    STRING = 0

    # Boolean; true or false.
    BOOL = 1

    # A 64-bit signed integer.
    INT64 = 2
  end
end

#key::String

Returns The label key.

Returns:

  • (::String)

    The label key.



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# File 'proto_docs/google/api/label.rb', line 32

class LabelDescriptor
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Value types that can be used as label values.
  module ValueType
    # A variable-length string. This is the default.
    STRING = 0

    # Boolean; true or false.
    BOOL = 1

    # A 64-bit signed integer.
    INT64 = 2
  end
end

#value_type::Google::Api::LabelDescriptor::ValueType

Returns The type of data that can be assigned to the label.

Returns:



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# File 'proto_docs/google/api/label.rb', line 32

class LabelDescriptor
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Value types that can be used as label values.
  module ValueType
    # A variable-length string. This is the default.
    STRING = 0

    # Boolean; true or false.
    BOOL = 1

    # A 64-bit signed integer.
    INT64 = 2
  end
end