Google_Service_DLP_GooglePrivacyDlpV2PrimitiveTransformation
extends Google_Model
in package
This class defines attributes, valid values, and usage which is generated from a given json schema.
http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5
Table of Contents
- NULL_VALUE = "{}gapi-php-null"
- If you need to specify a NULL JSON value, use Google_Model::NULL_VALUE instead - it will be replaced when converting to JSON with a real null.
- $bucketingConfigDataType : mixed
- $bucketingConfigType : mixed
- $characterMaskConfigDataType : mixed
- $characterMaskConfigType : mixed
- $cryptoDeterministicConfigDataType : mixed
- $cryptoDeterministicConfigType : mixed
- $cryptoHashConfigDataType : mixed
- $cryptoHashConfigType : mixed
- $cryptoReplaceFfxFpeConfigDataType : mixed
- $cryptoReplaceFfxFpeConfigType : mixed
- $dateShiftConfigDataType : mixed
- $dateShiftConfigType : mixed
- $fixedSizeBucketingConfigDataType : mixed
- $fixedSizeBucketingConfigType : mixed
- $internal_gapi_mappings : mixed
- $modelData : mixed
- $processed : mixed
- $redactConfigDataType : mixed
- $redactConfigType : mixed
- $replaceConfigDataType : mixed
- $replaceConfigType : mixed
- $replaceWithInfoTypeConfigDataType : mixed
- $replaceWithInfoTypeConfigType : mixed
- $timePartConfigDataType : mixed
- $timePartConfigType : mixed
- __construct() : mixed
- Polymorphic - accepts a variable number of arguments dependent on the type of the model subclass.
- __get() : mixed
- Getter that handles passthrough access to the data array, and lazy object creation.
- __isset() : mixed
- __unset() : mixed
- assertIsArray() : mixed
- Verify if $obj is an array.
- getBucketingConfig() : Google_Service_DLP_GooglePrivacyDlpV2BucketingConfig
- getCharacterMaskConfig() : Google_Service_DLP_GooglePrivacyDlpV2CharacterMaskConfig
- getCryptoDeterministicConfig() : Google_Service_DLP_GooglePrivacyDlpV2CryptoDeterministicConfig
- getCryptoHashConfig() : Google_Service_DLP_GooglePrivacyDlpV2CryptoHashConfig
- getCryptoReplaceFfxFpeConfig() : Google_Service_DLP_GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig
- getDateShiftConfig() : Google_Service_DLP_GooglePrivacyDlpV2DateShiftConfig
- getFixedSizeBucketingConfig() : Google_Service_DLP_GooglePrivacyDlpV2FixedSizeBucketingConfig
- getRedactConfig() : Google_Service_DLP_GooglePrivacyDlpV2RedactConfig
- getReplaceConfig() : Google_Service_DLP_GooglePrivacyDlpV2ReplaceValueConfig
- getReplaceWithInfoTypeConfig() : Google_Service_DLP_GooglePrivacyDlpV2ReplaceWithInfoTypeConfig
- getTimePartConfig() : Google_Service_DLP_GooglePrivacyDlpV2TimePartConfig
- offsetExists() : mixed
- offsetGet() : mixed
- offsetSet() : mixed
- offsetUnset() : mixed
- setBucketingConfig() : mixed
- setCharacterMaskConfig() : mixed
- setCryptoDeterministicConfig() : mixed
- setCryptoHashConfig() : mixed
- setCryptoReplaceFfxFpeConfig() : mixed
- setDateShiftConfig() : mixed
- setFixedSizeBucketingConfig() : mixed
- setRedactConfig() : mixed
- setReplaceConfig() : mixed
- setReplaceWithInfoTypeConfig() : mixed
- setTimePartConfig() : mixed
- toSimpleObject() : mixed
- Create a simplified object suitable for straightforward conversion to JSON. This is relatively expensive due to the usage of reflection, but shouldn't be called a whole lot, and is the most straightforward way to filter.
- dataType() : mixed
- gapiInit() : mixed
- Blank initialiser to be used in subclasses to do post-construction initialisation - this avoids the need for subclasses to have to implement the variadics handling in their constructors.
- isAssociativeArray() : bool
- Returns true only if the array is associative.
- keyType() : mixed
- mapTypes() : void
- Initialize this object's properties from an array.
- camelCase() : string
- Convert a string to camelCase
- getMappedName() : mixed
- If there is an internal name mapping, use that.
- getSimpleValue() : mixed
- Handle different types of values, primarily other objects and map and array data types.
- nullPlaceholderCheck() : mixed
- Check whether the value is the null placeholder and return true null.
Constants
NULL_VALUE
If you need to specify a NULL JSON value, use Google_Model::NULL_VALUE instead - it will be replaced when converting to JSON with a real null.
public
mixed
NULL_VALUE
= "{}gapi-php-null"
Properties
$bucketingConfigDataType
protected
mixed
$bucketingConfigDataType
= ''
$bucketingConfigType
protected
mixed
$bucketingConfigType
= 'Google_Service_DLP_GooglePrivacyDlpV2BucketingConfig'
$characterMaskConfigDataType
protected
mixed
$characterMaskConfigDataType
= ''
$characterMaskConfigType
protected
mixed
$characterMaskConfigType
= 'Google_Service_DLP_GooglePrivacyDlpV2CharacterMaskConfig'
$cryptoDeterministicConfigDataType
protected
mixed
$cryptoDeterministicConfigDataType
= ''
$cryptoDeterministicConfigType
protected
mixed
$cryptoDeterministicConfigType
= 'Google_Service_DLP_GooglePrivacyDlpV2CryptoDeterministicConfig'
$cryptoHashConfigDataType
protected
mixed
$cryptoHashConfigDataType
= ''
$cryptoHashConfigType
protected
mixed
$cryptoHashConfigType
= 'Google_Service_DLP_GooglePrivacyDlpV2CryptoHashConfig'
$cryptoReplaceFfxFpeConfigDataType
protected
mixed
$cryptoReplaceFfxFpeConfigDataType
= ''
$cryptoReplaceFfxFpeConfigType
protected
mixed
$cryptoReplaceFfxFpeConfigType
= 'Google_Service_DLP_GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig'
$dateShiftConfigDataType
protected
mixed
$dateShiftConfigDataType
= ''
$dateShiftConfigType
protected
mixed
$dateShiftConfigType
= 'Google_Service_DLP_GooglePrivacyDlpV2DateShiftConfig'
$fixedSizeBucketingConfigDataType
protected
mixed
$fixedSizeBucketingConfigDataType
= ''
$fixedSizeBucketingConfigType
protected
mixed
$fixedSizeBucketingConfigType
= 'Google_Service_DLP_GooglePrivacyDlpV2FixedSizeBucketingConfig'
$internal_gapi_mappings
protected
mixed
$internal_gapi_mappings
= array()
$modelData
protected
mixed
$modelData
= array()
$processed
protected
mixed
$processed
= array()
$redactConfigDataType
protected
mixed
$redactConfigDataType
= ''
$redactConfigType
protected
mixed
$redactConfigType
= 'Google_Service_DLP_GooglePrivacyDlpV2RedactConfig'
$replaceConfigDataType
protected
mixed
$replaceConfigDataType
= ''
$replaceConfigType
protected
mixed
$replaceConfigType
= 'Google_Service_DLP_GooglePrivacyDlpV2ReplaceValueConfig'
$replaceWithInfoTypeConfigDataType
protected
mixed
$replaceWithInfoTypeConfigDataType
= ''
$replaceWithInfoTypeConfigType
protected
mixed
$replaceWithInfoTypeConfigType
= 'Google_Service_DLP_GooglePrivacyDlpV2ReplaceWithInfoTypeConfig'
$timePartConfigDataType
protected
mixed
$timePartConfigDataType
= ''
$timePartConfigType
protected
mixed
$timePartConfigType
= 'Google_Service_DLP_GooglePrivacyDlpV2TimePartConfig'
Methods
__construct()
Polymorphic - accepts a variable number of arguments dependent on the type of the model subclass.
public
final __construct() : mixed
Return values
mixed —__get()
Getter that handles passthrough access to the data array, and lazy object creation.
public
__get(string $key) : mixed
Parameters
- $key : string
-
Property name.
Return values
mixed —The value if any, or null.
__isset()
public
__isset(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —__unset()
public
__unset(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —assertIsArray()
Verify if $obj is an array.
public
assertIsArray(array<string|int, mixed> $obj, string $method) : mixed
Parameters
- $obj : array<string|int, mixed>
-
Items that should be validated.
- $method : string
-
Method expecting an array as an argument.
Tags
Return values
mixed —getBucketingConfig()
public
getBucketingConfig() : Google_Service_DLP_GooglePrivacyDlpV2BucketingConfig
Return values
Google_Service_DLP_GooglePrivacyDlpV2BucketingConfig —getCharacterMaskConfig()
public
getCharacterMaskConfig() : Google_Service_DLP_GooglePrivacyDlpV2CharacterMaskConfig
Return values
Google_Service_DLP_GooglePrivacyDlpV2CharacterMaskConfig —getCryptoDeterministicConfig()
public
getCryptoDeterministicConfig() : Google_Service_DLP_GooglePrivacyDlpV2CryptoDeterministicConfig
Return values
Google_Service_DLP_GooglePrivacyDlpV2CryptoDeterministicConfig —getCryptoHashConfig()
public
getCryptoHashConfig() : Google_Service_DLP_GooglePrivacyDlpV2CryptoHashConfig
Return values
Google_Service_DLP_GooglePrivacyDlpV2CryptoHashConfig —getCryptoReplaceFfxFpeConfig()
public
getCryptoReplaceFfxFpeConfig() : Google_Service_DLP_GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig
Return values
Google_Service_DLP_GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig —getDateShiftConfig()
public
getDateShiftConfig() : Google_Service_DLP_GooglePrivacyDlpV2DateShiftConfig
Return values
Google_Service_DLP_GooglePrivacyDlpV2DateShiftConfig —getFixedSizeBucketingConfig()
public
getFixedSizeBucketingConfig() : Google_Service_DLP_GooglePrivacyDlpV2FixedSizeBucketingConfig
Return values
Google_Service_DLP_GooglePrivacyDlpV2FixedSizeBucketingConfig —getRedactConfig()
public
getRedactConfig() : Google_Service_DLP_GooglePrivacyDlpV2RedactConfig
Return values
Google_Service_DLP_GooglePrivacyDlpV2RedactConfig —getReplaceConfig()
public
getReplaceConfig() : Google_Service_DLP_GooglePrivacyDlpV2ReplaceValueConfig
Return values
Google_Service_DLP_GooglePrivacyDlpV2ReplaceValueConfig —getReplaceWithInfoTypeConfig()
public
getReplaceWithInfoTypeConfig() : Google_Service_DLP_GooglePrivacyDlpV2ReplaceWithInfoTypeConfig
Return values
Google_Service_DLP_GooglePrivacyDlpV2ReplaceWithInfoTypeConfig —getTimePartConfig()
public
getTimePartConfig() : Google_Service_DLP_GooglePrivacyDlpV2TimePartConfig
Return values
Google_Service_DLP_GooglePrivacyDlpV2TimePartConfig —offsetExists()
public
offsetExists(mixed $offset) : mixed
Parameters
- $offset : mixed
Return values
mixed —offsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
Return values
mixed —offsetSet()
public
offsetSet(mixed $offset, mixed $value) : mixed
Parameters
- $offset : mixed
- $value : mixed
Return values
mixed —offsetUnset()
public
offsetUnset(mixed $offset) : mixed
Parameters
- $offset : mixed
Return values
mixed —setBucketingConfig()
public
setBucketingConfig(Google_Service_DLP_GooglePrivacyDlpV2BucketingConfig $bucketingConfig) : mixed
Parameters
- $bucketingConfig : Google_Service_DLP_GooglePrivacyDlpV2BucketingConfig
Return values
mixed —setCharacterMaskConfig()
public
setCharacterMaskConfig(Google_Service_DLP_GooglePrivacyDlpV2CharacterMaskConfig $characterMaskConfig) : mixed
Parameters
- $characterMaskConfig : Google_Service_DLP_GooglePrivacyDlpV2CharacterMaskConfig
Return values
mixed —setCryptoDeterministicConfig()
public
setCryptoDeterministicConfig(Google_Service_DLP_GooglePrivacyDlpV2CryptoDeterministicConfig $cryptoDeterministicConfig) : mixed
Parameters
- $cryptoDeterministicConfig : Google_Service_DLP_GooglePrivacyDlpV2CryptoDeterministicConfig
Return values
mixed —setCryptoHashConfig()
public
setCryptoHashConfig(Google_Service_DLP_GooglePrivacyDlpV2CryptoHashConfig $cryptoHashConfig) : mixed
Parameters
- $cryptoHashConfig : Google_Service_DLP_GooglePrivacyDlpV2CryptoHashConfig
Return values
mixed —setCryptoReplaceFfxFpeConfig()
public
setCryptoReplaceFfxFpeConfig(Google_Service_DLP_GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig $cryptoReplaceFfxFpeConfig) : mixed
Parameters
- $cryptoReplaceFfxFpeConfig : Google_Service_DLP_GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig
Return values
mixed —setDateShiftConfig()
public
setDateShiftConfig(Google_Service_DLP_GooglePrivacyDlpV2DateShiftConfig $dateShiftConfig) : mixed
Parameters
- $dateShiftConfig : Google_Service_DLP_GooglePrivacyDlpV2DateShiftConfig
Return values
mixed —setFixedSizeBucketingConfig()
public
setFixedSizeBucketingConfig(Google_Service_DLP_GooglePrivacyDlpV2FixedSizeBucketingConfig $fixedSizeBucketingConfig) : mixed
Parameters
- $fixedSizeBucketingConfig : Google_Service_DLP_GooglePrivacyDlpV2FixedSizeBucketingConfig
Return values
mixed —setRedactConfig()
public
setRedactConfig(Google_Service_DLP_GooglePrivacyDlpV2RedactConfig $redactConfig) : mixed
Parameters
- $redactConfig : Google_Service_DLP_GooglePrivacyDlpV2RedactConfig
Return values
mixed —setReplaceConfig()
public
setReplaceConfig(Google_Service_DLP_GooglePrivacyDlpV2ReplaceValueConfig $replaceConfig) : mixed
Parameters
- $replaceConfig : Google_Service_DLP_GooglePrivacyDlpV2ReplaceValueConfig
Return values
mixed —setReplaceWithInfoTypeConfig()
public
setReplaceWithInfoTypeConfig(Google_Service_DLP_GooglePrivacyDlpV2ReplaceWithInfoTypeConfig $replaceWithInfoTypeConfig) : mixed
Parameters
- $replaceWithInfoTypeConfig : Google_Service_DLP_GooglePrivacyDlpV2ReplaceWithInfoTypeConfig
Return values
mixed —setTimePartConfig()
public
setTimePartConfig(Google_Service_DLP_GooglePrivacyDlpV2TimePartConfig $timePartConfig) : mixed
Parameters
- $timePartConfig : Google_Service_DLP_GooglePrivacyDlpV2TimePartConfig
Return values
mixed —toSimpleObject()
Create a simplified object suitable for straightforward conversion to JSON. This is relatively expensive due to the usage of reflection, but shouldn't be called a whole lot, and is the most straightforward way to filter.
public
toSimpleObject() : mixed
Return values
mixed —dataType()
protected
dataType(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —gapiInit()
Blank initialiser to be used in subclasses to do post-construction initialisation - this avoids the need for subclasses to have to implement the variadics handling in their constructors.
protected
gapiInit() : mixed
Return values
mixed —isAssociativeArray()
Returns true only if the array is associative.
protected
isAssociativeArray(array<string|int, mixed> $array) : bool
Parameters
- $array : array<string|int, mixed>
Return values
bool —True if the array is associative.
keyType()
protected
keyType(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —mapTypes()
Initialize this object's properties from an array.
protected
mapTypes(array<string|int, mixed> $array) : void
Parameters
- $array : array<string|int, mixed>
-
Used to seed this object's properties.
Return values
void —camelCase()
Convert a string to camelCase
private
camelCase(string $value) : string
Parameters
- $value : string
Return values
string —getMappedName()
If there is an internal name mapping, use that.
private
getMappedName(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —getSimpleValue()
Handle different types of values, primarily other objects and map and array data types.
private
getSimpleValue(mixed $value) : mixed
Parameters
- $value : mixed
Return values
mixed —nullPlaceholderCheck()
Check whether the value is the null placeholder and return true null.
private
nullPlaceholderCheck(mixed $value) : mixed
Parameters
- $value : mixed