1<html><body> 2<style> 3 4body, h1, h2, h3, div, span, p, pre, a { 5 margin: 0; 6 padding: 0; 7 border: 0; 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 13} 14 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, h2, h3 { 50 border-bottom: solid #CCC 1px; 51} 52 53.toc_element { 54 margin-top: 0.5em; 55} 56 57.firstline { 58 margin-left: 2 em; 59} 60 61.method { 62 margin-top: 1em; 63 border: solid 1px #CCC; 64 padding: 1em; 65 background: #EEE; 66} 67 68.details { 69 font-weight: bold; 70 font-size: 14px; 71} 72 73</style> 74 75<h1><a href="dlp_v2.html">Cloud Data Loss Prevention (DLP) API</a> . <a href="dlp_v2.organizations.html">organizations</a> . <a href="dlp_v2.organizations.storedInfoTypes.html">storedInfoTypes</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#create">create(parent, body, x__xgafv=None)</a></code></p> 79<p class="firstline">Creates a pre-built stored infoType to be used for inspection.</p> 80<p class="toc_element"> 81 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p> 82<p class="firstline">Deletes a stored infoType.</p> 83<p class="toc_element"> 84 <code><a href="#get">get(name, x__xgafv=None)</a></code></p> 85<p class="firstline">Gets a stored infoType.</p> 86<p class="toc_element"> 87 <code><a href="#list">list(parent, orderBy=None, pageToken=None, x__xgafv=None, pageSize=None)</a></code></p> 88<p class="firstline">Lists stored infoTypes.</p> 89<p class="toc_element"> 90 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 91<p class="firstline">Retrieves the next page of results.</p> 92<p class="toc_element"> 93 <code><a href="#patch">patch(name, body, x__xgafv=None)</a></code></p> 94<p class="firstline">Updates the stored infoType by creating a new version. The existing version</p> 95<h3>Method Details</h3> 96<div class="method"> 97 <code class="details" id="create">create(parent, body, x__xgafv=None)</code> 98 <pre>Creates a pre-built stored infoType to be used for inspection. 99See https://cloud.google.com/dlp/docs/creating-stored-infotypes to 100learn more. 101 102Args: 103 parent: string, The parent resource name, for example projects/my-project-id or 104organizations/my-org-id. (required) 105 body: object, The request body. (required) 106 The object takes the form of: 107 108{ # Request message for CreateStoredInfoType. 109 "storedInfoTypeId": "A String", # The storedInfoType ID can contain uppercase and lowercase letters, 110 # numbers, and hyphens; that is, it must match the regular 111 # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100 112 # characters. Can be empty to allow the system to generate one. 113 "config": { # Configuration for a StoredInfoType. # Configuration of the storedInfoType to create. 114 "displayName": "A String", # Display name of the StoredInfoType (max 256 characters). 115 "largeCustomDictionary": { # Configuration for a custom dictionary created from a data source of any size # StoredInfoType where findings are defined by a dictionary of phrases. 116 # up to the maximum size defined in the 117 # [limits](https://cloud.google.com/dlp/limits) page. The artifacts of 118 # dictionary creation are stored in the specified Google Cloud Storage 119 # location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries 120 # that satisfy the size requirements. 121 "outputPath": { # Message representing a single file or path in Cloud Storage. # Location to store dictionary artifacts in Google Cloud Storage. These files 122 # will only be accessible by project owners and the DLP API. If any of these 123 # artifacts are modified, the dictionary is considered invalid and can no 124 # longer be used. 125 "path": "A String", # A url representing a file or path (no wildcards) in Cloud Storage. 126 # Example: gs://[BUCKET_NAME]/dictionary.txt 127 }, 128 "cloudStorageFileSet": { # Message representing a set of files in Cloud Storage. # Set of files containing newline-delimited lists of dictionary phrases. 129 "url": "A String", # The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the 130 # path is allowed. 131 }, 132 "bigQueryField": { # Message defining a field of a BigQuery table. # Field in a BigQuery table where each cell represents a dictionary phrase. 133 "field": { # General identifier of a data field in a storage service. # Designated field in the BigQuery table. 134 "name": "A String", # Name describing the field. 135 }, 136 "table": { # Message defining the location of a BigQuery table. A table is uniquely # Source table of the field. 137 # identified by its project_id, dataset_id, and table_name. Within a query 138 # a table is often referenced with a string in the format of: 139 # `<project_id>:<dataset_id>.<table_id>` or 140 # `<project_id>.<dataset_id>.<table_id>`. 141 "projectId": "A String", # The Google Cloud Platform project ID of the project containing the table. 142 # If omitted, project ID is inferred from the API call. 143 "tableId": "A String", # Name of the table. 144 "datasetId": "A String", # Dataset ID of the table. 145 }, 146 }, 147 }, 148 "description": "A String", # Description of the StoredInfoType (max 256 characters). 149 }, 150 } 151 152 x__xgafv: string, V1 error format. 153 Allowed values 154 1 - v1 error format 155 2 - v2 error format 156 157Returns: 158 An object of the form: 159 160 { # StoredInfoType resource message that contains information about the current 161 # version and any pending updates. 162 "pendingVersions": [ # Pending versions of the stored info type. Empty if no versions are 163 # pending. 164 { # Version of a StoredInfoType, including the configuration used to build it, 165 # create timestamp, and current state. 166 "config": { # Configuration for a StoredInfoType. # StoredInfoType configuration. 167 "displayName": "A String", # Display name of the StoredInfoType (max 256 characters). 168 "largeCustomDictionary": { # Configuration for a custom dictionary created from a data source of any size # StoredInfoType where findings are defined by a dictionary of phrases. 169 # up to the maximum size defined in the 170 # [limits](https://cloud.google.com/dlp/limits) page. The artifacts of 171 # dictionary creation are stored in the specified Google Cloud Storage 172 # location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries 173 # that satisfy the size requirements. 174 "outputPath": { # Message representing a single file or path in Cloud Storage. # Location to store dictionary artifacts in Google Cloud Storage. These files 175 # will only be accessible by project owners and the DLP API. If any of these 176 # artifacts are modified, the dictionary is considered invalid and can no 177 # longer be used. 178 "path": "A String", # A url representing a file or path (no wildcards) in Cloud Storage. 179 # Example: gs://[BUCKET_NAME]/dictionary.txt 180 }, 181 "cloudStorageFileSet": { # Message representing a set of files in Cloud Storage. # Set of files containing newline-delimited lists of dictionary phrases. 182 "url": "A String", # The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the 183 # path is allowed. 184 }, 185 "bigQueryField": { # Message defining a field of a BigQuery table. # Field in a BigQuery table where each cell represents a dictionary phrase. 186 "field": { # General identifier of a data field in a storage service. # Designated field in the BigQuery table. 187 "name": "A String", # Name describing the field. 188 }, 189 "table": { # Message defining the location of a BigQuery table. A table is uniquely # Source table of the field. 190 # identified by its project_id, dataset_id, and table_name. Within a query 191 # a table is often referenced with a string in the format of: 192 # `<project_id>:<dataset_id>.<table_id>` or 193 # `<project_id>.<dataset_id>.<table_id>`. 194 "projectId": "A String", # The Google Cloud Platform project ID of the project containing the table. 195 # If omitted, project ID is inferred from the API call. 196 "tableId": "A String", # Name of the table. 197 "datasetId": "A String", # Dataset ID of the table. 198 }, 199 }, 200 }, 201 "description": "A String", # Description of the StoredInfoType (max 256 characters). 202 }, 203 "state": "A String", # Stored info type version state. Read-only, updated by the system 204 # during dictionary creation. 205 "errors": [ # Errors that occurred when creating this storedInfoType version, or 206 # anomalies detected in the storedInfoType data that render it unusable. Only 207 # the five most recent errors will be displayed, with the most recent error 208 # appearing first. 209 # <p>For example, some of the data for stored custom dictionaries is put in 210 # the user's Google Cloud Storage bucket, and if this data is modified or 211 # deleted by the user or another system, the dictionary becomes invalid. 212 # <p>If any errors occur, fix the problem indicated by the error message and 213 # use the UpdateStoredInfoType API method to create another version of the 214 # storedInfoType to continue using it, reusing the same `config` if it was 215 # not the source of the error. 216 { # Details information about an error encountered during job execution or 217 # the results of an unsuccessful activation of the JobTrigger. 218 # Output only field. 219 "timestamps": [ # The times the error occurred. 220 "A String", 221 ], 222 "details": { # The `Status` type defines a logical error model that is suitable for 223 # different programming environments, including REST APIs and RPC APIs. It is 224 # used by [gRPC](https://github.com/grpc). Each `Status` message contains 225 # three pieces of data: error code, error message, and error details. 226 # 227 # You can find out more about this error model and how to work with it in the 228 # [API Design Guide](https://cloud.google.com/apis/design/errors). 229 "message": "A String", # A developer-facing error message, which should be in English. Any 230 # user-facing error message should be localized and sent in the 231 # google.rpc.Status.details field, or localized by the client. 232 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 233 "details": [ # A list of messages that carry the error details. There is a common set of 234 # message types for APIs to use. 235 { 236 "a_key": "", # Properties of the object. Contains field @type with type URL. 237 }, 238 ], 239 }, 240 }, 241 ], 242 "stats": { # Statistics for a StoredInfoType. # Statistics about this storedInfoType version. 243 "largeCustomDictionary": { # Summary statistics of a custom dictionary. # StoredInfoType where findings are defined by a dictionary of phrases. 244 "approxNumPhrases": "A String", # Approximate number of distinct phrases in the dictionary. 245 }, 246 }, 247 "createTime": "A String", # Create timestamp of the version. Read-only, determined by the system 248 # when the version is created. 249 }, 250 ], 251 "currentVersion": { # Version of a StoredInfoType, including the configuration used to build it, # Current version of the stored info type. 252 # create timestamp, and current state. 253 "config": { # Configuration for a StoredInfoType. # StoredInfoType configuration. 254 "displayName": "A String", # Display name of the StoredInfoType (max 256 characters). 255 "largeCustomDictionary": { # Configuration for a custom dictionary created from a data source of any size # StoredInfoType where findings are defined by a dictionary of phrases. 256 # up to the maximum size defined in the 257 # [limits](https://cloud.google.com/dlp/limits) page. The artifacts of 258 # dictionary creation are stored in the specified Google Cloud Storage 259 # location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries 260 # that satisfy the size requirements. 261 "outputPath": { # Message representing a single file or path in Cloud Storage. # Location to store dictionary artifacts in Google Cloud Storage. These files 262 # will only be accessible by project owners and the DLP API. If any of these 263 # artifacts are modified, the dictionary is considered invalid and can no 264 # longer be used. 265 "path": "A String", # A url representing a file or path (no wildcards) in Cloud Storage. 266 # Example: gs://[BUCKET_NAME]/dictionary.txt 267 }, 268 "cloudStorageFileSet": { # Message representing a set of files in Cloud Storage. # Set of files containing newline-delimited lists of dictionary phrases. 269 "url": "A String", # The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the 270 # path is allowed. 271 }, 272 "bigQueryField": { # Message defining a field of a BigQuery table. # Field in a BigQuery table where each cell represents a dictionary phrase. 273 "field": { # General identifier of a data field in a storage service. # Designated field in the BigQuery table. 274 "name": "A String", # Name describing the field. 275 }, 276 "table": { # Message defining the location of a BigQuery table. A table is uniquely # Source table of the field. 277 # identified by its project_id, dataset_id, and table_name. Within a query 278 # a table is often referenced with a string in the format of: 279 # `<project_id>:<dataset_id>.<table_id>` or 280 # `<project_id>.<dataset_id>.<table_id>`. 281 "projectId": "A String", # The Google Cloud Platform project ID of the project containing the table. 282 # If omitted, project ID is inferred from the API call. 283 "tableId": "A String", # Name of the table. 284 "datasetId": "A String", # Dataset ID of the table. 285 }, 286 }, 287 }, 288 "description": "A String", # Description of the StoredInfoType (max 256 characters). 289 }, 290 "state": "A String", # Stored info type version state. Read-only, updated by the system 291 # during dictionary creation. 292 "errors": [ # Errors that occurred when creating this storedInfoType version, or 293 # anomalies detected in the storedInfoType data that render it unusable. Only 294 # the five most recent errors will be displayed, with the most recent error 295 # appearing first. 296 # <p>For example, some of the data for stored custom dictionaries is put in 297 # the user's Google Cloud Storage bucket, and if this data is modified or 298 # deleted by the user or another system, the dictionary becomes invalid. 299 # <p>If any errors occur, fix the problem indicated by the error message and 300 # use the UpdateStoredInfoType API method to create another version of the 301 # storedInfoType to continue using it, reusing the same `config` if it was 302 # not the source of the error. 303 { # Details information about an error encountered during job execution or 304 # the results of an unsuccessful activation of the JobTrigger. 305 # Output only field. 306 "timestamps": [ # The times the error occurred. 307 "A String", 308 ], 309 "details": { # The `Status` type defines a logical error model that is suitable for 310 # different programming environments, including REST APIs and RPC APIs. It is 311 # used by [gRPC](https://github.com/grpc). Each `Status` message contains 312 # three pieces of data: error code, error message, and error details. 313 # 314 # You can find out more about this error model and how to work with it in the 315 # [API Design Guide](https://cloud.google.com/apis/design/errors). 316 "message": "A String", # A developer-facing error message, which should be in English. Any 317 # user-facing error message should be localized and sent in the 318 # google.rpc.Status.details field, or localized by the client. 319 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 320 "details": [ # A list of messages that carry the error details. There is a common set of 321 # message types for APIs to use. 322 { 323 "a_key": "", # Properties of the object. Contains field @type with type URL. 324 }, 325 ], 326 }, 327 }, 328 ], 329 "stats": { # Statistics for a StoredInfoType. # Statistics about this storedInfoType version. 330 "largeCustomDictionary": { # Summary statistics of a custom dictionary. # StoredInfoType where findings are defined by a dictionary of phrases. 331 "approxNumPhrases": "A String", # Approximate number of distinct phrases in the dictionary. 332 }, 333 }, 334 "createTime": "A String", # Create timestamp of the version. Read-only, determined by the system 335 # when the version is created. 336 }, 337 "name": "A String", # Resource name. 338 }</pre> 339</div> 340 341<div class="method"> 342 <code class="details" id="delete">delete(name, x__xgafv=None)</code> 343 <pre>Deletes a stored infoType. 344See https://cloud.google.com/dlp/docs/creating-stored-infotypes to 345learn more. 346 347Args: 348 name: string, Resource name of the organization and storedInfoType to be deleted, for 349example `organizations/433245324/storedInfoTypes/432452342` or 350projects/project-id/storedInfoTypes/432452342. (required) 351 x__xgafv: string, V1 error format. 352 Allowed values 353 1 - v1 error format 354 2 - v2 error format 355 356Returns: 357 An object of the form: 358 359 { # A generic empty message that you can re-use to avoid defining duplicated 360 # empty messages in your APIs. A typical example is to use it as the request 361 # or the response type of an API method. For instance: 362 # 363 # service Foo { 364 # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); 365 # } 366 # 367 # The JSON representation for `Empty` is empty JSON object `{}`. 368 }</pre> 369</div> 370 371<div class="method"> 372 <code class="details" id="get">get(name, x__xgafv=None)</code> 373 <pre>Gets a stored infoType. 374See https://cloud.google.com/dlp/docs/creating-stored-infotypes to 375learn more. 376 377Args: 378 name: string, Resource name of the organization and storedInfoType to be read, for 379example `organizations/433245324/storedInfoTypes/432452342` or 380projects/project-id/storedInfoTypes/432452342. (required) 381 x__xgafv: string, V1 error format. 382 Allowed values 383 1 - v1 error format 384 2 - v2 error format 385 386Returns: 387 An object of the form: 388 389 { # StoredInfoType resource message that contains information about the current 390 # version and any pending updates. 391 "pendingVersions": [ # Pending versions of the stored info type. Empty if no versions are 392 # pending. 393 { # Version of a StoredInfoType, including the configuration used to build it, 394 # create timestamp, and current state. 395 "config": { # Configuration for a StoredInfoType. # StoredInfoType configuration. 396 "displayName": "A String", # Display name of the StoredInfoType (max 256 characters). 397 "largeCustomDictionary": { # Configuration for a custom dictionary created from a data source of any size # StoredInfoType where findings are defined by a dictionary of phrases. 398 # up to the maximum size defined in the 399 # [limits](https://cloud.google.com/dlp/limits) page. The artifacts of 400 # dictionary creation are stored in the specified Google Cloud Storage 401 # location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries 402 # that satisfy the size requirements. 403 "outputPath": { # Message representing a single file or path in Cloud Storage. # Location to store dictionary artifacts in Google Cloud Storage. These files 404 # will only be accessible by project owners and the DLP API. If any of these 405 # artifacts are modified, the dictionary is considered invalid and can no 406 # longer be used. 407 "path": "A String", # A url representing a file or path (no wildcards) in Cloud Storage. 408 # Example: gs://[BUCKET_NAME]/dictionary.txt 409 }, 410 "cloudStorageFileSet": { # Message representing a set of files in Cloud Storage. # Set of files containing newline-delimited lists of dictionary phrases. 411 "url": "A String", # The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the 412 # path is allowed. 413 }, 414 "bigQueryField": { # Message defining a field of a BigQuery table. # Field in a BigQuery table where each cell represents a dictionary phrase. 415 "field": { # General identifier of a data field in a storage service. # Designated field in the BigQuery table. 416 "name": "A String", # Name describing the field. 417 }, 418 "table": { # Message defining the location of a BigQuery table. A table is uniquely # Source table of the field. 419 # identified by its project_id, dataset_id, and table_name. Within a query 420 # a table is often referenced with a string in the format of: 421 # `<project_id>:<dataset_id>.<table_id>` or 422 # `<project_id>.<dataset_id>.<table_id>`. 423 "projectId": "A String", # The Google Cloud Platform project ID of the project containing the table. 424 # If omitted, project ID is inferred from the API call. 425 "tableId": "A String", # Name of the table. 426 "datasetId": "A String", # Dataset ID of the table. 427 }, 428 }, 429 }, 430 "description": "A String", # Description of the StoredInfoType (max 256 characters). 431 }, 432 "state": "A String", # Stored info type version state. Read-only, updated by the system 433 # during dictionary creation. 434 "errors": [ # Errors that occurred when creating this storedInfoType version, or 435 # anomalies detected in the storedInfoType data that render it unusable. Only 436 # the five most recent errors will be displayed, with the most recent error 437 # appearing first. 438 # <p>For example, some of the data for stored custom dictionaries is put in 439 # the user's Google Cloud Storage bucket, and if this data is modified or 440 # deleted by the user or another system, the dictionary becomes invalid. 441 # <p>If any errors occur, fix the problem indicated by the error message and 442 # use the UpdateStoredInfoType API method to create another version of the 443 # storedInfoType to continue using it, reusing the same `config` if it was 444 # not the source of the error. 445 { # Details information about an error encountered during job execution or 446 # the results of an unsuccessful activation of the JobTrigger. 447 # Output only field. 448 "timestamps": [ # The times the error occurred. 449 "A String", 450 ], 451 "details": { # The `Status` type defines a logical error model that is suitable for 452 # different programming environments, including REST APIs and RPC APIs. It is 453 # used by [gRPC](https://github.com/grpc). Each `Status` message contains 454 # three pieces of data: error code, error message, and error details. 455 # 456 # You can find out more about this error model and how to work with it in the 457 # [API Design Guide](https://cloud.google.com/apis/design/errors). 458 "message": "A String", # A developer-facing error message, which should be in English. Any 459 # user-facing error message should be localized and sent in the 460 # google.rpc.Status.details field, or localized by the client. 461 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 462 "details": [ # A list of messages that carry the error details. There is a common set of 463 # message types for APIs to use. 464 { 465 "a_key": "", # Properties of the object. Contains field @type with type URL. 466 }, 467 ], 468 }, 469 }, 470 ], 471 "stats": { # Statistics for a StoredInfoType. # Statistics about this storedInfoType version. 472 "largeCustomDictionary": { # Summary statistics of a custom dictionary. # StoredInfoType where findings are defined by a dictionary of phrases. 473 "approxNumPhrases": "A String", # Approximate number of distinct phrases in the dictionary. 474 }, 475 }, 476 "createTime": "A String", # Create timestamp of the version. Read-only, determined by the system 477 # when the version is created. 478 }, 479 ], 480 "currentVersion": { # Version of a StoredInfoType, including the configuration used to build it, # Current version of the stored info type. 481 # create timestamp, and current state. 482 "config": { # Configuration for a StoredInfoType. # StoredInfoType configuration. 483 "displayName": "A String", # Display name of the StoredInfoType (max 256 characters). 484 "largeCustomDictionary": { # Configuration for a custom dictionary created from a data source of any size # StoredInfoType where findings are defined by a dictionary of phrases. 485 # up to the maximum size defined in the 486 # [limits](https://cloud.google.com/dlp/limits) page. The artifacts of 487 # dictionary creation are stored in the specified Google Cloud Storage 488 # location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries 489 # that satisfy the size requirements. 490 "outputPath": { # Message representing a single file or path in Cloud Storage. # Location to store dictionary artifacts in Google Cloud Storage. These files 491 # will only be accessible by project owners and the DLP API. If any of these 492 # artifacts are modified, the dictionary is considered invalid and can no 493 # longer be used. 494 "path": "A String", # A url representing a file or path (no wildcards) in Cloud Storage. 495 # Example: gs://[BUCKET_NAME]/dictionary.txt 496 }, 497 "cloudStorageFileSet": { # Message representing a set of files in Cloud Storage. # Set of files containing newline-delimited lists of dictionary phrases. 498 "url": "A String", # The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the 499 # path is allowed. 500 }, 501 "bigQueryField": { # Message defining a field of a BigQuery table. # Field in a BigQuery table where each cell represents a dictionary phrase. 502 "field": { # General identifier of a data field in a storage service. # Designated field in the BigQuery table. 503 "name": "A String", # Name describing the field. 504 }, 505 "table": { # Message defining the location of a BigQuery table. A table is uniquely # Source table of the field. 506 # identified by its project_id, dataset_id, and table_name. Within a query 507 # a table is often referenced with a string in the format of: 508 # `<project_id>:<dataset_id>.<table_id>` or 509 # `<project_id>.<dataset_id>.<table_id>`. 510 "projectId": "A String", # The Google Cloud Platform project ID of the project containing the table. 511 # If omitted, project ID is inferred from the API call. 512 "tableId": "A String", # Name of the table. 513 "datasetId": "A String", # Dataset ID of the table. 514 }, 515 }, 516 }, 517 "description": "A String", # Description of the StoredInfoType (max 256 characters). 518 }, 519 "state": "A String", # Stored info type version state. Read-only, updated by the system 520 # during dictionary creation. 521 "errors": [ # Errors that occurred when creating this storedInfoType version, or 522 # anomalies detected in the storedInfoType data that render it unusable. Only 523 # the five most recent errors will be displayed, with the most recent error 524 # appearing first. 525 # <p>For example, some of the data for stored custom dictionaries is put in 526 # the user's Google Cloud Storage bucket, and if this data is modified or 527 # deleted by the user or another system, the dictionary becomes invalid. 528 # <p>If any errors occur, fix the problem indicated by the error message and 529 # use the UpdateStoredInfoType API method to create another version of the 530 # storedInfoType to continue using it, reusing the same `config` if it was 531 # not the source of the error. 532 { # Details information about an error encountered during job execution or 533 # the results of an unsuccessful activation of the JobTrigger. 534 # Output only field. 535 "timestamps": [ # The times the error occurred. 536 "A String", 537 ], 538 "details": { # The `Status` type defines a logical error model that is suitable for 539 # different programming environments, including REST APIs and RPC APIs. It is 540 # used by [gRPC](https://github.com/grpc). Each `Status` message contains 541 # three pieces of data: error code, error message, and error details. 542 # 543 # You can find out more about this error model and how to work with it in the 544 # [API Design Guide](https://cloud.google.com/apis/design/errors). 545 "message": "A String", # A developer-facing error message, which should be in English. Any 546 # user-facing error message should be localized and sent in the 547 # google.rpc.Status.details field, or localized by the client. 548 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 549 "details": [ # A list of messages that carry the error details. There is a common set of 550 # message types for APIs to use. 551 { 552 "a_key": "", # Properties of the object. Contains field @type with type URL. 553 }, 554 ], 555 }, 556 }, 557 ], 558 "stats": { # Statistics for a StoredInfoType. # Statistics about this storedInfoType version. 559 "largeCustomDictionary": { # Summary statistics of a custom dictionary. # StoredInfoType where findings are defined by a dictionary of phrases. 560 "approxNumPhrases": "A String", # Approximate number of distinct phrases in the dictionary. 561 }, 562 }, 563 "createTime": "A String", # Create timestamp of the version. Read-only, determined by the system 564 # when the version is created. 565 }, 566 "name": "A String", # Resource name. 567 }</pre> 568</div> 569 570<div class="method"> 571 <code class="details" id="list">list(parent, orderBy=None, pageToken=None, x__xgafv=None, pageSize=None)</code> 572 <pre>Lists stored infoTypes. 573See https://cloud.google.com/dlp/docs/creating-stored-infotypes to 574learn more. 575 576Args: 577 parent: string, The parent resource name, for example projects/my-project-id or 578organizations/my-org-id. (required) 579 orderBy: string, Optional comma separated list of fields to order by, 580followed by `asc` or `desc` postfix. This list is case-insensitive, 581default sorting order is ascending, redundant space characters are 582insignificant. 583 584Example: `name asc, display_name, create_time desc` 585 586Supported fields are: 587 588- `create_time`: corresponds to time the most recent version of the 589resource was created. 590- `state`: corresponds to the state of the resource. 591- `name`: corresponds to resource name. 592- `display_name`: corresponds to info type's display name. 593 pageToken: string, Optional page token to continue retrieval. Comes from previous call 594to `ListStoredInfoTypes`. 595 x__xgafv: string, V1 error format. 596 Allowed values 597 1 - v1 error format 598 2 - v2 error format 599 pageSize: integer, Optional size of the page, can be limited by server. If zero server returns 600a page of max size 100. 601 602Returns: 603 An object of the form: 604 605 { # Response message for ListStoredInfoTypes. 606 "nextPageToken": "A String", # If the next page is available then the next page token to be used 607 # in following ListStoredInfoTypes request. 608 "storedInfoTypes": [ # List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest. 609 { # StoredInfoType resource message that contains information about the current 610 # version and any pending updates. 611 "pendingVersions": [ # Pending versions of the stored info type. Empty if no versions are 612 # pending. 613 { # Version of a StoredInfoType, including the configuration used to build it, 614 # create timestamp, and current state. 615 "config": { # Configuration for a StoredInfoType. # StoredInfoType configuration. 616 "displayName": "A String", # Display name of the StoredInfoType (max 256 characters). 617 "largeCustomDictionary": { # Configuration for a custom dictionary created from a data source of any size # StoredInfoType where findings are defined by a dictionary of phrases. 618 # up to the maximum size defined in the 619 # [limits](https://cloud.google.com/dlp/limits) page. The artifacts of 620 # dictionary creation are stored in the specified Google Cloud Storage 621 # location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries 622 # that satisfy the size requirements. 623 "outputPath": { # Message representing a single file or path in Cloud Storage. # Location to store dictionary artifacts in Google Cloud Storage. These files 624 # will only be accessible by project owners and the DLP API. If any of these 625 # artifacts are modified, the dictionary is considered invalid and can no 626 # longer be used. 627 "path": "A String", # A url representing a file or path (no wildcards) in Cloud Storage. 628 # Example: gs://[BUCKET_NAME]/dictionary.txt 629 }, 630 "cloudStorageFileSet": { # Message representing a set of files in Cloud Storage. # Set of files containing newline-delimited lists of dictionary phrases. 631 "url": "A String", # The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the 632 # path is allowed. 633 }, 634 "bigQueryField": { # Message defining a field of a BigQuery table. # Field in a BigQuery table where each cell represents a dictionary phrase. 635 "field": { # General identifier of a data field in a storage service. # Designated field in the BigQuery table. 636 "name": "A String", # Name describing the field. 637 }, 638 "table": { # Message defining the location of a BigQuery table. A table is uniquely # Source table of the field. 639 # identified by its project_id, dataset_id, and table_name. Within a query 640 # a table is often referenced with a string in the format of: 641 # `<project_id>:<dataset_id>.<table_id>` or 642 # `<project_id>.<dataset_id>.<table_id>`. 643 "projectId": "A String", # The Google Cloud Platform project ID of the project containing the table. 644 # If omitted, project ID is inferred from the API call. 645 "tableId": "A String", # Name of the table. 646 "datasetId": "A String", # Dataset ID of the table. 647 }, 648 }, 649 }, 650 "description": "A String", # Description of the StoredInfoType (max 256 characters). 651 }, 652 "state": "A String", # Stored info type version state. Read-only, updated by the system 653 # during dictionary creation. 654 "errors": [ # Errors that occurred when creating this storedInfoType version, or 655 # anomalies detected in the storedInfoType data that render it unusable. Only 656 # the five most recent errors will be displayed, with the most recent error 657 # appearing first. 658 # <p>For example, some of the data for stored custom dictionaries is put in 659 # the user's Google Cloud Storage bucket, and if this data is modified or 660 # deleted by the user or another system, the dictionary becomes invalid. 661 # <p>If any errors occur, fix the problem indicated by the error message and 662 # use the UpdateStoredInfoType API method to create another version of the 663 # storedInfoType to continue using it, reusing the same `config` if it was 664 # not the source of the error. 665 { # Details information about an error encountered during job execution or 666 # the results of an unsuccessful activation of the JobTrigger. 667 # Output only field. 668 "timestamps": [ # The times the error occurred. 669 "A String", 670 ], 671 "details": { # The `Status` type defines a logical error model that is suitable for 672 # different programming environments, including REST APIs and RPC APIs. It is 673 # used by [gRPC](https://github.com/grpc). Each `Status` message contains 674 # three pieces of data: error code, error message, and error details. 675 # 676 # You can find out more about this error model and how to work with it in the 677 # [API Design Guide](https://cloud.google.com/apis/design/errors). 678 "message": "A String", # A developer-facing error message, which should be in English. Any 679 # user-facing error message should be localized and sent in the 680 # google.rpc.Status.details field, or localized by the client. 681 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 682 "details": [ # A list of messages that carry the error details. There is a common set of 683 # message types for APIs to use. 684 { 685 "a_key": "", # Properties of the object. Contains field @type with type URL. 686 }, 687 ], 688 }, 689 }, 690 ], 691 "stats": { # Statistics for a StoredInfoType. # Statistics about this storedInfoType version. 692 "largeCustomDictionary": { # Summary statistics of a custom dictionary. # StoredInfoType where findings are defined by a dictionary of phrases. 693 "approxNumPhrases": "A String", # Approximate number of distinct phrases in the dictionary. 694 }, 695 }, 696 "createTime": "A String", # Create timestamp of the version. Read-only, determined by the system 697 # when the version is created. 698 }, 699 ], 700 "currentVersion": { # Version of a StoredInfoType, including the configuration used to build it, # Current version of the stored info type. 701 # create timestamp, and current state. 702 "config": { # Configuration for a StoredInfoType. # StoredInfoType configuration. 703 "displayName": "A String", # Display name of the StoredInfoType (max 256 characters). 704 "largeCustomDictionary": { # Configuration for a custom dictionary created from a data source of any size # StoredInfoType where findings are defined by a dictionary of phrases. 705 # up to the maximum size defined in the 706 # [limits](https://cloud.google.com/dlp/limits) page. The artifacts of 707 # dictionary creation are stored in the specified Google Cloud Storage 708 # location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries 709 # that satisfy the size requirements. 710 "outputPath": { # Message representing a single file or path in Cloud Storage. # Location to store dictionary artifacts in Google Cloud Storage. These files 711 # will only be accessible by project owners and the DLP API. If any of these 712 # artifacts are modified, the dictionary is considered invalid and can no 713 # longer be used. 714 "path": "A String", # A url representing a file or path (no wildcards) in Cloud Storage. 715 # Example: gs://[BUCKET_NAME]/dictionary.txt 716 }, 717 "cloudStorageFileSet": { # Message representing a set of files in Cloud Storage. # Set of files containing newline-delimited lists of dictionary phrases. 718 "url": "A String", # The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the 719 # path is allowed. 720 }, 721 "bigQueryField": { # Message defining a field of a BigQuery table. # Field in a BigQuery table where each cell represents a dictionary phrase. 722 "field": { # General identifier of a data field in a storage service. # Designated field in the BigQuery table. 723 "name": "A String", # Name describing the field. 724 }, 725 "table": { # Message defining the location of a BigQuery table. A table is uniquely # Source table of the field. 726 # identified by its project_id, dataset_id, and table_name. Within a query 727 # a table is often referenced with a string in the format of: 728 # `<project_id>:<dataset_id>.<table_id>` or 729 # `<project_id>.<dataset_id>.<table_id>`. 730 "projectId": "A String", # The Google Cloud Platform project ID of the project containing the table. 731 # If omitted, project ID is inferred from the API call. 732 "tableId": "A String", # Name of the table. 733 "datasetId": "A String", # Dataset ID of the table. 734 }, 735 }, 736 }, 737 "description": "A String", # Description of the StoredInfoType (max 256 characters). 738 }, 739 "state": "A String", # Stored info type version state. Read-only, updated by the system 740 # during dictionary creation. 741 "errors": [ # Errors that occurred when creating this storedInfoType version, or 742 # anomalies detected in the storedInfoType data that render it unusable. Only 743 # the five most recent errors will be displayed, with the most recent error 744 # appearing first. 745 # <p>For example, some of the data for stored custom dictionaries is put in 746 # the user's Google Cloud Storage bucket, and if this data is modified or 747 # deleted by the user or another system, the dictionary becomes invalid. 748 # <p>If any errors occur, fix the problem indicated by the error message and 749 # use the UpdateStoredInfoType API method to create another version of the 750 # storedInfoType to continue using it, reusing the same `config` if it was 751 # not the source of the error. 752 { # Details information about an error encountered during job execution or 753 # the results of an unsuccessful activation of the JobTrigger. 754 # Output only field. 755 "timestamps": [ # The times the error occurred. 756 "A String", 757 ], 758 "details": { # The `Status` type defines a logical error model that is suitable for 759 # different programming environments, including REST APIs and RPC APIs. It is 760 # used by [gRPC](https://github.com/grpc). Each `Status` message contains 761 # three pieces of data: error code, error message, and error details. 762 # 763 # You can find out more about this error model and how to work with it in the 764 # [API Design Guide](https://cloud.google.com/apis/design/errors). 765 "message": "A String", # A developer-facing error message, which should be in English. Any 766 # user-facing error message should be localized and sent in the 767 # google.rpc.Status.details field, or localized by the client. 768 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 769 "details": [ # A list of messages that carry the error details. There is a common set of 770 # message types for APIs to use. 771 { 772 "a_key": "", # Properties of the object. Contains field @type with type URL. 773 }, 774 ], 775 }, 776 }, 777 ], 778 "stats": { # Statistics for a StoredInfoType. # Statistics about this storedInfoType version. 779 "largeCustomDictionary": { # Summary statistics of a custom dictionary. # StoredInfoType where findings are defined by a dictionary of phrases. 780 "approxNumPhrases": "A String", # Approximate number of distinct phrases in the dictionary. 781 }, 782 }, 783 "createTime": "A String", # Create timestamp of the version. Read-only, determined by the system 784 # when the version is created. 785 }, 786 "name": "A String", # Resource name. 787 }, 788 ], 789 }</pre> 790</div> 791 792<div class="method"> 793 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 794 <pre>Retrieves the next page of results. 795 796Args: 797 previous_request: The request for the previous page. (required) 798 previous_response: The response from the request for the previous page. (required) 799 800Returns: 801 A request object that you can call 'execute()' on to request the next 802 page. Returns None if there are no more items in the collection. 803 </pre> 804</div> 805 806<div class="method"> 807 <code class="details" id="patch">patch(name, body, x__xgafv=None)</code> 808 <pre>Updates the stored infoType by creating a new version. The existing version 809will continue to be used until the new version is ready. 810See https://cloud.google.com/dlp/docs/creating-stored-infotypes to 811learn more. 812 813Args: 814 name: string, Resource name of organization and storedInfoType to be updated, for 815example `organizations/433245324/storedInfoTypes/432452342` or 816projects/project-id/storedInfoTypes/432452342. (required) 817 body: object, The request body. (required) 818 The object takes the form of: 819 820{ # Request message for UpdateStoredInfoType. 821 "config": { # Configuration for a StoredInfoType. # Updated configuration for the storedInfoType. If not provided, a new 822 # version of the storedInfoType will be created with the existing 823 # configuration. 824 "displayName": "A String", # Display name of the StoredInfoType (max 256 characters). 825 "largeCustomDictionary": { # Configuration for a custom dictionary created from a data source of any size # StoredInfoType where findings are defined by a dictionary of phrases. 826 # up to the maximum size defined in the 827 # [limits](https://cloud.google.com/dlp/limits) page. The artifacts of 828 # dictionary creation are stored in the specified Google Cloud Storage 829 # location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries 830 # that satisfy the size requirements. 831 "outputPath": { # Message representing a single file or path in Cloud Storage. # Location to store dictionary artifacts in Google Cloud Storage. These files 832 # will only be accessible by project owners and the DLP API. If any of these 833 # artifacts are modified, the dictionary is considered invalid and can no 834 # longer be used. 835 "path": "A String", # A url representing a file or path (no wildcards) in Cloud Storage. 836 # Example: gs://[BUCKET_NAME]/dictionary.txt 837 }, 838 "cloudStorageFileSet": { # Message representing a set of files in Cloud Storage. # Set of files containing newline-delimited lists of dictionary phrases. 839 "url": "A String", # The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the 840 # path is allowed. 841 }, 842 "bigQueryField": { # Message defining a field of a BigQuery table. # Field in a BigQuery table where each cell represents a dictionary phrase. 843 "field": { # General identifier of a data field in a storage service. # Designated field in the BigQuery table. 844 "name": "A String", # Name describing the field. 845 }, 846 "table": { # Message defining the location of a BigQuery table. A table is uniquely # Source table of the field. 847 # identified by its project_id, dataset_id, and table_name. Within a query 848 # a table is often referenced with a string in the format of: 849 # `<project_id>:<dataset_id>.<table_id>` or 850 # `<project_id>.<dataset_id>.<table_id>`. 851 "projectId": "A String", # The Google Cloud Platform project ID of the project containing the table. 852 # If omitted, project ID is inferred from the API call. 853 "tableId": "A String", # Name of the table. 854 "datasetId": "A String", # Dataset ID of the table. 855 }, 856 }, 857 }, 858 "description": "A String", # Description of the StoredInfoType (max 256 characters). 859 }, 860 "updateMask": "A String", # Mask to control which fields get updated. 861 } 862 863 x__xgafv: string, V1 error format. 864 Allowed values 865 1 - v1 error format 866 2 - v2 error format 867 868Returns: 869 An object of the form: 870 871 { # StoredInfoType resource message that contains information about the current 872 # version and any pending updates. 873 "pendingVersions": [ # Pending versions of the stored info type. Empty if no versions are 874 # pending. 875 { # Version of a StoredInfoType, including the configuration used to build it, 876 # create timestamp, and current state. 877 "config": { # Configuration for a StoredInfoType. # StoredInfoType configuration. 878 "displayName": "A String", # Display name of the StoredInfoType (max 256 characters). 879 "largeCustomDictionary": { # Configuration for a custom dictionary created from a data source of any size # StoredInfoType where findings are defined by a dictionary of phrases. 880 # up to the maximum size defined in the 881 # [limits](https://cloud.google.com/dlp/limits) page. The artifacts of 882 # dictionary creation are stored in the specified Google Cloud Storage 883 # location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries 884 # that satisfy the size requirements. 885 "outputPath": { # Message representing a single file or path in Cloud Storage. # Location to store dictionary artifacts in Google Cloud Storage. These files 886 # will only be accessible by project owners and the DLP API. If any of these 887 # artifacts are modified, the dictionary is considered invalid and can no 888 # longer be used. 889 "path": "A String", # A url representing a file or path (no wildcards) in Cloud Storage. 890 # Example: gs://[BUCKET_NAME]/dictionary.txt 891 }, 892 "cloudStorageFileSet": { # Message representing a set of files in Cloud Storage. # Set of files containing newline-delimited lists of dictionary phrases. 893 "url": "A String", # The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the 894 # path is allowed. 895 }, 896 "bigQueryField": { # Message defining a field of a BigQuery table. # Field in a BigQuery table where each cell represents a dictionary phrase. 897 "field": { # General identifier of a data field in a storage service. # Designated field in the BigQuery table. 898 "name": "A String", # Name describing the field. 899 }, 900 "table": { # Message defining the location of a BigQuery table. A table is uniquely # Source table of the field. 901 # identified by its project_id, dataset_id, and table_name. Within a query 902 # a table is often referenced with a string in the format of: 903 # `<project_id>:<dataset_id>.<table_id>` or 904 # `<project_id>.<dataset_id>.<table_id>`. 905 "projectId": "A String", # The Google Cloud Platform project ID of the project containing the table. 906 # If omitted, project ID is inferred from the API call. 907 "tableId": "A String", # Name of the table. 908 "datasetId": "A String", # Dataset ID of the table. 909 }, 910 }, 911 }, 912 "description": "A String", # Description of the StoredInfoType (max 256 characters). 913 }, 914 "state": "A String", # Stored info type version state. Read-only, updated by the system 915 # during dictionary creation. 916 "errors": [ # Errors that occurred when creating this storedInfoType version, or 917 # anomalies detected in the storedInfoType data that render it unusable. Only 918 # the five most recent errors will be displayed, with the most recent error 919 # appearing first. 920 # <p>For example, some of the data for stored custom dictionaries is put in 921 # the user's Google Cloud Storage bucket, and if this data is modified or 922 # deleted by the user or another system, the dictionary becomes invalid. 923 # <p>If any errors occur, fix the problem indicated by the error message and 924 # use the UpdateStoredInfoType API method to create another version of the 925 # storedInfoType to continue using it, reusing the same `config` if it was 926 # not the source of the error. 927 { # Details information about an error encountered during job execution or 928 # the results of an unsuccessful activation of the JobTrigger. 929 # Output only field. 930 "timestamps": [ # The times the error occurred. 931 "A String", 932 ], 933 "details": { # The `Status` type defines a logical error model that is suitable for 934 # different programming environments, including REST APIs and RPC APIs. It is 935 # used by [gRPC](https://github.com/grpc). Each `Status` message contains 936 # three pieces of data: error code, error message, and error details. 937 # 938 # You can find out more about this error model and how to work with it in the 939 # [API Design Guide](https://cloud.google.com/apis/design/errors). 940 "message": "A String", # A developer-facing error message, which should be in English. Any 941 # user-facing error message should be localized and sent in the 942 # google.rpc.Status.details field, or localized by the client. 943 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 944 "details": [ # A list of messages that carry the error details. There is a common set of 945 # message types for APIs to use. 946 { 947 "a_key": "", # Properties of the object. Contains field @type with type URL. 948 }, 949 ], 950 }, 951 }, 952 ], 953 "stats": { # Statistics for a StoredInfoType. # Statistics about this storedInfoType version. 954 "largeCustomDictionary": { # Summary statistics of a custom dictionary. # StoredInfoType where findings are defined by a dictionary of phrases. 955 "approxNumPhrases": "A String", # Approximate number of distinct phrases in the dictionary. 956 }, 957 }, 958 "createTime": "A String", # Create timestamp of the version. Read-only, determined by the system 959 # when the version is created. 960 }, 961 ], 962 "currentVersion": { # Version of a StoredInfoType, including the configuration used to build it, # Current version of the stored info type. 963 # create timestamp, and current state. 964 "config": { # Configuration for a StoredInfoType. # StoredInfoType configuration. 965 "displayName": "A String", # Display name of the StoredInfoType (max 256 characters). 966 "largeCustomDictionary": { # Configuration for a custom dictionary created from a data source of any size # StoredInfoType where findings are defined by a dictionary of phrases. 967 # up to the maximum size defined in the 968 # [limits](https://cloud.google.com/dlp/limits) page. The artifacts of 969 # dictionary creation are stored in the specified Google Cloud Storage 970 # location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries 971 # that satisfy the size requirements. 972 "outputPath": { # Message representing a single file or path in Cloud Storage. # Location to store dictionary artifacts in Google Cloud Storage. These files 973 # will only be accessible by project owners and the DLP API. If any of these 974 # artifacts are modified, the dictionary is considered invalid and can no 975 # longer be used. 976 "path": "A String", # A url representing a file or path (no wildcards) in Cloud Storage. 977 # Example: gs://[BUCKET_NAME]/dictionary.txt 978 }, 979 "cloudStorageFileSet": { # Message representing a set of files in Cloud Storage. # Set of files containing newline-delimited lists of dictionary phrases. 980 "url": "A String", # The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the 981 # path is allowed. 982 }, 983 "bigQueryField": { # Message defining a field of a BigQuery table. # Field in a BigQuery table where each cell represents a dictionary phrase. 984 "field": { # General identifier of a data field in a storage service. # Designated field in the BigQuery table. 985 "name": "A String", # Name describing the field. 986 }, 987 "table": { # Message defining the location of a BigQuery table. A table is uniquely # Source table of the field. 988 # identified by its project_id, dataset_id, and table_name. Within a query 989 # a table is often referenced with a string in the format of: 990 # `<project_id>:<dataset_id>.<table_id>` or 991 # `<project_id>.<dataset_id>.<table_id>`. 992 "projectId": "A String", # The Google Cloud Platform project ID of the project containing the table. 993 # If omitted, project ID is inferred from the API call. 994 "tableId": "A String", # Name of the table. 995 "datasetId": "A String", # Dataset ID of the table. 996 }, 997 }, 998 }, 999 "description": "A String", # Description of the StoredInfoType (max 256 characters). 1000 }, 1001 "state": "A String", # Stored info type version state. Read-only, updated by the system 1002 # during dictionary creation. 1003 "errors": [ # Errors that occurred when creating this storedInfoType version, or 1004 # anomalies detected in the storedInfoType data that render it unusable. Only 1005 # the five most recent errors will be displayed, with the most recent error 1006 # appearing first. 1007 # <p>For example, some of the data for stored custom dictionaries is put in 1008 # the user's Google Cloud Storage bucket, and if this data is modified or 1009 # deleted by the user or another system, the dictionary becomes invalid. 1010 # <p>If any errors occur, fix the problem indicated by the error message and 1011 # use the UpdateStoredInfoType API method to create another version of the 1012 # storedInfoType to continue using it, reusing the same `config` if it was 1013 # not the source of the error. 1014 { # Details information about an error encountered during job execution or 1015 # the results of an unsuccessful activation of the JobTrigger. 1016 # Output only field. 1017 "timestamps": [ # The times the error occurred. 1018 "A String", 1019 ], 1020 "details": { # The `Status` type defines a logical error model that is suitable for 1021 # different programming environments, including REST APIs and RPC APIs. It is 1022 # used by [gRPC](https://github.com/grpc). Each `Status` message contains 1023 # three pieces of data: error code, error message, and error details. 1024 # 1025 # You can find out more about this error model and how to work with it in the 1026 # [API Design Guide](https://cloud.google.com/apis/design/errors). 1027 "message": "A String", # A developer-facing error message, which should be in English. Any 1028 # user-facing error message should be localized and sent in the 1029 # google.rpc.Status.details field, or localized by the client. 1030 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 1031 "details": [ # A list of messages that carry the error details. There is a common set of 1032 # message types for APIs to use. 1033 { 1034 "a_key": "", # Properties of the object. Contains field @type with type URL. 1035 }, 1036 ], 1037 }, 1038 }, 1039 ], 1040 "stats": { # Statistics for a StoredInfoType. # Statistics about this storedInfoType version. 1041 "largeCustomDictionary": { # Summary statistics of a custom dictionary. # StoredInfoType where findings are defined by a dictionary of phrases. 1042 "approxNumPhrases": "A String", # Approximate number of distinct phrases in the dictionary. 1043 }, 1044 }, 1045 "createTime": "A String", # Create timestamp of the version. Read-only, determined by the system 1046 # when the version is created. 1047 }, 1048 "name": "A String", # Resource name. 1049 }</pre> 1050</div> 1051 1052</body></html>