google-api-client 0.17.2 → 0.17.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 55164b930c7d52659300df45beedacd015099baf
4
- data.tar.gz: 61a5919ebba9b32e961e177b9dd54eb94ba02ae7
3
+ metadata.gz: b3394a765efa29b71d8aa38700ec331afe43d19a
4
+ data.tar.gz: bcaf51ba202c0551abbcf7ff5d1598244437551e
5
5
  SHA512:
6
- metadata.gz: b0a8ebbdf5be952b51cda08ef8e1fc6dbcf0d703bf03daf8f183d7a32e83b09626284ec1a03f8e1946af33f91ca03b60813209ef98690e2c91c5bdfcfc407f64
7
- data.tar.gz: 03eb34a1990a0e8d947a636a1b17ecfc1b540f37af475e472b14d128ccf0a70b9c5e2188078c1a1fe7eadccb2f02f589c1ca5634684930f5a7a75579f60948b3
6
+ metadata.gz: 0b85f69117e8160799084b32df79425604ad71a6b46a7d35acb6cd69c5b38c7d303781c0d1b04f49036e35af0811f4709e216e920d4cdcd7bd2faf859c8dc7ae
7
+ data.tar.gz: e4e0986033d976d5405749a122db6eba86411badf0cc1bd8a6d2afcc3cd90b15c2569897a2299a6516056728ac3409a9284b7080dac63b66a7a3cf570be6fe7e
@@ -1,3 +1,11 @@
1
+ # 0.17.3
2
+ * Backwards compatible changes:
3
+ * Added `oslogin_v1`
4
+ * Updated `androiddeviceprovisioning_v1`
5
+ * Updated `dlp_v2beta1`
6
+ * Updated `tpu_v1alpha1`
7
+ * Updated `vault_v1`
8
+
1
9
  # 0.17.2
2
10
  * Backwards compatible changes:
3
11
  * Added `dialogflow_v2beta1`
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/zero-touch/
27
27
  module AndroiddeviceprovisioningV1
28
28
  VERSION = 'V1'
29
- REVISION = '20170916'
29
+ REVISION = '20171118'
30
30
  end
31
31
  end
32
32
  end
@@ -31,7 +31,8 @@ module Google
31
31
  # @return [Fixnum]
32
32
  attr_accessor :customer_id
33
33
 
34
- # Identifies a unique device.
34
+ # Encapsulates hardware and product IDs to identify a manufactured device. To
35
+ # learn more, read [Identifiers](/zero-touch/guides/identifiers).
35
36
  # Corresponds to the JSON property `deviceIdentifier`
36
37
  # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier]
37
38
  attr_accessor :device_identifier
@@ -167,37 +168,45 @@ module Google
167
168
  end
168
169
  end
169
170
 
170
- # An Android device.
171
+ # An Android device registered for zero-touch enrollment.
171
172
  class Device
172
173
  include Google::Apis::Core::Hashable
173
174
 
174
- # Claims.
175
+ # Output only. The provisioning claims for a device. Devices claimed for
176
+ # zero-touch enrollment have a claim with the type `SECTION_TYPE_ZERO_TOUCH`.
177
+ # Call
178
+ # `partners.devices.unclaim`
179
+ # or
180
+ # `partners.devices.unclaimAsync`
181
+ # to remove the device from zero-touch enrollment.
175
182
  # Corresponds to the JSON property `claims`
176
183
  # @return [Array<Google::Apis::AndroiddeviceprovisioningV1::DeviceClaim>]
177
184
  attr_accessor :claims
178
185
 
179
- # The resource name of the configuration.
180
- # Only set for customers.
186
+ # Not available to resellers.
181
187
  # Corresponds to the JSON property `configuration`
182
188
  # @return [String]
183
189
  attr_accessor :configuration
184
190
 
185
- # Device ID.
191
+ # Output only. The ID of the device. Assigned by the server.
186
192
  # Corresponds to the JSON property `deviceId`
187
193
  # @return [Fixnum]
188
194
  attr_accessor :device_id
189
195
 
