google-apis-dlp_v2 0.45.0 → 0.46.0

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
  SHA256:
3
- metadata.gz: cac47d3dcd8054dd1462c0407575cebfd620af093f9bccbc45f4d0dcf272ce63
4
- data.tar.gz: 5d254382db9c3c41628906b32653ab07e47ce16af259bb1e0f14b1beadb4bf3d
3
+ metadata.gz: 02c7eed47fc4c8d27c467a53be3aeb3f5b209b1b078c3eb14bbb22179eaa49d6
4
+ data.tar.gz: 8163df7201207b9349597af67c4d9e482c468751369bf58f53b2c91b74dec3e7
5
5
  SHA512:
6
- metadata.gz: ad2afe96d3d802b34c98d2334b09757c5ce2bdd6555b49f3a7b78dccf08323bd4bcb9be989216ccdd8622cfa90a993cc43947566088609dfa3b07c7106f5bed7
7
- data.tar.gz: a1db50ea68d50814dcadeeb6823e38f706b388d480ca9fdee163c94c3ce1b58310c8983fe35ee7b3f600c93b16576f6e2f4f3cc4efdfe8700ee167637ede21ca
6
+ metadata.gz: c3b90a33d9c908299ecdb242446c06a4a903f7abc7eff11e79b21917bd05736f4c96db6fc47477ff0a7df1d166f6b8914e5ab78012e03ea70db6f5a58af4490e
7
+ data.tar.gz: b5969710d58503aea440b885787ee6519f00b41a38d31a81e80251422433f200e9ef8f21be7640d64b0ec30c70c126e4440dca0ea704f04db37117c5dfe13594
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dlp_v2
2
2
 
3
+ ### v0.46.0 (2023-06-25)
4
+
5
+ * Regenerated from discovery document revision 20230618
6
+
3
7
  ### v0.45.0 (2023-05-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20230521
@@ -948,6 +948,145 @@ module Google
948
948
  end
949
949
  end
950
950
 
