google-cloud-dlp-v2 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c442dfa4c79234288f3a3a5dea9eedeb9c2ae129a0cf0f38b9e32091a234e66b
4
- data.tar.gz: 48a3361f8b5ee95b6818261c11490c85b21e602ce4a3956861aa893121df5be5
3
+ metadata.gz: 548717c05eff99a75af158e3396e39f060a2e7da612a8ea1645fb12ca8c78e8b
4
+ data.tar.gz: 2b5c13dd7783d4472e5844cc48804e0eb91459229c2e18f9685996b99dadc87e
5
5
  SHA512:
6
- metadata.gz: 5c9eecb41e377b9b6740ec13a22b5c671594e050aeaf12c9ded0532191d9e47885e76492ca40b28db437898b5a2b0e94a8987d61d526fbe819c70ae92be40e51
7
- data.tar.gz: f61f24f342f8bb89be2497716b46fbfb6cd385b197c1eb47b3218d29ecf0f8e838e8123921d911c93e031ee75454b6e4492d767455ed8e94b9a2d392276c329f
6
+ metadata.gz: b9d1312a1cd4b0f087a07d2022aa264ea0a2d8e9b3357bd49f9849fcc4f0a9ba3ebd106aa001ab18844d6628958c90143898984a79999652f091cd96604bfd2d
7
+ data.tar.gz: 3c0c06d0bd2154e25b633456edc1e98304fa670868cff705117952b9a6d68ce5c0ebebb760955543c513b83661c526445ddbf7b6f467c624b3c892a8b446d54b
@@ -370,7 +370,8 @@ module Google
370
370
  # Parent resource name.
371
371
  #
372
372
  # The format of this value varies depending on whether you have [specified a
373
- # processing location](/dlp/docs/specifying-location):
373
+ # processing
374
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
374
375
  #
375
376
  # + Projects scope, location specified:<br/>
376
377
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -470,7 +471,8 @@ module Google
470
471
  # Parent resource name.
471
472
  #
472
473
  # The format of this value varies depending on whether you have [specified a
473
- # processing location](/dlp/docs/specifying-location):
474
+ # processing
475
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
474
476
  #
475
477
  # + Projects scope, location specified:<br/>
476
478
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -568,7 +570,8 @@ module Google
568
570
  # Parent resource name.
569
571
  #
570
572
  # The format of this value varies depending on whether you have [specified a
571
- # processing location](/dlp/docs/specifying-location):
573
+ # processing
574
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
572
575
  #
573
576
  # + Projects scope, location specified:<br/>
574
577
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -675,7 +678,8 @@ module Google
675
678
  # Required. Parent resource name.
676
679
  #
677
680
  # The format of this value varies depending on whether you have [specified a
678
- # processing location](/dlp/docs/specifying-location):
681
+ # processing
682
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
679
683
  #
680
684
  # + Projects scope, location specified:<br/>
681
685
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -864,7 +868,7 @@ module Google
864
868
  #
865
869
  # The format of this value varies depending on the scope of the request
866
870
  # (project or organization) and whether you have [specified a processing
867
- # location](/dlp/docs/specifying-location):
871
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
868
872
  #
869
873
  # + Projects scope, location specified:<br/>
870
874
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -885,7 +889,7 @@ module Google
885
889
  # @param template_id [::String]
886
890
  # The template id can contain uppercase and lowercase letters,
887
891
  # numbers, and hyphens; that is, it must match the regular
888
- # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
892
+ # expression: `[a-zA-Z\d-_]+`. The maximum length is 100
889
893
  # characters. Can be empty to allow the system to generate one.
890
894
  # @param location_id [::String]
891
895
  # Deprecated. This field has no effect.
@@ -1101,7 +1105,7 @@ module Google
1101
1105
  #
1102
1106
  # The format of this value varies depending on the scope of the request
1103
1107
  # (project or organization) and whether you have [specified a processing
1104
- # location](/dlp/docs/specifying-location):
1108
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
1105
1109
  #
1106
1110
  # + Projects scope, location specified:<br/>
1107
1111
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -1281,7 +1285,7 @@ module Google
1281
1285
  #
1282
1286
  # The format of this value varies depending on the scope of the request
1283
1287
  # (project or organization) and whether you have [specified a processing
1284
- # location](/dlp/docs/specifying-location):
1288
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
1285
1289
  #
1286
1290
  # + Projects scope, location specified:<br/>