190
- # Identifies a unique device.
196
+ # Encapsulates hardware and product IDs to identify a manufactured device. To
197
+ # learn more, read [Identifiers](/zero-touch/guides/identifiers).
191
198
  # Corresponds to the JSON property `deviceIdentifier`
192
199
  # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier]
193
200
  attr_accessor :device_identifier
194
201
 
195
- # A key-value pair of the device metadata.
202
+ # Metadata entries that can be attached to a `Device`. To learn more, read
203
+ # [Device metadata](/zero-touch/guides/metadata).
196
204
  # Corresponds to the JSON property `deviceMetadata`
197
205
  # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata]
198
206
  attr_accessor :device_metadata
199
207
 
200
- # Resource name in `partners/[PARTNER_ID]/devices/[DEVICE_ID]`.
208
+ # Output only. The API resource name in the format
209
+ # `partners/[PARTNER_ID]/devices/[DEVICE_ID]`. Assigned by the server.
201
210
  # Corresponds to the JSON property `name`
202
211
  # @return [String]
203
212
  attr_accessor :name
@@ -217,16 +226,19 @@ module Google
217
226
  end
218
227
  end
219
228
 
220
- # Information about a device claimed for a partner.
229
+ # A record of a device claimed by a reseller for a customer. Devices claimed
230
+ # for zero-touch enrollment have a claim with the type
231
+ # `SECTION_TYPE_ZERO_TOUCH`. To learn more, read
232
+ # [Claim devices for customers](/zero-touch/guides/how-it-works#claim).
221
233
  class DeviceClaim
222
234
  include Google::Apis::Core::Hashable
223
235
 
224
- # Owner ID.
236
+ # The ID of the Customer that purchased the device.
225
237
  # Corresponds to the JSON property `ownerCompanyId`
226
238
  # @return [Fixnum]
227
239
  attr_accessor :owner_company_id
228
240
 
229
- # Section type of the device claim.
241
+ # Output only. The type of claim made on the device.
230
242
  # Corresponds to the JSON property `sectionType`
231
243
  # @return [String]
232
244
  attr_accessor :section_type
@@ -242,28 +254,30 @@ module Google
242
254
  end
243
255
  end
244
256
 
245
- # Identifies a unique device.
257
+ # Encapsulates hardware and product IDs to identify a manufactured device. To
258
+ # learn more, read [Identifiers](/zero-touch/guides/identifiers).
246
259
  class DeviceIdentifier
247
260
  include Google::Apis::Core::Hashable
248
261
 
249
- # IMEI number.
262
+ # The device’s IMEI number. Validated on input.
250
263
  # Corresponds to the JSON property `imei`
251
264
  # @return [String]
252
265
  attr_accessor :imei
253
266
 
254
- # Manufacturer name to match `android.os.Build.MANUFACTURER` (required).
255
- # Allowed values listed in
256
- # [manufacturer names](/zero-touch/resources/manufacturer-names).
267
+ # Required. The device manufacturer’s name. Matches the device's built-in
268
+ # value returned from `android.os.Build.MANUFACTURER`. Allowed values are
269
+ # listed in [manufacturer names](/zero-touch/resources/manufacturer-names).
257
270
  # Corresponds to the JSON property `manufacturer`
258
271
  # @return [String]
259
272
  attr_accessor :manufacturer
260
273
 
261
- # MEID number.
274
+ # The device’s MEID number.
262
275
  # Corresponds to the JSON property `meid`
263
276
  # @return [String]
264
277
  attr_accessor :meid
265
278
 
266
- # Serial number (optional).
279
+ # The manufacturer's serial number for the device. This value might not be
280
+ # unique.
267
281
  # Corresponds to the JSON property `serialNumber`
268
282
  # @return [String]
269
283
  attr_accessor :serial_number
@@ -281,11 +295,12 @@ module Google
281
295
  end
282
296
  end
283
297
 
284
- # A key-value pair of the device metadata.
298
+ # Metadata entries that can be attached to a `Device`. To learn more, read
299
+ # [Device metadata](/zero-touch/guides/metadata).
285
300
  class DeviceMetadata
