LAST_FOUR_CHARACTERS
com.google.cloud.bigquery.datapolicies.v1.datapolicy.DataMaskingPolicy.PredefinedExpression.LAST_FOUR_CHARACTERS
case object LAST_FOUR_CHARACTERS extends PredefinedExpression, Recognized
Masking expression shows the last four characters of text. The masking behavior is as follows:
- If text length > 4 characters: Replace text with XXXXX, append last four characters of original text.
- If text length <= 4 characters: Apply SHA-256 hash.
Attributes
- Source
- DataMaskingPolicy.scala
- Graph
-
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Recognizedclass PredefinedExpressiontrait GeneratedEnumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
LAST_FOUR_CHARACTERS.type
Members list
Type members
Inherited types
Attributes
- Inherited from:
- PredefinedExpression
- Source
- DataMaskingPolicy.scala
The names of the product elements
Attributes
- Inherited from:
- Singleton
- Source
- Mirror.scala
The name of the type
The mirrored *-type
Attributes
- Inherited from:
- Singleton
- Source
- Mirror.scala
Value members
Concrete methods
Attributes
- Definition Classes
- Source
- DataMaskingPolicy.scala
Inherited methods
Attributes
- Inherited from:
- PredefinedExpression
- Source
- DataMaskingPolicy.scala
Attributes
- Inherited from:
- PredefinedExpression
- Source
- DataMaskingPolicy.scala
Create a new instance of type T
with elements taken from product p
.
Create a new instance of type T
with elements taken from product p
.
Attributes
- Inherited from:
- Singleton
- Source
- Mirror.scala
Attributes
- Inherited from:
- PredefinedExpression
- Source
- DataMaskingPolicy.scala
Attributes
- Inherited from:
- PredefinedExpression
- Source
- DataMaskingPolicy.scala
Attributes
- Inherited from:
- PredefinedExpression
- Source
- DataMaskingPolicy.scala
Attributes
- Inherited from:
- PredefinedExpression
- Source
- DataMaskingPolicy.scala
Attributes
- Inherited from:
- PredefinedExpression
- Source
- DataMaskingPolicy.scala
Attributes
- Inherited from:
- PredefinedExpression
- Source
- DataMaskingPolicy.scala
Attributes
- Inherited from:
- PredefinedExpression
- Source
- DataMaskingPolicy.scala
Attributes
- Inherited from:
- GeneratedEnum
- Source
- GeneratedMessageCompanion.scala
Attributes
- Inherited from:
- GeneratedEnum
- Source
- GeneratedMessageCompanion.scala
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- GeneratedEnum
- Source
- GeneratedMessageCompanion.scala
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
GeneratedEnum -> Any
- Inherited from:
- GeneratedEnum
- Source
- GeneratedMessageCompanion.scala
Inherited fields
Attributes
- Inherited from:
- PredefinedExpression
- Source
- DataMaskingPolicy.scala
In this article