951
+ # The profile for a scanned column within a table.
952
+ class GooglePrivacyDlpV2ColumnDataProfile
953
+ include Google::Apis::Core::Hashable
954
+
955
+ # The name of the column.
956
+ # Corresponds to the JSON property `column`
957
+ # @return [String]
958
+ attr_accessor :column
959
+
960
+ # The infoType details for this column.
961
+ # Corresponds to the JSON property `columnInfoType`
962
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeSummary]
963
+ attr_accessor :column_info_type
964
+
965
+ # The data type of a given column.
966
+ # Corresponds to the JSON property `columnType`
967
+ # @return [String]
968
+ attr_accessor :column_type
969
+
970
+ # Score is a summary of all elements in the data profile. A higher number means
971
+ # more risk.
972
+ # Corresponds to the JSON property `dataRiskLevel`
973
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel]
974
+ attr_accessor :data_risk_level
975
+
976
+ # The BigQuery dataset ID.
977
+ # Corresponds to the JSON property `datasetId`
978
+ # @return [String]
979
+ attr_accessor :dataset_id
980
+
981
+ # The BigQuery location where the dataset's data is stored. See https://cloud.
982
+ # google.com/bigquery/docs/locations for supported locations.
983
+ # Corresponds to the JSON property `datasetLocation`
984
+ # @return [String]
985
+ attr_accessor :dataset_location
986
+
987
+ # The Google Cloud project ID that owns the BigQuery dataset.
988
+ # Corresponds to the JSON property `datasetProjectId`
989
+ # @return [String]
990
+ attr_accessor :dataset_project_id
991
+
992
+ # Approximate percentage of entries being null in the column.
993
+ # Corresponds to the JSON property `estimatedNullPercentage`
994
+ # @return [String]
995
+ attr_accessor :estimated_null_percentage
996
+
997
+ # Approximate uniqueness of the column.
998
+ # Corresponds to the JSON property `estimatedUniquenessScore`
999
+ # @return [String]
1000
+ attr_accessor :estimated_uniqueness_score
1001
+
1002
+ # The likelihood that this column contains free-form text. A value close to 1
1003
+ # may indicate the column is likely to contain free-form or natural language
1004
+ # text. Range in 0-1.
1005
+ # Corresponds to the JSON property `freeTextScore`
1006
+ # @return [Float]
1007
+ attr_accessor :free_text_score
1008
+
1009
+ # The name of the profile.
1010
+ # Corresponds to the JSON property `name`
1011
+ # @return [String]
1012
+ attr_accessor :name
1013
+
1014
+ # Other types found within this column. List will be un-ordered.
1015
+ # Corresponds to the JSON property `otherMatches`
1016
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2OtherInfoTypeSummary>]
1017
+ attr_accessor :other_matches
1018
+
1019
+ # Indicates if a policy tag has been applied to the column.
1020
+ # Corresponds to the JSON property `policyState`
1021
+ # @return [String]
1022
+ attr_accessor :policy_state
1023
+
1024
+ # The last time the profile was generated.
1025
+ # Corresponds to the JSON property `profileLastGenerated`
1026
+ # @return [String]
1027
+ attr_accessor :profile_last_generated
1028
+
1029
+ # Success or error status from the most recent profile generation attempt. May
1030
+ # be empty if the profile is still being generated.
1031
+ # Corresponds to the JSON property `profileStatus`
1032
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ProfileStatus]
1033
+ attr_accessor :profile_status
1034
+
1035
+ # Score is calculated from of all elements in the data profile. A higher level
1036
+ # means the data is more sensitive.
1037
+ # Corresponds to the JSON property `sensitivityScore`
1038
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore]
1039
+ attr_accessor :sensitivity_score
1040
+
1041
+ # State of a profile.
1042
+ # Corresponds to the JSON property `state`
1043
+ # @return [String]
1044
+ attr_accessor :state
1045
+
1046
+ # The resource name to the table data profile.
1047
+ # Corresponds to the JSON property `tableDataProfile`
1048
+ # @return [String]
1049
+ attr_accessor :table_data_profile
1050
+
1051
+ # The resource name of the table this column is within.
1052
+ # Corresponds to the JSON property `tableFullResource`
1053
+ # @return [String]
1054
+ attr_accessor :table_full_resource
1055
+
1056
+ # The BigQuery table ID.
1057
+ # Corresponds to the JSON property `tableId`
1058
+ # @return [String]
1059
+ attr_accessor :table_id
1060
+
1061
+ def initialize(**args)
1062
+ update!(**args)
1063
+ end
1064
+
1065
+ # Update properties of this object
1066
+ def update!(**args)
1067
+ @column = args[:column] if args.key?(:column)
1068
+ @column_info_type = args[:column_info_type] if args.key?(:column_info_type)
1069
+ @column_type = args[:column_type] if args.key?(:column_type)
1070
+ @data_risk_level = args[:data_risk_level] if args.key?(:data_risk_level)
1071
+ @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
1072
+ @dataset_location = args[:dataset_location] if args.key?(:dataset_location)
1073
+ @dataset_project_id = args[:dataset_project_id] if args.key?(:dataset_project_id)
1074
+ @estimated_null_percentage = args[:estimated_null_percentage] if args.key?(:estimated_null_percentage)
1075
+ @estimated_uniqueness_score = args[:estimated_uniqueness_score] if args.key?(:estimated_uniqueness_score)
1076
+ @free_text_score = args[:free_text_score] if args.key?(:free_text_score)
1077
+ @name = args[:name] if args.key?(:name)
1078
+ @other_matches = args[:other_matches] if args.key?(:other_matches)
1079
+ @policy_state = args[:policy_state] if args.key?(:policy_state)
1080
+ @profile_last_generated = args[:profile_last_generated] if args.key?(:profile_last_generated)
1081
+ @profile_status = args[:profile_status] if args.key?(:profile_status)
1082
+ @sensitivity_score = args[:sensitivity_score] if args.key?(:sensitivity_score)
1083
+ @state = args[:state] if args.key?(:state)
1084
+ @table_data_profile = args[:table_data_profile] if args.key?(:table_data_profile)
1085
+ @table_full_resource = args[:table_full_resource] if args.key?(:table_full_resource)
1086
+ @table_id = args[:table_id] if args.key?(:table_id)
1087
+ end
1088
+ end
1089
+
951
1090
  # The field type of `value` and `field` do not need to match to be considered
952
1091
  # equal, but not all comparisons are possible. EQUAL_TO and NOT_EQUAL_TO attempt
953
1092
  # to compare even with incompatible types, but all other comparisons are invalid
@@ -1658,6 +1797,32 @@ module Google
1658
1797
  end
1659
1798
  end
1660
1799
 