286
301
  include Google::Apis::Core::Hashable
287
302
 
288
- # Metadata entries
303
+ # Metadata entries recorded as key-value pairs.
289
304
  # Corresponds to the JSON property `entries`
290
305
  # @return [Hash<String,String>]
291
306
  attr_accessor :entries
@@ -380,7 +395,8 @@ module Google
380
395
  class FindDevicesByDeviceIdentifierRequest
381
396
  include Google::Apis::Core::Hashable
382
397
 
383
- # Identifies a unique device.
398
+ # Encapsulates hardware and product IDs to identify a manufactured device. To
399
+ # learn more, read [Identifiers](/zero-touch/guides/identifiers).
384
400
  # Corresponds to the JSON property `deviceIdentifier`
385
401
  # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier]
386
402
  attr_accessor :device_identifier
@@ -648,12 +664,14 @@ module Google
648
664
  # @return [Fixnum]
649
665
  attr_accessor :customer_id
650
666
 
651
- # Identifies a unique device.
667
+ # Encapsulates hardware and product IDs to identify a manufactured device. To
668
+ # learn more, read [Identifiers](/zero-touch/guides/identifiers).
652
669
  # Corresponds to the JSON property `deviceIdentifier`
653
670
  # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier]
654
671
  attr_accessor :device_identifier
655
672
 
656
- # A key-value pair of the device metadata.
673
+ # Metadata entries that can be attached to a `Device`. To learn more, read
674
+ # [Device metadata](/zero-touch/guides/metadata).
657
675
  # Corresponds to the JSON property `deviceMetadata`
658
676
  # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata]
659
677
  attr_accessor :device_metadata
@@ -685,7 +703,8 @@ module Google
685
703
  # @return [Fixnum]
686
704
  attr_accessor :device_id
687
705
 
688
- # Identifies a unique device.
706
+ # Encapsulates hardware and product IDs to identify a manufactured device. To
707
+ # learn more, read [Identifiers](/zero-touch/guides/identifiers).
689
708
  # Corresponds to the JSON property `deviceIdentifier`
690
709
  # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier]
691
710
  attr_accessor :device_identifier
@@ -825,7 +844,8 @@ module Google
825
844
  # @return [Fixnum]
826
845
  attr_accessor :device_id
827
846
 
828
- # Identifies a unique device.
847
+ # Encapsulates hardware and product IDs to identify a manufactured device. To
848
+ # learn more, read [Identifiers](/zero-touch/guides/identifiers).
829
849
  # Corresponds to the JSON property `deviceIdentifier`
830
850
  # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier]
831
851
  attr_accessor :device_identifier
@@ -889,7 +909,8 @@ module Google
889
909
  class UpdateDeviceMetadataRequest
890
910
  include Google::Apis::Core::Hashable
891
911
 
892
- # A key-value pair of the device metadata.
912
+ # Metadata entries that can be attached to a `Device`. To learn more, read
913
+ # [Device metadata](/zero-touch/guides/metadata).
893
914
  # Corresponds to the JSON property `deviceMetadata`
894
915
  # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata]
895
916
  attr_accessor :device_metadata
@@ -913,12 +934,14 @@ module Google
913
934
  # @return [Fixnum]
914
935
  attr_accessor :device_id
915
936
 
916
- # Identifies a unique device.
937
+ # Encapsulates hardware and product IDs to identify a manufactured device. To
938
+ # learn more, read [Identifiers](/zero-touch/guides/identifiers).
917
939
  # Corresponds to the JSON property `deviceIdentifier`
918
940
  # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier]
919
941
  attr_accessor :device_identifier
920
942
 
921
- # A key-value pair of the device metadata.
943
+ # Metadata entries that can be attached to a `Device`. To learn more, read
944
+ # [Device metadata](/zero-touch/guides/metadata).
922
945
  # Corresponds to the JSON property `deviceMetadata`
923
946
  # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata]
924
947
  attr_accessor :device_metadata
@@ -85,7 +85,7 @@ module Google
85
85
  # by calling API methods or using their zero-touch enrollment portal. The API