1287
1291
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -1302,7 +1306,7 @@ module Google
1302
1306
  # @param template_id [::String]
1303
1307
  # The template id can contain uppercase and lowercase letters,
1304
1308
  # numbers, and hyphens; that is, it must match the regular
1305
- # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
1309
+ # expression: `[a-zA-Z\d-_]+`. The maximum length is 100
1306
1310
  # characters. Can be empty to allow the system to generate one.
1307
1311
  # @param location_id [::String]
1308
1312
  # Deprecated. This field has no effect.
@@ -1521,7 +1525,7 @@ module Google
1521
1525
  #
1522
1526
  # The format of this value varies depending on the scope of the request
1523
1527
  # (project or organization) and whether you have [specified a processing
1524
- # location](/dlp/docs/specifying-location):
1528
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
1525
1529
  #
1526
1530
  # + Projects scope, location specified:<br/>
1527
1531
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -1700,7 +1704,8 @@ module Google
1700
1704
  # Required. Parent resource name.
1701
1705
  #
1702
1706
  # The format of this value varies depending on whether you have [specified a
1703
- # processing location](/dlp/docs/specifying-location):
1707
+ # processing
1708
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
1704
1709
  #
1705
1710
  # + Projects scope, location specified:<br/>
1706
1711
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -1717,7 +1722,7 @@ module Google
1717
1722
  # @param trigger_id [::String]
1718
1723
  # The trigger id can contain uppercase and lowercase letters,
1719
1724
  # numbers, and hyphens; that is, it must match the regular
1720
- # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
1725
+ # expression: `[a-zA-Z\d-_]+`. The maximum length is 100
1721
1726
  # characters. Can be empty to allow the system to generate one.
1722
1727
  # @param location_id [::String]
1723
1728
  # Deprecated. This field has no effect.
@@ -2004,7 +2009,8 @@ module Google
2004
2009
  # Required. Parent resource name.
2005
2010
  #
2006
2011
  # The format of this value varies depending on whether you have [specified a
2007
- # processing location](/dlp/docs/specifying-location):
2012
+ # processing
2013
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
2008
2014
  #
2009
2015
  # + Projects scope, location specified:<br/>
2010
2016
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -2276,7 +2282,8 @@ module Google
2276
2282
  # Required. Parent resource name.
2277
2283
  #
2278
2284
  # The format of this value varies depending on whether you have [specified a
2279
- # processing location](/dlp/docs/specifying-location):
2285
+ # processing
2286
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
2280
2287
  #
2281
2288
  # + Projects scope, location specified:<br/>
2282
2289
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -2295,7 +2302,7 @@ module Google
2295
2302
  # @param job_id [::String]
2296
2303
  # The job id can contain uppercase and lowercase letters,
2297
2304
  # numbers, and hyphens; that is, it must match the regular
2298
- # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
2305
+ # expression: `[a-zA-Z\d-_]+`. The maximum length is 100
2299
2306
  # characters. Can be empty to allow the system to generate one.
2300
2307
  # @param location_id [::String]
2301
2308
  # Deprecated. This field has no effect.
@@ -2369,7 +2376,8 @@ module Google
2369
2376
  # Required. Parent resource name.
2370
2377
  #
2371
2378
  # The format of this value varies depending on whether you have [specified a
2372
- # processing location](/dlp/docs/specifying-location):
2379
+ # processing
2380
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
2373
2381
  #
2374
2382
  # + Projects scope, location specified:<br/>
2375
2383
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -2712,7 +2720,7 @@ module Google
2712
2720
  #
2713
2721
  # The format of this value varies depending on the scope of the request
2714
2722
  # (project or organization) and whether you have [specified a processing
2715
- # location](/dlp/docs/specifying-location):
2723
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
2716
2724
  #
2717
2725
  # + Projects scope, location specified:<br/>
2718
2726
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -2733,7 +2741,7 @@ module Google
2733
2741
  # @param stored_info_type_id [::String]
2734
2742
  # The storedInfoType ID can contain uppercase and lowercase letters,
2735
2743
  # numbers, and hyphens; that is, it must match the regular
2736
- # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
2744
+ # expression: `[a-zA-Z\d-_]+`. The maximum length is 100
2737
2745
  # characters. Can be empty to allow the system to generate one.
2738
2746
  # @param location_id [::String]
2739
2747
  # Deprecated. This field has no effect.
@@ -2955,7 +2963,7 @@ module Google
2955
2963
  #
