google-api-client 0.22.0 → 0.23.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 +30 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +1 -2
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +1 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -3
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +59 -1
- data/generated/google/apis/appengine_v1/representations.rb +18 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +0 -8
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +97 -12
- data/generated/google/apis/compute_alpha/representations.rb +23 -0
- data/generated/google/apis/compute_alpha/service.rb +41 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1616 -43
- data/generated/google/apis/compute_beta/representations.rb +685 -20
- data/generated/google/apis/compute_beta/service.rb +1286 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +184 -3
- data/generated/google/apis/compute_v1/representations.rb +43 -0
- data/generated/google/apis/compute_v1/service.rb +108 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +805 -102
- data/generated/google/apis/content_v2/representations.rb +393 -26
- data/generated/google/apis/content_v2/service.rb +242 -0
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +703 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +367 -0
- data/generated/google/apis/content_v2sandbox/service.rb +242 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +280 -2
- data/generated/google/apis/dlp_v2/representations.rb +120 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +35 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +2 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +7 -0
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +5 -3
- data/generated/google/apis/pagespeedonline_v4.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +0 -8
- data/generated/google/apis/pubsub_v1/service.rb +4 -8
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +7 -8
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +0 -27
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -15
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +0 -27
- data/generated/google/apis/serviceuser_v1/representations.rb +0 -15
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/service.rb +2 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +34 -0
- data/generated/google/apis/tpu_v1/classes.rb +736 -0
- data/generated/google/apis/tpu_v1/representations.rb +316 -0
- data/generated/google/apis/tpu_v1/service.rb +687 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +0 -473
- data/generated/google/apis/videointelligence_v1/representations.rb +0 -222
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +0 -473
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +0 -222
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -6
- data/generated/google/apis/photoslibrary_v1.rb +0 -49
- data/generated/google/apis/photoslibrary_v1/classes.rb +0 -1330
- data/generated/google/apis/photoslibrary_v1/representations.rb +0 -625
- data/generated/google/apis/photoslibrary_v1/service.rb +0 -399
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/dlp/docs/
|
|
28
28
|
module DlpV2
|
|
29
29
|
VERSION = 'V2'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20180529'
|
|
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'
|
|
@@ -75,6 +75,12 @@ module Google
|
|
|
75
75
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CategoricalStatsResult]
|
|
76
76
|
attr_accessor :categorical_stats_result
|
|
77
77
|
|
|
78
|
+
# Result of the δ-presence computation. Note that these results are an
|
|
79
|
+
# estimation, not exact values.
|
|
80
|
+
# Corresponds to the JSON property `deltaPresenceEstimationResult`
|
|
81
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationResult]
|
|
82
|
+
attr_accessor :delta_presence_estimation_result
|
|
83
|
+
|
|
78
84
|
# Result of the k-anonymity computation.
|
|
79
85
|
# Corresponds to the JSON property `kAnonymityResult`
|
|
80
86
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityResult]
|
|
@@ -117,6 +123,7 @@ module Google
|
|
|
117
123
|
# Update properties of this object
|
|
118
124
|
def update!(**args)
|
|
119
125
|
@categorical_stats_result = args[:categorical_stats_result] if args.key?(:categorical_stats_result)
|
|
126
|
+
@delta_presence_estimation_result = args[:delta_presence_estimation_result] if args.key?(:delta_presence_estimation_result)
|
|
120
127
|
@k_anonymity_result = args[:k_anonymity_result] if args.key?(:k_anonymity_result)
|
|
121
128
|
@k_map_estimation_result = args[:k_map_estimation_result] if args.key?(:k_map_estimation_result)
|
|
122
129
|
@l_diversity_result = args[:l_diversity_result] if args.key?(:l_diversity_result)
|
|
@@ -1482,13 +1489,163 @@ module Google
|
|
|
1482
1489
|
end
|
|
1483
1490
|
end
|
|
1484
1491
|
|
|
1492
|
+
# δ-presence metric, used to estimate how likely it is for an attacker to
|
|
1493
|
+
# figure out that one given individual appears in a de-identified dataset.
|
|
1494
|
+
# Similarly to the k-map metric, we cannot compute δ-presence exactly without
|
|
1495
|
+
# knowing the attack dataset, so we use a statistical model instead.
|
|
1496
|
+
class GooglePrivacyDlpV2DeltaPresenceEstimationConfig
|
|
1497
|
+
include Google::Apis::Core::Hashable
|
|
1498
|
+
|
|
1499
|
+
# Several auxiliary tables can be used in the analysis. Each custom_tag
|
|
1500
|
+
# used to tag a quasi-identifiers field must appear in exactly one
|
|
1501
|
+
# field of one auxiliary table.
|
|
1502
|
+
# Corresponds to the JSON property `auxiliaryTables`
|
|
1503
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2StatisticalTable>]
|
|
1504
|
+
attr_accessor :auxiliary_tables
|
|
1505
|
+
|
|
1506
|
+
# Fields considered to be quasi-identifiers. No two fields can have the
|
|
1507
|
+
# same tag. [required]
|
|
1508
|
+
# Corresponds to the JSON property `quasiIds`
|
|
1509
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2QuasiId>]
|
|
1510
|
+
attr_accessor :quasi_ids
|
|
1511
|
+
|
|
1512
|
+
# ISO 3166-1 alpha-2 region code to use in the statistical modeling.
|
|
1513
|
+
# Required if no column is tagged with a region-specific InfoType (like
|
|
1514
|
+
# US_ZIP_5) or a region code.
|
|
1515
|
+
# Corresponds to the JSON property `regionCode`
|
|
1516
|
+
# @return [String]
|
|
1517
|
+
attr_accessor :region_code
|
|
1518
|
+
|
|
1519
|
+
def initialize(**args)
|
|
1520
|
+
update!(**args)
|
|
1521
|
+
end
|
|
1522
|
+
|
|
1523
|
+
# Update properties of this object
|
|
1524
|
+
def update!(**args)
|
|
1525
|
+
@auxiliary_tables = args[:auxiliary_tables] if args.key?(:auxiliary_tables)
|
|
1526
|
+
@quasi_ids = args[:quasi_ids] if args.key?(:quasi_ids)
|
|
1527
|
+
@region_code = args[:region_code] if args.key?(:region_code)
|
|
1528
|
+
end
|
|
1529
|
+
end
|
|
1530
|
+
|
|
1531
|
+
# A DeltaPresenceEstimationHistogramBucket message with the following
|
|
1532
|
+
# values:
|
|
1533
|
+
# min_probability: 0.1
|
|
1534
|
+
# max_probability: 0.2
|
|
1535
|
+
# frequency: 42
|
|
1536
|
+
# means that there are 42 records for which δ is in [0.1, 0.2). An
|
|
1537
|
+
# important particular case is when min_probability = max_probability = 1:
|
|
1538
|
+
# then, every individual who shares this quasi-identifier combination is in
|
|
1539
|
+
# the dataset.
|
|
1540
|
+
class GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket
|
|
1541
|
+
include Google::Apis::Core::Hashable
|
|
1542
|
+
|
|
1543
|
+
# Number of records within these probability bounds.
|
|
1544
|
+
# Corresponds to the JSON property `bucketSize`
|
|
1545
|
+
# @return [Fixnum]
|
|
1546
|
+
attr_accessor :bucket_size
|
|
1547
|
+
|
|
1548
|
+
# Total number of distinct quasi-identifier tuple values in this bucket.
|
|
1549
|
+
# Corresponds to the JSON property `bucketValueCount`
|
|
1550
|
+
# @return [Fixnum]
|
|
1551
|
+
attr_accessor :bucket_value_count
|
|
1552
|
+
|
|
1553
|
+
# Sample of quasi-identifier tuple values in this bucket. The total
|
|
1554
|
+
# number of classes returned per bucket is capped at 20.
|
|
1555
|
+
# Corresponds to the JSON property `bucketValues`
|
|
1556
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues>]
|
|
1557
|
+
attr_accessor :bucket_values
|
|
1558
|
+
|
|
1559
|
+
# Always greater than or equal to min_probability.
|
|
1560
|
+
# Corresponds to the JSON property `maxProbability`
|
|
1561
|
+
# @return [Float]
|
|
1562
|
+
attr_accessor :max_probability
|
|
1563
|
+
|
|
1564
|
+
# Between 0 and 1.
|
|
1565
|
+
# Corresponds to the JSON property `minProbability`
|
|
1566
|
+
# @return [Float]
|
|
1567
|
+
attr_accessor :min_probability
|
|
1568
|
+
|
|
1569
|
+
def initialize(**args)
|
|
1570
|
+
update!(**args)
|
|
1571
|
+
end
|
|
1572
|
+
|
|
1573
|
+
# Update properties of this object
|
|
1574
|
+
def update!(**args)
|
|
1575
|
+
@bucket_size = args[:bucket_size] if args.key?(:bucket_size)
|
|
1576
|
+
@bucket_value_count = args[:bucket_value_count] if args.key?(:bucket_value_count)
|
|
1577
|
+
@bucket_values = args[:bucket_values] if args.key?(:bucket_values)
|
|
1578
|
+
@max_probability = args[:max_probability] if args.key?(:max_probability)
|
|
1579
|
+
@min_probability = args[:min_probability] if args.key?(:min_probability)
|
|
1580
|
+
end
|
|
1581
|
+
end
|
|
1582
|
+
|
|
1583
|
+
# A tuple of values for the quasi-identifier columns.
|
|
1584
|
+
class GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues
|
|
1585
|
+
include Google::Apis::Core::Hashable
|
|
1586
|
+
|
|
1587
|
+
# The estimated probability that a given individual sharing these
|
|
1588
|
+
# quasi-identifier values is in the dataset. This value, typically called
|
|
1589
|
+
# δ, is the ratio between the number of records in the dataset with these
|
|
1590
|
+
# quasi-identifier values, and the total number of individuals (inside
|
|
1591
|
+
# *and* outside the dataset) with these quasi-identifier values.
|
|
1592
|
+
# For example, if there are 15 individuals in the dataset who share the
|
|
1593
|
+
# same quasi-identifier values, and an estimated 100 people in the entire
|
|
1594
|
+
# population with these values, then δ is 0.15.
|
|
1595
|
+
# Corresponds to the JSON property `estimatedProbability`
|
|
1596
|
+
# @return [Float]
|
|
1597
|
+
attr_accessor :estimated_probability
|
|
1598
|
+
|
|
1599
|
+
# The quasi-identifier values.
|
|
1600
|
+
# Corresponds to the JSON property `quasiIdsValues`
|
|
1601
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Value>]
|
|
1602
|
+
attr_accessor :quasi_ids_values
|
|
1603
|
+
|
|
1604
|
+
def initialize(**args)
|
|
1605
|
+
update!(**args)
|
|
1606
|
+
end
|
|
1607
|
+
|
|
1608
|
+
# Update properties of this object
|
|
1609
|
+
def update!(**args)
|
|
1610
|
+
@estimated_probability = args[:estimated_probability] if args.key?(:estimated_probability)
|
|
1611
|
+
@quasi_ids_values = args[:quasi_ids_values] if args.key?(:quasi_ids_values)
|
|
1612
|
+
end
|
|
1613
|
+
end
|
|
1614
|
+
|
|
1615
|
+
# Result of the δ-presence computation. Note that these results are an
|
|
1616
|
+
# estimation, not exact values.
|
|
1617
|
+
class GooglePrivacyDlpV2DeltaPresenceEstimationResult
|
|
1618
|
+
include Google::Apis::Core::Hashable
|
|
1619
|
+
|
|
1620
|
+
# The intervals [min_probability, max_probability) do not overlap. If a
|
|
1621
|
+
# value doesn't correspond to any such interval, the associated frequency
|
|
1622
|
+
# is zero. For example, the following records:
|
|
1623
|
+
# `min_probability: 0, max_probability: 0.1, frequency: 17`
|
|
1624
|
+
# `min_probability: 0.2, max_probability: 0.3, frequency: 42`
|
|
1625
|
+
# `min_probability: 0.3, max_probability: 0.4, frequency: 99`
|
|
1626
|
+
# mean that there are no record with an estimated probability in [0.1, 0.2)
|
|
1627
|
+
# nor larger or equal to 0.4.
|
|
1628
|
+
# Corresponds to the JSON property `deltaPresenceEstimationHistogram`
|
|
1629
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket>]
|
|
1630
|
+
attr_accessor :delta_presence_estimation_histogram
|
|
1631
|
+
|
|
1632
|
+
def initialize(**args)
|
|
1633
|
+
update!(**args)
|
|
1634
|
+
end
|
|
1635
|
+
|
|
1636
|
+
# Update properties of this object
|
|
1637
|
+
def update!(**args)
|
|
1638
|
+
@delta_presence_estimation_histogram = args[:delta_presence_estimation_histogram] if args.key?(:delta_presence_estimation_histogram)
|
|
1639
|
+
end
|
|
1640
|
+
end
|
|
1641
|
+
|
|
1485
1642
|
# Rule for modifying a CustomInfoType to alter behavior under certain
|
|
1486
1643
|
# circumstances, depending on the specific details of the rule. Not supported
|
|
1487
1644
|
# for the `surrogate_type` custom info type.
|
|
1488
1645
|
class GooglePrivacyDlpV2DetectionRule
|
|
1489
1646
|
include Google::Apis::Core::Hashable
|
|
1490
1647
|
|
|
1491
|
-
#
|
|
1648
|
+
# The rule that adjusts the likelihood of findings within a certain
|
|
1492
1649
|
# proximity of hotwords.
|
|
1493
1650
|
# Corresponds to the JSON property `hotwordRule`
|
|
1494
1651
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HotwordRule]
|
|
@@ -1977,7 +2134,7 @@ module Google
|
|
|
1977
2134
|
end
|
|
1978
2135
|
end
|
|
1979
2136
|
|
|
1980
|
-
#
|
|
2137
|
+
# The rule that adjusts the likelihood of findings within a certain
|
|
1981
2138
|
# proximity of hotwords.
|
|
1982
2139
|
class GooglePrivacyDlpV2HotwordRule
|
|
1983
2140
|
include Google::Apis::Core::Hashable
|
|
@@ -3534,6 +3691,14 @@ module Google
|
|
|
3534
3691
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CategoricalStatsConfig]
|
|
3535
3692
|
attr_accessor :categorical_stats_config
|
|
3536
3693
|
|
|
3694
|
+
# δ-presence metric, used to estimate how likely it is for an attacker to
|
|
3695
|
+
# figure out that one given individual appears in a de-identified dataset.
|
|
3696
|
+
# Similarly to the k-map metric, we cannot compute δ-presence exactly without
|
|
3697
|
+
# knowing the attack dataset, so we use a statistical model instead.
|
|
3698
|
+
# Corresponds to the JSON property `deltaPresenceEstimationConfig`
|
|
3699
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationConfig]
|
|
3700
|
+
attr_accessor :delta_presence_estimation_config
|
|
3701
|
+
|
|
3537
3702
|
# k-anonymity metric, used for analysis of reidentification risk.
|
|
3538
3703
|
# Corresponds to the JSON property `kAnonymityConfig`
|
|
3539
3704
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityConfig]
|
|
@@ -3568,6 +3733,7 @@ module Google
|
|
|
3568
3733
|
# Update properties of this object
|
|
3569
3734
|
def update!(**args)
|
|
3570
3735
|
@categorical_stats_config = args[:categorical_stats_config] if args.key?(:categorical_stats_config)
|
|
3736
|
+
@delta_presence_estimation_config = args[:delta_presence_estimation_config] if args.key?(:delta_presence_estimation_config)
|
|
3571
3737
|
@k_anonymity_config = args[:k_anonymity_config] if args.key?(:k_anonymity_config)
|
|
3572
3738
|
@k_map_estimation_config = args[:k_map_estimation_config] if args.key?(:k_map_estimation_config)
|
|
3573
3739
|
@l_diversity_config = args[:l_diversity_config] if args.key?(:l_diversity_config)
|
|
@@ -3646,6 +3812,51 @@ module Google
|
|
|
3646
3812
|
end
|
|
3647
3813
|
end
|
|
3648
3814
|
|
|
3815
|
+
# A column with a semantic tag attached.
|
|
3816
|
+
class GooglePrivacyDlpV2QuasiId
|
|
3817
|
+
include Google::Apis::Core::Hashable
|
|
3818
|
+
|
|
3819
|
+
# A column can be tagged with a custom tag. In this case, the user must
|
|
3820
|
+
# indicate an auxiliary table that contains statistical information on
|
|
3821
|
+
# the possible values of this column (below).
|
|
3822
|
+
# Corresponds to the JSON property `customTag`
|
|
3823
|
+
# @return [String]
|
|
3824
|
+
attr_accessor :custom_tag
|
|
3825
|
+
|
|
3826
|
+
# General identifier of a data field in a storage service.
|
|
3827
|
+
# Corresponds to the JSON property `field`
|
|
3828
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId]
|
|
3829
|
+
attr_accessor :field
|
|
3830
|
+
|
|
3831
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
|
3832
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
|
3833
|
+
# or the response type of an API method. For instance:
|
|
3834
|
+
# service Foo `
|
|
3835
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
3836
|
+
# `
|
|
3837
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
|
3838
|
+
# Corresponds to the JSON property `inferred`
|
|
3839
|
+
# @return [Google::Apis::DlpV2::GoogleProtobufEmpty]
|
|
3840
|
+
attr_accessor :inferred
|
|
3841
|
+
|
|
3842
|
+
# Type of information detected by the API.
|
|
3843
|
+
# Corresponds to the JSON property `infoType`
|
|
3844
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
|
|
3845
|
+
attr_accessor :info_type
|
|
3846
|
+
|
|
3847
|
+
def initialize(**args)
|
|
3848
|
+
update!(**args)
|
|
3849
|
+
end
|
|
3850
|
+
|
|
3851
|
+
# Update properties of this object
|
|
3852
|
+
def update!(**args)
|
|
3853
|
+
@custom_tag = args[:custom_tag] if args.key?(:custom_tag)
|
|
3854
|
+
@field = args[:field] if args.key?(:field)
|
|
3855
|
+
@inferred = args[:inferred] if args.key?(:inferred)
|
|
3856
|
+
@info_type = args[:info_type] if args.key?(:info_type)
|
|
3857
|
+
end
|
|
3858
|
+
end
|
|
3859
|
+
|
|
3649
3860
|
# A quasi-identifier column has a custom_tag, used to know which column
|
|
3650
3861
|
# in the data corresponds to which column in the statistical model.
|
|
3651
3862
|
class GooglePrivacyDlpV2QuasiIdField
|
|
@@ -3672,6 +3883,32 @@ module Google
|
|
|
3672
3883
|
end
|
|
3673
3884
|
end
|
|
3674
3885
|
|
|
3886
|
+
# A quasi-identifier column has a custom_tag, used to know which column
|
|
3887
|
+
# in the data corresponds to which column in the statistical model.
|
|
3888
|
+
class GooglePrivacyDlpV2QuasiIdentifierField
|
|
3889
|
+
include Google::Apis::Core::Hashable
|
|
3890
|
+
|
|
3891
|
+
#
|
|
3892
|
+
# Corresponds to the JSON property `customTag`
|
|
3893
|
+
# @return [String]
|
|
3894
|
+
attr_accessor :custom_tag
|
|
3895
|
+
|
|
3896
|
+
# General identifier of a data field in a storage service.
|
|
3897
|
+
# Corresponds to the JSON property `field`
|
|
3898
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId]
|
|
3899
|
+
attr_accessor :field
|
|
3900
|
+
|
|
3901
|
+
def initialize(**args)
|
|
3902
|
+
update!(**args)
|
|
3903
|
+
end
|
|
3904
|
+
|
|
3905
|
+
# Update properties of this object
|
|
3906
|
+
def update!(**args)
|
|
3907
|
+
@custom_tag = args[:custom_tag] if args.key?(:custom_tag)
|
|
3908
|
+
@field = args[:field] if args.key?(:field)
|
|
3909
|
+
end
|
|
3910
|
+
end
|
|
3911
|
+
|
|
3675
3912
|
# Message for infoType-dependent details parsed from quote.
|
|
3676
3913
|
class GooglePrivacyDlpV2QuoteInfo
|
|
3677
3914
|
include Google::Apis::Core::Hashable
|
|
@@ -4212,6 +4449,47 @@ module Google
|
|
|
4212
4449
|
end
|
|
4213
4450
|
end
|
|
4214
4451
|
|
|
4452
|
+
# An auxiliary table containing statistical information on the relative
|
|
4453
|
+
# frequency of different quasi-identifiers values. It has one or several
|
|
4454
|
+
# quasi-identifiers columns, and one column that indicates the relative
|
|
4455
|
+
# frequency of each quasi-identifier tuple.
|
|
4456
|
+
# If a tuple is present in the data but not in the auxiliary table, the
|
|
4457
|
+
# corresponding relative frequency is assumed to be zero (and thus, the
|
|
4458
|
+
# tuple is highly reidentifiable).
|
|
4459
|
+
class GooglePrivacyDlpV2StatisticalTable
|
|
4460
|
+
include Google::Apis::Core::Hashable
|
|
4461
|
+
|
|
4462
|
+
# Quasi-identifier columns. [required]
|
|
4463
|
+
# Corresponds to the JSON property `quasiIds`
|
|
4464
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2QuasiIdentifierField>]
|
|
4465
|
+
attr_accessor :quasi_ids
|
|
4466
|
+
|
|
4467
|
+
# General identifier of a data field in a storage service.
|
|
4468
|
+
# Corresponds to the JSON property `relativeFrequency`
|
|
4469
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId]
|
|
4470
|
+
attr_accessor :relative_frequency
|
|
4471
|
+
|
|
4472
|
+
# Message defining the location of a BigQuery table. A table is uniquely
|
|
4473
|
+
# identified by its project_id, dataset_id, and table_name. Within a query
|
|
4474
|
+
# a table is often referenced with a string in the format of:
|
|
4475
|
+
# `<project_id>:<dataset_id>.<table_id>` or
|
|
4476
|
+
# `<project_id>.<dataset_id>.<table_id>`.
|
|
4477
|
+
# Corresponds to the JSON property `table`
|
|
4478
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
|
|
4479
|
+
attr_accessor :table
|
|
4480
|
+
|
|
4481
|
+
def initialize(**args)
|
|
4482
|
+
update!(**args)
|
|
4483
|
+
end
|
|
4484
|
+
|
|
4485
|
+
# Update properties of this object
|
|
4486
|
+
def update!(**args)
|
|
4487
|
+
@quasi_ids = args[:quasi_ids] if args.key?(:quasi_ids)
|
|
4488
|
+
@relative_frequency = args[:relative_frequency] if args.key?(:relative_frequency)
|
|
4489
|
+
@table = args[:table] if args.key?(:table)
|
|
4490
|
+
end
|
|
4491
|
+
end
|
|
4492
|
+
|
|
4215
4493
|
# Shared message indicating Cloud storage type.
|
|
4216
4494
|
class GooglePrivacyDlpV2StorageConfig
|
|
4217
4495
|
include Google::Apis::Core::Hashable
|
|
@@ -256,6 +256,30 @@ module Google
|
|
|
256
256
|
include Google::Apis::Core::JsonObjectSupport
|
|
257
257
|
end
|
|
258
258
|
|
|
259
|
+
class GooglePrivacyDlpV2DeltaPresenceEstimationConfig
|
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
261
|
+
|
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
263
|
+
end
|
|
264
|
+
|
|
265
|
+
class GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket
|
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
267
|
+
|
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
class GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues
|
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
273
|
+
|
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
275
|
+
end
|
|
276
|
+
|
|
277
|
+
class GooglePrivacyDlpV2DeltaPresenceEstimationResult
|
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
279
|
+
|
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
281
|
+
end
|
|
282
|
+
|
|
259
283
|
class GooglePrivacyDlpV2DetectionRule
|
|
260
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
261
285
|
|
|
@@ -628,12 +652,24 @@ module Google
|
|
|
628
652
|
include Google::Apis::Core::JsonObjectSupport
|
|
629
653
|
end
|
|
630
654
|
|
|
655
|
+
class GooglePrivacyDlpV2QuasiId
|
|
656
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
657
|
+
|
|
658
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
659
|
+
end
|
|
660
|
+
|
|
631
661
|
class GooglePrivacyDlpV2QuasiIdField
|
|
632
662
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
633
663
|
|
|
634
664
|
include Google::Apis::Core::JsonObjectSupport
|
|
635
665
|
end
|
|
636
666
|
|
|
667
|
+
class GooglePrivacyDlpV2QuasiIdentifierField
|
|
668
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
669
|
+
|
|
670
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
671
|
+
end
|
|
672
|
+
|
|
637
673
|
class GooglePrivacyDlpV2QuoteInfo
|
|
638
674
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
639
675
|
|
|
@@ -760,6 +796,12 @@ module Google
|
|
|
760
796
|
include Google::Apis::Core::JsonObjectSupport
|
|
761
797
|
end
|
|
762
798
|
|
|
799
|
+
class GooglePrivacyDlpV2StatisticalTable
|
|
800
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
801
|
+
|
|
802
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
803
|
+
end
|
|
804
|
+
|
|
763
805
|
class GooglePrivacyDlpV2StorageConfig
|
|
764
806
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
765
807
|
|
|
@@ -921,6 +963,8 @@ module Google
|
|
|
921
963
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
922
964
|
property :categorical_stats_result, as: 'categoricalStatsResult', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CategoricalStatsResult, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CategoricalStatsResult::Representation
|
|
923
965
|
|
|
966
|
+
property :delta_presence_estimation_result, as: 'deltaPresenceEstimationResult', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationResult, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationResult::Representation
|
|
967
|
+
|
|
924
968
|
property :k_anonymity_result, as: 'kAnonymityResult', class: Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityResult, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityResult::Representation
|
|
925
969
|
|
|
926
970
|
property :k_map_estimation_result, as: 'kMapEstimationResult', class: Google::Apis::DlpV2::GooglePrivacyDlpV2KMapEstimationResult, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2KMapEstimationResult::Representation
|
|
@@ -1322,6 +1366,46 @@ module Google
|
|
|
1322
1366
|
end
|
|
1323
1367
|
end
|
|
1324
1368
|
|
|
1369
|
+
class GooglePrivacyDlpV2DeltaPresenceEstimationConfig
|
|
1370
|
+
# @private
|
|
1371
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1372
|
+
collection :auxiliary_tables, as: 'auxiliaryTables', class: Google::Apis::DlpV2::GooglePrivacyDlpV2StatisticalTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2StatisticalTable::Representation
|
|
1373
|
+
|
|
1374
|
+
collection :quasi_ids, as: 'quasiIds', class: Google::Apis::DlpV2::GooglePrivacyDlpV2QuasiId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2QuasiId::Representation
|
|
1375
|
+
|
|
1376
|
+
property :region_code, as: 'regionCode'
|
|
1377
|
+
end
|
|
1378
|
+
end
|
|
1379
|
+
|
|
1380
|
+
class GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket
|
|
1381
|
+
# @private
|
|
1382
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1383
|
+
property :bucket_size, :numeric_string => true, as: 'bucketSize'
|
|
1384
|
+
property :bucket_value_count, :numeric_string => true, as: 'bucketValueCount'
|
|
1385
|
+
collection :bucket_values, as: 'bucketValues', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues::Representation
|
|
1386
|
+
|
|
1387
|
+
property :max_probability, as: 'maxProbability'
|
|
1388
|
+
property :min_probability, as: 'minProbability'
|
|
1389
|
+
end
|
|
1390
|
+
end
|
|
1391
|
+
|
|
1392
|
+
class GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues
|
|
1393
|
+
# @private
|
|
1394
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1395
|
+
property :estimated_probability, as: 'estimatedProbability'
|
|
1396
|
+
collection :quasi_ids_values, as: 'quasiIdsValues', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Value, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Value::Representation
|
|
1397
|
+
|
|
1398
|
+
end
|
|
1399
|
+
end
|
|
1400
|
+
|
|
1401
|
+
class GooglePrivacyDlpV2DeltaPresenceEstimationResult
|
|
1402
|
+
# @private
|
|
1403
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1404
|
+
collection :delta_presence_estimation_histogram, as: 'deltaPresenceEstimationHistogram', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket::Representation
|
|
1405
|
+
|
|
1406
|
+
end
|
|
1407
|
+
end
|
|
1408
|
+
|
|
1325
1409
|
class GooglePrivacyDlpV2DetectionRule
|
|
1326
1410
|
# @private
|
|
1327
1411
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1925,6 +2009,8 @@ module Google
|
|
|
1925
2009
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1926
2010
|
property :categorical_stats_config, as: 'categoricalStatsConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CategoricalStatsConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CategoricalStatsConfig::Representation
|
|
1927
2011
|
|
|
2012
|
+
property :delta_presence_estimation_config, as: 'deltaPresenceEstimationConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationConfig::Representation
|
|
2013
|
+
|
|
1928
2014
|
property :k_anonymity_config, as: 'kAnonymityConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityConfig::Representation
|
|
1929
2015
|
|
|
1930
2016
|
property :k_map_estimation_config, as: 'kMapEstimationConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2KMapEstimationConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2KMapEstimationConfig::Representation
|
|
@@ -1957,6 +2043,19 @@ module Google
|
|
|
1957
2043
|
end
|
|
1958
2044
|
end
|
|
1959
2045
|
|
|
2046
|
+
class GooglePrivacyDlpV2QuasiId
|
|
2047
|
+
# @private
|
|
2048
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2049
|
+
property :custom_tag, as: 'customTag'
|
|
2050
|
+
property :field, as: 'field', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation
|
|
2051
|
+
|
|
2052
|
+
property :inferred, as: 'inferred', class: Google::Apis::DlpV2::GoogleProtobufEmpty, decorator: Google::Apis::DlpV2::GoogleProtobufEmpty::Representation
|
|
2053
|
+
|
|
2054
|
+
property :info_type, as: 'infoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
|
|
2055
|
+
|
|
2056
|
+
end
|
|
2057
|
+
end
|
|
2058
|
+
|
|
1960
2059
|
class GooglePrivacyDlpV2QuasiIdField
|
|
1961
2060
|
# @private
|
|
1962
2061
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1966,6 +2065,15 @@ module Google
|
|
|
1966
2065
|
end
|
|
1967
2066
|
end
|
|
1968
2067
|
|
|
2068
|
+
class GooglePrivacyDlpV2QuasiIdentifierField
|
|
2069
|
+
# @private
|
|
2070
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2071
|
+
property :custom_tag, as: 'customTag'
|
|
2072
|
+
property :field, as: 'field', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation
|
|
2073
|
+
|
|
2074
|
+
end
|
|
2075
|
+
end
|
|
2076
|
+
|
|
1969
2077
|
class GooglePrivacyDlpV2QuoteInfo
|
|
1970
2078
|
# @private
|
|
1971
2079
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2156,6 +2264,18 @@ module Google
|
|
|
2156
2264
|
end
|
|
2157
2265
|
end
|
|
2158
2266
|
|
|
2267
|
+
class GooglePrivacyDlpV2StatisticalTable
|
|
2268
|
+
# @private
|
|
2269
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2270
|
+
collection :quasi_ids, as: 'quasiIds', class: Google::Apis::DlpV2::GooglePrivacyDlpV2QuasiIdentifierField, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2QuasiIdentifierField::Representation
|
|
2271
|
+
|
|
2272
|
+
property :relative_frequency, as: 'relativeFrequency', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation
|
|
2273
|
+
|
|
2274
|
+
property :table, as: 'table', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable::Representation
|
|
2275
|
+
|
|
2276
|
+
end
|
|
2277
|
+
end
|
|
2278
|
+
|
|
2159
2279
|
class GooglePrivacyDlpV2StorageConfig
|
|
2160
2280
|
# @private
|
|
2161
2281
|
class Representation < Google::Apis::Core::JsonRepresentation
|