86
86
  # doesn't notify the customer that they have access.
87
87
  # @param [String] parent
88
- # Required. The parent resource ID in format `partners/[PARTNER_ID]` that
88
+ # Required. The parent resource ID in the format `partners/[PARTNER_ID]` that
89
89
  # identifies the reseller.
90
90
  # @param [Google::Apis::AndroiddeviceprovisioningV1::CreateCustomerRequest] create_customer_request_object
91
91
  # @param [String] fields
@@ -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 = '20171114'
30
+ REVISION = '20171121'
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'
@@ -179,6 +179,47 @@ module Google
179
179
  end
180
180
  end
181
181
 
182
+ # An auxiliary table contains statistical information on the relative
183
+ # frequency of different quasi-identifiers values. It has one or several
184
+ # quasi-identifiers columns, and one column that indicates the relative
185
+ # frequency of each quasi-identifier tuple.
186
+ # If a tuple is present in the data but not in the auxiliary table, the
187
+ # corresponding relative frequency is assumed to be zero (and thus, the
188
+ # tuple is highly reidentifiable).
189
+ class GooglePrivacyDlpV2beta1AuxiliaryTable
190
+ include Google::Apis::Core::Hashable
191
+
192
+ # Quasi-identifier columns. [required]
193
+ # Corresponds to the JSON property `quasiIds`
194
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1QuasiIdField>]
195
+ attr_accessor :quasi_ids
196
+
197
+ # General identifier of a data field in a storage service.
198
+ # Corresponds to the JSON property `relativeFrequency`
199
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId]
200
+ attr_accessor :relative_frequency
201
+
202
+ # Message defining the location of a BigQuery table. A table is uniquely
203
+ # identified by its project_id, dataset_id, and table_name. Within a query
204
+ # a table is often referenced with a string in the format of:
205
+ # `<project_id>:<dataset_id>.<table_id>` or
206
+ # `<project_id>.<dataset_id>.<table_id>`.
207
+ # Corresponds to the JSON property `table`
208
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BigQueryTable]
209
+ attr_accessor :table
210
+
211
+ def initialize(**args)
212
+ update!(**args)
213
+ end
214
+
215
+ # Update properties of this object
216
+ def update!(**args)
217
+ @quasi_ids = args[:quasi_ids] if args.key?(:quasi_ids)
218
+ @relative_frequency = args[:relative_frequency] if args.key?(:relative_frequency)
219
+ @table = args[:table] if args.key?(:table)
220
+ end
221
+ end
222
+
182
223
  # Options defining BigQuery table and row identifiers.
183
224
  class GooglePrivacyDlpV2beta1BigQueryOptions
184
225
  include Google::Apis::Core::Hashable
@@ -1873,6 +1914,144 @@ module Google
1873
1914
  end
1874
1915
  end
1875
1916
 
