@@ -160,7 +160,7 @@ service DlpService {
160160 rpc CreateInspectTemplate (CreateInspectTemplateRequest )
161161 returns (InspectTemplate ) {
162162 option (google.api.http ) = {
163- post : "/v2/{parent=organizations /*}/inspectTemplates"
163+ post : "/v2/{parent=projects/*/locations /*}/inspectTemplates"
164164 body : "*"
165165 additional_bindings {
166166 post : "/v2/{parent=organizations/*/locations/*}/inspectTemplates"
@@ -171,7 +171,7 @@ service DlpService {
171171 body : "*"
172172 }
173173 additional_bindings {
174- post : "/v2/{parent=projects/*/locations /*}/inspectTemplates"
174+ post : "/v2/{parent=organizations /*}/inspectTemplates"
175175 body : "*"
176176 }
177177 };
@@ -185,7 +185,7 @@ service DlpService {
185185 rpc UpdateInspectTemplate (UpdateInspectTemplateRequest )
186186 returns (InspectTemplate ) {
187187 option (google.api.http ) = {
188- patch : "/v2/{name=organizations /*/inspectTemplates/*}"
188+ patch : "/v2/{name=projects/*/locations /*/inspectTemplates/*}"
189189 body : "*"
190190 additional_bindings {
191191 patch : "/v2/{name=organizations/*/locations/*/inspectTemplates/*}"
@@ -196,7 +196,7 @@ service DlpService {
196196 body : "*"
197197 }
198198 additional_bindings {
199- patch : "/v2/{name=projects/*/locations /*/inspectTemplates/*}"
199+ patch : "/v2/{name=organizations /*/inspectTemplates/*}"
200200 body : "*"
201201 }
202202 };
@@ -209,13 +209,13 @@ service DlpService {
209209 // to learn more.
210210 rpc GetInspectTemplate (GetInspectTemplateRequest ) returns (InspectTemplate ) {
211211 option (google.api.http ) = {
212- get : "/v2/{name=organizations /*/inspectTemplates/*}"
212+ get : "/v2/{name=projects/*/locations /*/inspectTemplates/*}"
213213 additional_bindings {
214214 get : "/v2/{name=organizations/*/locations/*/inspectTemplates/*}"
215215 }
216216 additional_bindings { get : "/v2/{name=projects/*/inspectTemplates/*}" }
217217 additional_bindings {
218- get : "/v2/{name=projects/*/locations /*/inspectTemplates/*}"
218+ get : "/v2/{name=organizations /*/inspectTemplates/*}"
219219 }
220220 };
221221 option (google.api.method_signature ) = "name" ;
@@ -228,13 +228,13 @@ service DlpService {
228228 rpc ListInspectTemplates (ListInspectTemplatesRequest )
229229 returns (ListInspectTemplatesResponse ) {
230230 option (google.api.http ) = {
231- get : "/v2/{parent=organizations /*}/inspectTemplates"
231+ get : "/v2/{parent=projects/*/locations /*}/inspectTemplates"
232232 additional_bindings {
233233 get : "/v2/{parent=organizations/*/locations/*}/inspectTemplates"
234234 }
235235 additional_bindings { get : "/v2/{parent=projects/*}/inspectTemplates" }
236236 additional_bindings {
237- get : "/v2/{parent=projects/*/locations /*}/inspectTemplates"
237+ get : "/v2/{parent=organizations /*}/inspectTemplates"
238238 }
239239 };
240240 option (google.api.method_signature ) = "parent" ;
@@ -247,13 +247,13 @@ service DlpService {
247247 rpc DeleteInspectTemplate (DeleteInspectTemplateRequest )
248248 returns (google.protobuf.Empty ) {
249249 option (google.api.http ) = {
250- delete : "/v2/{name=organizations /*/inspectTemplates/*}"
250+ delete : "/v2/{name=projects/*/locations /*/inspectTemplates/*}"
251251 additional_bindings {
252252 delete : "/v2/{name=organizations/*/locations/*/inspectTemplates/*}"
253253 }
254254 additional_bindings { delete : "/v2/{name=projects/*/inspectTemplates/*}" }
255255 additional_bindings {
256- delete : "/v2/{name=projects/*/locations /*/inspectTemplates/*}"
256+ delete : "/v2/{name=organizations /*/inspectTemplates/*}"
257257 }
258258 };
259259 option (google.api.method_signature ) = "name" ;
@@ -898,6 +898,10 @@ service DlpService {
898898 option (google.api.http ) = {
899899 post : "/v2/{parent=projects/*/locations/*}/connections"
900900 body : "*"
901+ additional_bindings {
902+ post : "/v2/{parent=organizations/*/locations/*}/connections"
903+ body : "*"
904+ }
901905 };
902906 option (google.api.method_signature ) = "parent, connection" ;
903907 }
@@ -906,15 +910,22 @@ service DlpService {
906910 rpc GetConnection (GetConnectionRequest ) returns (Connection ) {
907911 option (google.api.http ) = {
908912 get : "/v2/{name=projects/*/locations/*/connections/*}"
913+ additional_bindings {
914+ get : "/v2/{name=organizations/*/locations/*/connections/*}"
915+ }
909916 };
910917 option (google.api.method_signature ) = "name" ;
911918 }
912919
913- // Lists Connections in a parent.
920+ // Lists Connections in a parent. Use SearchConnections to see all connections
921+ // within an organization.
914922 rpc ListConnections (ListConnectionsRequest )
915923 returns (ListConnectionsResponse ) {
916924 option (google.api.http ) = {
917925 get : "/v2/{parent=projects/*/locations/*}/connections"
926+ additional_bindings {
927+ get : "/v2/{parent=organizations/*/locations/*}/connections"
928+ }
918929 };
919930 option (google.api.method_signature ) = "parent" ;
920931 }
@@ -936,6 +947,9 @@ service DlpService {
936947 returns (google.protobuf.Empty ) {
937948 option (google.api.http ) = {
938949 delete : "/v2/{name=projects/*/locations/*/connections/*}"
950+ additional_bindings {
951+ delete : "/v2/{name=organizations/*/locations/*/connections/*}"
952+ }
939953 };
940954 option (google.api.method_signature ) = "name" ;
941955 }
@@ -945,6 +959,10 @@ service DlpService {
945959 option (google.api.http ) = {
946960 patch : "/v2/{name=projects/*/locations/*/connections/*}"
947961 body : "*"
962+ additional_bindings {
963+ patch : "/v2/{name=organizations/*/locations/*/connections/*}"
964+ body : "*"
965+ }
948966 };
949967 option (google.api.method_signature ) = "name" ;
950968 }
@@ -5246,6 +5264,10 @@ message DiscoveryGenerationCadence {
52465264 // defined by the `InspectTemplate` change.
52475265 // If not set, changing the template will not cause a data profile to update.
52485266 DiscoveryInspectTemplateModifiedCadence inspect_template_modified_cadence = 3 ;
5267+
5268+ // Frequency at which profiles should be updated, regardless of whether the
5269+ // underlying resource has changed. Defaults to never.
5270+ DataProfileUpdateFrequency refresh_frequency = 4 ;
52495271}
52505272
52515273// The cadence at which to update data profiles when a table is modified.
@@ -5734,7 +5756,7 @@ message DiscoveryStartingLocation {
57345756 // The ID of an organization to scan.
57355757 int64 organization_id = 1 ;
57365758
5737- // The ID of the folder within an organization to scan .
5759+ // The ID of the folder within an organization to be scanned .
57385760 int64 folder_id = 2 ;
57395761 }
57405762}
@@ -7637,8 +7659,15 @@ message DataProfilePubSubMessage {
76377659
76387660// Request message for CreateConnection.
76397661message CreateConnectionRequest {
7640- // Required. Parent resource name in the format:
7641- // `projects/{project}/locations/{location}`.
7662+ // Required. Parent resource name.
7663+ //
7664+ // The format of this value varies depending on the scope of the request
7665+ // (project or organization):
7666+ //
7667+ // + Projects scope:
7668+ // `projects/PROJECT_ID/locations/LOCATION_ID`
7669+ // + Organizations scope:
7670+ // `organizations/ORG_ID/locations/LOCATION_ID`
76427671 string parent = 1 [
76437672 (google.api.field_behavior ) = REQUIRED ,
76447673 (google.api.resource_reference ) = {
@@ -7662,8 +7691,9 @@ message GetConnectionRequest {
76627691
76637692// Request message for ListConnections.
76647693message ListConnectionsRequest {
7665- // Required. Parent name, for example:
7666- // `projects/project-id/locations/global`.
7694+ // Required. Resource name of the organization or project, for
7695+ // example, `organizations/433245324/locations/europe` or
7696+ // `projects/project-id/locations/asia`.
76677697 string parent = 1 [
76687698 (google.api.field_behavior ) = REQUIRED ,
76697699 (google.api.resource_reference ) = {
@@ -7684,8 +7714,9 @@ message ListConnectionsRequest {
76847714
76857715// Request message for SearchConnections.
76867716message SearchConnectionsRequest {
7687- // Required. Parent name, typically an organization, without location.
7688- // For example: `organizations/12345678`.
7717+ // Required. Resource name of the organization or project with a wildcard
7718+ // location, for example, `organizations/433245324/locations/-` or
7719+ // `projects/project-id/locations/-`.
76897720 string parent = 1 [
76907721 (google.api.field_behavior ) = REQUIRED ,
76917722 (google.api.resource_reference ) = {
@@ -7758,6 +7789,7 @@ message DeleteConnectionRequest {
77587789message Connection {
77597790 option (google.api.resource ) = {
77607791 type : "dlp.googleapis.com/Connection"
7792+ pattern : "organizations/{organization}/locations/{location}/connections/{connection}"
77617793 pattern : "projects/{project}/locations/{location}/connections/{connection}"
77627794 };
77637795
@@ -7891,7 +7923,7 @@ message DataSourceType {
78917923// Message used to identify file cluster type being profiled.
78927924message FileClusterType {
78937925 // Cluster type. Each cluster corresponds to a set of file types.
7894- // Over time new types may be added.
7926+ // Over time, new types may be added and files may move between clusters .
78957927 enum Cluster {
78967928 // Unused.
78977929 CLUSTER_UNSPECIFIED = 0 ;
0 commit comments