google-api-client 0.18.1 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +32 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +349 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +153 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +412 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +75 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +22 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +56 -0
- data/generated/google/apis/bigquery_v2/representations.rb +20 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +15 -4
- data/generated/google/apis/calendar_v3/representations.rb +1 -0
- data/generated/google/apis/calendar_v3/service.rb +8 -4
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +9 -2
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +3 -3
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +8 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +19 -18
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +2 -2
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +256 -63
- data/generated/google/apis/compute_alpha/representations.rb +44 -1
- data/generated/google/apis/compute_alpha/service.rb +217 -2
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +776 -46
- data/generated/google/apis/compute_beta/representations.rb +254 -0
- data/generated/google/apis/compute_beta/service.rb +1070 -13
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +83 -46
- data/generated/google/apis/compute_v1/service.rb +4 -2
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +52 -0
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +19 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +31 -11
- data/generated/google/apis/dlp_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2beta1/classes.rb +70 -4
- data/generated/google/apis/dlp_v2beta1/representations.rb +1 -0
- data/generated/google/apis/dlp_v2beta2.rb +1 -1
- data/generated/google/apis/dlp_v2beta2/classes.rb +124 -30
- data/generated/google/apis/dlp_v2beta2/representations.rb +2 -0
- data/generated/google/apis/dlp_v2beta2/service.rb +14 -10
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +0 -56
- data/generated/google/apis/iam_v1/representations.rb +0 -18
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +8 -6
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +8 -6
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +22 -5
- data/generated/google/apis/ml_v1/service.rb +19 -5
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +10 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +6 -5
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +6 -5
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +283 -0
- data/generated/google/apis/sheets_v4/representations.rb +90 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +115 -4
- data/generated/google/apis/storage_v1/representations.rb +23 -0
- data/generated/google/apis/storage_v1/service.rb +44 -1
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +11 -4
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -6
- data/generated/google/apis/consumersurveys_v2.rb +0 -40
- data/generated/google/apis/consumersurveys_v2/classes.rb +0 -736
- data/generated/google/apis/consumersurveys_v2/representations.rb +0 -343
- data/generated/google/apis/consumersurveys_v2/service.rb +0 -478
|
@@ -214,6 +214,12 @@ module Google
|
|
|
214
214
|
include Google::Apis::Core::JsonObjectSupport
|
|
215
215
|
end
|
|
216
216
|
|
|
217
|
+
class MethodMap
|
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
219
|
+
|
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
221
|
+
end
|
|
222
|
+
|
|
217
223
|
class Operation
|
|
218
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
219
225
|
|
|
@@ -480,6 +486,8 @@ module Google
|
|
|
480
486
|
# @private
|
|
481
487
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
482
488
|
property :collection, as: 'collection'
|
|
489
|
+
property :method_map, as: 'methodMap', class: Google::Apis::DeploymentmanagerAlpha::MethodMap, decorator: Google::Apis::DeploymentmanagerAlpha::MethodMap::Representation
|
|
490
|
+
|
|
483
491
|
property :options, as: 'options', class: Google::Apis::DeploymentmanagerAlpha::Options, decorator: Google::Apis::DeploymentmanagerAlpha::Options::Representation
|
|
484
492
|
|
|
485
493
|
end
|
|
@@ -744,6 +752,17 @@ module Google
|
|
|
744
752
|
end
|
|
745
753
|
end
|
|
746
754
|
|
|
755
|
+
class MethodMap
|
|
756
|
+
# @private
|
|
757
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
758
|
+
property :create, as: 'create'
|
|
759
|
+
property :delete, as: 'delete'
|
|
760
|
+
property :get, as: 'get'
|
|
761
|
+
property :set_iam_policy, as: 'setIamPolicy'
|
|
762
|
+
property :update, as: 'update'
|
|
763
|
+
end
|
|
764
|
+
end
|
|
765
|
+
|
|
747
766
|
class Operation
|
|
748
767
|
# @private
|
|
749
768
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/dialogflow-enterprise/
|
|
27
27
|
module DialogflowV2beta1
|
|
28
28
|
VERSION = 'V2beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20171218'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -712,6 +712,18 @@ module Google
|
|
|
712
712
|
include Google::Apis::Core::Hashable
|
|
713
713
|
|
|
714
714
|
# The exported agent.
|
|
715
|
+
# Example for how to export an agent to a zip file via a command line:
|
|
716
|
+
# curl \
|
|
717
|
+
# 'https://dialogflow.googleapis.com/v2beta1/projects/<project_name>/agent:
|
|
718
|
+
# export'\
|
|
719
|
+
# -X POST \
|
|
720
|
+
# -H 'Authorization: Bearer '$(gcloud auth print-access-token) \
|
|
721
|
+
# -H 'Accept: application/json' \
|
|
722
|
+
# -H 'Content-Type: application/json' \
|
|
723
|
+
# --compressed \
|
|
724
|
+
# --data-binary '``' \
|
|
725
|
+
# | grep agentContent | sed -e 's/.*"agentContent": "\([^"]*\)".*/\1/' \
|
|
726
|
+
# | base64 --decode > <agent zip file>
|
|
715
727
|
# Corresponds to the JSON property `agentContent`
|
|
716
728
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
717
729
|
# @return [String]
|
|
@@ -740,13 +752,17 @@ module Google
|
|
|
740
752
|
|
|
741
753
|
# The agent to import.
|
|
742
754
|
# Example for how to import an agent via the command line:
|
|
743
|
-
# curl
|
|
744
|
-
#
|
|
745
|
-
#
|
|
755
|
+
# curl \
|
|
756
|
+
# 'https://dialogflow.googleapis.com/v2beta1/projects/<project_name>/agent:
|
|
757
|
+
# import\
|
|
758
|
+
# -X POST \
|
|
759
|
+
# -H 'Authorization: Bearer '$(gcloud auth print-access-token) \
|
|
760
|
+
# -H 'Accept: application/json' \
|
|
761
|
+
# -H 'Content-Type: application/json' \
|
|
762
|
+
# --compressed \
|
|
763
|
+
# --data-binary "`
|
|
746
764
|
# 'agentContent': '$(cat <agent zip file> | base64 -w 0)'
|
|
747
|
-
# `"
|
|
748
|
-
# "https://dialogflow.googleapis.com/v2beta1/projects/<project_name>/agent:
|
|
749
|
-
# import"
|
|
765
|
+
# `"
|
|
750
766
|
# Corresponds to the JSON property `agentContent`
|
|
751
767
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
752
768
|
# @return [String]
|
|
@@ -2240,13 +2256,17 @@ module Google
|
|
|
2240
2256
|
|
|
2241
2257
|
# The agent to restore.
|
|
2242
2258
|
# Example for how to restore an agent via the command line:
|
|
2243
|
-
# curl
|
|
2244
|
-
#
|
|
2245
|
-
#
|
|
2259
|
+
# curl \
|
|
2260
|
+
# 'https://dialogflow.googleapis.com/v2beta1/projects/<project_name>/agent:
|
|
2261
|
+
# restore\
|
|
2262
|
+
# -X POST \
|
|
2263
|
+
# -H 'Authorization: Bearer '$(gcloud auth print-access-token) \
|
|
2264
|
+
# -H 'Accept: application/json' \
|
|
2265
|
+
# -H 'Content-Type: application/json' \
|
|
2266
|
+
# --compressed \
|
|
2267
|
+
# --data-binary "`
|
|
2246
2268
|
# 'agentContent': '$(cat <agent zip file> | base64 -w 0)'
|
|
2247
2269
|
# `" \
|
|
2248
|
-
# "https://dialogflow.googleapis.com/v2beta1/projects/<project_name>/agent:
|
|
2249
|
-
# restore"
|
|
2250
2270
|
# Corresponds to the JSON property `agentContent`
|
|
2251
2271
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
2252
2272
|
# @return [String]
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/dlp/docs/
|
|
28
28
|
module DlpV2beta1
|
|
29
29
|
VERSION = 'V2beta1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20171219'
|
|
31
31
|
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -292,16 +292,31 @@ module Google
|
|
|
292
292
|
include Google::Apis::Core::Hashable
|
|
293
293
|
|
|
294
294
|
# Set of primitive values supported by the system.
|
|
295
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
296
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
297
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
298
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
299
|
+
# int64 only holds up to 8 bytes of data.
|
|
295
300
|
# Corresponds to the JSON property `max`
|
|
296
301
|
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value]
|
|
297
302
|
attr_accessor :max
|
|
298
303
|
|
|
299
304
|
# Set of primitive values supported by the system.
|
|
305
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
306
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
307
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
308
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
309
|
+
# int64 only holds up to 8 bytes of data.
|
|
300
310
|
# Corresponds to the JSON property `min`
|
|
301
311
|
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value]
|
|
302
312
|
attr_accessor :min
|
|
303
313
|
|
|
304
314
|
# Set of primitive values supported by the system.
|
|
315
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
316
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
317
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
318
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
319
|
+
# int64 only holds up to 8 bytes of data.
|
|
305
320
|
# Corresponds to the JSON property `replacementValue`
|
|
306
321
|
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value]
|
|
307
322
|
attr_accessor :replacement_value
|
|
@@ -649,6 +664,11 @@ module Google
|
|
|
649
664
|
attr_accessor :operator
|
|
650
665
|
|
|
651
666
|
# Set of primitive values supported by the system.
|
|
667
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
668
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
669
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
670
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
671
|
+
# int64 only holds up to 8 bytes of data.
|
|
652
672
|
# Corresponds to the JSON property `value`
|
|
653
673
|
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value]
|
|
654
674
|
attr_accessor :value
|
|
@@ -935,7 +955,8 @@ module Google
|
|
|
935
955
|
# These types of transformations are
|
|
936
956
|
# those that perform pseudonymization, thereby producing a "surrogate" as
|
|
937
957
|
# output. This should be used in conjunction with a field on the
|
|
938
|
-
# transformation such as `surrogate_info_type`.
|
|
958
|
+
# transformation such as `surrogate_info_type`. This custom info type does
|
|
959
|
+
# not support the use of `detection_rules`.
|
|
939
960
|
# Corresponds to the JSON property `surrogateType`
|
|
940
961
|
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1SurrogateType]
|
|
941
962
|
attr_accessor :surrogate_type
|
|
@@ -1353,11 +1374,21 @@ module Google
|
|
|
1353
1374
|
attr_accessor :bucket_size
|
|
1354
1375
|
|
|
1355
1376
|
# Set of primitive values supported by the system.
|
|
1377
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
1378
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
1379
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
1380
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
1381
|
+
# int64 only holds up to 8 bytes of data.
|
|
1356
1382
|
# Corresponds to the JSON property `lowerBound`
|
|
1357
1383
|
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value]
|
|
1358
1384
|
attr_accessor :lower_bound
|
|
1359
1385
|
|
|
1360
1386
|
# Set of primitive values supported by the system.
|
|
1387
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
1388
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
1389
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
1390
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
1391
|
+
# int64 only holds up to 8 bytes of data.
|
|
1361
1392
|
# Corresponds to the JSON property `upperBound`
|
|
1362
1393
|
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value]
|
|
1363
1394
|
attr_accessor :upper_bound
|
|
@@ -2420,11 +2451,21 @@ module Google
|
|
|
2420
2451
|
include Google::Apis::Core::Hashable
|
|
2421
2452
|
|
|
2422
2453
|
# Set of primitive values supported by the system.
|
|
2454
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
2455
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
2456
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
2457
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
2458
|
+
# int64 only holds up to 8 bytes of data.
|
|
2423
2459
|
# Corresponds to the JSON property `maxValue`
|
|
2424
2460
|
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value]
|
|
2425
2461
|
attr_accessor :max_value
|
|
2426
2462
|
|
|
2427
2463
|
# Set of primitive values supported by the system.
|
|
2464
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
2465
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
2466
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
2467
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
2468
|
+
# int64 only holds up to 8 bytes of data.
|
|
2428
2469
|
# Corresponds to the JSON property `minValue`
|
|
2429
2470
|
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value]
|
|
2430
2471
|
attr_accessor :min_value
|
|
@@ -3004,6 +3045,11 @@ module Google
|
|
|
3004
3045
|
include Google::Apis::Core::Hashable
|
|
3005
3046
|
|
|
3006
3047
|
# Set of primitive values supported by the system.
|
|
3048
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
3049
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
3050
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
3051
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
3052
|
+
# int64 only holds up to 8 bytes of data.
|
|
3007
3053
|
# Corresponds to the JSON property `newValue`
|
|
3008
3054
|
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value]
|
|
3009
3055
|
attr_accessor :new_value
|
|
@@ -3206,7 +3252,8 @@ module Google
|
|
|
3206
3252
|
# These types of transformations are
|
|
3207
3253
|
# those that perform pseudonymization, thereby producing a "surrogate" as
|
|
3208
3254
|
# output. This should be used in conjunction with a field on the
|
|
3209
|
-
# transformation such as `surrogate_info_type`.
|
|
3255
|
+
# transformation such as `surrogate_info_type`. This custom info type does
|
|
3256
|
+
# not support the use of `detection_rules`.
|
|
3210
3257
|
class GooglePrivacyDlpV2beta1SurrogateType
|
|
3211
3258
|
include Google::Apis::Core::Hashable
|
|
3212
3259
|
|
|
@@ -3329,6 +3376,8 @@ module Google
|
|
|
3329
3376
|
end
|
|
3330
3377
|
|
|
3331
3378
|
# Summary of a single tranformation.
|
|
3379
|
+
# Only one of 'transformation', 'field_transformation', or 'record_suppress'
|
|
3380
|
+
# will be set.
|
|
3332
3381
|
class GooglePrivacyDlpV2beta1TransformationSummary
|
|
3333
3382
|
include Google::Apis::Core::Hashable
|
|
3334
3383
|
|
|
@@ -3337,8 +3386,9 @@ module Google
|
|
|
3337
3386
|
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId]
|
|
3338
3387
|
attr_accessor :field
|
|
3339
3388
|
|
|
3340
|
-
# The field transformation that was applied.
|
|
3341
|
-
# multiple
|
|
3389
|
+
# The field transformation that was applied.
|
|
3390
|
+
# If multiple field transformations are requested for a single field,
|
|
3391
|
+
# this list will contain all of them; otherwise, only one is supplied.
|
|
3342
3392
|
# Corresponds to the JSON property `fieldTransformations`
|
|
3343
3393
|
# @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldTransformation>]
|
|
3344
3394
|
attr_accessor :field_transformations
|
|
@@ -3364,6 +3414,11 @@ module Google
|
|
|
3364
3414
|
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrimitiveTransformation]
|
|
3365
3415
|
attr_accessor :transformation
|
|
3366
3416
|
|
|
3417
|
+
# Total size in bytes that were transformed in some way.
|
|
3418
|
+
# Corresponds to the JSON property `transformedBytes`
|
|
3419
|
+
# @return [Fixnum]
|
|
3420
|
+
attr_accessor :transformed_bytes
|
|
3421
|
+
|
|
3367
3422
|
def initialize(**args)
|
|
3368
3423
|
update!(**args)
|
|
3369
3424
|
end
|
|
@@ -3376,6 +3431,7 @@ module Google
|
|
|
3376
3431
|
@record_suppress = args[:record_suppress] if args.key?(:record_suppress)
|
|
3377
3432
|
@results = args[:results] if args.key?(:results)
|
|
3378
3433
|
@transformation = args[:transformation] if args.key?(:transformation)
|
|
3434
|
+
@transformed_bytes = args[:transformed_bytes] if args.key?(:transformed_bytes)
|
|
3379
3435
|
end
|
|
3380
3436
|
end
|
|
3381
3437
|
|
|
@@ -3426,6 +3482,11 @@ module Google
|
|
|
3426
3482
|
end
|
|
3427
3483
|
|
|
3428
3484
|
# Set of primitive values supported by the system.
|
|
3485
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
3486
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
3487
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
3488
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
3489
|
+
# int64 only holds up to 8 bytes of data.
|
|
3429
3490
|
class GooglePrivacyDlpV2beta1Value
|
|
3430
3491
|
include Google::Apis::Core::Hashable
|
|
3431
3492
|
|
|
@@ -3499,6 +3560,11 @@ module Google
|
|
|
3499
3560
|
attr_accessor :count
|
|
3500
3561
|
|
|
3501
3562
|
# Set of primitive values supported by the system.
|
|
3563
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
3564
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
3565
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
3566
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
3567
|
+
# int64 only holds up to 8 bytes of data.
|
|
3502
3568
|
# Corresponds to the JSON property `value`
|
|
3503
3569
|
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value]
|
|
3504
3570
|
attr_accessor :value
|
|
@@ -1775,6 +1775,7 @@ module Google
|
|
|
1775
1775
|
|
|
1776
1776
|
property :transformation, as: 'transformation', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrimitiveTransformation, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrimitiveTransformation::Representation
|
|
1777
1777
|
|
|
1778
|
+
property :transformed_bytes, :numeric_string => true, as: 'transformedBytes'
|
|
1778
1779
|
end
|
|
1779
1780
|
end
|
|
1780
1781
|
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/dlp/docs/
|
|
28
28
|
module DlpV2beta2
|
|
29
29
|
VERSION = 'V2beta2'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20171219'
|
|
31
31
|
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -284,7 +284,8 @@ module Google
|
|
|
284
284
|
# These types of transformations are
|
|
285
285
|
# those that perform pseudonymization, thereby producing a "surrogate" as
|
|
286
286
|
# output. This should be used in conjunction with a field on the
|
|
287
|
-
# transformation such as `surrogate_info_type`.
|
|
287
|
+
# transformation such as `surrogate_info_type`. This custom info type does
|
|
288
|
+
# not support the use of `detection_rules`.
|
|
288
289
|
# Corresponds to the JSON property `surrogateType`
|
|
289
290
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1SurrogateType]
|
|
290
291
|
attr_accessor :surrogate_type
|
|
@@ -1069,11 +1070,21 @@ module Google
|
|
|
1069
1070
|
include Google::Apis::Core::Hashable
|
|
1070
1071
|
|
|
1071
1072
|
# Set of primitive values supported by the system.
|
|
1073
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
1074
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
1075
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
1076
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
1077
|
+
# int64 only holds up to 8 bytes of data.
|
|
1072
1078
|
# Corresponds to the JSON property `maxValue`
|
|
1073
1079
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value]
|
|
1074
1080
|
attr_accessor :max_value
|
|
1075
1081
|
|
|
1076
1082
|
# Set of primitive values supported by the system.
|
|
1083
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
1084
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
1085
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
1086
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
1087
|
+
# int64 only holds up to 8 bytes of data.
|
|
1077
1088
|
# Corresponds to the JSON property `minValue`
|
|
1078
1089
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value]
|
|
1079
1090
|
attr_accessor :min_value
|
|
@@ -1392,7 +1403,8 @@ module Google
|
|
|
1392
1403
|
# These types of transformations are
|
|
1393
1404
|
# those that perform pseudonymization, thereby producing a "surrogate" as
|
|
1394
1405
|
# output. This should be used in conjunction with a field on the
|
|
1395
|
-
# transformation such as `surrogate_info_type`.
|
|
1406
|
+
# transformation such as `surrogate_info_type`. This custom info type does
|
|
1407
|
+
# not support the use of `detection_rules`.
|
|
1396
1408
|
class GooglePrivacyDlpV2beta1SurrogateType
|
|
1397
1409
|
include Google::Apis::Core::Hashable
|
|
1398
1410
|
|
|
@@ -1451,6 +1463,11 @@ module Google
|
|
|
1451
1463
|
end
|
|
1452
1464
|
|
|
1453
1465
|
# Set of primitive values supported by the system.
|
|
1466
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
1467
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
1468
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
1469
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
1470
|
+
# int64 only holds up to 8 bytes of data.
|
|
1454
1471
|
class GooglePrivacyDlpV2beta1Value
|
|
1455
1472
|
include Google::Apis::Core::Hashable
|
|
1456
1473
|
|
|
@@ -1524,6 +1541,11 @@ module Google
|
|
|
1524
1541
|
attr_accessor :count
|
|
1525
1542
|
|
|
1526
1543
|
# Set of primitive values supported by the system.
|
|
1544
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
1545
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
1546
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
1547
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
1548
|
+
# int64 only holds up to 8 bytes of data.
|
|
1527
1549
|
# Corresponds to the JSON property `value`
|
|
1528
1550
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value]
|
|
1529
1551
|
attr_accessor :value
|
|
@@ -1746,22 +1768,36 @@ module Google
|
|
|
1746
1768
|
end
|
|
1747
1769
|
end
|
|
1748
1770
|
|
|
1749
|
-
#
|
|
1750
|
-
# be non-overlapping.
|
|
1771
|
+
# Bucket is represented as a range, along with replacement values.
|
|
1751
1772
|
class GooglePrivacyDlpV2beta2Bucket
|
|
1752
1773
|
include Google::Apis::Core::Hashable
|
|
1753
1774
|
|
|
1754
1775
|
# Set of primitive values supported by the system.
|
|
1776
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
1777
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
1778
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
1779
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
1780
|
+
# int64 only holds up to 8 bytes of data.
|
|
1755
1781
|
# Corresponds to the JSON property `max`
|
|
1756
1782
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value]
|
|
1757
1783
|
attr_accessor :max
|
|
1758
1784
|
|
|
1759
1785
|
# Set of primitive values supported by the system.
|
|
1786
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
1787
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
1788
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
1789
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
1790
|
+
# int64 only holds up to 8 bytes of data.
|
|
1760
1791
|
# Corresponds to the JSON property `min`
|
|
1761
1792
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value]
|
|
1762
1793
|
attr_accessor :min
|
|
1763
1794
|
|
|
1764
1795
|
# Set of primitive values supported by the system.
|
|
1796
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
1797
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
1798
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
1799
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
1800
|
+
# int64 only holds up to 8 bytes of data.
|
|
1765
1801
|
# Corresponds to the JSON property `replacementValue`
|
|
1766
1802
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value]
|
|
1767
1803
|
attr_accessor :replacement_value
|
|
@@ -1789,7 +1825,7 @@ module Google
|
|
|
1789
1825
|
class GooglePrivacyDlpV2beta2BucketingConfig
|
|
1790
1826
|
include Google::Apis::Core::Hashable
|
|
1791
1827
|
|
|
1792
|
-
#
|
|
1828
|
+
# Set of buckets. Ranges must be non-overlapping.
|
|
1793
1829
|
# Corresponds to the JSON property `buckets`
|
|
1794
1830
|
# @return [Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Bucket>]
|
|
1795
1831
|
attr_accessor :buckets
|
|
@@ -2072,12 +2108,17 @@ module Google
|
|
|
2072
2108
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId]
|
|
2073
2109
|
attr_accessor :field
|
|
2074
2110
|
|
|
2075
|
-
# Operator used to compare the field or
|
|
2111
|
+
# Operator used to compare the field or infoType to the value. [required]
|
|
2076
2112
|
# Corresponds to the JSON property `operator`
|
|
2077
2113
|
# @return [String]
|
|
2078
2114
|
attr_accessor :operator
|
|
2079
2115
|
|
|
2080
2116
|
# Set of primitive values supported by the system.
|
|
2117
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
2118
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
2119
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
2120
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
2121
|
+
# int64 only holds up to 8 bytes of data.
|
|
2081
2122
|
# Corresponds to the JSON property `value`
|
|
2082
2123
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value]
|
|
2083
2124
|
attr_accessor :value
|
|
@@ -2094,7 +2135,7 @@ module Google
|
|
|
2094
2135
|
end
|
|
2095
2136
|
end
|
|
2096
2137
|
|
|
2097
|
-
#
|
|
2138
|
+
# A collection of conditions.
|
|
2098
2139
|
class GooglePrivacyDlpV2beta2Conditions
|
|
2099
2140
|
include Google::Apis::Core::Hashable
|
|
2100
2141
|
|
|
@@ -2385,7 +2426,8 @@ module Google
|
|
|
2385
2426
|
# These types of transformations are
|
|
2386
2427
|
# those that perform pseudonymization, thereby producing a "surrogate" as
|
|
2387
2428
|
# output. This should be used in conjunction with a field on the
|
|
2388
|
-
# transformation such as `surrogate_info_type`.
|
|
2429
|
+
# transformation such as `surrogate_info_type`. This custom info type does
|
|
2430
|
+
# not support the use of `detection_rules`.
|
|
2389
2431
|
# Corresponds to the JSON property `surrogateType`
|
|
2390
2432
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2SurrogateType]
|
|
2391
2433
|
attr_accessor :surrogate_type
|
|
@@ -2687,7 +2729,7 @@ module Google
|
|
|
2687
2729
|
# @return [String]
|
|
2688
2730
|
attr_accessor :start_time
|
|
2689
2731
|
|
|
2690
|
-
#
|
|
2732
|
+
# State of a job.
|
|
2691
2733
|
# Corresponds to the JSON property `state`
|
|
2692
2734
|
# @return [String]
|
|
2693
2735
|
attr_accessor :state
|
|
@@ -2738,11 +2780,11 @@ module Google
|
|
|
2738
2780
|
end
|
|
2739
2781
|
end
|
|
2740
2782
|
|
|
2741
|
-
#
|
|
2783
|
+
# An expression, consisting or an operator and conditions.
|
|
2742
2784
|
class GooglePrivacyDlpV2beta2Expressions
|
|
2743
2785
|
include Google::Apis::Core::Hashable
|
|
2744
2786
|
|
|
2745
|
-
#
|
|
2787
|
+
# A collection of conditions.
|
|
2746
2788
|
# Corresponds to the JSON property `conditions`
|
|
2747
2789
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Conditions]
|
|
2748
2790
|
attr_accessor :conditions
|
|
@@ -2891,7 +2933,7 @@ module Google
|
|
|
2891
2933
|
class GooglePrivacyDlpV2beta2FindingLimits
|
|
2892
2934
|
include Google::Apis::Core::Hashable
|
|
2893
2935
|
|
|
2894
|
-
# Configuration of findings limit given for specified
|
|
2936
|
+
# Configuration of findings limit given for specified infoTypes.
|
|
2895
2937
|
# Corresponds to the JSON property `maxFindingsPerInfoType`
|
|
2896
2938
|
# @return [Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoTypeLimit>]
|
|
2897
2939
|
attr_accessor :max_findings_per_info_type
|
|
@@ -2941,11 +2983,21 @@ module Google
|
|
|
2941
2983
|
attr_accessor :bucket_size
|
|
2942
2984
|
|
|
2943
2985
|
# Set of primitive values supported by the system.
|
|
2986
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
2987
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
2988
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
2989
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
2990
|
+
# int64 only holds up to 8 bytes of data.
|
|
2944
2991
|
# Corresponds to the JSON property `lowerBound`
|
|
2945
2992
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value]
|
|
2946
2993
|
attr_accessor :lower_bound
|
|
2947
2994
|
|
|
2948
2995
|
# Set of primitive values supported by the system.
|
|
2996
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
2997
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
2998
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
2999
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
3000
|
+
# int64 only holds up to 8 bytes of data.
|
|
2949
3001
|
# Corresponds to the JSON property `upperBound`
|
|
2950
3002
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value]
|
|
2951
3003
|
attr_accessor :upper_bound
|
|
@@ -3051,20 +3103,25 @@ module Google
|
|
|
3051
3103
|
end
|
|
3052
3104
|
end
|
|
3053
3105
|
|
|
3054
|
-
#
|
|
3106
|
+
# InfoType description.
|
|
3055
3107
|
class GooglePrivacyDlpV2beta2InfoTypeDescription
|
|
3056
3108
|
include Google::Apis::Core::Hashable
|
|
3057
3109
|
|
|
3058
|
-
# Human readable form of the
|
|
3110
|
+
# Human readable form of the infoType name.
|
|
3059
3111
|
# Corresponds to the JSON property `displayName`
|
|
3060
3112
|
# @return [String]
|
|
3061
3113
|
attr_accessor :display_name
|
|
3062
3114
|
|
|
3063
|
-
# Internal name of the
|
|
3115
|
+
# Internal name of the infoType.
|
|
3064
3116
|
# Corresponds to the JSON property `name`
|
|
3065
3117
|
# @return [String]
|
|
3066
3118
|
attr_accessor :name
|
|
3067
3119
|
|
|
3120
|
+
# Which parts of the API supports this InfoType.
|
|
3121
|
+
# Corresponds to the JSON property `supportedBy`
|
|
3122
|
+
# @return [Array<String>]
|
|
3123
|
+
attr_accessor :supported_by
|
|
3124
|
+
|
|
3068
3125
|
def initialize(**args)
|
|
3069
3126
|
update!(**args)
|
|
3070
3127
|
end
|
|
@@ -3073,10 +3130,11 @@ module Google
|
|
|
3073
3130
|
def update!(**args)
|
|
3074
3131
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
3075
3132
|
@name = args[:name] if args.key?(:name)
|
|
3133
|
+
@supported_by = args[:supported_by] if args.key?(:supported_by)
|
|
3076
3134
|
end
|
|
3077
3135
|
end
|
|
3078
3136
|
|
|
3079
|
-
# Max findings configuration per
|
|
3137
|
+
# Max findings configuration per infoType, per content item or long
|
|
3080
3138
|
# running DlpJob.
|
|
3081
3139
|
class GooglePrivacyDlpV2beta2InfoTypeLimit
|
|
3082
3140
|
include Google::Apis::Core::Hashable
|
|
@@ -3106,7 +3164,7 @@ module Google
|
|
|
3106
3164
|
class GooglePrivacyDlpV2beta2InfoTypeStatistics
|
|
3107
3165
|
include Google::Apis::Core::Hashable
|
|
3108
3166
|
|
|
3109
|
-
# Number of findings for this
|
|
3167
|
+
# Number of findings for this infoType.
|
|
3110
3168
|
# Corresponds to the JSON property `count`
|
|
3111
3169
|
# @return [Fixnum]
|
|
3112
3170
|
attr_accessor :count
|
|
@@ -3132,8 +3190,8 @@ module Google
|
|
|
3132
3190
|
class GooglePrivacyDlpV2beta2InfoTypeTransformation
|
|
3133
3191
|
include Google::Apis::Core::Hashable
|
|
3134
3192
|
|
|
3135
|
-
#
|
|
3136
|
-
# available
|
|
3193
|
+
# InfoTypes to apply the transformation to. Empty list will match all
|
|
3194
|
+
# available infoTypes for this transformation.
|
|
3137
3195
|
# Corresponds to the JSON property `infoTypes`
|
|
3138
3196
|
# @return [Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType>]
|
|
3139
3197
|
attr_accessor :info_types
|
|
@@ -3161,8 +3219,8 @@ module Google
|
|
|
3161
3219
|
class GooglePrivacyDlpV2beta2InfoTypeTransformations
|
|
3162
3220
|
include Google::Apis::Core::Hashable
|
|
3163
3221
|
|
|
3164
|
-
# Transformation for each
|
|
3165
|
-
# for a given
|
|
3222
|
+
# Transformation for each infoType. Cannot specify more than one
|
|
3223
|
+
# for a given infoType. [required]
|
|
3166
3224
|
# Corresponds to the JSON property `transformations`
|
|
3167
3225
|
# @return [Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoTypeTransformation>]
|
|
3168
3226
|
attr_accessor :transformations
|
|
@@ -3183,7 +3241,7 @@ module Google
|
|
|
3183
3241
|
class GooglePrivacyDlpV2beta2InspectConfig
|
|
3184
3242
|
include Google::Apis::Core::Hashable
|
|
3185
3243
|
|
|
3186
|
-
# Custom
|
|
3244
|
+
# Custom infoTypes provided by the user.
|
|
3187
3245
|
# Corresponds to the JSON property `customInfoTypes`
|
|
3188
3246
|
# @return [Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CustomInfoType>]
|
|
3189
3247
|
attr_accessor :custom_info_types
|
|
@@ -3320,7 +3378,7 @@ module Google
|
|
|
3320
3378
|
class GooglePrivacyDlpV2beta2InspectDataSourceRequest
|
|
3321
3379
|
include Google::Apis::Core::Hashable
|
|
3322
3380
|
|
|
3323
|
-
#
|
|
3381
|
+
# A configuration for the job.
|
|
3324
3382
|
# Corresponds to the JSON property `jobConfig`
|
|
3325
3383
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectJobConfig]
|
|
3326
3384
|
attr_accessor :job_config
|
|
@@ -3934,7 +3992,7 @@ module Google
|
|
|
3934
3992
|
class GooglePrivacyDlpV2beta2ListDeidentifyTemplatesResponse
|
|
3935
3993
|
include Google::Apis::Core::Hashable
|
|
3936
3994
|
|
|
3937
|
-
# List of
|
|
3995
|
+
# List of deidentify templates, up to page_size in
|
|
3938
3996
|
# ListDeidentifyTemplatesRequest.
|
|
3939
3997
|
# Corresponds to the JSON property `deidentifyTemplates`
|
|
3940
3998
|
# @return [Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate>]
|
|
@@ -3986,7 +4044,7 @@ module Google
|
|
|
3986
4044
|
class GooglePrivacyDlpV2beta2ListInfoTypesResponse
|
|
3987
4045
|
include Google::Apis::Core::Hashable
|
|
3988
4046
|
|
|
3989
|
-
# Set of sensitive
|
|
4047
|
+
# Set of sensitive infoTypes.
|
|
3990
4048
|
# Corresponds to the JSON property `infoTypes`
|
|
3991
4049
|
# @return [Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoTypeDescription>]
|
|
3992
4050
|
attr_accessor :info_types
|
|
@@ -4101,11 +4159,21 @@ module Google
|
|
|
4101
4159
|
include Google::Apis::Core::Hashable
|
|
4102
4160
|
|
|
4103
4161
|
# Set of primitive values supported by the system.
|
|
4162
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
4163
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
4164
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
4165
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
4166
|
+
# int64 only holds up to 8 bytes of data.
|
|
4104
4167
|
# Corresponds to the JSON property `maxValue`
|
|
4105
4168
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value]
|
|
4106
4169
|
attr_accessor :max_value
|
|
4107
4170
|
|
|
4108
4171
|
# Set of primitive values supported by the system.
|
|
4172
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
4173
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
4174
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
4175
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
4176
|
+
# int64 only holds up to 8 bytes of data.
|
|
4109
4177
|
# Corresponds to the JSON property `minValue`
|
|
4110
4178
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value]
|
|
4111
4179
|
attr_accessor :min_value
|
|
@@ -4432,7 +4500,7 @@ module Google
|
|
|
4432
4500
|
class GooglePrivacyDlpV2beta2RecordCondition
|
|
4433
4501
|
include Google::Apis::Core::Hashable
|
|
4434
4502
|
|
|
4435
|
-
#
|
|
4503
|
+
# An expression, consisting or an operator and conditions.
|
|
4436
4504
|
# Corresponds to the JSON property `expressions`
|
|
4437
4505
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Expressions]
|
|
4438
4506
|
attr_accessor :expressions
|
|
@@ -4689,6 +4757,11 @@ module Google
|
|
|
4689
4757
|
include Google::Apis::Core::Hashable
|
|
4690
4758
|
|
|
4691
4759
|
# Set of primitive values supported by the system.
|
|
4760
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
4761
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
4762
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
4763
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
4764
|
+
# int64 only holds up to 8 bytes of data.
|
|
4692
4765
|
# Corresponds to the JSON property `newValue`
|
|
4693
4766
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value]
|
|
4694
4767
|
attr_accessor :new_value
|
|
@@ -4747,7 +4820,8 @@ module Google
|
|
|
4747
4820
|
class GooglePrivacyDlpV2beta2Result
|
|
4748
4821
|
include Google::Apis::Core::Hashable
|
|
4749
4822
|
|
|
4750
|
-
#
|
|
4823
|
+
# Statistics of how many instances of each info type were found during
|
|
4824
|
+
# inspect job.
|
|
4751
4825
|
# Corresponds to the JSON property `infoTypeStats`
|
|
4752
4826
|
# @return [Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoTypeStatistics>]
|
|
4753
4827
|
attr_accessor :info_type_stats
|
|
@@ -4894,7 +4968,8 @@ module Google
|
|
|
4894
4968
|
# These types of transformations are
|
|
4895
4969
|
# those that perform pseudonymization, thereby producing a "surrogate" as
|
|
4896
4970
|
# output. This should be used in conjunction with a field on the
|
|
4897
|
-
# transformation such as `surrogate_info_type`.
|
|
4971
|
+
# transformation such as `surrogate_info_type`. This custom info type does
|
|
4972
|
+
# not support the use of `detection_rules`.
|
|
4898
4973
|
class GooglePrivacyDlpV2beta2SurrogateType
|
|
4899
4974
|
include Google::Apis::Core::Hashable
|
|
4900
4975
|
|
|
@@ -5042,6 +5117,8 @@ module Google
|
|
|
5042
5117
|
end
|
|
5043
5118
|
|
|
5044
5119
|
# Summary of a single tranformation.
|
|
5120
|
+
# Only one of 'transformation', 'field_transformation', or 'record_suppress'
|
|
5121
|
+
# will be set.
|
|
5045
5122
|
class GooglePrivacyDlpV2beta2TransformationSummary
|
|
5046
5123
|
include Google::Apis::Core::Hashable
|
|
5047
5124
|
|
|
@@ -5050,8 +5127,9 @@ module Google
|
|
|
5050
5127
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId]
|
|
5051
5128
|
attr_accessor :field
|
|
5052
5129
|
|
|
5053
|
-
# The field transformation that was applied.
|
|
5054
|
-
# multiple
|
|
5130
|
+
# The field transformation that was applied.
|
|
5131
|
+
# If multiple field transformations are requested for a single field,
|
|
5132
|
+
# this list will contain all of them; otherwise, only one is supplied.
|
|
5055
5133
|
# Corresponds to the JSON property `fieldTransformations`
|
|
5056
5134
|
# @return [Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldTransformation>]
|
|
5057
5135
|
attr_accessor :field_transformations
|
|
@@ -5077,6 +5155,11 @@ module Google
|
|
|
5077
5155
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrimitiveTransformation]
|
|
5078
5156
|
attr_accessor :transformation
|
|
5079
5157
|
|
|
5158
|
+
# Total size in bytes that were transformed in some way.
|
|
5159
|
+
# Corresponds to the JSON property `transformedBytes`
|
|
5160
|
+
# @return [Fixnum]
|
|
5161
|
+
attr_accessor :transformed_bytes
|
|
5162
|
+
|
|
5080
5163
|
def initialize(**args)
|
|
5081
5164
|
update!(**args)
|
|
5082
5165
|
end
|
|
@@ -5089,6 +5172,7 @@ module Google
|
|
|
5089
5172
|
@record_suppress = args[:record_suppress] if args.key?(:record_suppress)
|
|
5090
5173
|
@results = args[:results] if args.key?(:results)
|
|
5091
5174
|
@transformation = args[:transformation] if args.key?(:transformation)
|
|
5175
|
+
@transformed_bytes = args[:transformed_bytes] if args.key?(:transformed_bytes)
|
|
5092
5176
|
end
|
|
5093
5177
|
end
|
|
5094
5178
|
|
|
@@ -5191,6 +5275,11 @@ module Google
|
|
|
5191
5275
|
end
|
|
5192
5276
|
|
|
5193
5277
|
# Set of primitive values supported by the system.
|
|
5278
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
5279
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
5280
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
5281
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
5282
|
+
# int64 only holds up to 8 bytes of data.
|
|
5194
5283
|
class GooglePrivacyDlpV2beta2Value
|
|
5195
5284
|
include Google::Apis::Core::Hashable
|
|
5196
5285
|
|
|
@@ -5264,6 +5353,11 @@ module Google
|
|
|
5264
5353
|
attr_accessor :count
|
|
5265
5354
|
|
|
5266
5355
|
# Set of primitive values supported by the system.
|
|
5356
|
+
# Note that for the purposes of inspection or transformation, the number
|
|
5357
|
+
# of bytes considered to comprise a 'Value' is based on its representation
|
|
5358
|
+
# as a UTF-8 encoded string. For example, if 'integer_value' is set to
|
|
5359
|
+
# 123456789, the number of bytes would be counted as 9, even though an
|
|
5360
|
+
# int64 only holds up to 8 bytes of data.
|
|
5267
5361
|
# Corresponds to the JSON property `value`
|
|
5268
5362
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value]
|
|
5269
5363
|
attr_accessor :value
|