Reference documentation and code samples for the Data Loss Prevention V2 Client class Color.
Represents a color in the RGB color space.
Generated from protobuf message google.privacy.dlp.v2.Color
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ red
float
The amount of red in the color as a value in the interval [0, 1].
↳ green
float
The amount of green in the color as a value in the interval [0, 1].
↳ blue
float
The amount of blue in the color as a value in the interval [0, 1].
getRed
The amount of red in the color as a value in the interval [0, 1].
float
setRed
The amount of red in the color as a value in the interval [0, 1].
var
float
$this
getGreen
The amount of green in the color as a value in the interval [0, 1].
float
setGreen
The amount of green in the color as a value in the interval [0, 1].
var
float
$this
getBlue
The amount of blue in the color as a value in the interval [0, 1].
float
setBlue
The amount of blue in the color as a value in the interval [0, 1].
var
float
$this