google-api-client 0.19.7 → 0.19.8
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 +37 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +54 -8
- data/generated/google/apis/androidmanagement_v1/representations.rb +6 -0
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +2 -1
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +8 -7
- data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +18 -16
- data/generated/google/apis/appengine_v1/service.rb +5 -5
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +25 -16
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta/service.rb +5 -5
- data/generated/google/apis/appengine_v1beta4.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/classes.rb +2 -2
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +2 -2
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +42 -5
- data/generated/google/apis/bigquery_v2/representations.rb +18 -2
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +128 -59
- data/generated/google/apis/cloudiot_v1/representations.rb +31 -18
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +4 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +4 -4
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +40 -14
- data/generated/google/apis/compute_alpha/representations.rb +5 -1
- data/generated/google/apis/compute_alpha/service.rb +131 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +67 -10
- data/generated/google/apis/compute_beta/representations.rb +17 -0
- data/generated/google/apis/compute_beta/service.rb +52 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +6 -5
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +44 -0
- data/generated/google/apis/container_v1beta1/representations.rb +17 -0
- data/generated/google/apis/container_v1beta1/service.rb +2 -2
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/service.rb +3 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +4 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +102 -0
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +49 -0
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +4 -1
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -10
- data/generated/google/apis/dlp_v2beta2.rb +1 -1
- data/generated/google/apis/dlp_v2beta2/classes.rb +583 -0
- data/generated/google/apis/dlp_v2beta2/representations.rb +258 -0
- data/generated/google/apis/dlp_v2beta2/service.rb +181 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -0
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +2 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +5 -3
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +5 -3
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/service.rb +13 -13
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +0 -142
- data/generated/google/apis/ml_v1/representations.rb +0 -26
- data/generated/google/apis/ml_v1/service.rb +3 -63
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +18 -17
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +2 -1
- data/generated/google/apis/serviceusage_v1.rb +42 -0
- data/generated/google/apis/serviceusage_v1/classes.rb +3862 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +1186 -0
- data/generated/google/apis/serviceusage_v1/service.rb +406 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +13 -0
- data/generated/google/apis/slides_v1/representations.rb +3 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -3
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
|
@@ -490,6 +490,8 @@ module Google
|
|
|
490
490
|
# @param [String] project
|
|
491
491
|
# The project ID for this request.
|
|
492
492
|
# @param [Google::Apis::DeploymentmanagerV2beta::Deployment] deployment_object
|
|
493
|
+
# @param [String] create_policy
|
|
494
|
+
#
|
|
493
495
|
# @param [Boolean] preview
|
|
494
496
|
# If set to true, creates a deployment and creates "shell" resources but does
|
|
495
497
|
# not actually instantiate these resources. This allows you to preview what your
|
|
@@ -519,13 +521,14 @@ module Google
|
|
|
519
521
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
520
522
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
521
523
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
522
|
-
def insert_deployment(project, deployment_object = nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
524
|
+
def insert_deployment(project, deployment_object = nil, create_policy: nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
523
525
|
command = make_simple_command(:post, '{project}/global/deployments', options)
|
|
524
526
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::Deployment::Representation
|
|
525
527
|
command.request_object = deployment_object
|
|
526
528
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
|
527
529
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::Operation
|
|
528
530
|
command.params['project'] = project unless project.nil?
|
|
531
|
+
command.query['createPolicy'] = create_policy unless create_policy.nil?
|
|
529
532
|
command.query['preview'] = preview unless preview.nil?
|
|
530
533
|
command.query['fields'] = fields unless fields.nil?
|
|
531
534
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/dialogflow-enterprise/
|
|
27
27
|
module DialogflowV2beta1
|
|
28
28
|
VERSION = 'V2beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20180212'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -1658,8 +1658,6 @@ module Google
|
|
|
1658
1658
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeBatch]
|
|
1659
1659
|
attr_accessor :entity_type_batch_inline
|
|
1660
1660
|
|
|
1661
|
-
# Warning: Importing entity types from a URI is not implemented yet.
|
|
1662
|
-
# This feature is coming soon.
|
|
1663
1661
|
# The URI to a Google Cloud Storage file containing entity types to update
|
|
1664
1662
|
# or create. The file format can either be a serialized proto (of
|
|
1665
1663
|
# EntityBatch type) or a JSON object. Note: The URI must start with
|
|
@@ -1723,8 +1721,6 @@ module Google
|
|
|
1723
1721
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentBatch]
|
|
1724
1722
|
attr_accessor :intent_batch_inline
|
|
1725
1723
|
|
|
1726
|
-
# Warning: Importing intents from a URI is not implemented yet.
|
|
1727
|
-
# This feature is coming soon.
|
|
1728
1724
|
# The URI to a Google Cloud Storage file containing intents to update or
|
|
1729
1725
|
# create. The file format can either be a serialized proto (of IntentBatch
|
|
1730
1726
|
# type) or JSON object. Note: The URI must start with "gs://".
|
|
@@ -2071,8 +2067,6 @@ module Google
|
|
|
2071
2067
|
class GoogleCloudDialogflowV2beta1ExportAgentRequest
|
|
2072
2068
|
include Google::Apis::Core::Hashable
|
|
2073
2069
|
|
|
2074
|
-
# Warning: Exporting agents to a URI is not implemented yet.
|
|
2075
|
-
# This feature is coming soon.
|
|
2076
2070
|
# Optional. The Google Cloud Storage URI to export the agent to.
|
|
2077
2071
|
# Note: The URI must start with
|
|
2078
2072
|
# "gs://". If left unspecified, the serialized agent is returned inline.
|
|
@@ -2151,8 +2145,6 @@ module Google
|
|
|
2151
2145
|
# @return [String]
|
|
2152
2146
|
attr_accessor :agent_content
|
|
2153
2147
|
|
|
2154
|
-
# Warning: Importing agents from a URI is not implemented yet.
|
|
2155
|
-
# This feature is coming soon.
|
|
2156
2148
|
# The URI to a Google Cloud Storage file containing the agent to import.
|
|
2157
2149
|
# Note: The URI must start with "gs://".
|
|
2158
2150
|
# Corresponds to the JSON property `agentUri`
|
|
@@ -3539,8 +3531,6 @@ module Google
|
|
|
3539
3531
|
# @return [String]
|
|
3540
3532
|
attr_accessor :agent_content
|
|
3541
3533
|
|
|
3542
|
-
# Warning: Restoring agents from a URI is not implemented yet.
|
|
3543
|
-
# This feature is coming soon.
|
|
3544
3534
|
# The URI to a Google Cloud Storage file containing the agent to restore.
|
|
3545
3535
|
# Note: The URI must start with "gs://".
|
|
3546
3536
|
# Corresponds to the JSON property `agentUri`
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/dlp/docs/
|
|
28
28
|
module DlpV2beta2
|
|
29
29
|
VERSION = 'V2beta2'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20180213'
|
|
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'
|
|
@@ -1582,6 +1582,33 @@ module Google
|
|
|
1582
1582
|
end
|
|
1583
1583
|
end
|
|
1584
1584
|
|
|
1585
|
+
# A task to execute on the completion of a job.
|
|
1586
|
+
class GooglePrivacyDlpV2beta2Action
|
|
1587
|
+
include Google::Apis::Core::Hashable
|
|
1588
|
+
|
|
1589
|
+
# Publish the results of a DlpJob to a pub sub channel.
|
|
1590
|
+
# Compatible with: Inpect, Risk
|
|
1591
|
+
# Corresponds to the JSON property `pubSub`
|
|
1592
|
+
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PublishToPubSub]
|
|
1593
|
+
attr_accessor :pub_sub
|
|
1594
|
+
|
|
1595
|
+
# If set, the detailed findings will be persisted to the specified
|
|
1596
|
+
# OutputStorageConfig. Compatible with: Inspect
|
|
1597
|
+
# Corresponds to the JSON property `saveFindings`
|
|
1598
|
+
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2SaveFindings]
|
|
1599
|
+
attr_accessor :save_findings
|
|
1600
|
+
|
|
1601
|
+
def initialize(**args)
|
|
1602
|
+
update!(**args)
|
|
1603
|
+
end
|
|
1604
|
+
|
|
1605
|
+
# Update properties of this object
|
|
1606
|
+
def update!(**args)
|
|
1607
|
+
@pub_sub = args[:pub_sub] if args.key?(:pub_sub)
|
|
1608
|
+
@save_findings = args[:save_findings] if args.key?(:save_findings)
|
|
1609
|
+
end
|
|
1610
|
+
end
|
|
1611
|
+
|
|
1585
1612
|
# Result of a risk analysis operation request.
|
|
1586
1613
|
class GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskDetails
|
|
1587
1614
|
include Google::Apis::Core::Hashable
|
|
@@ -1651,6 +1678,15 @@ module Google
|
|
|
1651
1678
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RiskAnalysisJobConfig]
|
|
1652
1679
|
attr_accessor :job_config
|
|
1653
1680
|
|
|
1681
|
+
# Optional job ID to use for the created job. If not provided, a job ID will
|
|
1682
|
+
# automatically be generated. Must be unique within the project. The job ID
|
|
1683
|
+
# can contain uppercase and lowercase letters, numbers, and hyphens; that is,
|
|
1684
|
+
# it must match the regular expression: `[a-zA-Z\\d-]+`. The maximum length
|
|
1685
|
+
# is 100 characters. Can be empty to allow the system to generate one.
|
|
1686
|
+
# Corresponds to the JSON property `jobId`
|
|
1687
|
+
# @return [String]
|
|
1688
|
+
attr_accessor :job_id
|
|
1689
|
+
|
|
1654
1690
|
def initialize(**args)
|
|
1655
1691
|
update!(**args)
|
|
1656
1692
|
end
|
|
@@ -1658,6 +1694,7 @@ module Google
|
|
|
1658
1694
|
# Update properties of this object
|
|
1659
1695
|
def update!(**args)
|
|
1660
1696
|
@job_config = args[:job_config] if args.key?(:job_config)
|
|
1697
|
+
@job_id = args[:job_id] if args.key?(:job_id)
|
|
1661
1698
|
end
|
|
1662
1699
|
end
|
|
1663
1700
|
|
|
@@ -2039,6 +2076,12 @@ module Google
|
|
|
2039
2076
|
class GooglePrivacyDlpV2beta2CloudStorageOptions
|
|
2040
2077
|
include Google::Apis::Core::Hashable
|
|
2041
2078
|
|
|
2079
|
+
# Max number of bytes to scan from a file. If a scanned file's size is bigger
|
|
2080
|
+
# than this value then the rest of the bytes are omitted.
|
|
2081
|
+
# Corresponds to the JSON property `bytesLimitPerFile`
|
|
2082
|
+
# @return [Fixnum]
|
|
2083
|
+
attr_accessor :bytes_limit_per_file
|
|
2084
|
+
|
|
2042
2085
|
# Set of files to scan.
|
|
2043
2086
|
# Corresponds to the JSON property `fileSet`
|
|
2044
2087
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FileSet]
|
|
@@ -2050,6 +2093,7 @@ module Google
|
|
|
2050
2093
|
|
|
2051
2094
|
# Update properties of this object
|
|
2052
2095
|
def update!(**args)
|
|
2096
|
+
@bytes_limit_per_file = args[:bytes_limit_per_file] if args.key?(:bytes_limit_per_file)
|
|
2053
2097
|
@file_set = args[:file_set] if args.key?(:file_set)
|
|
2054
2098
|
end
|
|
2055
2099
|
end
|
|
@@ -2252,6 +2296,34 @@ module Google
|
|
|
2252
2296
|
end
|
|
2253
2297
|
end
|
|
2254
2298
|
|
|
2299
|
+
# Request message for CreateJobTrigger.
|
|
2300
|
+
class GooglePrivacyDlpV2beta2CreateJobTriggerRequest
|
|
2301
|
+
include Google::Apis::Core::Hashable
|
|
2302
|
+
|
|
2303
|
+
# Contains a configuration to make dlp api calls on a repeating basis.
|
|
2304
|
+
# Corresponds to the JSON property `jobTrigger`
|
|
2305
|
+
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger]
|
|
2306
|
+
attr_accessor :job_trigger
|
|
2307
|
+
|
|
2308
|
+
# The trigger id can contain uppercase and lowercase letters,
|
|
2309
|
+
# numbers, and hyphens; that is, it must match the regular
|
|
2310
|
+
# expression: `[a-zA-Z\\d-]+`. The maximum length is 100
|
|
2311
|
+
# characters. Can be empty to allow the system to generate one.
|
|
2312
|
+
# Corresponds to the JSON property `triggerId`
|
|
2313
|
+
# @return [String]
|
|
2314
|
+
attr_accessor :trigger_id
|
|
2315
|
+
|
|
2316
|
+
def initialize(**args)
|
|
2317
|
+
update!(**args)
|
|
2318
|
+
end
|
|
2319
|
+
|
|
2320
|
+
# Update properties of this object
|
|
2321
|
+
def update!(**args)
|
|
2322
|
+
@job_trigger = args[:job_trigger] if args.key?(:job_trigger)
|
|
2323
|
+
@trigger_id = args[:trigger_id] if args.key?(:trigger_id)
|
|
2324
|
+
end
|
|
2325
|
+
end
|
|
2326
|
+
|
|
2255
2327
|
# Pseudonymization method that generates surrogates via cryptographic hashing.
|
|
2256
2328
|
# Uses SHA-256.
|
|
2257
2329
|
# The key size must be either 32 or 64 bytes.
|
|
@@ -2392,6 +2464,13 @@ module Google
|
|
|
2392
2464
|
class GooglePrivacyDlpV2beta2CustomInfoType
|
|
2393
2465
|
include Google::Apis::Core::Hashable
|
|
2394
2466
|
|
|
2467
|
+
# Set of detection rules to apply to all findings of this custom info type.
|
|
2468
|
+
# Rules are applied in order that they are specified. Not supported for the
|
|
2469
|
+
# `surrogate_type` custom info type.
|
|
2470
|
+
# Corresponds to the JSON property `detectionRules`
|
|
2471
|
+
# @return [Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DetectionRule>]
|
|
2472
|
+
attr_accessor :detection_rules
|
|
2473
|
+
|
|
2395
2474
|
# Custom information type based on a dictionary of words or phrases. This can
|
|
2396
2475
|
# be used to match sensitive information specific to the data, such as a list
|
|
2397
2476
|
# of employee IDs or job titles.
|
|
@@ -2419,6 +2498,18 @@ module Google
|
|
|
2419
2498
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType]
|
|
2420
2499
|
attr_accessor :info_type
|
|
2421
2500
|
|
|
2501
|
+
# Likelihood to return for this custom info type. This base value can be
|
|
2502
|
+
# altered by a detection rule if the finding meets the criteria specified by
|
|
2503
|
+
# the rule. Defaults to `VERY_LIKELY` if not specified.
|
|
2504
|
+
# Corresponds to the JSON property `likelihood`
|
|
2505
|
+
# @return [String]
|
|
2506
|
+
attr_accessor :likelihood
|
|
2507
|
+
|
|
2508
|
+
# Message defining a custom regular expression.
|
|
2509
|
+
# Corresponds to the JSON property `regex`
|
|
2510
|
+
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Regex]
|
|
2511
|
+
attr_accessor :regex
|
|
2512
|
+
|
|
2422
2513
|
# Message for detecting output from deidentification transformations
|
|
2423
2514
|
# such as
|
|
2424
2515
|
# [`CryptoReplaceFfxFpeConfig`](/dlp/docs/reference/rest/v2beta1/content/
|
|
@@ -2438,8 +2529,11 @@ module Google
|
|
|
2438
2529
|
|
|
2439
2530
|
# Update properties of this object
|
|
2440
2531
|
def update!(**args)
|
|
2532
|
+
@detection_rules = args[:detection_rules] if args.key?(:detection_rules)
|
|
2441
2533
|
@dictionary = args[:dictionary] if args.key?(:dictionary)
|
|
2442
2534
|
@info_type = args[:info_type] if args.key?(:info_type)
|
|
2535
|
+
@likelihood = args[:likelihood] if args.key?(:likelihood)
|
|
2536
|
+
@regex = args[:regex] if args.key?(:regex)
|
|
2443
2537
|
@surrogate_type = args[:surrogate_type] if args.key?(:surrogate_type)
|
|
2444
2538
|
end
|
|
2445
2539
|
end
|
|
@@ -2654,6 +2748,28 @@ module Google
|
|
|
2654
2748
|
end
|
|
2655
2749
|
end
|
|
2656
2750
|
|
|
2751
|
+
# Rule for modifying a custom info type to alter behavior under certain
|
|
2752
|
+
# circumstances, depending on the specific details of the rule. Not supported
|
|
2753
|
+
# for the `surrogate_type` custom info type.
|
|
2754
|
+
class GooglePrivacyDlpV2beta2DetectionRule
|
|
2755
|
+
include Google::Apis::Core::Hashable
|
|
2756
|
+
|
|
2757
|
+
# Detection rule that adjusts the likelihood of findings within a certain
|
|
2758
|
+
# proximity of hotwords.
|
|
2759
|
+
# Corresponds to the JSON property `hotwordRule`
|
|
2760
|
+
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2HotwordRule]
|
|
2761
|
+
attr_accessor :hotword_rule
|
|
2762
|
+
|
|
2763
|
+
def initialize(**args)
|
|
2764
|
+
update!(**args)
|
|
2765
|
+
end
|
|
2766
|
+
|
|
2767
|
+
# Update properties of this object
|
|
2768
|
+
def update!(**args)
|
|
2769
|
+
@hotword_rule = args[:hotword_rule] if args.key?(:hotword_rule)
|
|
2770
|
+
end
|
|
2771
|
+
end
|
|
2772
|
+
|
|
2657
2773
|
# Custom information type based on a dictionary of words or phrases. This can
|
|
2658
2774
|
# be used to match sensitive information specific to the data, such as a list
|
|
2659
2775
|
# of employee IDs or job titles.
|
|
@@ -2714,6 +2830,12 @@ module Google
|
|
|
2714
2830
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectDataSourceDetails]
|
|
2715
2831
|
attr_accessor :inspect_details
|
|
2716
2832
|
|
|
2833
|
+
# If created by a job trigger, the resource name of the trigger that
|
|
2834
|
+
# instantiated the job.
|
|
2835
|
+
# Corresponds to the JSON property `jobTriggerName`
|
|
2836
|
+
# @return [String]
|
|
2837
|
+
attr_accessor :job_trigger_name
|
|
2838
|
+
|
|
2717
2839
|
# The server-assigned name.
|
|
2718
2840
|
# Corresponds to the JSON property `name`
|
|
2719
2841
|
# @return [String]
|
|
@@ -2749,6 +2871,7 @@ module Google
|
|
|
2749
2871
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
2750
2872
|
@error_results = args[:error_results] if args.key?(:error_results)
|
|
2751
2873
|
@inspect_details = args[:inspect_details] if args.key?(:inspect_details)
|
|
2874
|
+
@job_trigger_name = args[:job_trigger_name] if args.key?(:job_trigger_name)
|
|
2752
2875
|
@name = args[:name] if args.key?(:name)
|
|
2753
2876
|
@risk_details = args[:risk_details] if args.key?(:risk_details)
|
|
2754
2877
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
@@ -2780,6 +2903,69 @@ module Google
|
|
|
2780
2903
|
end
|
|
2781
2904
|
end
|
|
2782
2905
|
|
|
2906
|
+
# The results of an unsuccessful activation of the JobTrigger.
|
|
2907
|
+
class GooglePrivacyDlpV2beta2Error
|
|
2908
|
+
include Google::Apis::Core::Hashable
|
|
2909
|
+
|
|
2910
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
2911
|
+
# programming environments, including REST APIs and RPC APIs. It is used by
|
|
2912
|
+
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
|
2913
|
+
# - Simple to use and understand for most users
|
|
2914
|
+
# - Flexible enough to meet unexpected needs
|
|
2915
|
+
# # Overview
|
|
2916
|
+
# The `Status` message contains three pieces of data: error code, error message,
|
|
2917
|
+
# and error details. The error code should be an enum value of
|
|
2918
|
+
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
2919
|
+
# error message should be a developer-facing English message that helps
|
|
2920
|
+
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
2921
|
+
# error message is needed, put the localized message in the error details or
|
|
2922
|
+
# localize it in the client. The optional error details may contain arbitrary
|
|
2923
|
+
# information about the error. There is a predefined set of error detail types
|
|
2924
|
+
# in the package `google.rpc` that can be used for common error conditions.
|
|
2925
|
+
# # Language mapping
|
|
2926
|
+
# The `Status` message is the logical representation of the error model, but it
|
|
2927
|
+
# is not necessarily the actual wire format. When the `Status` message is
|
|
2928
|
+
# exposed in different client libraries and different wire protocols, it can be
|
|
2929
|
+
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
2930
|
+
# in Java, but more likely mapped to some error codes in C.
|
|
2931
|
+
# # Other uses
|
|
2932
|
+
# The error model and the `Status` message can be used in a variety of
|
|
2933
|
+
# environments, either with or without APIs, to provide a
|
|
2934
|
+
# consistent developer experience across different environments.
|
|
2935
|
+
# Example uses of this error model include:
|
|
2936
|
+
# - Partial errors. If a service needs to return partial errors to the client,
|
|
2937
|
+
# it may embed the `Status` in the normal response to indicate the partial
|
|
2938
|
+
# errors.
|
|
2939
|
+
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
2940
|
+
# have a `Status` message for error reporting.
|
|
2941
|
+
# - Batch operations. If a client uses batch request and batch response, the
|
|
2942
|
+
# `Status` message should be used directly inside batch response, one for
|
|
2943
|
+
# each error sub-response.
|
|
2944
|
+
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
2945
|
+
# results in its response, the status of those operations should be
|
|
2946
|
+
# represented directly using the `Status` message.
|
|
2947
|
+
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
2948
|
+
# be used directly after any stripping needed for security/privacy reasons.
|
|
2949
|
+
# Corresponds to the JSON property `details`
|
|
2950
|
+
# @return [Google::Apis::DlpV2beta2::GoogleRpcStatus]
|
|
2951
|
+
attr_accessor :details
|
|
2952
|
+
|
|
2953
|
+
# The times the error occurred.
|
|
2954
|
+
# Corresponds to the JSON property `timestamps`
|
|
2955
|
+
# @return [Array<String>]
|
|
2956
|
+
attr_accessor :timestamps
|
|
2957
|
+
|
|
2958
|
+
def initialize(**args)
|
|
2959
|
+
update!(**args)
|
|
2960
|
+
end
|
|
2961
|
+
|
|
2962
|
+
# Update properties of this object
|
|
2963
|
+
def update!(**args)
|
|
2964
|
+
@details = args[:details] if args.key?(:details)
|
|
2965
|
+
@timestamps = args[:timestamps] if args.key?(:timestamps)
|
|
2966
|
+
end
|
|
2967
|
+
end
|
|
2968
|
+
|
|
2783
2969
|
# An expression, consisting or an operator and conditions.
|
|
2784
2970
|
class GooglePrivacyDlpV2beta2Expressions
|
|
2785
2971
|
include Google::Apis::Core::Hashable
|
|
@@ -3018,6 +3204,40 @@ module Google
|
|
|
3018
3204
|
end
|
|
3019
3205
|
end
|
|
3020
3206
|
|
|
3207
|
+
# Detection rule that adjusts the likelihood of findings within a certain
|
|
3208
|
+
# proximity of hotwords.
|
|
3209
|
+
class GooglePrivacyDlpV2beta2HotwordRule
|
|
3210
|
+
include Google::Apis::Core::Hashable
|
|
3211
|
+
|
|
3212
|
+
# Message defining a custom regular expression.
|
|
3213
|
+
# Corresponds to the JSON property `hotwordRegex`
|
|
3214
|
+
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Regex]
|
|
3215
|
+
attr_accessor :hotword_regex
|
|
3216
|
+
|
|
3217
|
+
# Message for specifying an adjustment to the likelihood of a finding as
|
|
3218
|
+
# part of a detection rule.
|
|
3219
|
+
# Corresponds to the JSON property `likelihoodAdjustment`
|
|
3220
|
+
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2LikelihoodAdjustment]
|
|
3221
|
+
attr_accessor :likelihood_adjustment
|
|
3222
|
+
|
|
3223
|
+
# Message for specifying a window around a finding to apply a detection
|
|
3224
|
+
# rule.
|
|
3225
|
+
# Corresponds to the JSON property `proximity`
|
|
3226
|
+
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Proximity]
|
|
3227
|
+
attr_accessor :proximity
|
|
3228
|
+
|
|
3229
|
+
def initialize(**args)
|
|
3230
|
+
update!(**args)
|
|
3231
|
+
end
|
|
3232
|
+
|
|
3233
|
+
# Update properties of this object
|
|
3234
|
+
def update!(**args)
|
|
3235
|
+
@hotword_regex = args[:hotword_regex] if args.key?(:hotword_regex)
|
|
3236
|
+
@likelihood_adjustment = args[:likelihood_adjustment] if args.key?(:likelihood_adjustment)
|
|
3237
|
+
@proximity = args[:proximity] if args.key?(:proximity)
|
|
3238
|
+
end
|
|
3239
|
+
end
|
|
3240
|
+
|
|
3021
3241
|
# Bounding box encompassing detected text within an image.
|
|
3022
3242
|
class GooglePrivacyDlpV2beta2ImageLocation
|
|
3023
3243
|
include Google::Apis::Core::Hashable
|
|
@@ -3387,6 +3607,15 @@ module Google
|
|
|
3387
3607
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectJobConfig]
|
|
3388
3608
|
attr_accessor :job_config
|
|
3389
3609
|
|
|
3610
|
+
# Optional job ID to use for the created job. If not provided, a job ID will
|
|
3611
|
+
# automatically be generated. Must be unique within the project. The job ID
|
|
3612
|
+
# can contain uppercase and lowercase letters, numbers, and hyphens; that is,
|
|
3613
|
+
# it must match the regular expression: `[a-zA-Z\\d-]+`. The maximum length
|
|
3614
|
+
# is 100 characters. Can be empty to allow the system to generate one.
|
|
3615
|
+
# Corresponds to the JSON property `jobId`
|
|
3616
|
+
# @return [String]
|
|
3617
|
+
attr_accessor :job_id
|
|
3618
|
+
|
|
3390
3619
|
def initialize(**args)
|
|
3391
3620
|
update!(**args)
|
|
3392
3621
|
end
|
|
@@ -3394,6 +3623,7 @@ module Google
|
|
|
3394
3623
|
# Update properties of this object
|
|
3395
3624
|
def update!(**args)
|
|
3396
3625
|
@job_config = args[:job_config] if args.key?(:job_config)
|
|
3626
|
+
@job_id = args[:job_id] if args.key?(:job_id)
|
|
3397
3627
|
end
|
|
3398
3628
|
end
|
|
3399
3629
|
|
|
@@ -3401,6 +3631,12 @@ module Google
|
|
|
3401
3631
|
class GooglePrivacyDlpV2beta2InspectJobConfig
|
|
3402
3632
|
include Google::Apis::Core::Hashable
|
|
3403
3633
|
|
|
3634
|
+
# Actions to execute at the completion of the job. Are executed in the order
|
|
3635
|
+
# provided.
|
|
3636
|
+
# Corresponds to the JSON property `actions`
|
|
3637
|
+
# @return [Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Action>]
|
|
3638
|
+
attr_accessor :actions
|
|
3639
|
+
|
|
3404
3640
|
# Configuration description of the scanning process.
|
|
3405
3641
|
# When used with redactContent only info_types and min_likelihood are currently
|
|
3406
3642
|
# used.
|
|
@@ -3431,6 +3667,7 @@ module Google
|
|
|
3431
3667
|
|
|
3432
3668
|
# Update properties of this object
|
|
3433
3669
|
def update!(**args)
|
|
3670
|
+
@actions = args[:actions] if args.key?(:actions)
|
|
3434
3671
|
@inspect_config = args[:inspect_config] if args.key?(:inspect_config)
|
|
3435
3672
|
@inspect_template_name = args[:inspect_template_name] if args.key?(:inspect_template_name)
|
|
3436
3673
|
@output_config = args[:output_config] if args.key?(:output_config)
|
|
@@ -3525,6 +3762,86 @@ module Google
|
|
|
3525
3762
|
end
|
|
3526
3763
|
end
|
|
3527
3764
|
|
|
3765
|
+
# Contains a configuration to make dlp api calls on a repeating basis.
|
|
3766
|
+
class GooglePrivacyDlpV2beta2JobTrigger
|
|
3767
|
+
include Google::Apis::Core::Hashable
|
|
3768
|
+
|
|
3769
|
+
# The creation timestamp of a triggeredJob, output only field.
|
|
3770
|
+
# Corresponds to the JSON property `createTime`
|
|
3771
|
+
# @return [String]
|
|
3772
|
+
attr_accessor :create_time
|
|
3773
|
+
|
|
3774
|
+
# User provided description (max 256 chars)
|
|
3775
|
+
# Corresponds to the JSON property `description`
|
|
3776
|
+
# @return [String]
|
|
3777
|
+
attr_accessor :description
|
|
3778
|
+
|
|
3779
|
+
# Display name (max 100 chars)
|
|
3780
|
+
# Corresponds to the JSON property `displayName`
|
|
3781
|
+
# @return [String]
|
|
3782
|
+
attr_accessor :display_name
|
|
3783
|
+
|
|
3784
|
+
# A stream of errors encountered when the trigger was activated. Repeated
|
|
3785
|
+
# errors may result in the JobTrigger automaticaly being paused.
|
|
3786
|
+
# Will return the last 100 errors. Whenever the JobTrigger is modified
|
|
3787
|
+
# this list will be cleared. Output only field.
|
|
3788
|
+
# Corresponds to the JSON property `errors`
|
|
3789
|
+
# @return [Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Error>]
|
|
3790
|
+
attr_accessor :errors
|
|
3791
|
+
|
|
3792
|
+
#
|
|
3793
|
+
# Corresponds to the JSON property `inspectJob`
|
|
3794
|
+
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectJobConfig]
|
|
3795
|
+
attr_accessor :inspect_job
|
|
3796
|
+
|
|
3797
|
+
# The timestamp of the last time this trigger executed.
|
|
3798
|
+
# Corresponds to the JSON property `lastRunTime`
|
|
3799
|
+
# @return [String]
|
|
3800
|
+
attr_accessor :last_run_time
|
|
3801
|
+
|
|
3802
|
+
# Unique resource name for the triggeredJob, assigned by the service when the
|
|
3803
|
+
# triggeredJob is created, for example
|
|
3804
|
+
# `projects/dlp-test-project/triggeredJobs/53234423`.
|
|
3805
|
+
# Corresponds to the JSON property `name`
|
|
3806
|
+
# @return [String]
|
|
3807
|
+
attr_accessor :name
|
|
3808
|
+
|
|
3809
|
+
# A status for this trigger. [required]
|
|
3810
|
+
# Corresponds to the JSON property `status`
|
|
3811
|
+
# @return [String]
|
|
3812
|
+
attr_accessor :status
|
|
3813
|
+
|
|
3814
|
+
# A list of triggers which will be OR'ed together. Only one in the list
|
|
3815
|
+
# needs to trigger for a job to be started. The list may contain only
|
|
3816
|
+
# a single Schedule trigger and must have at least one object.
|
|
3817
|
+
# Corresponds to the JSON property `triggers`
|
|
3818
|
+
# @return [Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Trigger>]
|
|
3819
|
+
attr_accessor :triggers
|
|
3820
|
+
|
|
3821
|
+
# The last update timestamp of a triggeredJob, output only field.
|
|
3822
|
+
# Corresponds to the JSON property `updateTime`
|
|
3823
|
+
# @return [String]
|
|
3824
|
+
attr_accessor :update_time
|
|
3825
|
+
|
|
3826
|
+
def initialize(**args)
|
|
3827
|
+
update!(**args)
|
|
3828
|
+
end
|
|
3829
|
+
|
|
3830
|
+
# Update properties of this object
|
|
3831
|
+
def update!(**args)
|
|
3832
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
3833
|
+
@description = args[:description] if args.key?(:description)
|
|
3834
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
3835
|
+
@errors = args[:errors] if args.key?(:errors)
|
|
3836
|
+
@inspect_job = args[:inspect_job] if args.key?(:inspect_job)
|
|
3837
|
+
@last_run_time = args[:last_run_time] if args.key?(:last_run_time)
|
|
3838
|
+
@name = args[:name] if args.key?(:name)
|
|
3839
|
+
@status = args[:status] if args.key?(:status)
|
|
3840
|
+
@triggers = args[:triggers] if args.key?(:triggers)
|
|
3841
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
3842
|
+
end
|
|
3843
|
+
end
|
|
3844
|
+
|
|
3528
3845
|
# k-anonymity metric, used for analysis of reidentification risk.
|
|
3529
3846
|
class GooglePrivacyDlpV2beta2KAnonymityConfig
|
|
3530
3847
|
include Google::Apis::Core::Hashable
|
|
@@ -3992,6 +4309,39 @@ module Google
|
|
|
3992
4309
|
end
|
|
3993
4310
|
end
|
|
3994
4311
|
|
|
4312
|
+
# Message for specifying an adjustment to the likelihood of a finding as
|
|
4313
|
+
# part of a detection rule.
|
|
4314
|
+
class GooglePrivacyDlpV2beta2LikelihoodAdjustment
|
|
4315
|
+
include Google::Apis::Core::Hashable
|
|
4316
|
+
|
|
4317
|
+
# Set the likelihood of a finding to a fixed value.
|
|
4318
|
+
# Corresponds to the JSON property `fixedLikelihood`
|
|
4319
|
+
# @return [String]
|
|
4320
|
+
attr_accessor :fixed_likelihood
|
|
4321
|
+
|
|
4322
|
+
# Increase or decrease the likelihood by the specified number of
|
|
4323
|
+
# levels. For example, if a finding would be `POSSIBLE` without the
|
|
4324
|
+
# detection rule and `relative_likelihood` is 1, then it is upgraded to
|
|
4325
|
+
# `LIKELY`, while a value of -1 would downgrade it to `UNLIKELY`.
|
|
4326
|
+
# Likelihood may never drop below `VERY_UNLIKELY` or exceed
|
|
4327
|
+
# `VERY_LIKELY`, so applying an adjustment of 1 followed by an
|
|
4328
|
+
# adjustment of -1 when base likelihood is `VERY_LIKELY` will result in
|
|
4329
|
+
# a final likelihood of `LIKELY`.
|
|
4330
|
+
# Corresponds to the JSON property `relativeLikelihood`
|
|
4331
|
+
# @return [Fixnum]
|
|
4332
|
+
attr_accessor :relative_likelihood
|
|
4333
|
+
|
|
4334
|
+
def initialize(**args)
|
|
4335
|
+
update!(**args)
|
|
4336
|
+
end
|
|
4337
|
+
|
|
4338
|
+
# Update properties of this object
|
|
4339
|
+
def update!(**args)
|
|
4340
|
+
@fixed_likelihood = args[:fixed_likelihood] if args.key?(:fixed_likelihood)
|
|
4341
|
+
@relative_likelihood = args[:relative_likelihood] if args.key?(:relative_likelihood)
|
|
4342
|
+
end
|
|
4343
|
+
end
|
|
4344
|
+
|
|
3995
4345
|
# Response message for ListDeidentifyTemplates.
|
|
3996
4346
|
class GooglePrivacyDlpV2beta2ListDeidentifyTemplatesResponse
|
|
3997
4347
|
include Google::Apis::Core::Hashable
|
|
@@ -4089,6 +4439,32 @@ module Google
|
|
|
4089
4439
|
end
|
|
4090
4440
|
end
|
|
4091
4441
|
|
|
4442
|
+
# Response message for ListJobTriggers.
|
|
4443
|
+
class GooglePrivacyDlpV2beta2ListJobTriggersResponse
|
|
4444
|
+
include Google::Apis::Core::Hashable
|
|
4445
|
+
|
|
4446
|
+
# List of triggeredJobs, up to page_size in ListJobTriggersRequest.
|
|
4447
|
+
# Corresponds to the JSON property `jobTriggers`
|
|
4448
|
+
# @return [Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger>]
|
|
4449
|
+
attr_accessor :job_triggers
|
|
4450
|
+
|
|
4451
|
+
# If the next page is available then the next page token to be used
|
|
4452
|
+
# in following ListJobTriggers request.
|
|
4453
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
4454
|
+
# @return [String]
|
|
4455
|
+
attr_accessor :next_page_token
|
|
4456
|
+
|
|
4457
|
+
def initialize(**args)
|
|
4458
|
+
update!(**args)
|
|
4459
|
+
end
|
|
4460
|
+
|
|
4461
|
+
# Update properties of this object
|
|
4462
|
+
def update!(**args)
|
|
4463
|
+
@job_triggers = args[:job_triggers] if args.key?(:job_triggers)
|
|
4464
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
4465
|
+
end
|
|
4466
|
+
end
|
|
4467
|
+
|
|
4092
4468
|
# Specifies the location of the finding.
|
|
4093
4469
|
class GooglePrivacyDlpV2beta2Location
|
|
4094
4470
|
include Google::Apis::Core::Hashable
|
|
@@ -4449,6 +4825,55 @@ module Google
|
|
|
4449
4825
|
end
|
|
4450
4826
|
end
|
|
4451
4827
|
|
|
4828
|
+
# Message for specifying a window around a finding to apply a detection
|
|
4829
|
+
# rule.
|
|
4830
|
+
class GooglePrivacyDlpV2beta2Proximity
|
|
4831
|
+
include Google::Apis::Core::Hashable
|
|
4832
|
+
|
|
4833
|
+
# Number of characters after the finding to consider.
|
|
4834
|
+
# Corresponds to the JSON property `windowAfter`
|
|
4835
|
+
# @return [Fixnum]
|
|
4836
|
+
attr_accessor :window_after
|
|
4837
|
+
|
|
4838
|
+
# Number of characters before the finding to consider.
|
|
4839
|
+
# Corresponds to the JSON property `windowBefore`
|
|
4840
|
+
# @return [Fixnum]
|
|
4841
|
+
attr_accessor :window_before
|
|
4842
|
+
|
|
4843
|
+
def initialize(**args)
|
|
4844
|
+
update!(**args)
|
|
4845
|
+
end
|
|
4846
|
+
|
|
4847
|
+
# Update properties of this object
|
|
4848
|
+
def update!(**args)
|
|
4849
|
+
@window_after = args[:window_after] if args.key?(:window_after)
|
|
4850
|
+
@window_before = args[:window_before] if args.key?(:window_before)
|
|
4851
|
+
end
|
|
4852
|
+
end
|
|
4853
|
+
|
|
4854
|
+
# Publish the results of a DlpJob to a pub sub channel.
|
|
4855
|
+
# Compatible with: Inpect, Risk
|
|
4856
|
+
class GooglePrivacyDlpV2beta2PublishToPubSub
|
|
4857
|
+
include Google::Apis::Core::Hashable
|
|
4858
|
+
|
|
4859
|
+
# Cloud Pub/Sub topic to send notifications to. The topic must have given
|
|
4860
|
+
# publishing access rights to the DLP API service account executing
|
|
4861
|
+
# the long running DlpJob sending the notifications.
|
|
4862
|
+
# Format is projects/`project`/topics/`topic`.
|
|
4863
|
+
# Corresponds to the JSON property `topic`
|
|
4864
|
+
# @return [String]
|
|
4865
|
+
attr_accessor :topic
|
|
4866
|
+
|
|
4867
|
+
def initialize(**args)
|
|
4868
|
+
update!(**args)
|
|
4869
|
+
end
|
|
4870
|
+
|
|
4871
|
+
# Update properties of this object
|
|
4872
|
+
def update!(**args)
|
|
4873
|
+
@topic = args[:topic] if args.key?(:topic)
|
|
4874
|
+
end
|
|
4875
|
+
end
|
|
4876
|
+
|
|
4452
4877
|
# A quasi-identifier column has a custom_tag, used to know which column
|
|
4453
4878
|
# in the data corresponds to which column in the statistical model.
|
|
4454
4879
|
class GooglePrivacyDlpV2beta2QuasiIdField
|
|
@@ -4678,6 +5103,25 @@ module Google
|
|
|
4678
5103
|
end
|
|
4679
5104
|
end
|
|
4680
5105
|
|
|
5106
|
+
# Message defining a custom regular expression.
|
|
5107
|
+
class GooglePrivacyDlpV2beta2Regex
|
|
5108
|
+
include Google::Apis::Core::Hashable
|
|
5109
|
+
|
|
5110
|
+
# Pattern defining the regular expression.
|
|
5111
|
+
# Corresponds to the JSON property `pattern`
|
|
5112
|
+
# @return [String]
|
|
5113
|
+
attr_accessor :pattern
|
|
5114
|
+
|
|
5115
|
+
def initialize(**args)
|
|
5116
|
+
update!(**args)
|
|
5117
|
+
end
|
|
5118
|
+
|
|
5119
|
+
# Update properties of this object
|
|
5120
|
+
def update!(**args)
|
|
5121
|
+
@pattern = args[:pattern] if args.key?(:pattern)
|
|
5122
|
+
end
|
|
5123
|
+
end
|
|
5124
|
+
|
|
4681
5125
|
# Request to re-identify an item.
|
|
4682
5126
|
class GooglePrivacyDlpV2beta2ReidentifyContentRequest
|
|
4683
5127
|
include Google::Apis::Core::Hashable
|
|
@@ -4857,6 +5301,12 @@ module Google
|
|
|
4857
5301
|
class GooglePrivacyDlpV2beta2RiskAnalysisJobConfig
|
|
4858
5302
|
include Google::Apis::Core::Hashable
|
|
4859
5303
|
|
|
5304
|
+
# Actions to execute at the completion of the job. Are executed in the order
|
|
5305
|
+
# provided.
|
|
5306
|
+
# Corresponds to the JSON property `actions`
|
|
5307
|
+
# @return [Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Action>]
|
|
5308
|
+
attr_accessor :actions
|
|
5309
|
+
|
|
4860
5310
|
# Privacy metric to compute for reidentification risk analysis.
|
|
4861
5311
|
# Corresponds to the JSON property `privacyMetric`
|
|
4862
5312
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrivacyMetric]
|
|
@@ -4877,6 +5327,7 @@ module Google
|
|
|
4877
5327
|
|
|
4878
5328
|
# Update properties of this object
|
|
4879
5329
|
def update!(**args)
|
|
5330
|
+
@actions = args[:actions] if args.key?(:actions)
|
|
4880
5331
|
@privacy_metric = args[:privacy_metric] if args.key?(:privacy_metric)
|
|
4881
5332
|
@source_table = args[:source_table] if args.key?(:source_table)
|
|
4882
5333
|
end
|
|
@@ -4901,6 +5352,50 @@ module Google
|
|
|
4901
5352
|
end
|
|
4902
5353
|
end
|
|
4903
5354
|
|
|
5355
|
+
# If set, the detailed findings will be persisted to the specified
|
|
5356
|
+
# OutputStorageConfig. Compatible with: Inspect
|
|
5357
|
+
class GooglePrivacyDlpV2beta2SaveFindings
|
|
5358
|
+
include Google::Apis::Core::Hashable
|
|
5359
|
+
|
|
5360
|
+
# Cloud repository for storing output.
|
|
5361
|
+
# Corresponds to the JSON property `outputConfig`
|
|
5362
|
+
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2OutputStorageConfig]
|
|
5363
|
+
attr_accessor :output_config
|
|
5364
|
+
|
|
5365
|
+
def initialize(**args)
|
|
5366
|
+
update!(**args)
|
|
5367
|
+
end
|
|
5368
|
+
|
|
5369
|
+
# Update properties of this object
|
|
5370
|
+
def update!(**args)
|
|
5371
|
+
@output_config = args[:output_config] if args.key?(:output_config)
|
|
5372
|
+
end
|
|
5373
|
+
end
|
|
5374
|
+
|
|
5375
|
+
# Schedule for triggeredJobs.
|
|
5376
|
+
class GooglePrivacyDlpV2beta2Schedule
|
|
5377
|
+
include Google::Apis::Core::Hashable
|
|
5378
|
+
|
|
5379
|
+
# With this option a job is started a regular periodic basis. For
|
|
5380
|
+
# example: every 10 minutes.
|
|
5381
|
+
# A scheduled start time will be skipped if the previous
|
|
5382
|
+
# execution has not ended when its scheduled time occurs.
|
|
5383
|
+
# This value must be set to a time duration greater than or equal
|
|
5384
|
+
# to 60 minutes and can be no longer than 60 days.
|
|
5385
|
+
# Corresponds to the JSON property `reccurrencePeriodDuration`
|
|
5386
|
+
# @return [String]
|
|
5387
|
+
attr_accessor :reccurrence_period_duration
|
|
5388
|
+
|
|
5389
|
+
def initialize(**args)
|
|
5390
|
+
update!(**args)
|
|
5391
|
+
end
|
|
5392
|
+
|
|
5393
|
+
# Update properties of this object
|
|
5394
|
+
def update!(**args)
|
|
5395
|
+
@reccurrence_period_duration = args[:reccurrence_period_duration] if args.key?(:reccurrence_period_duration)
|
|
5396
|
+
end
|
|
5397
|
+
end
|
|
5398
|
+
|
|
4904
5399
|
# Shared message indicating Cloud storage type.
|
|
4905
5400
|
class GooglePrivacyDlpV2beta2StorageConfig
|
|
4906
5401
|
include Google::Apis::Core::Hashable
|
|
@@ -4921,6 +5416,12 @@ module Google
|
|
|
4921
5416
|
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DatastoreOptions]
|
|
4922
5417
|
attr_accessor :datastore_options
|
|
4923
5418
|
|
|
5419
|
+
# Configuration of the timespan of the items to include in scanning.
|
|
5420
|
+
# Currently only supported when inspecting Google Cloud Storage and BigQuery.
|
|
5421
|
+
# Corresponds to the JSON property `timespanConfig`
|
|
5422
|
+
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TimespanConfig]
|
|
5423
|
+
attr_accessor :timespan_config
|
|
5424
|
+
|
|
4924
5425
|
def initialize(**args)
|
|
4925
5426
|
update!(**args)
|
|
4926
5427
|
end
|
|
@@ -4930,6 +5431,7 @@ module Google
|
|
|
4930
5431
|
@big_query_options = args[:big_query_options] if args.key?(:big_query_options)
|
|
4931
5432
|
@cloud_storage_options = args[:cloud_storage_options] if args.key?(:cloud_storage_options)
|
|
4932
5433
|
@datastore_options = args[:datastore_options] if args.key?(:datastore_options)
|
|
5434
|
+
@timespan_config = args[:timespan_config] if args.key?(:timespan_config)
|
|
4933
5435
|
end
|
|
4934
5436
|
end
|
|
4935
5437
|
|
|
@@ -5096,6 +5598,43 @@ module Google
|
|
|
5096
5598
|
end
|
|
5097
5599
|
end
|
|
5098
5600
|
|
|
5601
|
+
# Configuration of the timespan of the items to include in scanning.
|
|
5602
|
+
# Currently only supported when inspecting Google Cloud Storage and BigQuery.
|
|
5603
|
+
class GooglePrivacyDlpV2beta2TimespanConfig
|
|
5604
|
+
include Google::Apis::Core::Hashable
|
|
5605
|
+
|
|
5606
|
+
# When the job is started by a JobTrigger we will automatically figure out
|
|
5607
|
+
# a valid start_time to avoid scanning files that have not been modified
|
|
5608
|
+
# since the last time the JobTrigger executed. This will be based on the
|
|
5609
|
+
# time of the execution of the last run of the JobTrigger.
|
|
5610
|
+
# Corresponds to the JSON property `enableAutoPopulationOfTimespanConfig`
|
|
5611
|
+
# @return [Boolean]
|
|
5612
|
+
attr_accessor :enable_auto_population_of_timespan_config
|
|
5613
|
+
alias_method :enable_auto_population_of_timespan_config?, :enable_auto_population_of_timespan_config
|
|
5614
|
+
|
|
5615
|
+
# Exclude files newer than this value.
|
|
5616
|
+
# If set to zero, no upper time limit is applied.
|
|
5617
|
+
# Corresponds to the JSON property `endTime`
|
|
5618
|
+
# @return [String]
|
|
5619
|
+
attr_accessor :end_time
|
|
5620
|
+
|
|
5621
|
+
# Exclude files older than this value.
|
|
5622
|
+
# Corresponds to the JSON property `startTime`
|
|
5623
|
+
# @return [String]
|
|
5624
|
+
attr_accessor :start_time
|
|
5625
|
+
|
|
5626
|
+
def initialize(**args)
|
|
5627
|
+
update!(**args)
|
|
5628
|
+
end
|
|
5629
|
+
|
|
5630
|
+
# Update properties of this object
|
|
5631
|
+
def update!(**args)
|
|
5632
|
+
@enable_auto_population_of_timespan_config = args[:enable_auto_population_of_timespan_config] if args.key?(:enable_auto_population_of_timespan_config)
|
|
5633
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
5634
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
5635
|
+
end
|
|
5636
|
+
end
|
|
5637
|
+
|
|
5099
5638
|
# Overview of the modifications that occurred.
|
|
5100
5639
|
class GooglePrivacyDlpV2beta2TransformationOverview
|
|
5101
5640
|
include Google::Apis::Core::Hashable
|
|
@@ -5206,6 +5745,25 @@ module Google
|
|
|
5206
5745
|
end
|
|
5207
5746
|
end
|
|
5208
5747
|
|
|
5748
|
+
# What event needs to occur for a new job to be started.
|
|
5749
|
+
class GooglePrivacyDlpV2beta2Trigger
|
|
5750
|
+
include Google::Apis::Core::Hashable
|
|
5751
|
+
|
|
5752
|
+
# Schedule for triggeredJobs.
|
|
5753
|
+
# Corresponds to the JSON property `schedule`
|
|
5754
|
+
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Schedule]
|
|
5755
|
+
attr_accessor :schedule
|
|
5756
|
+
|
|
5757
|
+
def initialize(**args)
|
|
5758
|
+
update!(**args)
|
|
5759
|
+
end
|
|
5760
|
+
|
|
5761
|
+
# Update properties of this object
|
|
5762
|
+
def update!(**args)
|
|
5763
|
+
@schedule = args[:schedule] if args.key?(:schedule)
|
|
5764
|
+
end
|
|
5765
|
+
end
|
|
5766
|
+
|
|
5209
5767
|
# Using raw keys is prone to security risks due to accidentally
|
|
5210
5768
|
# leaking the key. Choose another type of key if possible.
|
|
5211
5769
|
class GooglePrivacyDlpV2beta2UnwrappedCryptoKey
|
|
@@ -5279,6 +5837,31 @@ module Google
|
|
|
5279
5837
|
end
|
|
5280
5838
|
end
|
|
5281
5839
|
|
|
5840
|
+
# Request message for UpdateJobTrigger.
|
|
5841
|
+
class GooglePrivacyDlpV2beta2UpdateJobTriggerRequest
|
|
5842
|
+
include Google::Apis::Core::Hashable
|
|
5843
|
+
|
|
5844
|
+
# Contains a configuration to make dlp api calls on a repeating basis.
|
|
5845
|
+
# Corresponds to the JSON property `jobTrigger`
|
|
5846
|
+
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger]
|
|
5847
|
+
attr_accessor :job_trigger
|
|
5848
|
+
|
|
5849
|
+
# Mask to control which fields get updated.
|
|
5850
|
+
# Corresponds to the JSON property `updateMask`
|
|
5851
|
+
# @return [String]
|
|
5852
|
+
attr_accessor :update_mask
|
|
5853
|
+
|
|
5854
|
+
def initialize(**args)
|
|
5855
|
+
update!(**args)
|
|
5856
|
+
end
|
|
5857
|
+
|
|
5858
|
+
# Update properties of this object
|
|
5859
|
+
def update!(**args)
|
|
5860
|
+
@job_trigger = args[:job_trigger] if args.key?(:job_trigger)
|
|
5861
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
|
5862
|
+
end
|
|
5863
|
+
end
|
|
5864
|
+
|
|
5282
5865
|
# Set of primitive values supported by the system.
|
|
5283
5866
|
# Note that for the purposes of inspection or transformation, the number
|
|
5284
5867
|
# of bytes considered to comprise a 'Value' is based on its representation
|