1917
+ # Reidentifiability metric. This corresponds to a risk model similar to what
1918
+ # is called "journalist risk" in the literature, except the attack dataset is
1919
+ # statistically modeled instead of being perfectly known. This can be done
1920
+ # using publicly available data (like the US Census), or using a custom
1921
+ # statistical model (indicated as one or several BigQuery tables), or by
1922
+ # extrapolating from the distribution of values in the input dataset.
1923
+ class GooglePrivacyDlpV2beta1KMapEstimationConfig
1924
+ include Google::Apis::Core::Hashable
1925
+
1926
+ # Several auxiliary tables can be used in the analysis. Each custom_tag
1927
+ # used to tag a quasi-identifiers column must appear in exactly one column
1928
+ # of one auxiliary table.
1929
+ # Corresponds to the JSON property `auxiliaryTables`
1930
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1AuxiliaryTable>]
1931
+ attr_accessor :auxiliary_tables
1932
+
1933
+ # Fields considered to be quasi-identifiers. No two columns can have the
1934
+ # same tag. [required]
1935
+ # Corresponds to the JSON property `quasiIds`
1936
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1TaggedField>]
1937
+ attr_accessor :quasi_ids
1938
+
1939
+ # ISO 3166-1 alpha-2 region code to use in the statistical modeling.
1940
+ # Required if no column is tagged with a region-specific InfoType (like
1941
+ # US_ZIP_5) or a region code.
1942
+ # Corresponds to the JSON property `regionCode`
1943
+ # @return [String]
1944
+ attr_accessor :region_code
1945
+
1946
+ def initialize(**args)
1947
+ update!(**args)
1948
+ end
1949
+
1950
+ # Update properties of this object
1951
+ def update!(**args)
1952
+ @auxiliary_tables = args[:auxiliary_tables] if args.key?(:auxiliary_tables)
1953
+ @quasi_ids = args[:quasi_ids] if args.key?(:quasi_ids)
1954
+ @region_code = args[:region_code] if args.key?(:region_code)
1955
+ end
1956
+ end
1957
+
1958
+ # A KMapEstimationHistogramBucket message with the following values:
1959
+ # min_anonymity: 3
1960
+ # max_anonymity: 5
1961
+ # frequency: 42
1962
+ # means that there are 42 records whose quasi-identifier values correspond
1963
+ # to 3, 4 or 5 people in the overlying population. An important particular
1964
+ # case is when min_anonymity = max_anonymity = 1: the frequency field then
1965
+ # corresponds to the number of uniquely identifiable records.
1966
+ class GooglePrivacyDlpV2beta1KMapEstimationHistogramBucket
1967
+ include Google::Apis::Core::Hashable
1968
+
1969
+ # Number of records within these anonymity bounds.
1970
+ # Corresponds to the JSON property `bucketSize`
1971
+ # @return [Fixnum]
1972
+ attr_accessor :bucket_size
1973
+
1974
+ # Sample of quasi-identifier tuple values in this bucket. The total
1975
+ # number of classes returned per bucket is capped at 20.
1976
+ # Corresponds to the JSON property `bucketValues`
1977
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KMapEstimationQuasiIdValues>]
1978
+ attr_accessor :bucket_values
1979
+
1980
+ # Always greater than or equal to min_anonymity.
1981
+ # Corresponds to the JSON property `maxAnonymity`
1982
+ # @return [Fixnum]
1983
+ attr_accessor :max_anonymity
1984
+
1985
+ # Always positive.
1986
+ # Corresponds to the JSON property `minAnonymity`
1987
+ # @return [Fixnum]
1988
+ attr_accessor :min_anonymity
1989
+
1990
+ def initialize(**args)
1991
+ update!(**args)
1992
+ end
1993
+
1994
+ # Update properties of this object
1995
+ def update!(**args)
1996
+ @bucket_size = args[:bucket_size] if args.key?(:bucket_size)
1997
+ @bucket_values = args[:bucket_values] if args.key?(:bucket_values)
1998
+ @max_anonymity = args[:max_anonymity] if args.key?(:max_anonymity)
1999
+ @min_anonymity = args[:min_anonymity] if args.key?(:min_anonymity)
2000
+ end
2001
+ end
2002
+
2003
+ # A tuple of values for the quasi-identifier columns.
2004
+ class GooglePrivacyDlpV2beta1KMapEstimationQuasiIdValues
2005
+ include Google::Apis::Core::Hashable
2006
+
2007
+ # The estimated anonymity for these quasi-identifier values.
2008
+ # Corresponds to the JSON property `estimatedAnonymity`
2009
+ # @return [Fixnum]
2010
+ attr_accessor :estimated_anonymity
2011
+
2012
+ # The quasi-identifier values.
2013
+ # Corresponds to the JSON property `quasiIdsValues`
2014
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value>]
2015
+ attr_accessor :quasi_ids_values
2016
+
2017
+ def initialize(**args)
2018
+ update!(**args)
2019
+ end
2020
+
2021
+ # Update properties of this object
2022
+ def update!(**args)
2023
+ @estimated_anonymity = args[:estimated_anonymity] if args.key?(:estimated_anonymity)
2024
+ @quasi_ids_values = args[:quasi_ids_values] if args.key?(:quasi_ids_values)
2025
+ end
2026
+ end
2027
+
2028
+ # Result of the reidentifiability analysis. Note that these results are an
2029
+ # estimation, not exact values.
2030
+ class GooglePrivacyDlpV2beta1KMapEstimationResult
2031
+ include Google::Apis::Core::Hashable
2032
+
2033
+ # The intervals [min_anonymity, max_anonymity] do not overlap. If a value
2034
+ # doesn't correspond to any such interval, the associated frequency is
2035
+ # zero. For example, the following records:
2036
+ # `min_anonymity: 1, max_anonymity: 1, frequency: 17`
2037
+ # `min_anonymity: 2, max_anonymity: 3, frequency: 42`
2038
+ # `min_anonymity: 5, max_anonymity: 10, frequency: 99`
2039
+ # mean that there are no record with an estimated anonymity of 4, 5, or
2040
+ # larger than 10.
2041
+ # Corresponds to the JSON property `kMapEstimationHistogram`
2042
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KMapEstimationHistogramBucket>]
2043
+ attr_accessor :k_map_estimation_histogram
2044
+
2045
+ def initialize(**args)
2046
+ update!(**args)
2047
+ end
2048
+
2049
+ # Update properties of this object
2050
+ def update!(**args)
2051
+ @k_map_estimation_histogram = args[:k_map_estimation_histogram] if args.key?(:k_map_estimation_histogram)
2052
+ end
2053
+ end
2054
+
1876
2055
  # A unique identifier for a Datastore entity.
