google-apis-dataplex_v1 0.18.0 → 0.20.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 857d68516d35b8e3614a863b60ed62dccf7af68026446e5d41204520ab641ed0
|
4
|
+
data.tar.gz: 180fe0489805722f8fbd6aa6c06f5b8b5cd8d16ea79db1c81697839292eb7652
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 458a20e7d4fae0a708fafd4c3416f047d1d318d498502bc44bae8b98311e4766d350fadabf295cdcae56668d2e032e4c7f1e84e5489df07491359c4fc303f6dc
|
7
|
+
data.tar.gz: 3055f42630cd323a1115a6a12595edf056fe8059963a033fcf76bdc0f0b004553e220853c7feee92d5c0f2404956785ad161c6c3469ddccea50a0057f42f3561
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-dataplex_v1
|
2
2
|
|
3
|
+
### v0.20.0 (2023-01-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230102
|
6
|
+
* Regenerated using generator version 0.11.1
|
7
|
+
|
8
|
+
### v0.19.0 (2022-12-14)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20221212
|
11
|
+
|
3
12
|
### v0.18.0 (2022-12-05)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20221130
|
@@ -471,8 +471,8 @@ module Google
|
|
471
471
|
# 60 minutes apart. The default value is to run discovery every 60 minutes. To
|
472
472
|
# explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "
|
473
473
|
# CRON_TZ=$`IANA_TIME_ZONE`" or TZ=$`IANA_TIME_ZONE`". The $`IANA_TIME_ZONE` may
|
474
|
-
# only be a valid string from IANA time zone database. For example,
|
475
|
-
# America/New_York 1 * * *
|
474
|
+
# only be a valid string from IANA time zone database. For example, CRON_TZ=
|
475
|
+
# America/New_York 1 * * * *, or TZ=America/New_York 1 * * * *.
|
476
476
|
# Corresponds to the JSON property `schedule`
|
477
477
|
# @return [String]
|
478
478
|
attr_accessor :schedule
|
@@ -657,6 +657,12 @@ module Google
|
|
657
657
|
# @return [String]
|
658
658
|
attr_accessor :name
|
659
659
|
|
660
|
+
# Optional. Determines how read permissions are handled for each asset and their
|
661
|
+
# associated tables. Only available to storage buckets assets.
|
662
|
+
# Corresponds to the JSON property `readAccessMode`
|
663
|
+
# @return [String]
|
664
|
+
attr_accessor :read_access_mode
|
665
|
+
|
660
666
|
# Required. Immutable. Type of resource.
|
661
667
|
# Corresponds to the JSON property `type`
|
662
668
|
# @return [String]
|
@@ -669,6 +675,7 @@ module Google
|
|
669
675
|
# Update properties of this object
|
670
676
|
def update!(**args)
|
671
677
|
@name = args[:name] if args.key?(:name)
|
678
|
+
@read_access_mode = args[:read_access_mode] if args.key?(:read_access_mode)
|
672
679
|
@type = args[:type] if args.key?(:type)
|
673
680
|
end
|
674
681
|
end
|
@@ -901,13 +908,12 @@ module Google
|
|
901
908
|
class GoogleCloudDataplexV1DataProfileResult
|
902
909
|
include Google::Apis::Core::Hashable
|
903
910
|
|
904
|
-
#
|
905
|
-
# contains the profile info.
|
911
|
+
# Contains name, type, mode and field type specific profile information.
|
906
912
|
# Corresponds to the JSON property `profile`
|
907
913
|
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfile]
|
908
914
|
attr_accessor :profile
|
909
915
|
|
910
|
-
# The count of
|
916
|
+
# The count of rows scanned.
|
911
917
|
# Corresponds to the JSON property `rowCount`
|
912
918
|
# @return [Fixnum]
|
913
919
|
attr_accessor :row_count
|
@@ -929,12 +935,11 @@ module Google
|
|
929
935
|
end
|
930
936
|
end
|
931
937
|
|
932
|
-
#
|
933
|
-
# contains the profile info.
|
938
|
+
# Contains name, type, mode and field type specific profile information.
|
934
939
|
class GoogleCloudDataplexV1DataProfileResultProfile
|
935
940
|
include Google::Apis::Core::Hashable
|
936
941
|
|
937
|
-
#
|
942
|
+
# List of fields with structural and profile information for each field.
|
938
943
|
# Corresponds to the JSON property `fields`
|
939
944
|
# @return [Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileField>]
|
940
945
|
attr_accessor :fields
|
@@ -949,12 +954,13 @@ module Google
|
|
949
954
|
end
|
950
955
|
end
|
951
956
|
|
952
|
-
#
|
957
|
+
# A field within a table.
|
953
958
|
class GoogleCloudDataplexV1DataProfileResultProfileField
|
954
959
|
include Google::Apis::Core::Hashable
|
955
960
|
|
956
|
-
# The mode of the field.
|
957
|
-
# NULLABLE, if it is an optional field. REPEATED, if it is a repeated
|
961
|
+
# The mode of the field. Possible values include: REQUIRED, if it is a required
|
962
|
+
# field. NULLABLE, if it is an optional field. REPEATED, if it is a repeated
|
963
|
+
# field.
|
958
964
|
# Corresponds to the JSON property `mode`
|
959
965
|
# @return [String]
|
960
966
|
attr_accessor :mode
|
@@ -964,7 +970,7 @@ module Google
|
|
964
970
|
# @return [String]
|
965
971
|
attr_accessor :name
|
966
972
|
|
967
|
-
#
|
973
|
+
# The profile information for each field type.
|
968
974
|
# Corresponds to the JSON property `profile`
|
969
975
|
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo]
|
970
976
|
attr_accessor :profile
|
@@ -988,39 +994,40 @@ module Google
|
|
988
994
|
end
|
989
995
|
end
|
990
996
|
|
991
|
-
#
|
997
|
+
# The profile information for each field type.
|
992
998
|
class GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo
|
993
999
|
include Google::Apis::Core::Hashable
|
994
1000
|
|
995
|
-
#
|
1001
|
+
# Ratio of rows with distinct values against total scanned rows. Not available
|
1002
|
+
# for complex non-groupable field type RECORD and fields with REPEATABLE mode.
|
996
1003
|
# Corresponds to the JSON property `distinctRatio`
|
997
1004
|
# @return [Float]
|
998
1005
|
attr_accessor :distinct_ratio
|
999
1006
|
|
1000
|
-
#
|
1007
|
+
# The profile information for a double type field.
|
1001
1008
|
# Corresponds to the JSON property `doubleProfile`
|
1002
1009
|
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo]
|
1003
1010
|
attr_accessor :double_profile
|
1004
1011
|
|
1005
|
-
#
|
1012
|
+
# The profile information for an integer type field.
|
1006
1013
|
# Corresponds to the JSON property `integerProfile`
|
1007
1014
|
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo]
|
1008
1015
|
attr_accessor :integer_profile
|
1009
1016
|
|
1010
|
-
#
|
1017
|
+
# Ratio of rows with null value against total scanned rows.
|
1011
1018
|
# Corresponds to the JSON property `nullRatio`
|
1012
1019
|
# @return [Float]
|
1013
1020
|
attr_accessor :null_ratio
|
1014
1021
|
|
1015
|
-
#
|
1022
|
+
# The profile information for a string type field.
|
1016
1023
|
# Corresponds to the JSON property `stringProfile`
|
1017
1024
|
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo]
|
1018
1025
|
attr_accessor :string_profile
|
1019
1026
|
|
1020
|
-
# The
|
1021
|
-
#
|
1022
|
-
#
|
1023
|
-
#
|
1027
|
+
# The list of top N non-null values and number of times they occur in the
|
1028
|
+
# scanned data. N is 10 or equal to the number of distinct values in the field,
|
1029
|
+
# whichever is smaller. Not available for complex non-groupable field type
|
1030
|
+
# RECORD and fields with REPEATABLE mode.
|
1024
1031
|
# Corresponds to the JSON property `topNValues`
|
1025
1032
|
# @return [Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue>]
|
1026
1033
|
attr_accessor :top_n_values
|
@@ -1040,43 +1047,41 @@ module Google
|
|
1040
1047
|
end
|
1041
1048
|
end
|
1042
1049
|
|
1043
|
-
#
|
1050
|
+
# The profile information for a double type field.
|
1044
1051
|
class GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo
|
1045
1052
|
include Google::Apis::Core::Hashable
|
1046
1053
|
|
1047
|
-
#
|
1048
|
-
# if the field has a NaN. Optional if zero non-null rows.
|
1054
|
+
# Average of non-null values in the scanned data. NaN, if the field has a NaN.
|
1049
1055
|
# Corresponds to the JSON property `average`
|
1050
1056
|
# @return [Float]
|
1051
1057
|
attr_accessor :average
|
1052
1058
|
|
1053
|
-
#
|
1054
|
-
# field has a NaN. Optional if zero non-null rows.
|
1059
|
+
# Maximum of non-null values in the scanned data. NaN, if the field has a NaN.
|
1055
1060
|
# Corresponds to the JSON property `max`
|
1056
1061
|
# @return [Float]
|
1057
1062
|
attr_accessor :max
|
1058
1063
|
|
1059
|
-
#
|
1060
|
-
# field has a NaN. Optional if zero non-null rows.
|
1064
|
+
# Minimum of non-null values in the scanned data. NaN, if the field has a NaN.
|
1061
1065
|
# Corresponds to the JSON property `min`
|
1062
1066
|
# @return [Float]
|
1063
1067
|
attr_accessor :min
|
1064
1068
|
|
1065
|
-
# A quartile
|
1069
|
+
# A quartile divides the number of data points into four parts, or quarters, of
|
1066
1070
|
# more-or-less equal size. Three main quartiles used are: The first quartile (Q1)
|
1067
1071
|
# splits off the lowest 25% of data from the highest 75%. It is also known as
|
1068
1072
|
# the lower or 25th empirical quartile, as 25% of the data is below this point.
|
1069
1073
|
# The second quartile (Q2) is the median of a data set. So, 50% of the data lies
|
1070
1074
|
# below this point. The third quartile (Q3) splits off the highest 25% of data
|
1071
1075
|
# from the lowest 75%. It is known as the upper or 75th empirical quartile, as
|
1072
|
-
# 75% of the data lies below this point.
|
1073
|
-
#
|
1076
|
+
# 75% of the data lies below this point. Here, the quartiles is provided as an
|
1077
|
+
# ordered list of quartile values for the scanned data, occurring in order Q1,
|
1078
|
+
# median, Q3.
|
1074
1079
|
# Corresponds to the JSON property `quartiles`
|
1075
1080
|
# @return [Array<Float>]
|
1076
1081
|
attr_accessor :quartiles
|
1077
1082
|
|
1078
|
-
#
|
1079
|
-
#
|
1083
|
+
# Standard deviation of non-null values in the scanned data. NaN, if the field
|
1084
|
+
# has a NaN.
|
1080
1085
|
# Corresponds to the JSON property `standardDeviation`
|
1081
1086
|
# @return [Float]
|
1082
1087
|
attr_accessor :standard_deviation
|
@@ -1095,43 +1100,41 @@ module Google
|
|
1095
1100
|
end
|
1096
1101
|
end
|
1097
1102
|
|
1098
|
-
#
|
1103
|
+
# The profile information for an integer type field.
|
1099
1104
|
class GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo
|
1100
1105
|
include Google::Apis::Core::Hashable
|
1101
1106
|
|
1102
|
-
#
|
1103
|
-
# NaN, if the field has a NaN. Optional if zero non-null rows.
|
1107
|
+
# Average of non-null values in the scanned data. NaN, if the field has a NaN.
|
1104
1108
|
# Corresponds to the JSON property `average`
|
1105
1109
|
# @return [Float]
|
1106
1110
|
attr_accessor :average
|
1107
1111
|
|
1108
|
-
#
|
1109
|
-
# field has a NaN. Optional if zero non-null rows.
|
1112
|
+
# Maximum of non-null values in the scanned data. NaN, if the field has a NaN.
|
1110
1113
|
# Corresponds to the JSON property `max`
|
1111
1114
|
# @return [Fixnum]
|
1112
1115
|
attr_accessor :max
|
1113
1116
|
|
1114
|
-
#
|
1115
|
-
# field has a NaN. Optional if zero non-null rows.
|
1117
|
+
# Minimum of non-null values in the scanned data. NaN, if the field has a NaN.
|
1116
1118
|
# Corresponds to the JSON property `min`
|
1117
1119
|
# @return [Fixnum]
|
1118
1120
|
attr_accessor :min
|
1119
1121
|
|
1120
|
-
# A quartile
|
1122
|
+
# A quartile divides the number of data points into four parts, or quarters, of
|
1121
1123
|
# more-or-less equal size. Three main quartiles used are: The first quartile (Q1)
|
1122
1124
|
# splits off the lowest 25% of data from the highest 75%. It is also known as
|
1123
1125
|
# the lower or 25th empirical quartile, as 25% of the data is below this point.
|
1124
1126
|
# The second quartile (Q2) is the median of a data set. So, 50% of the data lies
|
1125
1127
|
# below this point. The third quartile (Q3) splits off the highest 25% of data
|
1126
1128
|
# from the lowest 75%. It is known as the upper or 75th empirical quartile, as
|
1127
|
-
# 75% of the data lies below this point.
|
1128
|
-
#
|
1129
|
+
# 75% of the data lies below this point. Here, the quartiles is provided as an
|
1130
|
+
# ordered list of quartile values for the scanned data, occurring in order Q1,
|
1131
|
+
# median, Q3.
|
1129
1132
|
# Corresponds to the JSON property `quartiles`
|
1130
1133
|
# @return [Array<Fixnum>]
|
1131
1134
|
attr_accessor :quartiles
|
1132
1135
|
|
1133
|
-
#
|
1134
|
-
#
|
1136
|
+
# Standard deviation of non-null values in the scanned data. NaN, if the field
|
1137
|
+
# has a NaN.
|
1135
1138
|
# Corresponds to the JSON property `standardDeviation`
|
1136
1139
|
# @return [Float]
|
1137
1140
|
attr_accessor :standard_deviation
|
@@ -1150,24 +1153,21 @@ module Google
|
|
1150
1153
|
end
|
1151
1154
|
end
|
1152
1155
|
|
1153
|
-
#
|
1156
|
+
# The profile information for a string type field.
|
1154
1157
|
class GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo
|
1155
1158
|
include Google::Apis::Core::Hashable
|
1156
1159
|
|
1157
|
-
#
|
1158
|
-
# null rows.
|
1160
|
+
# Average length of non-null values in the scanned data.
|
1159
1161
|
# Corresponds to the JSON property `averageLength`
|
1160
1162
|
# @return [Float]
|
1161
1163
|
attr_accessor :average_length
|
1162
1164
|
|
1163
|
-
#
|
1164
|
-
# null rows.
|
1165
|
+
# Maximum length of non-null values in the scanned data.
|
1165
1166
|
# Corresponds to the JSON property `maxLength`
|
1166
1167
|
# @return [Fixnum]
|
1167
1168
|
attr_accessor :max_length
|
1168
1169
|
|
1169
|
-
#
|
1170
|
-
# non-null rows.
|
1170
|
+
# Minimum length of non-null values in the scanned data.
|
1171
1171
|
# Corresponds to the JSON property `minLength`
|
1172
1172
|
# @return [Fixnum]
|
1173
1173
|
attr_accessor :min_length
|
@@ -1184,16 +1184,16 @@ module Google
|
|
1184
1184
|
end
|
1185
1185
|
end
|
1186
1186
|
|
1187
|
-
#
|
1187
|
+
# Top N non-null values in the scanned data.
|
1188
1188
|
class GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue
|
1189
1189
|
include Google::Apis::Core::Hashable
|
1190
1190
|
|
1191
|
-
#
|
1191
|
+
# Count of the corresponding value in the scanned data.
|
1192
1192
|
# Corresponds to the JSON property `count`
|
1193
1193
|
# @return [Fixnum]
|
1194
1194
|
attr_accessor :count
|
1195
1195
|
|
1196
|
-
#
|
1196
|
+
# String value of a top N non-null value.
|
1197
1197
|
# Corresponds to the JSON property `value`
|
1198
1198
|
# @return [String]
|
1199
1199
|
attr_accessor :value
|
@@ -1222,8 +1222,8 @@ module Google
|
|
1222
1222
|
end
|
1223
1223
|
end
|
1224
1224
|
|
1225
|
-
# DataQualityDimensionResult provides a more detailed, per-dimension
|
1226
|
-
#
|
1225
|
+
# DataQualityDimensionResult provides a more detailed, per-dimension view of the
|
1226
|
+
# results.
|
1227
1227
|
class GoogleCloudDataplexV1DataQualityDimensionResult
|
1228
1228
|
include Google::Apis::Core::Hashable
|
1229
1229
|
|
@@ -1247,7 +1247,7 @@ module Google
|
|
1247
1247
|
class GoogleCloudDataplexV1DataQualityResult
|
1248
1248
|
include Google::Apis::Core::Hashable
|
1249
1249
|
|
1250
|
-
# A list of results at the dimension
|
1250
|
+
# A list of results at the dimension level.
|
1251
1251
|
# Corresponds to the JSON property `dimensions`
|
1252
1252
|
# @return [Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityDimensionResult>]
|
1253
1253
|
attr_accessor :dimensions
|
@@ -1297,7 +1297,7 @@ module Google
|
|
1297
1297
|
attr_accessor :column
|
1298
1298
|
|
1299
1299
|
# Required. The dimension a rule belongs to. Results are also aggregated at the
|
1300
|
-
# dimension
|
1300
|
+
# dimension level. Supported dimensions are "COMPLETENESS", "ACCURACY", "
|
1301
1301
|
# CONSISTENCY", "VALIDITY", "UNIQUENESS", "INTEGRITY"
|
1302
1302
|
# Corresponds to the JSON property `dimension`
|
1303
1303
|
# @return [String]
|
@@ -1305,7 +1305,7 @@ module Google
|
|
1305
1305
|
|
1306
1306
|
# Optional. Rows with null values will automatically fail a rule, unless
|
1307
1307
|
# ignore_null is true. In that case, such null rows are trivially considered
|
1308
|
-
# passing.
|
1308
|
+
# passing.Only applicable to ColumnMap rules.
|
1309
1309
|
# Corresponds to the JSON property `ignoreNull`
|
1310
1310
|
# @return [Boolean]
|
1311
1311
|
attr_accessor :ignore_null
|
@@ -1326,9 +1326,9 @@ module Google
|
|
1326
1326
|
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleRegexExpectation]
|
1327
1327
|
attr_accessor :regex_expectation
|
1328
1328
|
|
1329
|
-
# Evaluates whether each row passes the specified condition.
|
1330
|
-
# needs to use BigQuery standard SQL syntax and should produce a boolean
|
1331
|
-
# as the result.
|
1329
|
+
# Evaluates whether each row passes the specified condition.The SQL expression
|
1330
|
+
# needs to use BigQuery standard SQL syntax and should produce a boolean value
|
1331
|
+
# per row as the result.Example: col1 >= 0 AND col2 < 10
|
1332
1332
|
# Corresponds to the JSON property `rowConditionExpectation`
|
1333
1333
|
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation]
|
1334
1334
|
attr_accessor :row_condition_expectation
|
@@ -1344,7 +1344,7 @@ module Google
|
|
1344
1344
|
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation]
|
1345
1345
|
attr_accessor :statistic_range_expectation
|
1346
1346
|
|
1347
|
-
# Evaluates whether the provided expression is true.
|
1347
|
+
# Evaluates whether the provided expression is true.The SQL expression needs to
|
1348
1348
|
# use BigQuery standard SQL syntax and should produce a scalar boolean result.
|
1349
1349
|
# Example: MIN(col1) >= 0
|
1350
1350
|
# Corresponds to the JSON property `tableConditionExpectation`
|
@@ -1352,7 +1352,7 @@ module Google
|
|
1352
1352
|
attr_accessor :table_condition_expectation
|
1353
1353
|
|
1354
1354
|
# Optional. The minimum ratio of passing_rows / total_rows required to pass this
|
1355
|
-
# rule, with a range of 0.0, 1.
|
1355
|
+
# rule, with a range of 0.0, 1.0.0 indicates default value (i.e. 1.0).
|
1356
1356
|
# Corresponds to the JSON property `threshold`
|
1357
1357
|
# @return [Float]
|
1358
1358
|
attr_accessor :threshold
|
@@ -1413,7 +1413,7 @@ module Google
|
|
1413
1413
|
attr_accessor :min_value
|
1414
1414
|
|
1415
1415
|
# Optional. Whether each value needs to be strictly lesser than ('<') the
|
1416
|
-
# maximum, or if equality is allowed.
|
1416
|
+
# maximum, or if equality is allowed.Only relevant if a max_value has been
|
1417
1417
|
# defined. Default = false.
|
1418
1418
|
# Corresponds to the JSON property `strictMaxEnabled`
|
1419
1419
|
# @return [Boolean]
|
@@ -1421,7 +1421,7 @@ module Google
|
|
1421
1421
|
alias_method :strict_max_enabled?, :strict_max_enabled
|
1422
1422
|
|
1423
1423
|
# Optional. Whether each value needs to be strictly greater than ('>') the
|
1424
|
-
# minimum, or if equality is allowed.
|
1424
|
+
# minimum, or if equality is allowed.Only relevant if a min_value has been
|
1425
1425
|
# defined. Default = false.
|
1426
1426
|
# Corresponds to the JSON property `strictMinEnabled`
|
1427
1427
|
# @return [Boolean]
|
@@ -1445,7 +1445,7 @@ module Google
|
|
1445
1445
|
class GoogleCloudDataplexV1DataQualityRuleRegexExpectation
|
1446
1446
|
include Google::Apis::Core::Hashable
|
1447
1447
|
|
1448
|
-
#
|
1448
|
+
# A regular expression the column value is expected to match.
|
1449
1449
|
# Corresponds to the JSON property `regex`
|
1450
1450
|
# @return [String]
|
1451
1451
|
attr_accessor :regex
|
@@ -1460,15 +1460,14 @@ module Google
|
|
1460
1460
|
end
|
1461
1461
|
end
|
1462
1462
|
|
1463
|
-
# DataQualityRuleResult provides a more detailed, per-rule
|
1464
|
-
# results.
|
1463
|
+
# DataQualityRuleResult provides a more detailed, per-rule view of the results.
|
1465
1464
|
class GoogleCloudDataplexV1DataQualityRuleResult
|
1466
1465
|
include Google::Apis::Core::Hashable
|
1467
1466
|
|
1468
1467
|
# The number of rows a rule was evaluated against. This field is only valid for
|
1469
|
-
# ColumnMap type rules.
|
1470
|
-
#
|
1471
|
-
#
|
1468
|
+
# ColumnMap type rules.Evaluated count can be configured to either include all
|
1469
|
+
# rows (default) - with null rows automatically failing rule evaluation, or
|
1470
|
+
# exclude null rows from the evaluated_count, by setting ignore_nulls = true.
|
1472
1471
|
# Corresponds to the JSON property `evaluatedCount`
|
1473
1472
|
# @return [Fixnum]
|
1474
1473
|
attr_accessor :evaluated_count
|
@@ -1523,13 +1522,13 @@ module Google
|
|
1523
1522
|
end
|
1524
1523
|
end
|
1525
1524
|
|
1526
|
-
# Evaluates whether each row passes the specified condition.
|
1527
|
-
# needs to use BigQuery standard SQL syntax and should produce a boolean
|
1528
|
-
# as the result.
|
1525
|
+
# Evaluates whether each row passes the specified condition.The SQL expression
|
1526
|
+
# needs to use BigQuery standard SQL syntax and should produce a boolean value
|
1527
|
+
# per row as the result.Example: col1 >= 0 AND col2 < 10
|
1529
1528
|
class GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation
|
1530
1529
|
include Google::Apis::Core::Hashable
|
1531
1530
|
|
1532
|
-
#
|
1531
|
+
# The SQL expression.
|
1533
1532
|
# Corresponds to the JSON property `sqlExpression`
|
1534
1533
|
# @return [String]
|
1535
1534
|
attr_accessor :sql_expression
|
@@ -1548,7 +1547,7 @@ module Google
|
|
1548
1547
|
class GoogleCloudDataplexV1DataQualityRuleSetExpectation
|
1549
1548
|
include Google::Apis::Core::Hashable
|
1550
1549
|
|
1551
|
-
#
|
1550
|
+
# Expected values for the column value.
|
1552
1551
|
# Corresponds to the JSON property `values`
|
1553
1552
|
# @return [Array<String>]
|
1554
1553
|
attr_accessor :values
|
@@ -1586,7 +1585,7 @@ module Google
|
|
1586
1585
|
attr_accessor :statistic
|
1587
1586
|
|
1588
1587
|
# Whether column statistic needs to be strictly lesser than ('<') the maximum,
|
1589
|
-
# or if equality is allowed.
|
1588
|
+
# or if equality is allowed.Only relevant if a max_value has been defined.
|
1590
1589
|
# Default = false.
|
1591
1590
|
# Corresponds to the JSON property `strictMaxEnabled`
|
1592
1591
|
# @return [Boolean]
|
@@ -1594,7 +1593,7 @@ module Google
|
|
1594
1593
|
alias_method :strict_max_enabled?, :strict_max_enabled
|
1595
1594
|
|
1596
1595
|
# Whether column statistic needs to be strictly greater than ('>') the minimum,
|
1597
|
-
# or if equality is allowed.
|
1596
|
+
# or if equality is allowed.Only relevant if a min_value has been defined.
|
1598
1597
|
# Default = false.
|
1599
1598
|
# Corresponds to the JSON property `strictMinEnabled`
|
1600
1599
|
# @return [Boolean]
|
@@ -1615,13 +1614,13 @@ module Google
|
|
1615
1614
|
end
|
1616
1615
|
end
|
1617
1616
|
|
1618
|
-
# Evaluates whether the provided expression is true.
|
1617
|
+
# Evaluates whether the provided expression is true.The SQL expression needs to
|
1619
1618
|
# use BigQuery standard SQL syntax and should produce a scalar boolean result.
|
1620
1619
|
# Example: MIN(col1) >= 0
|
1621
1620
|
class GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation
|
1622
1621
|
include Google::Apis::Core::Hashable
|
1623
1622
|
|
1624
|
-
#
|
1623
|
+
# The SQL expression.
|
1625
1624
|
# Corresponds to the JSON property `sqlExpression`
|
1626
1625
|
# @return [String]
|
1627
1626
|
attr_accessor :sql_expression
|
@@ -1670,8 +1669,8 @@ module Google
|
|
1670
1669
|
end
|
1671
1670
|
|
1672
1671
|
# Represents a user-visible job which provides the insights for the related data
|
1673
|
-
# source.
|
1674
|
-
#
|
1672
|
+
# source.For example: Data Quality: generates queries based on the rules and
|
1673
|
+
# runs against the data to get data quality check results. Data Profile:
|
1675
1674
|
# analyzes the data in table(s) and generates insights about the structure,
|
1676
1675
|
# content and relationships (such as null percent, cardinality, min/max/mean,
|
1677
1676
|
# etc).
|
@@ -1709,12 +1708,12 @@ module Google
|
|
1709
1708
|
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualitySpec]
|
1710
1709
|
attr_accessor :data_quality_spec
|
1711
1710
|
|
1712
|
-
# Optional. Description of the scan.
|
1711
|
+
# Optional. Description of the scan. Must be between 1-1024 characters.
|
1713
1712
|
# Corresponds to the JSON property `description`
|
1714
1713
|
# @return [String]
|
1715
1714
|
attr_accessor :description
|
1716
1715
|
|
1717
|
-
# Optional. User friendly display name.
|
1716
|
+
# Optional. User friendly display name. Must be between 1-256 characters.
|
1718
1717
|
# Corresponds to the JSON property `displayName`
|
1719
1718
|
# @return [String]
|
1720
1719
|
attr_accessor :display_name
|
@@ -1735,9 +1734,8 @@ module Google
|
|
1735
1734
|
attr_accessor :labels
|
1736
1735
|
|
1737
1736
|
# Output only. The relative resource name of the scan, of the form: projects/`
|
1738
|
-
# project`/locations/`location_id`/dataScans/`datascan_id
|
1739
|
-
#
|
1740
|
-
# region.
|
1737
|
+
# project`/locations/`location_id`/dataScans/`datascan_id`, where project refers
|
1738
|
+
# to a project_id or project_number and location_id refers to a GCP region.
|
1741
1739
|
# Corresponds to the JSON property `name`
|
1742
1740
|
# @return [String]
|
1743
1741
|
attr_accessor :name
|
@@ -1931,8 +1929,9 @@ module Google
|
|
1931
1929
|
class GoogleCloudDataplexV1DataScanExecutionSpec
|
1932
1930
|
include Google::Apis::Core::Hashable
|
1933
1931
|
|
1934
|
-
# Immutable. The unnested field (Date or Timestamp) that contains values
|
1935
|
-
# monotonically increase over time.
|
1932
|
+
# Immutable. The unnested field (of type Date or Timestamp) that contains values
|
1933
|
+
# which monotonically increase over time.If not specified, a data scan will run
|
1934
|
+
# for all data in the table.
|
1936
1935
|
# Corresponds to the JSON property `field`
|
1937
1936
|
# @return [String]
|
1938
1937
|
attr_accessor :field
|
@@ -1978,7 +1977,7 @@ module Google
|
|
1978
1977
|
end
|
1979
1978
|
end
|
1980
1979
|
|
1981
|
-
# A DataScanJob represents an instance of
|
1980
|
+
# A DataScanJob represents an instance of DataScan execution.
|
1982
1981
|
class GoogleCloudDataplexV1DataScanJob
|
1983
1982
|
include Google::Apis::Core::Hashable
|
1984
1983
|
|
@@ -2015,7 +2014,7 @@ module Google
|
|
2015
2014
|
|
2016
2015
|
# Output only. The relative resource name of the DataScanJob, of the form:
|
2017
2016
|
# projects/`project`/locations/`location_id`/dataScans/`datascan_id`/jobs/`
|
2018
|
-
# job_id
|
2017
|
+
# job_id`, where project refers to a project_id or project_number and
|
2019
2018
|
# location_id refers to a GCP region.
|
2020
2019
|
# Corresponds to the JSON property `name`
|
2021
2020
|
# @return [String]
|
@@ -2065,9 +2064,9 @@ module Google
|
|
2065
2064
|
class GoogleCloudDataplexV1DataSource
|
2066
2065
|
include Google::Apis::Core::Hashable
|
2067
2066
|
|
2068
|
-
# Immutable. The
|
2069
|
-
# form: projects/`project_number`/locations/`
|
2070
|
-
# zone_id`/entities/`entity_id`.
|
2067
|
+
# Immutable. The Dataplex entity that represents the data source (e.g. BigQuery
|
2068
|
+
# table) for DataScan, of the form: projects/`project_number`/locations/`
|
2069
|
+
# location_id`/lakes/`lake_id`/zones/`zone_id`/entities/`entity_id`.
|
2071
2070
|
# Corresponds to the JSON property `entity`
|
2072
2071
|
# @return [String]
|
2073
2072
|
attr_accessor :entity
|
@@ -2264,6 +2263,11 @@ module Google
|
|
2264
2263
|
class GoogleCloudDataplexV1Entity
|
2265
2264
|
include Google::Apis::Core::Hashable
|
2266
2265
|
|
2266
|
+
# Describes the access mechanism of the data within its storage location.
|
2267
|
+
# Corresponds to the JSON property `access`
|
2268
|
+
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1StorageAccess]
|
2269
|
+
attr_accessor :access
|
2270
|
+
|
2267
2271
|
# Required. Immutable. The ID of the asset associated with the storage location
|
2268
2272
|
# containing the entity data. The entity must be with in the same zone with the
|
2269
2273
|
# asset.
|
@@ -2353,6 +2357,12 @@ module Google
|
|
2353
2357
|
# @return [String]
|
2354
2358
|
attr_accessor :type
|
2355
2359
|
|
2360
|
+
# Output only. System generated unique ID for the Entity. This ID will be
|
2361
|
+
# different if the Entity is deleted and re-created with the same name.
|
2362
|
+
# Corresponds to the JSON property `uid`
|
2363
|
+
# @return [String]
|
2364
|
+
attr_accessor :uid
|
2365
|
+
|
2356
2366
|
# Output only. The time when the entity was last updated.
|
2357
2367
|
# Corresponds to the JSON property `updateTime`
|
2358
2368
|
# @return [String]
|
@@ -2364,6 +2374,7 @@ module Google
|
|
2364
2374
|
|
2365
2375
|
# Update properties of this object
|
2366
2376
|
def update!(**args)
|
2377
|
+
@access = args[:access] if args.key?(:access)
|
2367
2378
|
@asset = args[:asset] if args.key?(:asset)
|
2368
2379
|
@catalog_entry = args[:catalog_entry] if args.key?(:catalog_entry)
|
2369
2380
|
@compatibility = args[:compatibility] if args.key?(:compatibility)
|
@@ -2379,6 +2390,7 @@ module Google
|
|
2379
2390
|
@schema = args[:schema] if args.key?(:schema)
|
2380
2391
|
@system = args[:system] if args.key?(:system)
|
2381
2392
|
@type = args[:type] if args.key?(:type)
|
2393
|
+
@uid = args[:uid] if args.key?(:uid)
|
2382
2394
|
@update_time = args[:update_time] if args.key?(:update_time)
|
2383
2395
|
end
|
2384
2396
|
end
|
@@ -3076,7 +3088,7 @@ module Google
|
|
3076
3088
|
class GoogleCloudDataplexV1ListDataScanJobsResponse
|
3077
3089
|
include Google::Apis::Core::Hashable
|
3078
3090
|
|
3079
|
-
# DataScanJobs (
|
3091
|
+
# DataScanJobs (BASIC view only) under a given dataScan.
|
3080
3092
|
# Corresponds to the JSON property `dataScanJobs`
|
3081
3093
|
# @return [Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanJob>]
|
3082
3094
|
attr_accessor :data_scan_jobs
|
@@ -3102,7 +3114,7 @@ module Google
|
|
3102
3114
|
class GoogleCloudDataplexV1ListDataScansResponse
|
3103
3115
|
include Google::Apis::Core::Hashable
|
3104
3116
|
|
3105
|
-
# DataScans (
|
3117
|
+
# DataScans (BASIC view only) under the given parent location.
|
3106
3118
|
# Corresponds to the JSON property `dataScans`
|
3107
3119
|
# @return [Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScan>]
|
3108
3120
|
attr_accessor :data_scans
|
@@ -3469,7 +3481,7 @@ module Google
|
|
3469
3481
|
class GoogleCloudDataplexV1RunDataScanResponse
|
3470
3482
|
include Google::Apis::Core::Hashable
|
3471
3483
|
|
3472
|
-
# A DataScanJob represents an instance of
|
3484
|
+
# A DataScanJob represents an instance of DataScan execution.
|
3473
3485
|
# Corresponds to the JSON property `job`
|
3474
3486
|
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanJob]
|
3475
3487
|
attr_accessor :job
|
@@ -3484,6 +3496,38 @@ module Google
|
|
3484
3496
|
end
|
3485
3497
|
end
|
3486
3498
|
|
3499
|
+
#
|
3500
|
+
class GoogleCloudDataplexV1RunTaskRequest
|
3501
|
+
include Google::Apis::Core::Hashable
|
3502
|
+
|
3503
|
+
def initialize(**args)
|
3504
|
+
update!(**args)
|
3505
|
+
end
|
3506
|
+
|
3507
|
+
# Update properties of this object
|
3508
|
+
def update!(**args)
|
3509
|
+
end
|
3510
|
+
end
|
3511
|
+
|
3512
|
+
#
|
3513
|
+
class GoogleCloudDataplexV1RunTaskResponse
|
3514
|
+
include Google::Apis::Core::Hashable
|
3515
|
+
|
3516
|
+
# A job represents an instance of a task.
|
3517
|
+
# Corresponds to the JSON property `job`
|
3518
|
+
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1Job]
|
3519
|
+
attr_accessor :job
|
3520
|
+
|
3521
|
+
def initialize(**args)
|
3522
|
+
update!(**args)
|
3523
|
+
end
|
3524
|
+
|
3525
|
+
# Update properties of this object
|
3526
|
+
def update!(**args)
|
3527
|
+
@job = args[:job] if args.key?(:job)
|
3528
|
+
end
|
3529
|
+
end
|
3530
|
+
|
3487
3531
|
# The data scanned during processing (e.g. in incremental DataScan)
|
3488
3532
|
class GoogleCloudDataplexV1ScannedData
|
3489
3533
|
include Google::Apis::Core::Hashable
|
@@ -3507,18 +3551,18 @@ module Google
|
|
3507
3551
|
class GoogleCloudDataplexV1ScannedDataIncrementalField
|
3508
3552
|
include Google::Apis::Core::Hashable
|
3509
3553
|
|
3510
|
-
# Value that marks the end of the range
|
3554
|
+
# Value that marks the end of the range.
|
3511
3555
|
# Corresponds to the JSON property `end`
|
3512
3556
|
# @return [String]
|
3513
3557
|
attr_accessor :end
|
3514
3558
|
|
3515
|
-
# The field that contains values which monotonically increases over time (e.g.
|
3516
|
-
# timestamp).
|
3559
|
+
# The field that contains values which monotonically increases over time (e.g. a
|
3560
|
+
# timestamp column).
|
3517
3561
|
# Corresponds to the JSON property `field`
|
3518
3562
|
# @return [String]
|
3519
3563
|
attr_accessor :field
|
3520
3564
|
|
3521
|
-
# Value that marks the start of the range
|
3565
|
+
# Value that marks the start of the range.
|
3522
3566
|
# Corresponds to the JSON property `start`
|
3523
3567
|
# @return [String]
|
3524
3568
|
attr_accessor :start
|
@@ -3811,6 +3855,26 @@ module Google
|
|
3811
3855
|
end
|
3812
3856
|
end
|
3813
3857
|
|
3858
|
+
# Describes the access mechanism of the data within its storage location.
|
3859
|
+
class GoogleCloudDataplexV1StorageAccess
|
3860
|
+
include Google::Apis::Core::Hashable
|
3861
|
+
|
3862
|
+
# Output only. Describes the read access mechanism of the data. Not user
|
3863
|
+
# settable.
|
3864
|
+
# Corresponds to the JSON property `read`
|
3865
|
+
# @return [String]
|
3866
|
+
attr_accessor :read
|
3867
|
+
|
3868
|
+
def initialize(**args)
|
3869
|
+
update!(**args)
|
3870
|
+
end
|
3871
|
+
|
3872
|
+
# Update properties of this object
|
3873
|
+
def update!(**args)
|
3874
|
+
@read = args[:read] if args.key?(:read)
|
3875
|
+
end
|
3876
|
+
end
|
3877
|
+
|
3814
3878
|
# Describes the format of the data within its storage location.
|
3815
3879
|
class GoogleCloudDataplexV1StorageFormat
|
3816
3880
|
include Google::Apis::Core::Hashable
|
@@ -4393,8 +4457,8 @@ module Google
|
|
4393
4457
|
# periodically. To explicitly set a timezone to the cron tab, apply a prefix in
|
4394
4458
|
# the cron tab: "CRON_TZ=$`IANA_TIME_ZONE`" or "TZ=$`IANA_TIME_ZONE`". The $`
|
4395
4459
|
# IANA_TIME_ZONE` may only be a valid string from IANA time zone database. For
|
4396
|
-
# example,
|
4397
|
-
#
|
4460
|
+
# example, CRON_TZ=America/New_York 1 * * * *, or TZ=America/New_York 1 * * * *.
|
4461
|
+
# This field is required for RECURRING tasks.
|
4398
4462
|
# Corresponds to the JSON property `schedule`
|
4399
4463
|
# @return [String]
|
4400
4464
|
attr_accessor :schedule
|
@@ -4429,7 +4493,7 @@ module Google
|
|
4429
4493
|
class GoogleCloudDataplexV1Trigger
|
4430
4494
|
include Google::Apis::Core::Hashable
|
4431
4495
|
|
4432
|
-
# The scan runs
|
4496
|
+
# The scan runs once via RunDataScan API.
|
4433
4497
|
# Corresponds to the JSON property `onDemand`
|
4434
4498
|
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1TriggerOnDemand]
|
4435
4499
|
attr_accessor :on_demand
|
@@ -4450,7 +4514,7 @@ module Google
|
|
4450
4514
|
end
|
4451
4515
|
end
|
4452
4516
|
|
4453
|
-
# The scan runs
|
4517
|
+
# The scan runs once via RunDataScan API.
|
4454
4518
|
class GoogleCloudDataplexV1TriggerOnDemand
|
4455
4519
|
include Google::Apis::Core::Hashable
|
4456
4520
|
|
@@ -4467,12 +4531,13 @@ module Google
|
|
4467
4531
|
class GoogleCloudDataplexV1TriggerSchedule
|
4468
4532
|
include Google::Apis::Core::Hashable
|
4469
4533
|
|
4470
|
-
# Required. Cron
|
4471
|
-
# periodically.
|
4534
|
+
# Required. Cron (https://en.wikipedia.org/wiki/Cron) schedule for running scans
|
4535
|
+
# periodically.To explicitly set a timezone in the cron tab, apply a prefix in
|
4472
4536
|
# the cron tab: "CRON_TZ=$`IANA_TIME_ZONE`" or "TZ=$`IANA_TIME_ZONE`". The $`
|
4473
|
-
# IANA_TIME_ZONE` may only be a valid string from IANA time zone database
|
4474
|
-
#
|
4475
|
-
# *
|
4537
|
+
# IANA_TIME_ZONE` may only be a valid string from IANA time zone database (
|
4538
|
+
# wikipedia (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List)).
|
4539
|
+
# For example, CRON_TZ=America/New_York 1 * * * *, or TZ=America/New_York 1 * *
|
4540
|
+
# * *.This field is required for Schedule scans.
|
4476
4541
|
# Corresponds to the JSON property `cron`
|
4477
4542
|
# @return [String]
|
4478
4543
|
attr_accessor :cron
|
@@ -4619,8 +4684,8 @@ module Google
|
|
4619
4684
|
# 60 minutes apart. The default value is to run discovery every 60 minutes. To
|
4620
4685
|
# explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "
|
4621
4686
|
# CRON_TZ=$`IANA_TIME_ZONE`" or TZ=$`IANA_TIME_ZONE`". The $`IANA_TIME_ZONE` may
|
4622
|
-
# only be a valid string from IANA time zone database. For example,
|
4623
|
-
# America/New_York 1 * * *
|
4687
|
+
# only be a valid string from IANA time zone database. For example, CRON_TZ=
|
4688
|
+
# America/New_York 1 * * * *, or TZ=America/New_York 1 * * * *.
|
4624
4689
|
# Corresponds to the JSON property `schedule`
|
4625
4690
|
# @return [String]
|
4626
4691
|
attr_accessor :schedule
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DataplexV1
|
18
18
|
# Version of the google-apis-dataplex_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230102"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -568,6 +568,18 @@ module Google
|
|
568
568
|
include Google::Apis::Core::JsonObjectSupport
|
569
569
|
end
|
570
570
|
|
571
|
+
class GoogleCloudDataplexV1RunTaskRequest
|
572
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
|
+
|
574
|
+
include Google::Apis::Core::JsonObjectSupport
|
575
|
+
end
|
576
|
+
|
577
|
+
class GoogleCloudDataplexV1RunTaskResponse
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
|
+
|
580
|
+
include Google::Apis::Core::JsonObjectSupport
|
581
|
+
end
|
582
|
+
|
571
583
|
class GoogleCloudDataplexV1ScannedData
|
572
584
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
585
|
|
@@ -616,6 +628,12 @@ module Google
|
|
616
628
|
include Google::Apis::Core::JsonObjectSupport
|
617
629
|
end
|
618
630
|
|
631
|
+
class GoogleCloudDataplexV1StorageAccess
|
632
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
633
|
+
|
634
|
+
include Google::Apis::Core::JsonObjectSupport
|
635
|
+
end
|
636
|
+
|
619
637
|
class GoogleCloudDataplexV1StorageFormat
|
620
638
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
639
|
|
@@ -1009,6 +1027,7 @@ module Google
|
|
1009
1027
|
# @private
|
1010
1028
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1011
1029
|
property :name, as: 'name'
|
1030
|
+
property :read_access_mode, as: 'readAccessMode'
|
1012
1031
|
property :type, as: 'type'
|
1013
1032
|
end
|
1014
1033
|
end
|
@@ -1464,6 +1483,8 @@ module Google
|
|
1464
1483
|
class GoogleCloudDataplexV1Entity
|
1465
1484
|
# @private
|
1466
1485
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1486
|
+
property :access, as: 'access', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1StorageAccess, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1StorageAccess::Representation
|
1487
|
+
|
1467
1488
|
property :asset, as: 'asset'
|
1468
1489
|
property :catalog_entry, as: 'catalogEntry'
|
1469
1490
|
property :compatibility, as: 'compatibility', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1EntityCompatibilityStatus, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1EntityCompatibilityStatus::Representation
|
@@ -1482,6 +1503,7 @@ module Google
|
|
1482
1503
|
|
1483
1504
|
property :system, as: 'system'
|
1484
1505
|
property :type, as: 'type'
|
1506
|
+
property :uid, as: 'uid'
|
1485
1507
|
property :update_time, as: 'updateTime'
|
1486
1508
|
end
|
1487
1509
|
end
|
@@ -1803,6 +1825,20 @@ module Google
|
|
1803
1825
|
end
|
1804
1826
|
end
|
1805
1827
|
|
1828
|
+
class GoogleCloudDataplexV1RunTaskRequest
|
1829
|
+
# @private
|
1830
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1831
|
+
end
|
1832
|
+
end
|
1833
|
+
|
1834
|
+
class GoogleCloudDataplexV1RunTaskResponse
|
1835
|
+
# @private
|
1836
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1837
|
+
property :job, as: 'job', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1Job, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1Job::Representation
|
1838
|
+
|
1839
|
+
end
|
1840
|
+
end
|
1841
|
+
|
1806
1842
|
class GoogleCloudDataplexV1ScannedData
|
1807
1843
|
# @private
|
1808
1844
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1889,6 +1925,13 @@ module Google
|
|
1889
1925
|
end
|
1890
1926
|
end
|
1891
1927
|
|
1928
|
+
class GoogleCloudDataplexV1StorageAccess
|
1929
|
+
# @private
|
1930
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1931
|
+
property :read, as: 'read'
|
1932
|
+
end
|
1933
|
+
end
|
1934
|
+
|
1892
1935
|
class GoogleCloudDataplexV1StorageFormat
|
1893
1936
|
# @private
|
1894
1937
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -243,17 +243,17 @@ module Google
|
|
243
243
|
execute_or_queue_command(command, &block)
|
244
244
|
end
|
245
245
|
|
246
|
-
# Creates a
|
246
|
+
# Creates a DataScan resource.
|
247
247
|
# @param [String] parent
|
248
248
|
# Required. The resource name of the parent location: projects/`project`/
|
249
|
-
# locations/`location_id` where
|
250
|
-
#
|
249
|
+
# locations/`location_id` where project refers to a project_id or project_number
|
250
|
+
# and location_id refers to a GCP region.
|
251
251
|
# @param [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScan] google_cloud_dataplex_v1_data_scan_object
|
252
252
|
# @param [String] data_scan_id
|
253
|
-
# Required. DataScan identifier.
|
254
|
-
# and hyphens.
|
255
|
-
#
|
256
|
-
#
|
253
|
+
# Required. DataScan identifier. Must contain only lowercase letters, numbers
|
254
|
+
# and hyphens. Must start with a letter. Must end with a number or a letter.
|
255
|
+
# Must be between 1-63 characters. Must be unique within the customer project /
|
256
|
+
# location.
|
257
257
|
# @param [String] fields
|
258
258
|
# Selector specifying which fields to include in a partial response.
|
259
259
|
# @param [String] quota_user
|
@@ -284,11 +284,11 @@ module Google
|
|
284
284
|
execute_or_queue_command(command, &block)
|
285
285
|
end
|
286
286
|
|
287
|
-
#
|
287
|
+
# Deletes a DataScan resource.
|
288
288
|
# @param [String] name
|
289
289
|
# Required. The resource name of the dataScan: projects/`project`/locations/`
|
290
|
-
# location_id`/dataScans/`data_scan_id` where
|
291
|
-
#
|
290
|
+
# location_id`/dataScans/`data_scan_id` where project refers to a project_id or
|
291
|
+
# project_number and location_id refers to a GCP region.
|
292
292
|
# @param [String] fields
|
293
293
|
# Selector specifying which fields to include in a partial response.
|
294
294
|
# @param [String] quota_user
|
@@ -316,14 +316,13 @@ module Google
|
|
316
316
|
execute_or_queue_command(command, &block)
|
317
317
|
end
|
318
318
|
|
319
|
-
#
|
319
|
+
# Gets a DataScan resource.
|
320
320
|
# @param [String] name
|
321
321
|
# Required. The resource name of the dataScan: projects/`project`/locations/`
|
322
|
-
# location_id`/dataScans/`data_scan_id` where
|
323
|
-
#
|
322
|
+
# location_id`/dataScans/`data_scan_id` where project refers to a project_id or
|
323
|
+
# project_number and location_id refers to a GCP region.
|
324
324
|
# @param [String] view
|
325
|
-
# Optional.
|
326
|
-
# Defaults to BASIC.
|
325
|
+
# Optional. Select the DataScan view to return. Defaults to BASIC.
|
327
326
|
# @param [String] fields
|
328
327
|
# Selector specifying which fields to include in a partial response.
|
329
328
|
# @param [String] quota_user
|
@@ -397,10 +396,11 @@ module Google
|
|
397
396
|
execute_or_queue_command(command, &block)
|
398
397
|
end
|
399
398
|
|
400
|
-
# Lists
|
399
|
+
# Lists DataScans.
|
401
400
|
# @param [String] parent
|
402
|
-
# Required. projects/`project`/
|
403
|
-
#
|
401
|
+
# Required. The resource name of the parent location: projects/`project`/
|
402
|
+
# locations/`location_id` where project refers to a project_id or project_number
|
403
|
+
# and location_id refers to a GCP region.
|
404
404
|
# @param [String] filter
|
405
405
|
# Optional. Filter request.
|
406
406
|
# @param [String] order_by
|
@@ -445,12 +445,11 @@ module Google
|
|
445
445
|
execute_or_queue_command(command, &block)
|
446
446
|
end
|
447
447
|
|
448
|
-
#
|
448
|
+
# Updates a DataScan resource.
|
449
449
|
# @param [String] name
|
450
450
|
# Output only. The relative resource name of the scan, of the form: projects/`
|
451
|
-
# project`/locations/`location_id`/dataScans/`datascan_id
|
452
|
-
#
|
453
|
-
# region.
|
451
|
+
# project`/locations/`location_id`/dataScans/`datascan_id`, where project refers
|
452
|
+
# to a project_id or project_number and location_id refers to a GCP region.
|
454
453
|
# @param [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScan] google_cloud_dataplex_v1_data_scan_object
|
455
454
|
# @param [String] update_mask
|
456
455
|
# Required. Mask of fields to update.
|
@@ -484,12 +483,12 @@ module Google
|
|
484
483
|
execute_or_queue_command(command, &block)
|
485
484
|
end
|
486
485
|
|
487
|
-
#
|
486
|
+
# Runs an on-demand execution of a DataScan
|
488
487
|
# @param [String] name
|
489
488
|
# Required. The resource name of the DataScan: projects/`project`/locations/`
|
490
|
-
# location_id`/dataScans/`data_scan_id`. where
|
491
|
-
#
|
492
|
-
#
|
489
|
+
# location_id`/dataScans/`data_scan_id`. where project refers to a project_id or
|
490
|
+
# project_number and location_id refers to a GCP region.Only OnDemand data scans
|
491
|
+
# are allowed.
|
493
492
|
# @param [Google::Apis::DataplexV1::GoogleCloudDataplexV1RunDataScanRequest] google_cloud_dataplex_v1_run_data_scan_request_object
|
494
493
|
# @param [String] fields
|
495
494
|
# Selector specifying which fields to include in a partial response.
|
@@ -596,15 +595,14 @@ module Google
|
|
596
595
|
execute_or_queue_command(command, &block)
|
597
596
|
end
|
598
597
|
|
599
|
-
#
|
598
|
+
# Gets a DataScanJob resource.
|
600
599
|
# @param [String] name
|
601
600
|
# Required. The resource name of the DataScanJob: projects/`project`/locations/`
|
602
|
-
# location_id`/dataScans/`data_scan_id`/dataScanJobs/`data_scan_job_id` where
|
603
|
-
# project
|
601
|
+
# location_id`/dataScans/`data_scan_id`/dataScanJobs/`data_scan_job_id` where
|
602
|
+
# project refers to a project_id or project_number and location_id refers to a
|
604
603
|
# GCP region.
|
605
604
|
# @param [String] view
|
606
|
-
# Optional.
|
607
|
-
# Defaults to BASIC.
|
605
|
+
# Optional. Select the DataScanJob view to return. Defaults to BASIC.
|
608
606
|
# @param [String] fields
|
609
607
|
# Selector specifying which fields to include in a partial response.
|
610
608
|
# @param [String] quota_user
|
@@ -633,10 +631,10 @@ module Google
|
|
633
631
|
execute_or_queue_command(command, &block)
|
634
632
|
end
|
635
633
|
|
636
|
-
# Lists DataScanJobs under the given
|
634
|
+
# Lists DataScanJobs under the given DataScan.
|
637
635
|
# @param [String] parent
|
638
636
|
# Required. The resource name of the parent environment: projects/`project`/
|
639
|
-
# locations/`location_id`/dataScans/`data_scan_id` where
|
637
|
+
# locations/`location_id`/dataScans/`data_scan_id` where project refers to a
|
640
638
|
# project_id or project_number and location_id refers to a GCP region.
|
641
639
|
# @param [Fixnum] page_size
|
642
640
|
# Optional. Maximum number of DataScanJobs to return. The service may return
|
@@ -2510,6 +2508,40 @@ module Google
|
|
2510
2508
|
execute_or_queue_command(command, &block)
|
2511
2509
|
end
|
2512
2510
|
|
2511
|
+
# Run an on demand execution of a Task.
|
2512
|
+
# @param [String] name
|
2513
|
+
# Required. The resource name of the task: projects/`project_number`/locations/`
|
2514
|
+
# location_id`/lakes/`lake_id`/tasks/`task_id`.
|
2515
|
+
# @param [Google::Apis::DataplexV1::GoogleCloudDataplexV1RunTaskRequest] google_cloud_dataplex_v1_run_task_request_object
|
2516
|
+
# @param [String] fields
|
2517
|
+
# Selector specifying which fields to include in a partial response.
|
2518
|
+
# @param [String] quota_user
|
2519
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2520
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2521
|
+
# @param [Google::Apis::RequestOptions] options
|
2522
|
+
# Request-specific options
|
2523
|
+
#
|
2524
|
+
# @yield [result, err] Result & error if block supplied
|
2525
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleCloudDataplexV1RunTaskResponse] parsed result object
|
2526
|
+
# @yieldparam err [StandardError] error object if request failed
|
2527
|
+
#
|
2528
|
+
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1RunTaskResponse]
|
2529
|
+
#
|
2530
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2531
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2532
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2533
|
+
def run_project_location_lake_task(name, google_cloud_dataplex_v1_run_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2534
|
+
command = make_simple_command(:post, 'v1/{+name}:run', options)
|
2535
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1RunTaskRequest::Representation
|
2536
|
+
command.request_object = google_cloud_dataplex_v1_run_task_request_object
|
2537
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1RunTaskResponse::Representation
|
2538
|
+
command.response_class = Google::Apis::DataplexV1::GoogleCloudDataplexV1RunTaskResponse
|
2539
|
+
command.params['name'] = name unless name.nil?
|
2540
|
+
command.query['fields'] = fields unless fields.nil?
|
2541
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2542
|
+
execute_or_queue_command(command, &block)
|
2543
|
+
end
|
2544
|
+
|
2513
2545
|
# Sets the access control policy on the specified resource. Replaces any
|
2514
2546
|
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
2515
2547
|
# errors.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dataplex_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.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:
|
11
|
+
date: 2023-01-08 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-dataplex_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dataplex_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dataplex_v1/v0.20.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataplex_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Dataplex API V1
|