google-api-client 0.21.2 → 0.22.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 +35 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +181 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +59 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +42 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +31 -0
- data/generated/google/apis/bigquery_v2/representations.rb +16 -0
- data/generated/google/apis/bigquery_v2/service.rb +6 -3
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -5
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/service.rb +0 -56
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +4 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +33 -0
- data/generated/google/apis/container_v1beta1/representations.rb +17 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +2 -2
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +2 -2
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +146 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +62 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +19 -9
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +6 -0
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +27 -15
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +48 -0
- data/generated/google/apis/monitoring_v3/representations.rb +17 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +76 -28
- data/generated/google/apis/people_v1/representations.rb +19 -0
- data/generated/google/apis/people_v1/service.rb +4 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +2 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +45 -12
- data/generated/google/apis/pubsub_v1/service.rb +41 -20
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +8 -0
- data/generated/google/apis/servicebroker_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +41 -0
- data/generated/google/apis/servicebroker_v1beta1/representations.rb +5 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -27
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -15
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -27
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -15
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +41 -41
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +4 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +44 -38
- data/generated/google/apis/storage_v1/service.rb +10 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +26 -0
- data/generated/google/apis/testing_v1/representations.rb +15 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -10
- data/generated/google/apis/resourceviews_v1beta1.rb +0 -50
- data/generated/google/apis/resourceviews_v1beta1/classes.rb +0 -338
- data/generated/google/apis/resourceviews_v1beta1/representations.rb +0 -201
- data/generated/google/apis/resourceviews_v1beta1/service.rb +0 -637
- data/generated/google/apis/resourceviews_v1beta2.rb +0 -50
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +0 -660
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +0 -301
- data/generated/google/apis/resourceviews_v1beta2/service.rb +0 -540
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
|
27
27
|
module ContentV2
|
|
28
28
|
VERSION = 'V2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20180523'
|
|
30
30
|
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
|
@@ -3325,8 +3325,8 @@ module Google
|
|
|
3325
3325
|
attr_accessor :quantity
|
|
3326
3326
|
|
|
3327
3327
|
# The reason for the cancellation. Orders that are cancelled with a noInventory
|
|
3328
|
-
# reason will lead to the removal of the product from
|
|
3329
|
-
# update to that product. This will not affect your Shopping ads.
|
|
3328
|
+
# reason will lead to the removal of the product from Shopping Actions until you
|
|
3329
|
+
# make an update to that product. This will not affect your Shopping ads.
|
|
3330
3330
|
# Corresponds to the JSON property `reason`
|
|
3331
3331
|
# @return [String]
|
|
3332
3332
|
attr_accessor :reason
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
|
27
27
|
module ContentV2sandbox
|
|
28
28
|
VERSION = 'V2sandbox'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20180523'
|
|
30
30
|
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
|
@@ -310,8 +310,8 @@ module Google
|
|
|
310
310
|
attr_accessor :quantity
|
|
311
311
|
|
|
312
312
|
# The reason for the cancellation. Orders that are cancelled with a noInventory
|
|
313
|
-
# reason will lead to the removal of the product from
|
|
314
|
-
# update to that product. This will not affect your Shopping ads.
|
|
313
|
+
# reason will lead to the removal of the product from Shopping Actions until you
|
|
314
|
+
# make an update to that product. This will not affect your Shopping ads.
|
|
315
315
|
# Corresponds to the JSON property `reason`
|
|
316
316
|
# @return [String]
|
|
317
317
|
attr_accessor :reason
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/dataproc/
|
|
26
26
|
module DataprocV1beta2
|
|
27
27
|
VERSION = 'V1beta2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20180522'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -919,6 +919,12 @@ module Google
|
|
|
919
919
|
# @return [String]
|
|
920
920
|
attr_accessor :instance_id
|
|
921
921
|
|
|
922
|
+
# Optional. Map from parameter names to values that should be used for those
|
|
923
|
+
# parameters.
|
|
924
|
+
# Corresponds to the JSON property `parameters`
|
|
925
|
+
# @return [Hash<String,String>]
|
|
926
|
+
attr_accessor :parameters
|
|
927
|
+
|
|
922
928
|
# Optional. The version of workflow template to instantiate. If specified, the
|
|
923
929
|
# workflow will be instantiated only if the current version of the workflow
|
|
924
930
|
# template has the supplied version.This option cannot be used to instantiate a
|
|
@@ -934,6 +940,7 @@ module Google
|
|
|
934
940
|
# Update properties of this object
|
|
935
941
|
def update!(**args)
|
|
936
942
|
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
|
943
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
|
937
944
|
@version = args[:version] if args.key?(:version)
|
|
938
945
|
end
|
|
939
946
|
end
|
|
@@ -1608,6 +1615,31 @@ module Google
|
|
|
1608
1615
|
end
|
|
1609
1616
|
end
|
|
1610
1617
|
|
|
1618
|
+
# Configuration for parameter validation.
|
|
1619
|
+
class ParameterValidation
|
|
1620
|
+
include Google::Apis::Core::Hashable
|
|
1621
|
+
|
|
1622
|
+
# Validation based on regular expressions.
|
|
1623
|
+
# Corresponds to the JSON property `regex`
|
|
1624
|
+
# @return [Google::Apis::DataprocV1beta2::RegexValidation]
|
|
1625
|
+
attr_accessor :regex
|
|
1626
|
+
|
|
1627
|
+
# Validation based on a list of allowed values.
|
|
1628
|
+
# Corresponds to the JSON property `values`
|
|
1629
|
+
# @return [Google::Apis::DataprocV1beta2::ValueValidation]
|
|
1630
|
+
attr_accessor :values
|
|
1631
|
+
|
|
1632
|
+
def initialize(**args)
|
|
1633
|
+
update!(**args)
|
|
1634
|
+
end
|
|
1635
|
+
|
|
1636
|
+
# Update properties of this object
|
|
1637
|
+
def update!(**args)
|
|
1638
|
+
@regex = args[:regex] if args.key?(:regex)
|
|
1639
|
+
@values = args[:values] if args.key?(:values)
|
|
1640
|
+
end
|
|
1641
|
+
end
|
|
1642
|
+
|
|
1611
1643
|
# A Cloud Dataproc job for running Apache Pig (https://pig.apache.org/) queries
|
|
1612
1644
|
# on YARN.
|
|
1613
1645
|
class PigJob
|
|
@@ -1849,6 +1881,27 @@ module Google
|
|
|
1849
1881
|
end
|
|
1850
1882
|
end
|
|
1851
1883
|
|
|
1884
|
+
# Validation based on regular expressions.
|
|
1885
|
+
class RegexValidation
|
|
1886
|
+
include Google::Apis::Core::Hashable
|
|
1887
|
+
|
|
1888
|
+
# Required. RE2 regular expressions used to validate the parameter's value. The
|
|
1889
|
+
# provided value must match the regexes in its entirety, e.g. substring matches
|
|
1890
|
+
# are not enough.
|
|
1891
|
+
# Corresponds to the JSON property `regexes`
|
|
1892
|
+
# @return [Array<String>]
|
|
1893
|
+
attr_accessor :regexes
|
|
1894
|
+
|
|
1895
|
+
def initialize(**args)
|
|
1896
|
+
update!(**args)
|
|
1897
|
+
end
|
|
1898
|
+
|
|
1899
|
+
# Update properties of this object
|
|
1900
|
+
def update!(**args)
|
|
1901
|
+
@regexes = args[:regexes] if args.key?(:regexes)
|
|
1902
|
+
end
|
|
1903
|
+
end
|
|
1904
|
+
|
|
1852
1905
|
# Request message for SetIamPolicy method.
|
|
1853
1906
|
class SetIamPolicyRequest
|
|
1854
1907
|
include Google::Apis::Core::Hashable
|
|
@@ -2164,6 +2217,73 @@ module Google
|
|
|
2164
2217
|
end
|
|
2165
2218
|
end
|
|
2166
2219
|
|
|
2220
|
+
# A configurable parameter that replaces one or more fields in the template.
|
|
2221
|
+
class TemplateParameter
|
|
2222
|
+
include Google::Apis::Core::Hashable
|
|
2223
|
+
|
|
2224
|
+
# Optional. User-friendly description of the parameter. Must not exceed 1024
|
|
2225
|
+
# characters.
|
|
2226
|
+
# Corresponds to the JSON property `description`
|
|
2227
|
+
# @return [String]
|
|
2228
|
+
attr_accessor :description
|
|
2229
|
+
|
|
2230
|
+
# Required. Paths to all fields that this parameter replaces. Each field may
|
|
2231
|
+
# appear in at most one Parameter's fields list.Field path syntax:A field path
|
|
2232
|
+
# is similar to a FieldMask. For example, a field path that references the zone
|
|
2233
|
+
# field of the template's cluster selector would look like:placement.
|
|
2234
|
+
# clusterSelector.zoneThe only differences between field paths and standard
|
|
2235
|
+
# field masks are that:
|
|
2236
|
+
# Values in maps can be referenced by key.Example: placement.clusterSelector.
|
|
2237
|
+
# clusterLabels'key'
|
|
2238
|
+
# Jobs in the jobs list can be referenced by step id.Example: jobs'step-id'.
|
|
2239
|
+
# hadoopJob.mainJarFileUri
|
|
2240
|
+
# Items in repeated fields can be referenced by zero-based index.Example: jobs'
|
|
2241
|
+
# step-id'.sparkJob.args0NOTE: Maps and repeated fields may not be parameterized
|
|
2242
|
+
# in their entirety. Only individual map values and items in repeated fields may
|
|
2243
|
+
# be referenced. For example, the following field paths are invalid: - placement.
|
|
2244
|
+
# clusterSelector.clusterLabels - jobs'step-id'.sparkJob.argsParameterizable
|
|
2245
|
+
# fields:Only certain types of fields may be parameterized, specifically: -
|
|
2246
|
+
# Labels - File uris - Job properties - Job arguments - Script variables - Main
|
|
2247
|
+
# class (in HadoopJob and SparkJob) - Zone (in ClusterSelector)Examples of
|
|
2248
|
+
# parameterizable fields:Labels:labels'key' placement.managedCluster.labels'key'
|
|
2249
|
+
# placement.clusterSelector.clusterLabels'key' jobs'step-id'.labels'key'File
|
|
2250
|
+
# uris:jobs'step-id'.hadoopJob.mainJarFileUri jobs'step-id'.hiveJob.queryFileUri
|
|
2251
|
+
# jobs'step-id'.pySparkJob.mainPythonFileUri jobs'step-id'.hadoopJob.
|
|
2252
|
+
# jarFileUris0 jobs'step-id'.hadoopJob.archiveUris0 jobs'step-id'.hadoopJob.
|
|
2253
|
+
# fileUris0 jobs'step-id'.pySparkJob.pythonFileUris0Other:jobs'step-id'.
|
|
2254
|
+
# hadoopJob.properties'key' jobs'step-id'.hadoopJob.args0 jobs'step-id'.hiveJob.
|
|
2255
|
+
# scriptVariables'key' jobs'step-id'.hadoopJob.mainJarFileUri placement.
|
|
2256
|
+
# clusterSelector.zone
|
|
2257
|
+
# Corresponds to the JSON property `fields`
|
|
2258
|
+
# @return [Array<String>]
|
|
2259
|
+
attr_accessor :fields
|
|
2260
|
+
|
|
2261
|
+
# Required. User-friendly parameter name. This name is used as a key when
|
|
2262
|
+
# providing a value for this parameter when the template is instantiated. Must
|
|
2263
|
+
# contain only capital letters (A-Z), numbers (0-9), and underscores (_), and
|
|
2264
|
+
# must not start with a number. The maximum length is 40 characters.
|
|
2265
|
+
# Corresponds to the JSON property `name`
|
|
2266
|
+
# @return [String]
|
|
2267
|
+
attr_accessor :name
|
|
2268
|
+
|
|
2269
|
+
# Configuration for parameter validation.
|
|
2270
|
+
# Corresponds to the JSON property `validation`
|
|
2271
|
+
# @return [Google::Apis::DataprocV1beta2::ParameterValidation]
|
|
2272
|
+
attr_accessor :validation
|
|
2273
|
+
|
|
2274
|
+
def initialize(**args)
|
|
2275
|
+
update!(**args)
|
|
2276
|
+
end
|
|
2277
|
+
|
|
2278
|
+
# Update properties of this object
|
|
2279
|
+
def update!(**args)
|
|
2280
|
+
@description = args[:description] if args.key?(:description)
|
|
2281
|
+
@fields = args[:fields] if args.key?(:fields)
|
|
2282
|
+
@name = args[:name] if args.key?(:name)
|
|
2283
|
+
@validation = args[:validation] if args.key?(:validation)
|
|
2284
|
+
end
|
|
2285
|
+
end
|
|
2286
|
+
|
|
2167
2287
|
# Request message for TestIamPermissions method.
|
|
2168
2288
|
class TestIamPermissionsRequest
|
|
2169
2289
|
include Google::Apis::Core::Hashable
|
|
@@ -2204,6 +2324,25 @@ module Google
|
|
|
2204
2324
|
end
|
|
2205
2325
|
end
|
|
2206
2326
|
|
|
2327
|
+
# Validation based on a list of allowed values.
|
|
2328
|
+
class ValueValidation
|
|
2329
|
+
include Google::Apis::Core::Hashable
|
|
2330
|
+
|
|
2331
|
+
# Required. List of allowed values for this parameter.
|
|
2332
|
+
# Corresponds to the JSON property `values`
|
|
2333
|
+
# @return [Array<String>]
|
|
2334
|
+
attr_accessor :values
|
|
2335
|
+
|
|
2336
|
+
def initialize(**args)
|
|
2337
|
+
update!(**args)
|
|
2338
|
+
end
|
|
2339
|
+
|
|
2340
|
+
# Update properties of this object
|
|
2341
|
+
def update!(**args)
|
|
2342
|
+
@values = args[:values] if args.key?(:values)
|
|
2343
|
+
end
|
|
2344
|
+
end
|
|
2345
|
+
|
|
2207
2346
|
# The workflow graph.
|
|
2208
2347
|
class WorkflowGraph
|
|
2209
2348
|
include Google::Apis::Core::Hashable
|
|
@@ -2365,6 +2504,12 @@ module Google
|
|
|
2365
2504
|
# @return [String]
|
|
2366
2505
|
attr_accessor :name
|
|
2367
2506
|
|
|
2507
|
+
# Optional. Template parameters whose values are substituted into the template.
|
|
2508
|
+
# Values for these parameters must be provided when the template is instantiated.
|
|
2509
|
+
# Corresponds to the JSON property `parameters`
|
|
2510
|
+
# @return [Array<Google::Apis::DataprocV1beta2::TemplateParameter>]
|
|
2511
|
+
attr_accessor :parameters
|
|
2512
|
+
|
|
2368
2513
|
# Specifies workflow execution target.Either managed_cluster or cluster_selector
|
|
2369
2514
|
# is required.
|
|
2370
2515
|
# Corresponds to the JSON property `placement`
|
|
@@ -2399,6 +2544,7 @@ module Google
|
|
|
2399
2544
|
@jobs = args[:jobs] if args.key?(:jobs)
|
|
2400
2545
|
@labels = args[:labels] if args.key?(:labels)
|
|
2401
2546
|
@name = args[:name] if args.key?(:name)
|
|
2547
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
|
2402
2548
|
@placement = args[:placement] if args.key?(:placement)
|
|
2403
2549
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
2404
2550
|
@version = args[:version] if args.key?(:version)
|
|
@@ -244,6 +244,12 @@ module Google
|
|
|
244
244
|
include Google::Apis::Core::JsonObjectSupport
|
|
245
245
|
end
|
|
246
246
|
|
|
247
|
+
class ParameterValidation
|
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
249
|
+
|
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
251
|
+
end
|
|
252
|
+
|
|
247
253
|
class PigJob
|
|
248
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
249
255
|
|
|
@@ -268,6 +274,12 @@ module Google
|
|
|
268
274
|
include Google::Apis::Core::JsonObjectSupport
|
|
269
275
|
end
|
|
270
276
|
|
|
277
|
+
class RegexValidation
|
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
279
|
+
|
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
281
|
+
end
|
|
282
|
+
|
|
271
283
|
class SetIamPolicyRequest
|
|
272
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
273
285
|
|
|
@@ -304,6 +316,12 @@ module Google
|
|
|
304
316
|
include Google::Apis::Core::JsonObjectSupport
|
|
305
317
|
end
|
|
306
318
|
|
|
319
|
+
class TemplateParameter
|
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
321
|
+
|
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
323
|
+
end
|
|
324
|
+
|
|
307
325
|
class TestIamPermissionsRequest
|
|
308
326
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
309
327
|
|
|
@@ -316,6 +334,12 @@ module Google
|
|
|
316
334
|
include Google::Apis::Core::JsonObjectSupport
|
|
317
335
|
end
|
|
318
336
|
|
|
337
|
+
class ValueValidation
|
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
339
|
+
|
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
341
|
+
end
|
|
342
|
+
|
|
319
343
|
class WorkflowGraph
|
|
320
344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
321
345
|
|
|
@@ -572,6 +596,7 @@ module Google
|
|
|
572
596
|
# @private
|
|
573
597
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
574
598
|
property :instance_id, as: 'instanceId'
|
|
599
|
+
hash :parameters, as: 'parameters'
|
|
575
600
|
property :version, as: 'version'
|
|
576
601
|
end
|
|
577
602
|
end
|
|
@@ -755,6 +780,16 @@ module Google
|
|
|
755
780
|
end
|
|
756
781
|
end
|
|
757
782
|
|
|
783
|
+
class ParameterValidation
|
|
784
|
+
# @private
|
|
785
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
786
|
+
property :regex, as: 'regex', class: Google::Apis::DataprocV1beta2::RegexValidation, decorator: Google::Apis::DataprocV1beta2::RegexValidation::Representation
|
|
787
|
+
|
|
788
|
+
property :values, as: 'values', class: Google::Apis::DataprocV1beta2::ValueValidation, decorator: Google::Apis::DataprocV1beta2::ValueValidation::Representation
|
|
789
|
+
|
|
790
|
+
end
|
|
791
|
+
end
|
|
792
|
+
|
|
758
793
|
class PigJob
|
|
759
794
|
# @private
|
|
760
795
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -802,6 +837,13 @@ module Google
|
|
|
802
837
|
end
|
|
803
838
|
end
|
|
804
839
|
|
|
840
|
+
class RegexValidation
|
|
841
|
+
# @private
|
|
842
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
843
|
+
collection :regexes, as: 'regexes'
|
|
844
|
+
end
|
|
845
|
+
end
|
|
846
|
+
|
|
805
847
|
class SetIamPolicyRequest
|
|
806
848
|
# @private
|
|
807
849
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -865,6 +907,17 @@ module Google
|
|
|
865
907
|
end
|
|
866
908
|
end
|
|
867
909
|
|
|
910
|
+
class TemplateParameter
|
|
911
|
+
# @private
|
|
912
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
913
|
+
property :description, as: 'description'
|
|
914
|
+
collection :fields, as: 'fields'
|
|
915
|
+
property :name, as: 'name'
|
|
916
|
+
property :validation, as: 'validation', class: Google::Apis::DataprocV1beta2::ParameterValidation, decorator: Google::Apis::DataprocV1beta2::ParameterValidation::Representation
|
|
917
|
+
|
|
918
|
+
end
|
|
919
|
+
end
|
|
920
|
+
|
|
868
921
|
class TestIamPermissionsRequest
|
|
869
922
|
# @private
|
|
870
923
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -879,6 +932,13 @@ module Google
|
|
|
879
932
|
end
|
|
880
933
|
end
|
|
881
934
|
|
|
935
|
+
class ValueValidation
|
|
936
|
+
# @private
|
|
937
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
938
|
+
collection :values, as: 'values'
|
|
939
|
+
end
|
|
940
|
+
end
|
|
941
|
+
|
|
882
942
|
class WorkflowGraph
|
|
883
943
|
# @private
|
|
884
944
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -924,6 +984,8 @@ module Google
|
|
|
924
984
|
|
|
925
985
|
hash :labels, as: 'labels'
|
|
926
986
|
property :name, as: 'name'
|
|
987
|
+
collection :parameters, as: 'parameters', class: Google::Apis::DataprocV1beta2::TemplateParameter, decorator: Google::Apis::DataprocV1beta2::TemplateParameter::Representation
|
|
988
|
+
|
|
927
989
|
property :placement, as: 'placement', class: Google::Apis::DataprocV1beta2::WorkflowTemplatePlacement, decorator: Google::Apis::DataprocV1beta2::WorkflowTemplatePlacement::Representation
|
|
928
990
|
|
|
929
991
|
property :update_time, as: 'updateTime'
|
|
@@ -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 = '20180522'
|
|
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'
|
|
@@ -126,7 +126,13 @@ module Google
|
|
|
126
126
|
end
|
|
127
127
|
end
|
|
128
128
|
|
|
129
|
-
#
|
|
129
|
+
# An auxiliary table contains statistical information on the relative
|
|
130
|
+
# frequency of different quasi-identifiers values. It has one or several
|
|
131
|
+
# quasi-identifiers columns, and one column that indicates the relative
|
|
132
|
+
# frequency of each quasi-identifier tuple.
|
|
133
|
+
# If a tuple is present in the data but not in the auxiliary table, the
|
|
134
|
+
# corresponding relative frequency is assumed to be zero (and thus, the
|
|
135
|
+
# tuple is highly reidentifiable).
|
|
130
136
|
class GooglePrivacyDlpV2AuxiliaryTable
|
|
131
137
|
include Google::Apis::Core::Hashable
|
|
132
138
|
|
|
@@ -1100,9 +1106,9 @@ module Google
|
|
|
1100
1106
|
class GooglePrivacyDlpV2CustomInfoType
|
|
1101
1107
|
include Google::Apis::Core::Hashable
|
|
1102
1108
|
|
|
1103
|
-
# Set of detection rules to apply to all findings of this
|
|
1109
|
+
# Set of detection rules to apply to all findings of this CustomInfoType.
|
|
1104
1110
|
# Rules are applied in order that they are specified. Not supported for the
|
|
1105
|
-
# `surrogate_type`
|
|
1111
|
+
# `surrogate_type` CustomInfoType.
|
|
1106
1112
|
# Corresponds to the JSON property `detectionRules`
|
|
1107
1113
|
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2DetectionRule>]
|
|
1108
1114
|
attr_accessor :detection_rules
|
|
@@ -1134,7 +1140,7 @@ module Google
|
|
|
1134
1140
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
|
|
1135
1141
|
attr_accessor :info_type
|
|
1136
1142
|
|
|
1137
|
-
# Likelihood to return for this
|
|
1143
|
+
# Likelihood to return for this CustomInfoType. This base value can be
|
|
1138
1144
|
# altered by a detection rule if the finding meets the criteria specified by
|
|
1139
1145
|
# the rule. Defaults to `VERY_LIKELY` if not specified.
|
|
1140
1146
|
# Corresponds to the JSON property `likelihood`
|
|
@@ -1153,7 +1159,7 @@ module Google
|
|
|
1153
1159
|
# These types of transformations are
|
|
1154
1160
|
# those that perform pseudonymization, thereby producing a "surrogate" as
|
|
1155
1161
|
# output. This should be used in conjunction with a field on the
|
|
1156
|
-
# transformation such as `surrogate_info_type`. This
|
|
1162
|
+
# transformation such as `surrogate_info_type`. This CustomInfoType does
|
|
1157
1163
|
# not support the use of `detection_rules`.
|
|
1158
1164
|
# Corresponds to the JSON property `surrogateType`
|
|
1159
1165
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SurrogateType]
|
|
@@ -1476,7 +1482,7 @@ module Google
|
|
|
1476
1482
|
end
|
|
1477
1483
|
end
|
|
1478
1484
|
|
|
1479
|
-
# Rule for modifying a
|
|
1485
|
+
# Rule for modifying a CustomInfoType to alter behavior under certain
|
|
1480
1486
|
# circumstances, depending on the specific details of the rule. Not supported
|
|
1481
1487
|
# for the `surrogate_type` custom info type.
|
|
1482
1488
|
class GooglePrivacyDlpV2DetectionRule
|
|
@@ -2061,7 +2067,10 @@ module Google
|
|
|
2061
2067
|
class GooglePrivacyDlpV2InfoType
|
|
2062
2068
|
include Google::Apis::Core::Hashable
|
|
2063
2069
|
|
|
2064
|
-
# Name of the information type.
|
|
2070
|
+
# Name of the information type. Either a name of your choosing when
|
|
2071
|
+
# creating a CustomInfoType, or one of the names listed
|
|
2072
|
+
# at https://cloud.google.com/dlp/docs/infotypes-reference when specifying
|
|
2073
|
+
# a built-in type.
|
|
2065
2074
|
# Corresponds to the JSON property `name`
|
|
2066
2075
|
# @return [String]
|
|
2067
2076
|
attr_accessor :name
|
|
@@ -2239,7 +2248,8 @@ module Google
|
|
|
2239
2248
|
alias_method :include_quote?, :include_quote
|
|
2240
2249
|
|
|
2241
2250
|
# Restricts what info_types to look for. The values must correspond to
|
|
2242
|
-
# InfoType values returned by ListInfoTypes or
|
|
2251
|
+
# InfoType values returned by ListInfoTypes or listed at
|
|
2252
|
+
# https://cloud.google.com/dlp/docs/infotypes-reference.
|
|
2243
2253
|
# Corresponds to the JSON property `infoTypes`
|
|
2244
2254
|
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
|
|
2245
2255
|
attr_accessor :info_types
|
|
@@ -4281,7 +4291,7 @@ module Google
|
|
|
4281
4291
|
# These types of transformations are
|
|
4282
4292
|
# those that perform pseudonymization, thereby producing a "surrogate" as
|
|
4283
4293
|
# output. This should be used in conjunction with a field on the
|
|
4284
|
-
# transformation such as `surrogate_info_type`. This
|
|
4294
|
+
# transformation such as `surrogate_info_type`. This CustomInfoType does
|
|
4285
4295
|
# not support the use of `detection_rules`.
|
|
4286
4296
|
class GooglePrivacyDlpV2SurrogateType
|
|
4287
4297
|
include Google::Apis::Core::Hashable
|