2956
2964
  # The format of this value varies depending on the scope of the request
2957
2965
  # (project or organization) and whether you have [specified a processing
2958
- # location](/dlp/docs/specifying-location):
2966
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
2959
2967
  #
2960
2968
  # + Projects scope, location specified:<br/>
2961
2969
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dlp
23
23
  module V2
24
- VERSION = "0.4.3"
24
+ VERSION = "0.4.4"
25
25
  end
26
26
  end
27
27
  end
@@ -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
- # 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}"
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 'projects' for
187
- # the name of 'projects/\\{project}'. It is the same concept of the `plural`
188
- # field in k8s CRD spec
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
- # message ListLogEntriesRequest {
238
- # string parent = 1 [(google.api.resource_reference) = {
239
- # child_type: "logging.googleapis.com/LogEntry"
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
@@ -564,7 +564,8 @@ module Google
564
564
  # Parent resource name.
565
565
  #
566
566
  # The format of this value varies depending on whether you have [specified a
567
- # processing location](/dlp/docs/specifying-location):
567
+ # processing
568
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
568
569
  #
569
570
  # + Projects scope, location specified:<br/>
570
571
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -655,7 +656,8 @@ module Google
655
656
  # Parent resource name.
656
657
  #
657
658
  # The format of this value varies depending on whether you have [specified a
658
- # processing location](/dlp/docs/specifying-location):
659
+ # processing
660
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
659
661
  #
660
662
  # + Projects scope, location specified:<br/>
661
663
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -720,7 +722,8 @@ module Google
720
722
  # Required. Parent resource name.
721
723
  #
722
724
  # The format of this value varies depending on whether you have [specified a
723
- # processing location](/dlp/docs/specifying-location):
725
+ # processing
726
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
724
727
  #
725
728
  # + Projects scope, location specified:<br/>
726
729
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -792,7 +795,8 @@ module Google
792
795
  # Parent resource name.
793
796
  #
794
797
  # The format of this value varies depending on whether you have [specified a
795
- # processing location](/dlp/docs/specifying-location):
798
+ # processing
799
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
796
800
  #
797
801
  # + Projects scope, location specified:<br/>
798
802
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -2753,7 +2757,7 @@ module Google
2753
2757
  #
2754
2758
  # The format of this value varies depending on the scope of the request
2755
2759
  # (project or organization) and whether you have [specified a processing
2756
- # location](/dlp/docs/specifying-location):
2760
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
2757
2761
  #
2758
2762
  # + Projects scope, location specified:<br/>
2759
2763
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -2776,7 +2780,7 @@ module Google
2776
2780
  # @return [::String]
2777
2781
  # The template id can contain uppercase and lowercase letters,
2778
2782
  # numbers, and hyphens; that is, it must match the regular
2779
- # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
2783
+ # expression: `[a-zA-Z\d-_]+`. The maximum length is 100
2780
2784
  # characters. Can be empty to allow the system to generate one.
2781
2785
  # @!attribute [rw] location_id
2782
2786
  # @return [::String]
@@ -2821,7 +2825,7 @@ module Google
2821
2825
  #
2822
2826
  # The format of this value varies depending on the scope of the request
2823
2827
  # (project or organization) and whether you have [specified a processing
2824
- # location](/dlp/docs/specifying-location):
2828
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
2825
2829
  #
2826
2830
  # + Projects scope, location specified:<br/>
2827
2831
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -2898,7 +2902,8 @@ module Google
2898
2902
  # Required. Parent resource name.
2899
2903
  #
2900
2904
  # The format of this value varies depending on whether you have [specified a
2901
- # processing location](/dlp/docs/specifying-location):
2905
+ # processing
2906
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
2902
2907
  #
2903
2908
  # + Projects scope, location specified:<br/>
2904
2909
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -2917,7 +2922,7 @@ module Google
2917
2922
  # @return [::String]
2918
2923
  # The trigger id can contain uppercase and lowercase letters,
2919
2924
  # numbers, and hyphens; that is, it must match the regular
2920
- # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
2925
+ # expression: `[a-zA-Z\d-_]+`. The maximum length is 100
2921
2926
  # characters. Can be empty to allow the system to generate one.
2922
2927
  # @!attribute [rw] location_id
2923
2928
  # @return [::String]
@@ -2971,7 +2976,8 @@ module Google
2971
2976
  # Required. Parent resource name.
2972
2977
  #