1800
+ # The schema of data to be saved to the BigQuery when the `DataProfileAction` is
1801
+ # enabled.
1802
+ class GooglePrivacyDlpV2DataProfileBigQueryRowSchema
1803
+ include Google::Apis::Core::Hashable
1804
+
1805
+ # The profile for a scanned column within a table.
1806
+ # Corresponds to the JSON property `columnProfile`
1807
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile]
1808
+ attr_accessor :column_profile
1809
+
1810
+ # The profile for a scanned table.
1811
+ # Corresponds to the JSON property `tableProfile`
1812
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile]
1813
+ attr_accessor :table_profile
1814
+
1815
+ def initialize(**args)
1816
+ update!(**args)
1817
+ end
1818
+
1819
+ # Update properties of this object
1820
+ def update!(**args)
1821
+ @column_profile = args[:column_profile] if args.key?(:column_profile)
1822
+ @table_profile = args[:table_profile] if args.key?(:table_profile)
1823
+ end
1824
+ end
1825
+
1661
1826
  # Snapshot of the configurations used to generate the profile.
1662
1827
  class GooglePrivacyDlpV2DataProfileConfigSnapshot
1663
1828
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DlpV2
18
18
  # Version of the google-apis-dlp_v2 gem
19
- GEM_VERSION = "0.45.0"
19
+ GEM_VERSION = "0.46.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230521"
25
+ REVISION = "20230618"
26
26
  end
27
27
  end
28
28
  end
@@ -178,6 +178,12 @@ module Google
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
+ class GooglePrivacyDlpV2ColumnDataProfile
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
181
187
  class GooglePrivacyDlpV2Condition
182
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
189
 
@@ -274,6 +280,12 @@ module Google
274
280
  include Google::Apis::Core::JsonObjectSupport
275
281
  end
276
282
 
283
+ class GooglePrivacyDlpV2DataProfileBigQueryRowSchema
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
277
289
  class GooglePrivacyDlpV2DataProfileConfigSnapshot
278
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
291
 
@@ -1665,6 +1677,37 @@ module Google
1665
1677
  end
1666
1678
  end
1667
1679
 
1680
+ class GooglePrivacyDlpV2ColumnDataProfile
1681
+ # @private
1682
+ class Representation < Google::Apis::Core::JsonRepresentation
1683
+ property :column, as: 'column'
1684
+ property :column_info_type, as: 'columnInfoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeSummary, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeSummary::Representation
1685
+
1686
+ property :column_type, as: 'columnType'
1687
+ property :data_risk_level, as: 'dataRiskLevel', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel::Representation
1688
+
1689
+ property :dataset_id, as: 'datasetId'
1690
+ property :dataset_location, as: 'datasetLocation'
1691
+ property :dataset_project_id, as: 'datasetProjectId'
1692
+ property :estimated_null_percentage, as: 'estimatedNullPercentage'
1693
+ property :estimated_uniqueness_score, as: 'estimatedUniquenessScore'
1694
+ property :free_text_score, as: 'freeTextScore'
1695
+ property :name, as: 'name'
1696
+ collection :other_matches, as: 'otherMatches', class: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherInfoTypeSummary, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherInfoTypeSummary::Representation
1697
+
1698
+ property :policy_state, as: 'policyState'
1699
+ property :profile_last_generated, as: 'profileLastGenerated'
1700
+ property :profile_status, as: 'profileStatus', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ProfileStatus, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ProfileStatus::Representation
1701
+
1702
+ property :sensitivity_score, as: 'sensitivityScore', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore::Representation
1703
+
1704
+ property :state, as: 'state'
1705
+ property :table_data_profile, as: 'tableDataProfile'
1706
+ property :table_full_resource, as: 'tableFullResource'
1707
+ property :table_id, as: 'tableId'
1708
+ end
1709
+ end
1710
+
1668
1711
  class GooglePrivacyDlpV2Condition
1669
1712
  # @private
1670
1713
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1856,6 +1899,16 @@ module Google
1856
1899
  end
1857
1900
  end
1858
1901
 
1902
+ class GooglePrivacyDlpV2DataProfileBigQueryRowSchema
1903
+ # @private
1904
+ class Representation < Google::Apis::Core::JsonRepresentation
1905
+ property :column_profile, as: 'columnProfile', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile::Representation
1906
+
1907
+ property :table_profile, as: 'tableProfile', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile::Representation
1908
+
1909
+ end
1910
+ end
1911
+
1859
1912
  class GooglePrivacyDlpV2DataProfileConfigSnapshot
1860
1913
  # @private
1861
1914
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dlp_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.45.0
4
+ version: 0.46.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-28 00:00:00.000000000 Z
11
+ date: 2023-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.45.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.46.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2
63
63
  post_install_message:
64
64
  rdoc_options: []