generated/google/apis/dlp_v2beta1/classes.rb in google-api-client-0.18.1 vs generated/google/apis/dlp_v2beta1/classes.rb in google-api-client-0.19.0
- old
+ new
@@ -290,20 +290,35 @@
# be non-overlapping.
class GooglePrivacyDlpV2beta1Bucket
include Google::Apis::Core::Hashable
# Set of primitive values supported by the system.
+ # Note that for the purposes of inspection or transformation, the number
+ # of bytes considered to comprise a 'Value' is based on its representation
+ # as a UTF-8 encoded string. For example, if 'integer_value' is set to
+ # 123456789, the number of bytes would be counted as 9, even though an
+ # int64 only holds up to 8 bytes of data.
# Corresponds to the JSON property `max`
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value]
attr_accessor :max
# Set of primitive values supported by the system.
+ # Note that for the purposes of inspection or transformation, the number
+ # of bytes considered to comprise a 'Value' is based on its representation
+ # as a UTF-8 encoded string. For example, if 'integer_value' is set to
+ # 123456789, the number of bytes would be counted as 9, even though an
+ # int64 only holds up to 8 bytes of data.
# Corresponds to the JSON property `min`
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value]
attr_accessor :min
# Set of primitive values supported by the system.
+ # Note that for the purposes of inspection or transformation, the number
+ # of bytes considered to comprise a 'Value' is based on its representation
+ # as a UTF-8 encoded string. For example, if 'integer_value' is set to
+ # 123456789, the number of bytes would be counted as 9, even though an
+ # int64 only holds up to 8 bytes of data.
# Corresponds to the JSON property `replacementValue`
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value]
attr_accessor :replacement_value
def initialize(**args)
@@ -647,10 +662,15 @@
# Corresponds to the JSON property `operator`
# @return [String]
attr_accessor :operator
# Set of primitive values supported by the system.
+ # Note that for the purposes of inspection or transformation, the number
+ # of bytes considered to comprise a 'Value' is based on its representation
+ # as a UTF-8 encoded string. For example, if 'integer_value' is set to
+ # 123456789, the number of bytes would be counted as 9, even though an
+ # int64 only holds up to 8 bytes of data.
# Corresponds to the JSON property `value`
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value]
attr_accessor :value
def initialize(**args)
@@ -933,11 +953,12 @@
# [`CryptoReplaceFfxFpeConfig`](/dlp/docs/reference/rest/v2beta1/content/
# deidentify#CryptoReplaceFfxFpeConfig).
# These types of transformations are
# those that perform pseudonymization, thereby producing a "surrogate" as
# output. This should be used in conjunction with a field on the
- # transformation such as `surrogate_info_type`.
+ # transformation such as `surrogate_info_type`. This custom info type does
+ # not support the use of `detection_rules`.
# Corresponds to the JSON property `surrogateType`
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1SurrogateType]
attr_accessor :surrogate_type
def initialize(**args)
@@ -1351,15 +1372,25 @@
# Corresponds to the JSON property `bucketSize`
# @return [Float]
attr_accessor :bucket_size
# Set of primitive values supported by the system.
+ # Note that for the purposes of inspection or transformation, the number
+ # of bytes considered to comprise a 'Value' is based on its representation
+ # as a UTF-8 encoded string. For example, if 'integer_value' is set to
+ # 123456789, the number of bytes would be counted as 9, even though an
+ # int64 only holds up to 8 bytes of data.
# Corresponds to the JSON property `lowerBound`
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value]
attr_accessor :lower_bound
# Set of primitive values supported by the system.
+ # Note that for the purposes of inspection or transformation, the number
+ # of bytes considered to comprise a 'Value' is based on its representation
+ # as a UTF-8 encoded string. For example, if 'integer_value' is set to
+ # 123456789, the number of bytes would be counted as 9, even though an
+ # int64 only holds up to 8 bytes of data.
# Corresponds to the JSON property `upperBound`
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value]
attr_accessor :upper_bound
def initialize(**args)
@@ -2418,15 +2449,25 @@
# Result of the numerical stats computation.
class GooglePrivacyDlpV2beta1NumericalStatsResult
include Google::Apis::Core::Hashable
# Set of primitive values supported by the system.
+ # Note that for the purposes of inspection or transformation, the number
+ # of bytes considered to comprise a 'Value' is based on its representation
+ # as a UTF-8 encoded string. For example, if 'integer_value' is set to
+ # 123456789, the number of bytes would be counted as 9, even though an
+ # int64 only holds up to 8 bytes of data.
# Corresponds to the JSON property `maxValue`
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value]
attr_accessor :max_value
# Set of primitive values supported by the system.
+ # Note that for the purposes of inspection or transformation, the number
+ # of bytes considered to comprise a 'Value' is based on its representation
+ # as a UTF-8 encoded string. For example, if 'integer_value' is set to
+ # 123456789, the number of bytes would be counted as 9, even though an
+ # int64 only holds up to 8 bytes of data.
# Corresponds to the JSON property `minValue`
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value]
attr_accessor :min_value
# List of 99 values that partition the set of field values into 100 equal
@@ -3002,10 +3043,15 @@
# Replace each input value with a given `Value`.
class GooglePrivacyDlpV2beta1ReplaceValueConfig
include Google::Apis::Core::Hashable
# Set of primitive values supported by the system.
+ # Note that for the purposes of inspection or transformation, the number
+ # of bytes considered to comprise a 'Value' is based on its representation
+ # as a UTF-8 encoded string. For example, if 'integer_value' is set to
+ # 123456789, the number of bytes would be counted as 9, even though an
+ # int64 only holds up to 8 bytes of data.
# Corresponds to the JSON property `newValue`
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value]
attr_accessor :new_value
def initialize(**args)
@@ -3204,11 +3250,12 @@
# [`CryptoReplaceFfxFpeConfig`](/dlp/docs/reference/rest/v2beta1/content/
# deidentify#CryptoReplaceFfxFpeConfig).
# These types of transformations are
# those that perform pseudonymization, thereby producing a "surrogate" as
# output. This should be used in conjunction with a field on the
- # transformation such as `surrogate_info_type`.
+ # transformation such as `surrogate_info_type`. This custom info type does
+ # not support the use of `detection_rules`.
class GooglePrivacyDlpV2beta1SurrogateType
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
@@ -3327,20 +3374,23 @@
@part_to_extract = args[:part_to_extract] if args.key?(:part_to_extract)
end
end
# Summary of a single tranformation.
+ # Only one of 'transformation', 'field_transformation', or 'record_suppress'
+ # will be set.
class GooglePrivacyDlpV2beta1TransformationSummary
include Google::Apis::Core::Hashable
# General identifier of a data field in a storage service.
# Corresponds to the JSON property `field`
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId]
attr_accessor :field
- # The field transformation that was applied. This list will contain
- # multiple only in the case of errors.
+ # The field transformation that was applied.
+ # If multiple field transformations are requested for a single field,
+ # this list will contain all of them; otherwise, only one is supplied.
# Corresponds to the JSON property `fieldTransformations`
# @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldTransformation>]
attr_accessor :field_transformations
# Type of information detected by the API.
@@ -3362,10 +3412,15 @@
# A rule for transforming a value.
# Corresponds to the JSON property `transformation`
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrimitiveTransformation]
attr_accessor :transformation
+ # Total size in bytes that were transformed in some way.
+ # Corresponds to the JSON property `transformedBytes`
+ # @return [Fixnum]
+ attr_accessor :transformed_bytes
+
def initialize(**args)
update!(**args)
end
# Update properties of this object
@@ -3374,10 +3429,11 @@
@field_transformations = args[:field_transformations] if args.key?(:field_transformations)
@info_type = args[:info_type] if args.key?(:info_type)
@record_suppress = args[:record_suppress] if args.key?(:record_suppress)
@results = args[:results] if args.key?(:results)
@transformation = args[:transformation] if args.key?(:transformation)
+ @transformed_bytes = args[:transformed_bytes] if args.key?(:transformed_bytes)
end
end
# Use this to have a random data crypto key generated.
# It will be discarded after the operation/request finishes.
@@ -3424,10 +3480,15 @@
@key = args[:key] if args.key?(:key)
end
end
# Set of primitive values supported by the system.
+ # Note that for the purposes of inspection or transformation, the number
+ # of bytes considered to comprise a 'Value' is based on its representation
+ # as a UTF-8 encoded string. For example, if 'integer_value' is set to
+ # 123456789, the number of bytes would be counted as 9, even though an
+ # int64 only holds up to 8 bytes of data.
class GooglePrivacyDlpV2beta1Value
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `booleanValue`
@@ -3497,9 +3558,14 @@
# Corresponds to the JSON property `count`
# @return [Fixnum]
attr_accessor :count
# Set of primitive values supported by the system.
+ # Note that for the purposes of inspection or transformation, the number
+ # of bytes considered to comprise a 'Value' is based on its representation
+ # as a UTF-8 encoded string. For example, if 'integer_value' is set to
+ # 123456789, the number of bytes would be counted as 9, even though an
+ # int64 only holds up to 8 bytes of data.
# Corresponds to the JSON property `value`
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value]
attr_accessor :value
def initialize(**args)