1877
2056
  # If a key's partition ID or any of its path kinds or names are
1878
2057
  # reserved/read-only, the key is reserved/read-only.
@@ -2483,6 +2662,16 @@ module Google
2483
2662
  # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KAnonymityConfig]
2484
2663
  attr_accessor :k_anonymity_config
2485
2664
 
2665
+ # Reidentifiability metric. This corresponds to a risk model similar to what
2666
+ # is called "journalist risk" in the literature, except the attack dataset is
2667
+ # statistically modeled instead of being perfectly known. This can be done
2668
+ # using publicly available data (like the US Census), or using a custom
2669
+ # statistical model (indicated as one or several BigQuery tables), or by
2670
+ # extrapolating from the distribution of values in the input dataset.
2671
+ # Corresponds to the JSON property `kMapEstimationConfig`
2672
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KMapEstimationConfig]
2673
+ attr_accessor :k_map_estimation_config
2674
+
2486
2675
  # l-diversity metric, used for analysis of reidentification risk.
2487
2676
  # Corresponds to the JSON property `lDiversityConfig`
2488
2677
  # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1LDiversityConfig]
@@ -2502,6 +2691,7 @@ module Google
2502
2691
  def update!(**args)
2503
2692
  @categorical_stats_config = args[:categorical_stats_config] if args.key?(:categorical_stats_config)
2504
2693
  @k_anonymity_config = args[:k_anonymity_config] if args.key?(:k_anonymity_config)
2694
+ @k_map_estimation_config = args[:k_map_estimation_config] if args.key?(:k_map_estimation_config)
2505
2695
  @l_diversity_config = args[:l_diversity_config] if args.key?(:l_diversity_config)
2506
2696
  @numerical_stats_config = args[:numerical_stats_config] if args.key?(:numerical_stats_config)
2507
2697
  end
@@ -2546,6 +2736,32 @@ module Google
2546
2736
  end
2547
2737
  end
2548
2738
 
2739
+ # A quasi-identifier column has a custom_tag, used to know which column
2740
+ # in the data corresponds to which column in the statistical model.
2741
+ class GooglePrivacyDlpV2beta1QuasiIdField
2742
+ include Google::Apis::Core::Hashable
2743
+
2744
+ #
2745
+ # Corresponds to the JSON property `customTag`
2746
+ # @return [String]
2747
+ attr_accessor :custom_tag
2748
+
2749
+ # General identifier of a data field in a storage service.
2750
+ # Corresponds to the JSON property `field`
2751
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId]
2752
+ attr_accessor :field
2753
+
2754
+ def initialize(**args)
2755
+ update!(**args)
2756
+ end
2757
+
2758
+ # Update properties of this object
2759
+ def update!(**args)
2760
+ @custom_tag = args[:custom_tag] if args.key?(:custom_tag)
2761
+ @field = args[:field] if args.key?(:field)
2762
+ end
2763
+ end
2764
+
2549
2765
  # Generic half-open interval [start, end)
