google-cloud-dlp-v2 0.4.1 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/dlp/v2.rb +3 -0
- data/lib/google/cloud/dlp/v2/dlp_service/client.rb +252 -54
- data/lib/google/cloud/dlp/v2/version.rb +1 -1
- data/lib/google/privacy/dlp/v2/dlp_pb.rb +5 -0
- data/lib/google/privacy/dlp/v2/dlp_services_pb.rb +34 -34
- data/proto_docs/google/api/resource.rb +50 -14
- data/proto_docs/google/privacy/dlp/v2/dlp.rb +265 -52
- data/proto_docs/google/privacy/dlp/v2/storage.rb +23 -17
- metadata +3 -3
@@ -356,6 +356,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
356
356
|
add_message "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails" do
|
357
357
|
optional :requested_privacy_metric, :message, 1, "google.privacy.dlp.v2.PrivacyMetric"
|
358
358
|
optional :requested_source_table, :message, 2, "google.privacy.dlp.v2.BigQueryTable"
|
359
|
+
optional :requested_options, :message, 10, "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions"
|
359
360
|
oneof :result do
|
360
361
|
optional :numerical_stats_result, :message, 3, "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult"
|
361
362
|
optional :categorical_stats_result, :message, 4, "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult"
|
@@ -438,6 +439,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
438
439
|
repeated :bucket_values, :message, 6, "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues"
|
439
440
|
optional :bucket_value_count, :int64, 7
|
440
441
|
end
|
442
|
+
add_message "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions" do
|
443
|
+
optional :job_config, :message, 1, "google.privacy.dlp.v2.RiskAnalysisJobConfig"
|
444
|
+
end
|
441
445
|
add_message "google.privacy.dlp.v2.ValueFrequency" do
|
442
446
|
optional :value, :message, 1, "google.privacy.dlp.v2.Value"
|
443
447
|
optional :count, :int64, 2
|
@@ -1105,6 +1109,7 @@ module Google
|
|
1105
1109
|
AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult").msgclass
|
1106
1110
|
AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult::DeltaPresenceEstimationQuasiIdValues = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues").msgclass
|
1107
1111
|
AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult::DeltaPresenceEstimationHistogramBucket = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket").msgclass
|
1112
|
+
AnalyzeDataSourceRiskDetails::RequestedRiskAnalysisOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions").msgclass
|
1108
1113
|
ValueFrequency = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ValueFrequency").msgclass
|
1109
1114
|
Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Value").msgclass
|
1110
1115
|
QuoteInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.QuoteInfo").msgclass
|
@@ -50,7 +50,7 @@ module Google
|
|
50
50
|
#
|
51
51
|
# For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
|
52
52
|
# and https://cloud.google.com/dlp/docs/inspecting-text,
|
53
|
-
rpc :InspectContent, Google::Cloud::Dlp::V2::InspectContentRequest, Google::Cloud::Dlp::V2::InspectContentResponse
|
53
|
+
rpc :InspectContent, ::Google::Cloud::Dlp::V2::InspectContentRequest, ::Google::Cloud::Dlp::V2::InspectContentResponse
|
54
54
|
# Redacts potentially sensitive info from an image.
|
55
55
|
# This method has limits on input size, processing time, and output size.
|
56
56
|
# See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
|
@@ -59,7 +59,7 @@ module Google
|
|
59
59
|
# When no InfoTypes or CustomInfoTypes are specified in this request, the
|
60
60
|
# system will automatically choose what detectors to run. By default this may
|
61
61
|
# be all types, but may change over time as detectors are updated.
|
62
|
-
rpc :RedactImage, Google::Cloud::Dlp::V2::RedactImageRequest, Google::Cloud::Dlp::V2::RedactImageResponse
|
62
|
+
rpc :RedactImage, ::Google::Cloud::Dlp::V2::RedactImageRequest, ::Google::Cloud::Dlp::V2::RedactImageResponse
|
63
63
|
# De-identifies potentially sensitive info from a ContentItem.
|
64
64
|
# This method has limits on input size and output size.
|
65
65
|
# See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
|
@@ -68,79 +68,79 @@ module Google
|
|
68
68
|
# When no InfoTypes or CustomInfoTypes are specified in this request, the
|
69
69
|
# system will automatically choose what detectors to run. By default this may
|
70
70
|
# be all types, but may change over time as detectors are updated.
|
71
|
-
rpc :DeidentifyContent, Google::Cloud::Dlp::V2::DeidentifyContentRequest, Google::Cloud::Dlp::V2::DeidentifyContentResponse
|
71
|
+
rpc :DeidentifyContent, ::Google::Cloud::Dlp::V2::DeidentifyContentRequest, ::Google::Cloud::Dlp::V2::DeidentifyContentResponse
|
72
72
|
# Re-identifies content that has been de-identified.
|
73
73
|
# See
|
74
74
|
# https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example
|
75
75
|
# to learn more.
|
76
|
-
rpc :ReidentifyContent, Google::Cloud::Dlp::V2::ReidentifyContentRequest, Google::Cloud::Dlp::V2::ReidentifyContentResponse
|
76
|
+
rpc :ReidentifyContent, ::Google::Cloud::Dlp::V2::ReidentifyContentRequest, ::Google::Cloud::Dlp::V2::ReidentifyContentResponse
|
77
77
|
# Returns a list of the sensitive information types that the DLP API
|
78
78
|
# supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
|
79
79
|
# learn more.
|
80
|
-
rpc :ListInfoTypes, Google::Cloud::Dlp::V2::ListInfoTypesRequest, Google::Cloud::Dlp::V2::ListInfoTypesResponse
|
80
|
+
rpc :ListInfoTypes, ::Google::Cloud::Dlp::V2::ListInfoTypesRequest, ::Google::Cloud::Dlp::V2::ListInfoTypesResponse
|
81
81
|
# Creates an InspectTemplate for re-using frequently used configuration
|
82
82
|
# for inspecting content, images, and storage.
|
83
83
|
# See https://cloud.google.com/dlp/docs/creating-templates to learn more.
|
84
|
-
rpc :CreateInspectTemplate, Google::Cloud::Dlp::V2::CreateInspectTemplateRequest, Google::Cloud::Dlp::V2::InspectTemplate
|
84
|
+
rpc :CreateInspectTemplate, ::Google::Cloud::Dlp::V2::CreateInspectTemplateRequest, ::Google::Cloud::Dlp::V2::InspectTemplate
|
85
85
|
# Updates the InspectTemplate.
|
86
86
|
# See https://cloud.google.com/dlp/docs/creating-templates to learn more.
|
87
|
-
rpc :UpdateInspectTemplate, Google::Cloud::Dlp::V2::UpdateInspectTemplateRequest, Google::Cloud::Dlp::V2::InspectTemplate
|
87
|
+
rpc :UpdateInspectTemplate, ::Google::Cloud::Dlp::V2::UpdateInspectTemplateRequest, ::Google::Cloud::Dlp::V2::InspectTemplate
|
88
88
|
# Gets an InspectTemplate.
|
89
89
|
# See https://cloud.google.com/dlp/docs/creating-templates to learn more.
|
90
|
-
rpc :GetInspectTemplate, Google::Cloud::Dlp::V2::GetInspectTemplateRequest, Google::Cloud::Dlp::V2::InspectTemplate
|
90
|
+
rpc :GetInspectTemplate, ::Google::Cloud::Dlp::V2::GetInspectTemplateRequest, ::Google::Cloud::Dlp::V2::InspectTemplate
|
91
91
|
# Lists InspectTemplates.
|
92
92
|
# See https://cloud.google.com/dlp/docs/creating-templates to learn more.
|
93
|
-
rpc :ListInspectTemplates, Google::Cloud::Dlp::V2::ListInspectTemplatesRequest, Google::Cloud::Dlp::V2::ListInspectTemplatesResponse
|
93
|
+
rpc :ListInspectTemplates, ::Google::Cloud::Dlp::V2::ListInspectTemplatesRequest, ::Google::Cloud::Dlp::V2::ListInspectTemplatesResponse
|
94
94
|
# Deletes an InspectTemplate.
|
95
95
|
# See https://cloud.google.com/dlp/docs/creating-templates to learn more.
|
96
|
-
rpc :DeleteInspectTemplate, Google::Cloud::Dlp::V2::DeleteInspectTemplateRequest, Google::Protobuf::Empty
|
96
|
+
rpc :DeleteInspectTemplate, ::Google::Cloud::Dlp::V2::DeleteInspectTemplateRequest, ::Google::Protobuf::Empty
|
97
97
|
# Creates a DeidentifyTemplate for re-using frequently used configuration
|
98
98
|
# for de-identifying content, images, and storage.
|
99
99
|
# See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
|
100
100
|
# more.
|
101
|
-
rpc :CreateDeidentifyTemplate, Google::Cloud::Dlp::V2::CreateDeidentifyTemplateRequest, Google::Cloud::Dlp::V2::DeidentifyTemplate
|
101
|
+
rpc :CreateDeidentifyTemplate, ::Google::Cloud::Dlp::V2::CreateDeidentifyTemplateRequest, ::Google::Cloud::Dlp::V2::DeidentifyTemplate
|
102
102
|
# Updates the DeidentifyTemplate.
|
103
103
|
# See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
|
104
104
|
# more.
|
105
|
-
rpc :UpdateDeidentifyTemplate, Google::Cloud::Dlp::V2::UpdateDeidentifyTemplateRequest, Google::Cloud::Dlp::V2::DeidentifyTemplate
|
105
|
+
rpc :UpdateDeidentifyTemplate, ::Google::Cloud::Dlp::V2::UpdateDeidentifyTemplateRequest, ::Google::Cloud::Dlp::V2::DeidentifyTemplate
|
106
106
|
# Gets a DeidentifyTemplate.
|
107
107
|
# See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
|
108
108
|
# more.
|
109
|
-
rpc :GetDeidentifyTemplate, Google::Cloud::Dlp::V2::GetDeidentifyTemplateRequest, Google::Cloud::Dlp::V2::DeidentifyTemplate
|
109
|
+
rpc :GetDeidentifyTemplate, ::Google::Cloud::Dlp::V2::GetDeidentifyTemplateRequest, ::Google::Cloud::Dlp::V2::DeidentifyTemplate
|
110
110
|
# Lists DeidentifyTemplates.
|
111
111
|
# See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
|
112
112
|
# more.
|
113
|
-
rpc :ListDeidentifyTemplates, Google::Cloud::Dlp::V2::ListDeidentifyTemplatesRequest, Google::Cloud::Dlp::V2::ListDeidentifyTemplatesResponse
|
113
|
+
rpc :ListDeidentifyTemplates, ::Google::Cloud::Dlp::V2::ListDeidentifyTemplatesRequest, ::Google::Cloud::Dlp::V2::ListDeidentifyTemplatesResponse
|
114
114
|
# Deletes a DeidentifyTemplate.
|
115
115
|
# See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
|
116
116
|
# more.
|
117
|
-
rpc :DeleteDeidentifyTemplate, Google::Cloud::Dlp::V2::DeleteDeidentifyTemplateRequest, Google::Protobuf::Empty
|
117
|
+
rpc :DeleteDeidentifyTemplate, ::Google::Cloud::Dlp::V2::DeleteDeidentifyTemplateRequest, ::Google::Protobuf::Empty
|
118
118
|
# Creates a job trigger to run DLP actions such as scanning storage for
|
119
119
|
# sensitive information on a set schedule.
|
120
120
|
# See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
|
121
|
-
rpc :CreateJobTrigger, Google::Cloud::Dlp::V2::CreateJobTriggerRequest, Google::Cloud::Dlp::V2::JobTrigger
|
121
|
+
rpc :CreateJobTrigger, ::Google::Cloud::Dlp::V2::CreateJobTriggerRequest, ::Google::Cloud::Dlp::V2::JobTrigger
|
122
122
|
# Updates a job trigger.
|
123
123
|
# See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
|
124
|
-
rpc :UpdateJobTrigger, Google::Cloud::Dlp::V2::UpdateJobTriggerRequest, Google::Cloud::Dlp::V2::JobTrigger
|
124
|
+
rpc :UpdateJobTrigger, ::Google::Cloud::Dlp::V2::UpdateJobTriggerRequest, ::Google::Cloud::Dlp::V2::JobTrigger
|
125
125
|
# Inspect hybrid content and store findings to a trigger. The inspection
|
126
126
|
# will be processed asynchronously. To review the findings monitor the
|
127
127
|
# jobs within the trigger.
|
128
128
|
# Early access feature is in a pre-release state and might change or have
|
129
129
|
# limited support. For more information, see
|
130
130
|
# https://cloud.google.com/products#product-launch-stages.
|
131
|
-
rpc :HybridInspectJobTrigger, Google::Cloud::Dlp::V2::HybridInspectJobTriggerRequest, Google::Cloud::Dlp::V2::HybridInspectResponse
|
131
|
+
rpc :HybridInspectJobTrigger, ::Google::Cloud::Dlp::V2::HybridInspectJobTriggerRequest, ::Google::Cloud::Dlp::V2::HybridInspectResponse
|
132
132
|
# Gets a job trigger.
|
133
133
|
# See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
|
134
|
-
rpc :GetJobTrigger, Google::Cloud::Dlp::V2::GetJobTriggerRequest, Google::Cloud::Dlp::V2::JobTrigger
|
134
|
+
rpc :GetJobTrigger, ::Google::Cloud::Dlp::V2::GetJobTriggerRequest, ::Google::Cloud::Dlp::V2::JobTrigger
|
135
135
|
# Lists job triggers.
|
136
136
|
# See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
|
137
|
-
rpc :ListJobTriggers, Google::Cloud::Dlp::V2::ListJobTriggersRequest, Google::Cloud::Dlp::V2::ListJobTriggersResponse
|
137
|
+
rpc :ListJobTriggers, ::Google::Cloud::Dlp::V2::ListJobTriggersRequest, ::Google::Cloud::Dlp::V2::ListJobTriggersResponse
|
138
138
|
# Deletes a job trigger.
|
139
139
|
# See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
|
140
|
-
rpc :DeleteJobTrigger, Google::Cloud::Dlp::V2::DeleteJobTriggerRequest, Google::Protobuf::Empty
|
140
|
+
rpc :DeleteJobTrigger, ::Google::Cloud::Dlp::V2::DeleteJobTriggerRequest, ::Google::Protobuf::Empty
|
141
141
|
# Activate a job trigger. Causes the immediate execute of a trigger
|
142
142
|
# instead of waiting on the trigger event to occur.
|
143
|
-
rpc :ActivateJobTrigger, Google::Cloud::Dlp::V2::ActivateJobTriggerRequest, Google::Cloud::Dlp::V2::DlpJob
|
143
|
+
rpc :ActivateJobTrigger, ::Google::Cloud::Dlp::V2::ActivateJobTriggerRequest, ::Google::Cloud::Dlp::V2::DlpJob
|
144
144
|
# Creates a new job to inspect storage or calculate risk metrics.
|
145
145
|
# See https://cloud.google.com/dlp/docs/inspecting-storage and
|
146
146
|
# https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
|
@@ -148,61 +148,61 @@ module Google
|
|
148
148
|
# When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
|
149
149
|
# system will automatically choose what detectors to run. By default this may
|
150
150
|
# be all types, but may change over time as detectors are updated.
|
151
|
-
rpc :CreateDlpJob, Google::Cloud::Dlp::V2::CreateDlpJobRequest, Google::Cloud::Dlp::V2::DlpJob
|
151
|
+
rpc :CreateDlpJob, ::Google::Cloud::Dlp::V2::CreateDlpJobRequest, ::Google::Cloud::Dlp::V2::DlpJob
|
152
152
|
# Lists DlpJobs that match the specified filter in the request.
|
153
153
|
# See https://cloud.google.com/dlp/docs/inspecting-storage and
|
154
154
|
# https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
|
155
|
-
rpc :ListDlpJobs, Google::Cloud::Dlp::V2::ListDlpJobsRequest, Google::Cloud::Dlp::V2::ListDlpJobsResponse
|
155
|
+
rpc :ListDlpJobs, ::Google::Cloud::Dlp::V2::ListDlpJobsRequest, ::Google::Cloud::Dlp::V2::ListDlpJobsResponse
|
156
156
|
# Gets the latest state of a long-running DlpJob.
|
157
157
|
# See https://cloud.google.com/dlp/docs/inspecting-storage and
|
158
158
|
# https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
|
159
|
-
rpc :GetDlpJob, Google::Cloud::Dlp::V2::GetDlpJobRequest, Google::Cloud::Dlp::V2::DlpJob
|
159
|
+
rpc :GetDlpJob, ::Google::Cloud::Dlp::V2::GetDlpJobRequest, ::Google::Cloud::Dlp::V2::DlpJob
|
160
160
|
# Deletes a long-running DlpJob. This method indicates that the client is
|
161
161
|
# no longer interested in the DlpJob result. The job will be cancelled if
|
162
162
|
# possible.
|
163
163
|
# See https://cloud.google.com/dlp/docs/inspecting-storage and
|
164
164
|
# https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
|
165
|
-
rpc :DeleteDlpJob, Google::Cloud::Dlp::V2::DeleteDlpJobRequest, Google::Protobuf::Empty
|
165
|
+
rpc :DeleteDlpJob, ::Google::Cloud::Dlp::V2::DeleteDlpJobRequest, ::Google::Protobuf::Empty
|
166
166
|
# Starts asynchronous cancellation on a long-running DlpJob. The server
|
167
167
|
# makes a best effort to cancel the DlpJob, but success is not
|
168
168
|
# guaranteed.
|
169
169
|
# See https://cloud.google.com/dlp/docs/inspecting-storage and
|
170
170
|
# https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
|
171
|
-
rpc :CancelDlpJob, Google::Cloud::Dlp::V2::CancelDlpJobRequest, Google::Protobuf::Empty
|
171
|
+
rpc :CancelDlpJob, ::Google::Cloud::Dlp::V2::CancelDlpJobRequest, ::Google::Protobuf::Empty
|
172
172
|
# Creates a pre-built stored infoType to be used for inspection.
|
173
173
|
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
|
174
174
|
# learn more.
|
175
|
-
rpc :CreateStoredInfoType, Google::Cloud::Dlp::V2::CreateStoredInfoTypeRequest, Google::Cloud::Dlp::V2::StoredInfoType
|
175
|
+
rpc :CreateStoredInfoType, ::Google::Cloud::Dlp::V2::CreateStoredInfoTypeRequest, ::Google::Cloud::Dlp::V2::StoredInfoType
|
176
176
|
# Updates the stored infoType by creating a new version. The existing version
|
177
177
|
# will continue to be used until the new version is ready.
|
178
178
|
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
|
179
179
|
# learn more.
|
180
|
-
rpc :UpdateStoredInfoType, Google::Cloud::Dlp::V2::UpdateStoredInfoTypeRequest, Google::Cloud::Dlp::V2::StoredInfoType
|
180
|
+
rpc :UpdateStoredInfoType, ::Google::Cloud::Dlp::V2::UpdateStoredInfoTypeRequest, ::Google::Cloud::Dlp::V2::StoredInfoType
|
181
181
|
# Gets a stored infoType.
|
182
182
|
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
|
183
183
|
# learn more.
|
184
|
-
rpc :GetStoredInfoType, Google::Cloud::Dlp::V2::GetStoredInfoTypeRequest, Google::Cloud::Dlp::V2::StoredInfoType
|
184
|
+
rpc :GetStoredInfoType, ::Google::Cloud::Dlp::V2::GetStoredInfoTypeRequest, ::Google::Cloud::Dlp::V2::StoredInfoType
|
185
185
|
# Lists stored infoTypes.
|
186
186
|
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
|
187
187
|
# learn more.
|
188
|
-
rpc :ListStoredInfoTypes, Google::Cloud::Dlp::V2::ListStoredInfoTypesRequest, Google::Cloud::Dlp::V2::ListStoredInfoTypesResponse
|
188
|
+
rpc :ListStoredInfoTypes, ::Google::Cloud::Dlp::V2::ListStoredInfoTypesRequest, ::Google::Cloud::Dlp::V2::ListStoredInfoTypesResponse
|
189
189
|
# Deletes a stored infoType.
|
190
190
|
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
|
191
191
|
# learn more.
|
192
|
-
rpc :DeleteStoredInfoType, Google::Cloud::Dlp::V2::DeleteStoredInfoTypeRequest, Google::Protobuf::Empty
|
192
|
+
rpc :DeleteStoredInfoType, ::Google::Cloud::Dlp::V2::DeleteStoredInfoTypeRequest, ::Google::Protobuf::Empty
|
193
193
|
# Inspect hybrid content and store findings to a job.
|
194
194
|
# To review the findings inspect the job. Inspection will occur
|
195
195
|
# asynchronously.
|
196
196
|
# Early access feature is in a pre-release state and might change or have
|
197
197
|
# limited support. For more information, see
|
198
198
|
# https://cloud.google.com/products#product-launch-stages.
|
199
|
-
rpc :HybridInspectDlpJob, Google::Cloud::Dlp::V2::HybridInspectDlpJobRequest, Google::Cloud::Dlp::V2::HybridInspectResponse
|
199
|
+
rpc :HybridInspectDlpJob, ::Google::Cloud::Dlp::V2::HybridInspectDlpJobRequest, ::Google::Cloud::Dlp::V2::HybridInspectResponse
|
200
200
|
# Finish a running hybrid DlpJob. Triggers the finalization steps and running
|
201
201
|
# of any enabled actions that have not yet run.
|
202
202
|
# Early access feature is in a pre-release state and might change or have
|
203
203
|
# limited support. For more information, see
|
204
204
|
# https://cloud.google.com/products#product-launch-stages.
|
205
|
-
rpc :FinishDlpJob, Google::Cloud::Dlp::V2::FinishDlpJobRequest, Google::Protobuf::Empty
|
205
|
+
rpc :FinishDlpJob, ::Google::Cloud::Dlp::V2::FinishDlpJobRequest, ::Google::Protobuf::Empty
|
206
206
|
end
|
207
207
|
|
208
208
|
Stub = Service.rpc_stub_class
|
@@ -43,12 +43,12 @@ module Google
|
|
43
43
|
#
|
44
44
|
# The ResourceDescriptor Yaml config will look like:
|
45
45
|
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
46
|
+
# resources:
|
47
|
+
# - type: "pubsub.googleapis.com/Topic"
|
48
|
+
# name_descriptor:
|
49
|
+
# - pattern: "projects/{project}/topics/{topic}"
|
50
|
+
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
51
|
+
# parent_name_extractor: "projects/{project}"
|
52
52
|
#
|
53
53
|
# Sometimes, resources have multiple patterns, typically because they can
|
54
54
|
# live under multiple parents.
|
@@ -183,15 +183,24 @@ module Google
|
|
183
183
|
# }
|
184
184
|
# @!attribute [rw] plural
|
185
185
|
# @return [::String]
|
186
|
-
# The plural name used in the resource name, such as
|
187
|
-
# the name of 'projects/\\{project}'
|
188
|
-
#
|
186
|
+
# The plural name used in the resource name and permission names, such as
|
187
|
+
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
188
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
|
189
|
+
# concept of the `plural` field in k8s CRD spec
|
189
190
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
191
|
+
#
|
192
|
+
# Note: The plural form is required even for singleton resources. See
|
193
|
+
# https://aip.dev/156
|
190
194
|
# @!attribute [rw] singular
|
191
195
|
# @return [::String]
|
192
196
|
# The same concept of the `singular` field in k8s CRD spec
|
193
197
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
194
198
|
# Such as "project" for the `resourcemanager.googleapis.com/Project` type.
|
199
|
+
# @!attribute [rw] style
|
200
|
+
# @return [::Array<::Google::Api::ResourceDescriptor::Style>]
|
201
|
+
# Style flag(s) for this resource.
|
202
|
+
# These indicate that a resource is expected to conform to a given
|
203
|
+
# style. See the specific style flags for additional information.
|
195
204
|
class ResourceDescriptor
|
196
205
|
include ::Google::Protobuf::MessageExts
|
197
206
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -211,6 +220,22 @@ module Google
|
|
211
220
|
# that from being necessary once there are multiple patterns.)
|
212
221
|
FUTURE_MULTI_PATTERN = 2
|
213
222
|
end
|
223
|
+
|
224
|
+
# A flag representing a specific style that a resource claims to conform to.
|
225
|
+
module Style
|
226
|
+
# The unspecified value. Do not use.
|
227
|
+
STYLE_UNSPECIFIED = 0
|
228
|
+
|
229
|
+
# This resource is intended to be "declarative-friendly".
|
230
|
+
#
|
231
|
+
# Declarative-friendly resources must be more strictly consistent, and
|
232
|
+
# setting this to true communicates to tools that this resource should
|
233
|
+
# adhere to declarative-friendly expectations.
|
234
|
+
#
|
235
|
+
# Note: This is used by the API linter (linter.aip.dev) to enable
|
236
|
+
# additional checks.
|
237
|
+
DECLARATIVE_FRIENDLY = 1
|
238
|
+
end
|
214
239
|
end
|
215
240
|
|
216
241
|
# Defines a proto annotation that describes a string field that refers to
|
@@ -226,6 +251,17 @@ module Google
|
|
226
251
|
# type: "pubsub.googleapis.com/Topic"
|
227
252
|
# }];
|
228
253
|
# }
|
254
|
+
#
|
255
|
+
# Occasionally, a field may reference an arbitrary resource. In this case,
|
256
|
+
# APIs use the special value * in their resource reference.
|
257
|
+
#
|
258
|
+
# Example:
|
259
|
+
#
|
260
|
+
# message GetIamPolicyRequest {
|
261
|
+
# string resource = 2 [(google.api.resource_reference) = {
|
262
|
+
# type: "*"
|
263
|
+
# }];
|
264
|
+
# }
|
229
265
|
# @!attribute [rw] child_type
|
230
266
|
# @return [::String]
|
231
267
|
# The resource type of a child collection that the annotated field
|
@@ -234,11 +270,11 @@ module Google
|
|
234
270
|
#
|
235
271
|
# Example:
|
236
272
|
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
241
|
-
#
|
273
|
+
# message ListLogEntriesRequest {
|
274
|
+
# string parent = 1 [(google.api.resource_reference) = {
|
275
|
+
# child_type: "logging.googleapis.com/LogEntry"
|
276
|
+
# };
|
277
|
+
# }
|
242
278
|
class ResourceReference
|
243
279
|
include ::Google::Protobuf::MessageExts
|
244
280
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -561,9 +561,22 @@ module Google
|
|
561
561
|
# by covering it with a colored rectangle.
|
562
562
|
# @!attribute [rw] parent
|
563
563
|
# @return [::String]
|
564
|
-
#
|
565
|
-
#
|
566
|
-
#
|
564
|
+
# Parent resource name.
|
565
|
+
#
|
566
|
+
# The format of this value varies depending on whether you have [specified a
|
567
|
+
# processing
|
568
|
+
# location](https://cloud.google.com/dlp/docs/specifying-location):
|
569
|
+
#
|
570
|
+
# + Projects scope, location specified:<br/>
|
571
|
+
# `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
572
|
+
# + Projects scope, no location specified (defaults to global):<br/>
|
573
|
+
# `projects/`<var>PROJECT_ID</var>
|
574
|
+
#
|
575
|
+
# The following example `parent` string specifies a parent project with the
|
576
|
+
# identifier `example-project`, and specifies the `europe-west3` location
|
577
|
+
# for processing data:
|
578
|
+
#
|
579
|
+
# parent=projects/example-project/locations/europe-west3
|
567
580
|
# @!attribute [rw] location_id
|
568
581
|
# @return [::String]
|
569
582
|
# Deprecated. This field has no effect.
|
@@ -641,8 +654,21 @@ module Google
|
|
641
654
|
# @!attribute [rw] parent
|
642
655
|
# @return [::String]
|
643
656
|
# Parent resource name.
|
644
|
-
#
|
645
|
-
#
|
657
|
+
#
|
658
|
+
# The format of this value varies depending on whether you have [specified a
|
659
|
+
# processing
|
660
|
+
# location](https://cloud.google.com/dlp/docs/specifying-location):
|
661
|
+
#
|
662
|
+
# + Projects scope, location specified:<br/>
|
663
|
+
# `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
664
|
+
# + Projects scope, no location specified (defaults to global):<br/>
|
665
|
+
# `projects/`<var>PROJECT_ID</var>
|
666
|
+
#
|
667
|
+
# The following example `parent` string specifies a parent project with the
|
668
|
+
# identifier `example-project`, and specifies the `europe-west3` location
|
669
|
+
# for processing data:
|
670
|
+
#
|
671
|
+
# parent=projects/example-project/locations/europe-west3
|
646
672
|
# @!attribute [rw] deidentify_config
|
647
673
|
# @return [::Google::Cloud::Dlp::V2::DeidentifyConfig]
|
648
674
|
# Configuration for the de-identification of the content item.
|
@@ -693,9 +719,22 @@ module Google
|
|
693
719
|
# Request to re-identify an item.
|
694
720
|
# @!attribute [rw] parent
|
695
721
|
# @return [::String]
|
696
|
-
# Required.
|
697
|
-
#
|
698
|
-
#
|
722
|
+
# Required. Parent resource name.
|
723
|
+
#
|
724
|
+
# The format of this value varies depending on whether you have [specified a
|
725
|
+
# processing
|
726
|
+
# location](https://cloud.google.com/dlp/docs/specifying-location):
|
727
|
+
#
|
728
|
+
# + Projects scope, location specified:<br/>
|
729
|
+
# `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
730
|
+
# + Projects scope, no location specified (defaults to global):<br/>
|
731
|
+
# `projects/`<var>PROJECT_ID</var>
|
732
|
+
#
|
733
|
+
# The following example `parent` string specifies a parent project with the
|
734
|
+
# identifier `example-project`, and specifies the `europe-west3` location
|
735
|
+
# for processing data:
|
736
|
+
#
|
737
|
+
# parent=projects/example-project/locations/europe-west3
|
699
738
|
# @!attribute [rw] reidentify_config
|
700
739
|
# @return [::Google::Cloud::Dlp::V2::DeidentifyConfig]
|
701
740
|
# Configuration for the re-identification of the content item.
|
@@ -725,10 +764,11 @@ module Google
|
|
725
764
|
# @return [::String]
|
726
765
|
# Template to use. References an instance of `DeidentifyTemplate`.
|
727
766
|
# Any configuration directly specified in `reidentify_config` or
|
728
|
-
# `inspect_config` will override those set in the template.
|
729
|
-
#
|
730
|
-
#
|
731
|
-
#
|
767
|
+
# `inspect_config` will override those set in the template. The
|
768
|
+
# `DeidentifyTemplate` used must include only reversible transformations.
|
769
|
+
# Singular fields that are set in this request will replace their
|
770
|
+
# corresponding fields in the template. Repeated fields are appended.
|
771
|
+
# Singular sub-messages and groups are recursively merged.
|
732
772
|
# @!attribute [rw] location_id
|
733
773
|
# @return [::String]
|
734
774
|
# Deprecated. This field has no effect.
|
@@ -753,8 +793,21 @@ module Google
|
|
753
793
|
# @!attribute [rw] parent
|
754
794
|
# @return [::String]
|
755
795
|
# Parent resource name.
|
756
|
-
#
|
757
|
-
#
|
796
|
+
#
|
797
|
+
# The format of this value varies depending on whether you have [specified a
|
798
|
+
# processing
|
799
|
+
# location](https://cloud.google.com/dlp/docs/specifying-location):
|
800
|
+
#
|
801
|
+
# + Projects scope, location specified:<br/>
|
802
|
+
# `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
803
|
+
# + Projects scope, no location specified (defaults to global):<br/>
|
804
|
+
# `projects/`<var>PROJECT_ID</var>
|
805
|
+
#
|
806
|
+
# The following example `parent` string specifies a parent project with the
|
807
|
+
# identifier `example-project`, and specifies the `europe-west3` location
|
808
|
+
# for processing data:
|
809
|
+
#
|
810
|
+
# parent=projects/example-project/locations/europe-west3
|
758
811
|
# @!attribute [rw] inspect_config
|
759
812
|
# @return [::Google::Cloud::Dlp::V2::InspectConfig]
|
760
813
|
# Configuration for the inspector. What specified here will override
|
@@ -945,7 +998,10 @@ module Google
|
|
945
998
|
# @!attribute [rw] parent
|
946
999
|
# @return [::String]
|
947
1000
|
# The parent resource name.
|
948
|
-
#
|
1001
|
+
#
|
1002
|
+
# The format of this value is as follows:
|
1003
|
+
#
|
1004
|
+
# locations/<var>LOCATION_ID</var>
|
949
1005
|
# @!attribute [rw] language_code
|
950
1006
|
# @return [::String]
|
951
1007
|
# BCP-47 language code for localized infoType friendly
|
@@ -1271,6 +1327,9 @@ module Google
|
|
1271
1327
|
# @!attribute [rw] delta_presence_estimation_result
|
1272
1328
|
# @return [::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult]
|
1273
1329
|
# Delta-presence result
|
1330
|
+
# @!attribute [rw] requested_options
|
1331
|
+
# @return [::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::RequestedRiskAnalysisOptions]
|
1332
|
+
# The configuration used for this job.
|
1274
1333
|
class AnalyzeDataSourceRiskDetails
|
1275
1334
|
include ::Google::Protobuf::MessageExts
|
1276
1335
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1543,6 +1602,15 @@ module Google
|
|
1543
1602
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1544
1603
|
end
|
1545
1604
|
end
|
1605
|
+
|
1606
|
+
# Risk analysis options.
|
1607
|
+
# @!attribute [rw] job_config
|
1608
|
+
# @return [::Google::Cloud::Dlp::V2::RiskAnalysisJobConfig]
|
1609
|
+
# The job config for the risk job.
|
1610
|
+
class RequestedRiskAnalysisOptions
|
1611
|
+
include ::Google::Protobuf::MessageExts
|
1612
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1613
|
+
end
|
1546
1614
|
end
|
1547
1615
|
|
1548
1616
|
# A value of a field, including its frequency.
|
@@ -2049,6 +2117,9 @@ module Google
|
|
2049
2117
|
# Number of characters must be in the range [2, 95].
|
2050
2118
|
# This must be encoded as ASCII.
|
2051
2119
|
# The order of characters does not matter.
|
2120
|
+
# The full list of allowed characters is:
|
2121
|
+
# <code>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
|
2122
|
+
# ~`!@#$%^&*()_-+={[}]|\:;"'<,>.?/</code>
|
2052
2123
|
# @!attribute [rw] radix
|
2053
2124
|
# @return [::Integer]
|
2054
2125
|
# The native way to select the alphabet. Must be in the range [2, 95].
|
@@ -2695,10 +2766,25 @@ module Google
|
|
2695
2766
|
# @!attribute [rw] parent
|
2696
2767
|
# @return [::String]
|
2697
2768
|
# Required. Parent resource name.
|
2698
|
-
#
|
2699
|
-
#
|
2700
|
-
#
|
2701
|
-
#
|
2769
|
+
#
|
2770
|
+
# The format of this value varies depending on the scope of the request
|
2771
|
+
# (project or organization) and whether you have [specified a processing
|
2772
|
+
# location](https://cloud.google.com/dlp/docs/specifying-location):
|
2773
|
+
#
|
2774
|
+
# + Projects scope, location specified:<br/>
|
2775
|
+
# `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
2776
|
+
# + Projects scope, no location specified (defaults to global):<br/>
|
2777
|
+
# `projects/`<var>PROJECT_ID</var>
|
2778
|
+
# + Organizations scope, location specified:<br/>
|
2779
|
+
# `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
|
2780
|
+
# + Organizations scope, no location specified (defaults to global):<br/>
|
2781
|
+
# `organizations/`<var>ORG_ID</var>
|
2782
|
+
#
|
2783
|
+
# The following example `parent` string specifies a parent project with the
|
2784
|
+
# identifier `example-project`, and specifies the `europe-west3` location
|
2785
|
+
# for processing data:
|
2786
|
+
#
|
2787
|
+
# parent=projects/example-project/locations/europe-west3
|
2702
2788
|
# @!attribute [rw] inspect_template
|
2703
2789
|
# @return [::Google::Cloud::Dlp::V2::InspectTemplate]
|
2704
2790
|
# Required. The InspectTemplate to create.
|
@@ -2706,7 +2792,7 @@ module Google
|
|
2706
2792
|
# @return [::String]
|
2707
2793
|
# The template id can contain uppercase and lowercase letters,
|
2708
2794
|
# numbers, and hyphens; that is, it must match the regular
|
2709
|
-
# expression: `[a-zA-Z
|
2795
|
+
# expression: `[a-zA-Z\d-_]+`. The maximum length is 100
|
2710
2796
|
# characters. Can be empty to allow the system to generate one.
|
2711
2797
|
# @!attribute [rw] location_id
|
2712
2798
|
# @return [::String]
|
@@ -2748,10 +2834,25 @@ module Google
|
|
2748
2834
|
# @!attribute [rw] parent
|
2749
2835
|
# @return [::String]
|
2750
2836
|
# Required. Parent resource name.
|
2751
|
-
#
|
2752
|
-
#
|
2753
|
-
#
|
2754
|
-
#
|
2837
|
+
#
|
2838
|
+
# The format of this value varies depending on the scope of the request
|
2839
|
+
# (project or organization) and whether you have [specified a processing
|
2840
|
+
# location](https://cloud.google.com/dlp/docs/specifying-location):
|
2841
|
+
#
|
2842
|
+
# + Projects scope, location specified:<br/>
|
2843
|
+
# `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
2844
|
+
# + Projects scope, no location specified (defaults to global):<br/>
|
2845
|
+
# `projects/`<var>PROJECT_ID</var>
|
2846
|
+
# + Organizations scope, location specified:<br/>
|
2847
|
+
# `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
|
2848
|
+
# + Organizations scope, no location specified (defaults to global):<br/>
|
2849
|
+
# `organizations/`<var>ORG_ID</var>
|
2850
|
+
#
|
2851
|
+
# The following example `parent` string specifies a parent project with the
|
2852
|
+
# identifier `example-project`, and specifies the `europe-west3` location
|
2853
|
+
# for processing data:
|
2854
|
+
#
|
2855
|
+
# parent=projects/example-project/locations/europe-west3
|
2755
2856
|
# @!attribute [rw] page_token
|
2756
2857
|
# @return [::String]
|
2757
2858
|
# Page token to continue retrieval. Comes from previous call
|
@@ -2811,8 +2912,21 @@ module Google
|
|
2811
2912
|
# @!attribute [rw] parent
|
2812
2913
|
# @return [::String]
|
2813
2914
|
# Required. Parent resource name.
|
2814
|
-
#
|
2815
|
-
#
|
2915
|
+
#
|
2916
|
+
# The format of this value varies depending on whether you have [specified a
|
2917
|
+
# processing
|
2918
|
+
# location](https://cloud.google.com/dlp/docs/specifying-location):
|
2919
|
+
#
|
2920
|
+
# + Projects scope, location specified:<br/>
|
2921
|
+
# `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
2922
|
+
# + Projects scope, no location specified (defaults to global):<br/>
|
2923
|
+
# `projects/`<var>PROJECT_ID</var>
|
2924
|
+
#
|
2925
|
+
# The following example `parent` string specifies a parent project with the
|
2926
|
+
# identifier `example-project`, and specifies the `europe-west3` location
|
2927
|
+
# for processing data:
|
2928
|
+
#
|
2929
|
+
# parent=projects/example-project/locations/europe-west3
|
2816
2930
|
# @!attribute [rw] job_trigger
|
2817
2931
|
# @return [::Google::Cloud::Dlp::V2::JobTrigger]
|
2818
2932
|
# Required. The JobTrigger to create.
|
@@ -2820,7 +2934,7 @@ module Google
|
|
2820
2934
|
# @return [::String]
|
2821
2935
|
# The trigger id can contain uppercase and lowercase letters,
|
2822
2936
|
# numbers, and hyphens; that is, it must match the regular
|
2823
|
-
# expression: `[a-zA-Z
|
2937
|
+
# expression: `[a-zA-Z\d-_]+`. The maximum length is 100
|
2824
2938
|
# characters. Can be empty to allow the system to generate one.
|
2825
2939
|
# @!attribute [rw] location_id
|
2826
2940
|
# @return [::String]
|
@@ -2872,8 +2986,21 @@ module Google
|
|
2872
2986
|
# @!attribute [rw] parent
|
2873
2987
|
# @return [::String]
|
2874
2988
|
# Required. Parent resource name.
|
2875
|
-
#
|
2876
|
-
#
|
2989
|
+
#
|
2990
|
+
# The format of this value varies depending on whether you have [specified a
|
2991
|
+
# processing
|
2992
|
+
# location](https://cloud.google.com/dlp/docs/specifying-location):
|
2993
|
+
#
|
2994
|
+
# + Projects scope, location specified:<br/>
|
2995
|
+
# `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
2996
|
+
# + Projects scope, no location specified (defaults to global):<br/>
|
2997
|
+
# `projects/`<var>PROJECT_ID</var>
|
2998
|
+
#
|
2999
|
+
# The following example `parent` string specifies a parent project with the
|
3000
|
+
# identifier `example-project`, and specifies the `europe-west3` location
|
3001
|
+
# for processing data:
|
3002
|
+
#
|
3003
|
+
# parent=projects/example-project/locations/europe-west3
|
2877
3004
|
# @!attribute [rw] inspect_job
|
2878
3005
|
# @return [::Google::Cloud::Dlp::V2::InspectJobConfig]
|
2879
3006
|
# Set to control what and how to inspect.
|
@@ -2884,7 +3011,7 @@ module Google
|
|
2884
3011
|
# @return [::String]
|
2885
3012
|
# The job id can contain uppercase and lowercase letters,
|
2886
3013
|
# numbers, and hyphens; that is, it must match the regular
|
2887
|
-
# expression: `[a-zA-Z
|
3014
|
+
# expression: `[a-zA-Z\d-_]+`. The maximum length is 100
|
2888
3015
|
# characters. Can be empty to allow the system to generate one.
|
2889
3016
|
# @!attribute [rw] location_id
|
2890
3017
|
# @return [::String]
|
@@ -2898,8 +3025,21 @@ module Google
|
|
2898
3025
|
# @!attribute [rw] parent
|
2899
3026
|
# @return [::String]
|
2900
3027
|
# Required. Parent resource name.
|
2901
|
-
#
|
2902
|
-
#
|
3028
|
+
#
|
3029
|
+
# The format of this value varies depending on whether you have [specified a
|
3030
|
+
# processing
|
3031
|
+
# location](https://cloud.google.com/dlp/docs/specifying-location):
|
3032
|
+
#
|
3033
|
+
# + Projects scope, location specified:<br/>
|
3034
|
+
# `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
3035
|
+
# + Projects scope, no location specified (defaults to global):<br/>
|
3036
|
+
# `projects/`<var>PROJECT_ID</var>
|
3037
|
+
#
|
3038
|
+
# The following example `parent` string specifies a parent project with the
|
3039
|
+
# identifier `example-project`, and specifies the `europe-west3` location
|
3040
|
+
# for processing data:
|
3041
|
+
#
|
3042
|
+
# parent=projects/example-project/locations/europe-west3
|
2903
3043
|
# @!attribute [rw] page_token
|
2904
3044
|
# @return [::String]
|
2905
3045
|
# Page token to continue retrieval. Comes from previous call
|
@@ -3080,8 +3220,21 @@ module Google
|
|
3080
3220
|
# @!attribute [rw] parent
|
3081
3221
|
# @return [::String]
|
3082
3222
|
# Required. Parent resource name.
|
3083
|
-
#
|
3084
|
-
#
|
3223
|
+
#
|
3224
|
+
# The format of this value varies depending on whether you have [specified a
|
3225
|
+
# processing
|
3226
|
+
# location](https://cloud.google.com/dlp/docs/specifying-location):
|
3227
|
+
#
|
3228
|
+
# + Projects scope, location specified:<br/>
|
3229
|
+
# `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
3230
|
+
# + Projects scope, no location specified (defaults to global):<br/>
|
3231
|
+
# `projects/`<var>PROJECT_ID</var>
|
3232
|
+
#
|
3233
|
+
# The following example `parent` string specifies a parent project with the
|
3234
|
+
# identifier `example-project`, and specifies the `europe-west3` location
|
3235
|
+
# for processing data:
|
3236
|
+
#
|
3237
|
+
# parent=projects/example-project/locations/europe-west3
|
3085
3238
|
# @!attribute [rw] filter
|
3086
3239
|
# @return [::String]
|
3087
3240
|
# Allows filtering.
|
@@ -3187,10 +3340,25 @@ module Google
|
|
3187
3340
|
# @!attribute [rw] parent
|
3188
3341
|
# @return [::String]
|
3189
3342
|
# Required. Parent resource name.
|
3190
|
-
#
|
3191
|
-
#
|
3192
|
-
#
|
3193
|
-
#
|
3343
|
+
#
|
3344
|
+
# The format of this value varies depending on the scope of the request
|
3345
|
+
# (project or organization) and whether you have [specified a processing
|
3346
|
+
# location](https://cloud.google.com/dlp/docs/specifying-location):
|
3347
|
+
#
|
3348
|
+
# + Projects scope, location specified:<br/>
|
3349
|
+
# `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
3350
|
+
# + Projects scope, no location specified (defaults to global):<br/>
|
3351
|
+
# `projects/`<var>PROJECT_ID</var>
|
3352
|
+
# + Organizations scope, location specified:<br/>
|
3353
|
+
# `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
|
3354
|
+
# + Organizations scope, no location specified (defaults to global):<br/>
|
3355
|
+
# `organizations/`<var>ORG_ID</var>
|
3356
|
+
#
|
3357
|
+
# The following example `parent` string specifies a parent project with the
|
3358
|
+
# identifier `example-project`, and specifies the `europe-west3` location
|
3359
|
+
# for processing data:
|
3360
|
+
#
|
3361
|
+
# parent=projects/example-project/locations/europe-west3
|
3194
3362
|
# @!attribute [rw] deidentify_template
|
3195
3363
|
# @return [::Google::Cloud::Dlp::V2::DeidentifyTemplate]
|
3196
3364
|
# Required. The DeidentifyTemplate to create.
|
@@ -3198,7 +3366,7 @@ module Google
|
|
3198
3366
|
# @return [::String]
|
3199
3367
|
# The template id can contain uppercase and lowercase letters,
|
3200
3368
|
# numbers, and hyphens; that is, it must match the regular
|
3201
|
-
# expression: `[a-zA-Z
|
3369
|
+
# expression: `[a-zA-Z\d-_]+`. The maximum length is 100
|
3202
3370
|
# characters. Can be empty to allow the system to generate one.
|
3203
3371
|
# @!attribute [rw] location_id
|
3204
3372
|
# @return [::String]
|
@@ -3240,10 +3408,25 @@ module Google
|
|
3240
3408
|
# @!attribute [rw] parent
|
3241
3409
|
# @return [::String]
|
3242
3410
|
# Required. Parent resource name.
|
3243
|
-
#
|
3244
|
-
#
|
3245
|
-
#
|
3246
|
-
#
|
3411
|
+
#
|
3412
|
+
# The format of this value varies depending on the scope of the request
|
3413
|
+
# (project or organization) and whether you have [specified a processing
|
3414
|
+
# location](https://cloud.google.com/dlp/docs/specifying-location):
|
3415
|
+
#
|
3416
|
+
# + Projects scope, location specified:<br/>
|
3417
|
+
# `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
3418
|
+
# + Projects scope, no location specified (defaults to global):<br/>
|
3419
|
+
# `projects/`<var>PROJECT_ID</var>
|
3420
|
+
# + Organizations scope, location specified:<br/>
|
3421
|
+
# `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
|
3422
|
+
# + Organizations scope, no location specified (defaults to global):<br/>
|
3423
|
+
# `organizations/`<var>ORG_ID</var>
|
3424
|
+
#
|
3425
|
+
# The following example `parent` string specifies a parent project with the
|
3426
|
+
# identifier `example-project`, and specifies the `europe-west3` location
|
3427
|
+
# for processing data:
|
3428
|
+
#
|
3429
|
+
# parent=projects/example-project/locations/europe-west3
|
3247
3430
|
# @!attribute [rw] page_token
|
3248
3431
|
# @return [::String]
|
3249
3432
|
# Page token to continue retrieval. Comes from previous call
|
@@ -3421,10 +3604,25 @@ module Google
|
|
3421
3604
|
# @!attribute [rw] parent
|
3422
3605
|
# @return [::String]
|
3423
3606
|
# Required. Parent resource name.
|
3424
|
-
#
|
3425
|
-
#
|
3426
|
-
#
|
3427
|
-
#
|
3607
|
+
#
|
3608
|
+
# The format of this value varies depending on the scope of the request
|
3609
|
+
# (project or organization) and whether you have [specified a processing
|
3610
|
+
# location](https://cloud.google.com/dlp/docs/specifying-location):
|
3611
|
+
#
|
3612
|
+
# + Projects scope, location specified:<br/>
|
3613
|
+
# `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
3614
|
+
# + Projects scope, no location specified (defaults to global):<br/>
|
3615
|
+
# `projects/`<var>PROJECT_ID</var>
|
3616
|
+
# + Organizations scope, location specified:<br/>
|
3617
|
+
# `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
|
3618
|
+
# + Organizations scope, no location specified (defaults to global):<br/>
|
3619
|
+
# `organizations/`<var>ORG_ID</var>
|
3620
|
+
#
|
3621
|
+
# The following example `parent` string specifies a parent project with the
|
3622
|
+
# identifier `example-project`, and specifies the `europe-west3` location
|
3623
|
+
# for processing data:
|
3624
|
+
#
|
3625
|
+
# parent=projects/example-project/locations/europe-west3
|
3428
3626
|
# @!attribute [rw] config
|
3429
3627
|
# @return [::Google::Cloud::Dlp::V2::StoredInfoTypeConfig]
|
3430
3628
|
# Required. Configuration of the storedInfoType to create.
|
@@ -3432,7 +3630,7 @@ module Google
|
|
3432
3630
|
# @return [::String]
|
3433
3631
|
# The storedInfoType ID can contain uppercase and lowercase letters,
|
3434
3632
|
# numbers, and hyphens; that is, it must match the regular
|
3435
|
-
# expression: `[a-zA-Z
|
3633
|
+
# expression: `[a-zA-Z\d-_]+`. The maximum length is 100
|
3436
3634
|
# characters. Can be empty to allow the system to generate one.
|
3437
3635
|
# @!attribute [rw] location_id
|
3438
3636
|
# @return [::String]
|
@@ -3476,10 +3674,25 @@ module Google
|
|
3476
3674
|
# @!attribute [rw] parent
|
3477
3675
|
# @return [::String]
|
3478
3676
|
# Required. Parent resource name.
|
3479
|
-
#
|
3480
|
-
#
|
3481
|
-
#
|
3482
|
-
#
|
3677
|
+
#
|
3678
|
+
# The format of this value varies depending on the scope of the request
|
3679
|
+
# (project or organization) and whether you have [specified a processing
|
3680
|
+
# location](https://cloud.google.com/dlp/docs/specifying-location):
|
3681
|
+
#
|
3682
|
+
# + Projects scope, location specified:<br/>
|
3683
|
+
# `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
3684
|
+
# + Projects scope, no location specified (defaults to global):<br/>
|
3685
|
+
# `projects/`<var>PROJECT_ID</var>
|
3686
|
+
# + Organizations scope, location specified:<br/>
|
3687
|
+
# `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
|
3688
|
+
# + Organizations scope, no location specified (defaults to global):<br/>
|
3689
|
+
# `organizations/`<var>ORG_ID</var>
|
3690
|
+
#
|
3691
|
+
# The following example `parent` string specifies a parent project with the
|
3692
|
+
# identifier `example-project`, and specifies the `europe-west3` location
|
3693
|
+
# for processing data:
|
3694
|
+
#
|
3695
|
+
# parent=projects/example-project/locations/europe-west3
|
3483
3696
|
# @!attribute [rw] page_token
|
3484
3697
|
# @return [::String]
|
3485
3698
|
# Page token to continue retrieval. Comes from previous call
|