You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pre>Lists Connections in a parent. Use SearchConnections to see all connections within an organization.
265
+
266
+
Args:
267
+
parent: string, Required. Resource name of the organization or project, for example `organizations/433245324/locations/europe` or `projects/project-id/locations/asia`. (required)
pageSize: integer, Optional. Number of results per page, max 1000.
270
+
pageToken: string, Optional. Page token from a previous page to return the next set of results. If set, all other request fields must match the original request.
271
+
x__xgafv: string, V1 error format.
272
+
Allowed values
273
+
1 - v1 error format
274
+
2 - v2 error format
275
+
276
+
Returns:
277
+
An object of the form:
278
+
279
+
{ # Response message for ListConnections.
280
+
"connections": [ # List of connections.
281
+
{ # A data connection to allow DLP to profile data in locations that require additional configuration.
282
+
"cloudSql": { # Cloud SQL connection properties. # Connect to a Cloud SQL instance.
283
+
"cloudSqlIam": { # Use IAM authentication to connect. This requires the Cloud SQL IAM feature to be enabled on the instance, which is not the default for Cloud SQL. See https://cloud.google.com/sql/docs/postgres/authentication and https://cloud.google.com/sql/docs/mysql/authentication. # Built-in IAM authentication (must be configured in Cloud SQL).
284
+
},
285
+
"connectionName": "A String", # Optional. Immutable. The Cloud SQL instance for which the connection is defined. Only one connection per instance is allowed. This can only be set at creation time, and cannot be updated. It is an error to use a connection_name from different project or region than the one that holds the connection. For example, a Connection resource for Cloud SQL connection_name `project-id:us-central1:sql-instance` must be created under the parent `projects/project-id/locations/us-central1`
286
+
"databaseEngine": "A String", # Required. The database engine used by the Cloud SQL instance that this connection configures.
287
+
"maxConnections": 42, # Required. DLP will limit its connections to max_connections. Must be 2 or greater.
288
+
"usernamePassword": { # A credential consisting of a username and password, where the password is stored in a Secret Manager resource. Note: Secret Manager [charges apply](https://cloud.google.com/secret-manager/pricing). # A username and password stored in Secret Manager.
289
+
"passwordSecretVersionName": "A String", # Required. The name of the Secret Manager resource that stores the password, in the form `projects/project-id/secrets/secret-name/versions/version`.
290
+
"username": "A String", # Required. The username.
291
+
},
292
+
},
293
+
"errors": [ # Output only. Set if status == ERROR, to provide additional details. Will store the last 10 errors sorted with the most recent first.
294
+
{ # Details information about an error encountered during job execution or the results of an unsuccessful activation of the JobTrigger.
295
+
"details": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Detailed error codes and messages.
296
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
297
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
298
+
{
299
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
300
+
},
301
+
],
302
+
"message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
303
+
},
304
+
"extraInfo": "A String", # Additional information about the error.
305
+
"timestamps": [ # The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
306
+
"A String",
307
+
],
308
+
},
309
+
],
310
+
"name": "A String", # Output only. Name of the connection: `projects/{project}/locations/{location}/connections/{name}`.
311
+
"state": "A String", # Required. The connection's state in its lifecycle.
312
+
},
313
+
],
314
+
"nextPageToken": "A String", # Token to retrieve the next page of results. An empty value means there are no more results.
parent: string, Required. Parent name, typically an organization, without location. For example: `organizations/12345678`. (required)
424
+
parent: string, Required. Resource name of the organization or project with a wildcard location, for example `organizations/433245324/locations/-` or `projects/project-id/locations/-`. (required)
pageSize: integer, Optional. Number of results per page, max 1000.
351
427
pageToken: string, Optional. Page token from a previous page to return the next set of results. If set, all other request fields must match the original request.
Copy file name to clipboardExpand all lines: docs/dyn/dlp_v2.organizations.locations.discoveryConfigs.html
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -179,6 +179,7 @@ <h3>Method Details</h3>
179
179
"inspectTemplateModifiedCadence": { # The cadence at which to update data profiles when the inspection rules defined by the `InspectTemplate` change. # Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change. If not set, changing the template will not cause a data profile to update.
180
180
"frequency": "A String", # How frequently data profiles can be updated when the template is modified. Defaults to never.
181
181
},
182
+
"refreshFrequency": "A String", # Frequency to update profiles regardless of whether the underlying resource has changed. Defaults to never.
182
183
"schemaModifiedCadence": { # The cadence at which to update data profiles when a schema is modified. # Governs when to update data profiles when a schema is modified.
183
184
"frequency": "A String", # How frequently profiles may be updated when schemas are modified. Defaults to monthly.
184
185
"types": [ # The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
@@ -395,6 +396,7 @@ <h3>Method Details</h3>
395
396
"inspectTemplateModifiedCadence": { # The cadence at which to update data profiles when the inspection rules defined by the `InspectTemplate` change. # Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change. If not set, changing the template will not cause a data profile to update.
396
397
"frequency": "A String", # How frequently data profiles can be updated when the template is modified. Defaults to never.
397
398
},
399
+
"refreshFrequency": "A String", # Frequency to update profiles regardless of whether the underlying resource has changed. Defaults to never.
398
400
"schemaModifiedCadence": { # The cadence at which to update data profiles when a schema is modified. # Governs when to update data profiles when a schema is modified.
399
401
"frequency": "A String", # How frequently profiles may be updated when schemas are modified. Defaults to monthly.
400
402
"types": [ # The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
@@ -635,6 +637,7 @@ <h3>Method Details</h3>
635
637
"inspectTemplateModifiedCadence": { # The cadence at which to update data profiles when the inspection rules defined by the `InspectTemplate` change. # Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change. If not set, changing the template will not cause a data profile to update.
636
638
"frequency": "A String", # How frequently data profiles can be updated when the template is modified. Defaults to never.
637
639
},
640
+
"refreshFrequency": "A String", # Frequency to update profiles regardless of whether the underlying resource has changed. Defaults to never.
638
641
"schemaModifiedCadence": { # The cadence at which to update data profiles when a schema is modified. # Governs when to update data profiles when a schema is modified.
639
642
"frequency": "A String", # How frequently profiles may be updated when schemas are modified. Defaults to monthly.
640
643
"types": [ # The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
@@ -862,6 +865,7 @@ <h3>Method Details</h3>
862
865
"inspectTemplateModifiedCadence": { # The cadence at which to update data profiles when the inspection rules defined by the `InspectTemplate` change. # Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change. If not set, changing the template will not cause a data profile to update.
863
866
"frequency": "A String", # How frequently data profiles can be updated when the template is modified. Defaults to never.
864
867
},
868
+
"refreshFrequency": "A String", # Frequency to update profiles regardless of whether the underlying resource has changed. Defaults to never.
865
869
"schemaModifiedCadence": { # The cadence at which to update data profiles when a schema is modified. # Governs when to update data profiles when a schema is modified.
866
870
"frequency": "A String", # How frequently profiles may be updated when schemas are modified. Defaults to monthly.
867
871
"types": [ # The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
@@ -1097,6 +1101,7 @@ <h3>Method Details</h3>
1097
1101
"inspectTemplateModifiedCadence": { # The cadence at which to update data profiles when the inspection rules defined by the `InspectTemplate` change. # Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change. If not set, changing the template will not cause a data profile to update.
1098
1102
"frequency": "A String", # How frequently data profiles can be updated when the template is modified. Defaults to never.
1099
1103
},
1104
+
"refreshFrequency": "A String", # Frequency to update profiles regardless of whether the underlying resource has changed. Defaults to never.
1100
1105
"schemaModifiedCadence": { # The cadence at which to update data profiles when a schema is modified. # Governs when to update data profiles when a schema is modified.
1101
1106
"frequency": "A String", # How frequently profiles may be updated when schemas are modified. Defaults to monthly.
1102
1107
"types": [ # The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
@@ -1314,6 +1319,7 @@ <h3>Method Details</h3>
1314
1319
"inspectTemplateModifiedCadence": { # The cadence at which to update data profiles when the inspection rules defined by the `InspectTemplate` change. # Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change. If not set, changing the template will not cause a data profile to update.
1315
1320
"frequency": "A String", # How frequently data profiles can be updated when the template is modified. Defaults to never.
1316
1321
},
1322
+
"refreshFrequency": "A String", # Frequency to update profiles regardless of whether the underlying resource has changed. Defaults to never.
1317
1323
"schemaModifiedCadence": { # The cadence at which to update data profiles when a schema is modified. # Governs when to update data profiles when a schema is modified.
1318
1324
"frequency": "A String", # How frequently profiles may be updated when schemas are modified. Defaults to monthly.
1319
1325
"types": [ # The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
Copy file name to clipboardExpand all lines: docs/dyn/dlp_v2.organizations.locations.fileStoreDataProfiles.html
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -233,6 +233,7 @@ <h3>Method Details</h3>
233
233
"inspectTemplateModifiedCadence": { # The cadence at which to update data profiles when the inspection rules defined by the `InspectTemplate` change. # Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change. If not set, changing the template will not cause a data profile to update.
234
234
"frequency": "A String", # How frequently data profiles can be updated when the template is modified. Defaults to never.
235
235
},
236
+
"refreshFrequency": "A String", # Frequency to update profiles regardless of whether the underlying resource has changed. Defaults to never.
236
237
"schemaModifiedCadence": { # The cadence at which to update data profiles when a schema is modified. # Governs when to update data profiles when a schema is modified.
237
238
"frequency": "A String", # How frequently profiles may be updated when schemas are modified. Defaults to monthly.
238
239
"types": [ # The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
@@ -806,6 +807,7 @@ <h3>Method Details</h3>
806
807
"inspectTemplateModifiedCadence": { # The cadence at which to update data profiles when the inspection rules defined by the `InspectTemplate` change. # Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change. If not set, changing the template will not cause a data profile to update.
807
808
"frequency": "A String", # How frequently data profiles can be updated when the template is modified. Defaults to never.
808
809
},
810
+
"refreshFrequency": "A String", # Frequency to update profiles regardless of whether the underlying resource has changed. Defaults to never.
809
811
"schemaModifiedCadence": { # The cadence at which to update data profiles when a schema is modified. # Governs when to update data profiles when a schema is modified.
810
812
"frequency": "A String", # How frequently profiles may be updated when schemas are modified. Defaults to monthly.
811
813
"types": [ # The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
Copy file name to clipboardExpand all lines: docs/dyn/dlp_v2.organizations.locations.tableDataProfiles.html
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -233,6 +233,7 @@ <h3>Method Details</h3>
233
233
"inspectTemplateModifiedCadence": { # The cadence at which to update data profiles when the inspection rules defined by the `InspectTemplate` change. # Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change. If not set, changing the template will not cause a data profile to update.
234
234
"frequency": "A String", # How frequently data profiles can be updated when the template is modified. Defaults to never.
235
235
},
236
+
"refreshFrequency": "A String", # Frequency to update profiles regardless of whether the underlying resource has changed. Defaults to never.
236
237
"schemaModifiedCadence": { # The cadence at which to update data profiles when a schema is modified. # Governs when to update data profiles when a schema is modified.
237
238
"frequency": "A String", # How frequently profiles may be updated when schemas are modified. Defaults to monthly.
238
239
"types": [ # The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
@@ -750,6 +751,7 @@ <h3>Method Details</h3>
750
751
"inspectTemplateModifiedCadence": { # The cadence at which to update data profiles when the inspection rules defined by the `InspectTemplate` change. # Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change. If not set, changing the template will not cause a data profile to update.
751
752
"frequency": "A String", # How frequently data profiles can be updated when the template is modified. Defaults to never.
752
753
},
754
+
"refreshFrequency": "A String", # Frequency to update profiles regardless of whether the underlying resource has changed. Defaults to never.
753
755
"schemaModifiedCadence": { # The cadence at which to update data profiles when a schema is modified. # Governs when to update data profiles when a schema is modified.
754
756
"frequency": "A String", # How frequently profiles may be updated when schemas are modified. Defaults to monthly.
755
757
"types": [ # The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
0 commit comments