2550
2766
  class GooglePrivacyDlpV2beta1Range
2551
2767
  include Google::Apis::Core::Hashable
@@ -2850,6 +3066,12 @@ module Google
2850
3066
  # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KAnonymityResult]
2851
3067
  attr_accessor :k_anonymity_result
2852
3068
 
3069
+ # Result of the reidentifiability analysis. Note that these results are an
3070
+ # estimation, not exact values.
3071
+ # Corresponds to the JSON property `kMapEstimationResult`
3072
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KMapEstimationResult]
3073
+ attr_accessor :k_map_estimation_result
3074
+
2853
3075
  # Result of the l-diversity computation.
2854
3076
  # Corresponds to the JSON property `lDiversityResult`
2855
3077
  # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1LDiversityResult]
@@ -2868,6 +3090,7 @@ module Google
2868
3090
  def update!(**args)
2869
3091
  @categorical_stats_result = args[:categorical_stats_result] if args.key?(:categorical_stats_result)
2870
3092
  @k_anonymity_result = args[:k_anonymity_result] if args.key?(:k_anonymity_result)
3093
+ @k_map_estimation_result = args[:k_map_estimation_result] if args.key?(:k_map_estimation_result)
2871
3094
  @l_diversity_result = args[:l_diversity_result] if args.key?(:l_diversity_result)
2872
3095
  @numerical_stats_result = args[:numerical_stats_result] if args.key?(:numerical_stats_result)
2873
3096
  end
@@ -3001,6 +3224,51 @@ module Google
3001
3224
  end
3002
3225
  end
3003
3226
 
3227
+ # A column with a semantic tag attached.
3228
+ class GooglePrivacyDlpV2beta1TaggedField
3229
+ include Google::Apis::Core::Hashable
3230
+
3231
+ # A column can be tagged with a custom tag. In this case, the user must
3232
+ # indicate an auxiliary table that contains statistical information on
3233
+ # the possible values of this column (below).
3234
+ # Corresponds to the JSON property `customTag`
3235
+ # @return [String]
3236
+ attr_accessor :custom_tag
3237
+
3238
+ # General identifier of a data field in a storage service.
3239
+ # Corresponds to the JSON property `field`
3240
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId]
3241
+ attr_accessor :field
3242
+
3243
+ # A generic empty message that you can re-use to avoid defining duplicated
3244
+ # empty messages in your APIs. A typical example is to use it as the request
3245
+ # or the response type of an API method. For instance:
3246
+ # service Foo `
3247
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
3248
+ # `
3249
+ # The JSON representation for `Empty` is empty JSON object ````.
3250
+ # Corresponds to the JSON property `inferred`
3251
+ # @return [Google::Apis::DlpV2beta1::GoogleProtobufEmpty]
3252
+ attr_accessor :inferred
3253
+
3254
+ # Type of information detected by the API.
3255
+ # Corresponds to the JSON property `infoType`
3256
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType]
3257
+ attr_accessor :info_type
3258
+
3259
+ def initialize(**args)
3260
+ update!(**args)
3261
+ end
3262
+
3263
+ # Update properties of this object
3264
+ def update!(**args)
3265
+ @custom_tag = args[:custom_tag] if args.key?(:custom_tag)
3266
+ @field = args[:field] if args.key?(:field)
3267
+ @inferred = args[:inferred] if args.key?(:inferred)
3268
+ @info_type = args[:info_type] if args.key?(:info_type)
3269
+ end
3270
+ end
3271
+
3004
3272
  # For use with `Date`, `Timestamp`, and `TimeOfDay`, extract or preserve a
3005
3273
  # portion of the value.
3006
3274
  class GooglePrivacyDlpV2beta1TimePartConfig