2973
2978
  # The format of this value varies depending on whether you have [specified a
2974
- # processing location](/dlp/docs/specifying-location):
2979
+ # processing
2980
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
2975
2981
  #
2976
2982
  # + Projects scope, location specified:<br/>
2977
2983
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -2993,7 +2999,7 @@ module Google
2993
2999
  # @return [::String]
2994
3000
  # The job id can contain uppercase and lowercase letters,
2995
3001
  # numbers, and hyphens; that is, it must match the regular
2996
- # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
3002
+ # expression: `[a-zA-Z\d-_]+`. The maximum length is 100
2997
3003
  # characters. Can be empty to allow the system to generate one.
2998
3004
  # @!attribute [rw] location_id
2999
3005
  # @return [::String]
@@ -3009,7 +3015,8 @@ module Google
3009
3015
  # Required. Parent resource name.
3010
3016
  #
3011
3017
  # The format of this value varies depending on whether you have [specified a
3012
- # processing location](/dlp/docs/specifying-location):
3018
+ # processing
3019
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
3013
3020
  #
3014
3021
  # + Projects scope, location specified:<br/>
3015
3022
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -3203,7 +3210,8 @@ module Google
3203
3210
  # Required. Parent resource name.
3204
3211
  #
3205
3212
  # The format of this value varies depending on whether you have [specified a
3206
- # processing location](/dlp/docs/specifying-location):
3213
+ # processing
3214
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
3207
3215
  #
3208
3216
  # + Projects scope, location specified:<br/>
3209
3217
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -3323,7 +3331,7 @@ module Google
3323
3331
  #
3324
3332
  # The format of this value varies depending on the scope of the request
3325
3333
  # (project or organization) and whether you have [specified a processing
3326
- # location](/dlp/docs/specifying-location):
3334
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
3327
3335
  #
3328
3336
  # + Projects scope, location specified:<br/>
3329
3337
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -3346,7 +3354,7 @@ module Google
3346
3354
  # @return [::String]
3347
3355
  # The template id can contain uppercase and lowercase letters,
3348
3356
  # numbers, and hyphens; that is, it must match the regular
3349
- # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
3357
+ # expression: `[a-zA-Z\d-_]+`. The maximum length is 100
3350
3358
  # characters. Can be empty to allow the system to generate one.
3351
3359
  # @!attribute [rw] location_id
3352
3360
  # @return [::String]
@@ -3391,7 +3399,7 @@ module Google
3391
3399
  #
3392
3400
  # The format of this value varies depending on the scope of the request
3393
3401
  # (project or organization) and whether you have [specified a processing
3394
- # location](/dlp/docs/specifying-location):
3402
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
3395
3403
  #
3396
3404
  # + Projects scope, location specified:<br/>
3397
3405
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -3587,7 +3595,7 @@ module Google
3587
3595
  #
3588
3596
  # The format of this value varies depending on the scope of the request
3589
3597
  # (project or organization) and whether you have [specified a processing
3590
- # location](/dlp/docs/specifying-location):
3598
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
3591
3599
  #
3592
3600
  # + Projects scope, location specified:<br/>
3593
3601
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
@@ -3610,7 +3618,7 @@ module Google
3610
3618
  # @return [::String]
3611
3619
  # The storedInfoType ID can contain uppercase and lowercase letters,
3612
3620
  # numbers, and hyphens; that is, it must match the regular
3613
- # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
3621
+ # expression: `[a-zA-Z\d-_]+`. The maximum length is 100
3614
3622
  # characters. Can be empty to allow the system to generate one.
3615
3623
  # @!attribute [rw] location_id
3616
3624
  # @return [::String]
@@ -3657,7 +3665,7 @@ module Google
3657
3665
  #
3658
3666
  # The format of this value varies depending on the scope of the request
3659
3667
  # (project or organization) and whether you have [specified a processing
3660
- # location](/dlp/docs/specifying-location):
3668
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
3661
3669
  #
3662
3670
  # + Projects scope, location specified:<br/>
3663
3671
  # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dlp-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-10 00:00:00.000000000 Z
11
+ date: 2020-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -204,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
204
204
  - !ruby/object:Gem::Version
205
205
  version: '0'
206
206
  requirements: []
207
- rubygems_version: 3.1.3
207
+ rubygems_version: 3.1.4
208
208
  signing_key:
209
209
  specification_version: 4
210
210
  summary: API Client library for the Cloud Data Loss Prevention (DLP) V2 API