Class: Google::Cloud::Dlp::V2::Color

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/privacy/dlp/v2/dlp.rb

Overview

Represents a color in the RGB color space.

Instance Attribute Summary collapse

Instance Attribute Details

#blue::Float

Returns The amount of blue in the color as a value in the interval [0, 1].

Returns:

  • (::Float)

    The amount of blue in the color as a value in the interval [0, 1].



734
735
736
737
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 734

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

#green::Float

Returns The amount of green in the color as a value in the interval [0, 1].

Returns:

  • (::Float)

    The amount of green in the color as a value in the interval [0, 1].



734
735
736
737
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 734

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

#red::Float

Returns The amount of red in the color as a value in the interval [0, 1].

Returns:

  • (::Float)

    The amount of red in the color as a value in the interval [0, 1].



734
735
736
737
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 734

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