1{ 2 "auth": { 3 "oauth2": { 4 "scopes": { 5 "https://www.googleapis.com/auth/cloud-platform": { 6 "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." 7 } 8 } 9 } 10 }, 11 "basePath": "", 12 "baseUrl": "https://datacatalog.googleapis.com/", 13 "batchPath": "batch", 14 "canonicalName": "Data Catalog", 15 "description": "A fully managed and highly scalable data discovery and metadata management service. ", 16 "discoveryVersion": "v1", 17 "documentationLink": "https://cloud.google.com/data-catalog/docs/", 18 "fullyEncodeReservedExpansion": true, 19 "icons": { 20 "x16": "http://www.google.com/images/icons/product/search-16.gif", 21 "x32": "http://www.google.com/images/icons/product/search-32.gif" 22 }, 23 "id": "datacatalog:v1beta1", 24 "kind": "discovery#restDescription", 25 "mtlsRootUrl": "https://datacatalog.mtls.googleapis.com/", 26 "name": "datacatalog", 27 "ownerDomain": "google.com", 28 "ownerName": "Google", 29 "parameters": { 30 "$.xgafv": { 31 "description": "V1 error format.", 32 "enum": [ 33 "1", 34 "2" 35 ], 36 "enumDescriptions": [ 37 "v1 error format", 38 "v2 error format" 39 ], 40 "location": "query", 41 "type": "string" 42 }, 43 "access_token": { 44 "description": "OAuth access token.", 45 "location": "query", 46 "type": "string" 47 }, 48 "alt": { 49 "default": "json", 50 "description": "Data format for response.", 51 "enum": [ 52 "json", 53 "media", 54 "proto" 55 ], 56 "enumDescriptions": [ 57 "Responses with Content-Type of application/json", 58 "Media download with context-dependent Content-Type", 59 "Responses with Content-Type of application/x-protobuf" 60 ], 61 "location": "query", 62 "type": "string" 63 }, 64 "callback": { 65 "description": "JSONP", 66 "location": "query", 67 "type": "string" 68 }, 69 "fields": { 70 "description": "Selector specifying which fields to include in a partial response.", 71 "location": "query", 72 "type": "string" 73 }, 74 "key": { 75 "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", 76 "location": "query", 77 "type": "string" 78 }, 79 "oauth_token": { 80 "description": "OAuth 2.0 token for the current user.", 81 "location": "query", 82 "type": "string" 83 }, 84 "prettyPrint": { 85 "default": "true", 86 "description": "Returns response with indentations and line breaks.", 87 "location": "query", 88 "type": "boolean" 89 }, 90 "quotaUser": { 91 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", 92 "location": "query", 93 "type": "string" 94 }, 95 "uploadType": { 96 "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", 97 "location": "query", 98 "type": "string" 99 }, 100 "upload_protocol": { 101 "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", 102 "location": "query", 103 "type": "string" 104 } 105 }, 106 "protocol": "rest", 107 "resources": { 108 "catalog": { 109 "methods": { 110 "search": { 111 "description": "Searches Data Catalog for multiple resources like entries, tags that match a query. This is a custom method (https://cloud.google.com/apis/design/custom_methods) and does not return the complete resource, only the resource identifier and high level fields. Clients can subsequently call `Get` methods. Note that Data Catalog search queries do not guarantee full recall. Query results that match your query may not be returned, even in subsequent result pages. Also note that results returned (and not returned) can vary across repeated search queries. See [Data Catalog Search Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference) for more information.", 112 "flatPath": "v1beta1/catalog:search", 113 "httpMethod": "POST", 114 "id": "datacatalog.catalog.search", 115 "parameterOrder": [], 116 "parameters": {}, 117 "path": "v1beta1/catalog:search", 118 "request": { 119 "$ref": "GoogleCloudDatacatalogV1beta1SearchCatalogRequest" 120 }, 121 "response": { 122 "$ref": "GoogleCloudDatacatalogV1beta1SearchCatalogResponse" 123 }, 124 "scopes": [ 125 "https://www.googleapis.com/auth/cloud-platform" 126 ] 127 } 128 } 129 }, 130 "entries": { 131 "methods": { 132 "lookup": { 133 "description": "Get an entry by target resource name. This method allows clients to use the resource name from the source Google Cloud Platform service to get the Data Catalog Entry.", 134 "flatPath": "v1beta1/entries:lookup", 135 "httpMethod": "GET", 136 "id": "datacatalog.entries.lookup", 137 "parameterOrder": [], 138 "parameters": { 139 "linkedResource": { 140 "description": "The full name of the Google Cloud Platform resource the Data Catalog entry represents. See: https://cloud.google.com/apis/design/resource_names#full_resource_name. Full names are case-sensitive. Examples: * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId * //pubsub.googleapis.com/projects/projectId/topics/topicId", 141 "location": "query", 142 "type": "string" 143 }, 144 "sqlResource": { 145 "description": "The SQL name of the entry. SQL names are case-sensitive. Examples: * `pubsub.project_id.topic_id` * ``pubsub.project_id.`topic.id.with.dots` `` * `bigquery.table.project_id.dataset_id.table_id` * `bigquery.dataset.project_id.dataset_id` * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id` `*_id`s should satisfy the standard SQL rules for identifiers. https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.", 146 "location": "query", 147 "type": "string" 148 } 149 }, 150 "path": "v1beta1/entries:lookup", 151 "response": { 152 "$ref": "GoogleCloudDatacatalogV1beta1Entry" 153 }, 154 "scopes": [ 155 "https://www.googleapis.com/auth/cloud-platform" 156 ] 157 } 158 } 159 }, 160 "projects": { 161 "resources": { 162 "locations": { 163 "resources": { 164 "entryGroups": { 165 "methods": { 166 "create": { 167 "description": "A maximum of 10,000 entry groups may be created per organization across all locations. Users should enable the Data Catalog API in the project identified by the `parent` parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).", 168 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups", 169 "httpMethod": "POST", 170 "id": "datacatalog.projects.locations.entryGroups.create", 171 "parameterOrder": [ 172 "parent" 173 ], 174 "parameters": { 175 "entryGroupId": { 176 "description": "Required. The id of the entry group to create. The id must begin with a letter or underscore, contain only English letters, numbers and underscores, and be at most 64 characters.", 177 "location": "query", 178 "type": "string" 179 }, 180 "parent": { 181 "description": "Required. The name of the project this entry group is in. Example: * projects/{project_id}/locations/{location} Note that this EntryGroup and its child resources may not actually be stored in the location in this name.", 182 "location": "path", 183 "pattern": "^projects/[^/]+/locations/[^/]+$", 184 "required": true, 185 "type": "string" 186 } 187 }, 188 "path": "v1beta1/{+parent}/entryGroups", 189 "request": { 190 "$ref": "GoogleCloudDatacatalogV1beta1EntryGroup" 191 }, 192 "response": { 193 "$ref": "GoogleCloudDatacatalogV1beta1EntryGroup" 194 }, 195 "scopes": [ 196 "https://www.googleapis.com/auth/cloud-platform" 197 ] 198 }, 199 "delete": { 200 "description": "Deletes an EntryGroup. Only entry groups that do not contain entries can be deleted. Users should enable the Data Catalog API in the project identified by the `name` parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).", 201 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}", 202 "httpMethod": "DELETE", 203 "id": "datacatalog.projects.locations.entryGroups.delete", 204 "parameterOrder": [ 205 "name" 206 ], 207 "parameters": { 208 "force": { 209 "description": "Optional. If true, deletes all entries in the entry group.", 210 "location": "query", 211 "type": "boolean" 212 }, 213 "name": { 214 "description": "Required. The name of the entry group. For example, `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.", 215 "location": "path", 216 "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", 217 "required": true, 218 "type": "string" 219 } 220 }, 221 "path": "v1beta1/{+name}", 222 "response": { 223 "$ref": "Empty" 224 }, 225 "scopes": [ 226 "https://www.googleapis.com/auth/cloud-platform" 227 ] 228 }, 229 "get": { 230 "description": "Gets an EntryGroup.", 231 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}", 232 "httpMethod": "GET", 233 "id": "datacatalog.projects.locations.entryGroups.get", 234 "parameterOrder": [ 235 "name" 236 ], 237 "parameters": { 238 "name": { 239 "description": "Required. The name of the entry group. For example, `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.", 240 "location": "path", 241 "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", 242 "required": true, 243 "type": "string" 244 }, 245 "readMask": { 246 "description": "The fields to return. If not set or empty, all fields are returned.", 247 "format": "google-fieldmask", 248 "location": "query", 249 "type": "string" 250 } 251 }, 252 "path": "v1beta1/{+name}", 253 "response": { 254 "$ref": "GoogleCloudDatacatalogV1beta1EntryGroup" 255 }, 256 "scopes": [ 257 "https://www.googleapis.com/auth/cloud-platform" 258 ] 259 }, 260 "getIamPolicy": { 261 "description": "Gets the access control policy for a resource. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag templates. - `datacatalog.entries.getIamPolicy` to get policies on entries. - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.", 262 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}:getIamPolicy", 263 "httpMethod": "POST", 264 "id": "datacatalog.projects.locations.entryGroups.getIamPolicy", 265 "parameterOrder": [ 266 "resource" 267 ], 268 "parameters": { 269 "resource": { 270 "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", 271 "location": "path", 272 "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", 273 "required": true, 274 "type": "string" 275 } 276 }, 277 "path": "v1beta1/{+resource}:getIamPolicy", 278 "request": { 279 "$ref": "GetIamPolicyRequest" 280 }, 281 "response": { 282 "$ref": "Policy" 283 }, 284 "scopes": [ 285 "https://www.googleapis.com/auth/cloud-platform" 286 ] 287 }, 288 "list": { 289 "description": "Lists entry groups.", 290 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups", 291 "httpMethod": "GET", 292 "id": "datacatalog.projects.locations.entryGroups.list", 293 "parameterOrder": [ 294 "parent" 295 ], 296 "parameters": { 297 "pageSize": { 298 "description": "Optional. The maximum number of items to return. Default is 10. Max limit is 1000. Throws an invalid argument for `page_size > 1000`.", 299 "format": "int32", 300 "location": "query", 301 "type": "integer" 302 }, 303 "pageToken": { 304 "description": "Optional. Token that specifies which page is requested. If empty, the first page is returned.", 305 "location": "query", 306 "type": "string" 307 }, 308 "parent": { 309 "description": "Required. The name of the location that contains the entry groups, which can be provided in URL format. Example: * projects/{project_id}/locations/{location}", 310 "location": "path", 311 "pattern": "^projects/[^/]+/locations/[^/]+$", 312 "required": true, 313 "type": "string" 314 } 315 }, 316 "path": "v1beta1/{+parent}/entryGroups", 317 "response": { 318 "$ref": "GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse" 319 }, 320 "scopes": [ 321 "https://www.googleapis.com/auth/cloud-platform" 322 ] 323 }, 324 "patch": { 325 "description": "Updates an EntryGroup. The user should enable the Data Catalog API in the project identified by the `entry_group.name` parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).", 326 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}", 327 "httpMethod": "PATCH", 328 "id": "datacatalog.projects.locations.entryGroups.patch", 329 "parameterOrder": [ 330 "name" 331 ], 332 "parameters": { 333 "name": { 334 "description": "The resource name of the entry group in URL format. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} Note that this EntryGroup and its child resources may not actually be stored in the location in this name.", 335 "location": "path", 336 "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", 337 "required": true, 338 "type": "string" 339 }, 340 "updateMask": { 341 "description": "Names of fields whose values to overwrite on an entry group. If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.", 342 "format": "google-fieldmask", 343 "location": "query", 344 "type": "string" 345 } 346 }, 347 "path": "v1beta1/{+name}", 348 "request": { 349 "$ref": "GoogleCloudDatacatalogV1beta1EntryGroup" 350 }, 351 "response": { 352 "$ref": "GoogleCloudDatacatalogV1beta1EntryGroup" 353 }, 354 "scopes": [ 355 "https://www.googleapis.com/auth/cloud-platform" 356 ] 357 }, 358 "setIamPolicy": { 359 "description": "Sets the access control policy for a resource. Replaces any existing policy. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - `datacatalog.entries.setIamPolicy` to set policies on entries. - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.", 360 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}:setIamPolicy", 361 "httpMethod": "POST", 362 "id": "datacatalog.projects.locations.entryGroups.setIamPolicy", 363 "parameterOrder": [ 364 "resource" 365 ], 366 "parameters": { 367 "resource": { 368 "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", 369 "location": "path", 370 "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", 371 "required": true, 372 "type": "string" 373 } 374 }, 375 "path": "v1beta1/{+resource}:setIamPolicy", 376 "request": { 377 "$ref": "SetIamPolicyRequest" 378 }, 379 "response": { 380 "$ref": "Policy" 381 }, 382 "scopes": [ 383 "https://www.googleapis.com/auth/cloud-platform" 384 ] 385 }, 386 "testIamPermissions": { 387 "description": "Returns the caller's permissions on a resource. If the resource does not exist, an empty set of permissions is returned (We don't return a `NOT_FOUND` error). Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. A caller is not required to have Google IAM permission to make this request.", 388 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}:testIamPermissions", 389 "httpMethod": "POST", 390 "id": "datacatalog.projects.locations.entryGroups.testIamPermissions", 391 "parameterOrder": [ 392 "resource" 393 ], 394 "parameters": { 395 "resource": { 396 "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", 397 "location": "path", 398 "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", 399 "required": true, 400 "type": "string" 401 } 402 }, 403 "path": "v1beta1/{+resource}:testIamPermissions", 404 "request": { 405 "$ref": "TestIamPermissionsRequest" 406 }, 407 "response": { 408 "$ref": "TestIamPermissionsResponse" 409 }, 410 "scopes": [ 411 "https://www.googleapis.com/auth/cloud-platform" 412 ] 413 } 414 }, 415 "resources": { 416 "entries": { 417 "methods": { 418 "create": { 419 "description": "Creates an entry. Only entries of 'FILESET' type or user-specified type can be created. Users should enable the Data Catalog API in the project identified by the `parent` parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). A maximum of 100,000 entries may be created per entry group.", 420 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/entries", 421 "httpMethod": "POST", 422 "id": "datacatalog.projects.locations.entryGroups.entries.create", 423 "parameterOrder": [ 424 "parent" 425 ], 426 "parameters": { 427 "entryId": { 428 "description": "Required. The id of the entry to create.", 429 "location": "query", 430 "type": "string" 431 }, 432 "parent": { 433 "description": "Required. The name of the entry group this entry is in. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} Note that this Entry and its child resources may not actually be stored in the location in this name.", 434 "location": "path", 435 "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", 436 "required": true, 437 "type": "string" 438 } 439 }, 440 "path": "v1beta1/{+parent}/entries", 441 "request": { 442 "$ref": "GoogleCloudDatacatalogV1beta1Entry" 443 }, 444 "response": { 445 "$ref": "GoogleCloudDatacatalogV1beta1Entry" 446 }, 447 "scopes": [ 448 "https://www.googleapis.com/auth/cloud-platform" 449 ] 450 }, 451 "delete": { 452 "description": "Deletes an existing entry. Only entries created through CreateEntry method can be deleted. Users should enable the Data Catalog API in the project identified by the `name` parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).", 453 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/entries/{entriesId}", 454 "httpMethod": "DELETE", 455 "id": "datacatalog.projects.locations.entryGroups.entries.delete", 456 "parameterOrder": [ 457 "name" 458 ], 459 "parameters": { 460 "name": { 461 "description": "Required. The name of the entry. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}", 462 "location": "path", 463 "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+$", 464 "required": true, 465 "type": "string" 466 } 467 }, 468 "path": "v1beta1/{+name}", 469 "response": { 470 "$ref": "Empty" 471 }, 472 "scopes": [ 473 "https://www.googleapis.com/auth/cloud-platform" 474 ] 475 }, 476 "get": { 477 "description": "Gets an entry.", 478 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/entries/{entriesId}", 479 "httpMethod": "GET", 480 "id": "datacatalog.projects.locations.entryGroups.entries.get", 481 "parameterOrder": [ 482 "name" 483 ], 484 "parameters": { 485 "name": { 486 "description": "Required. The name of the entry. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}", 487 "location": "path", 488 "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+$", 489 "required": true, 490 "type": "string" 491 } 492 }, 493 "path": "v1beta1/{+name}", 494 "response": { 495 "$ref": "GoogleCloudDatacatalogV1beta1Entry" 496 }, 497 "scopes": [ 498 "https://www.googleapis.com/auth/cloud-platform" 499 ] 500 }, 501 "getIamPolicy": { 502 "description": "Gets the access control policy for a resource. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag templates. - `datacatalog.entries.getIamPolicy` to get policies on entries. - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.", 503 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/entries/{entriesId}:getIamPolicy", 504 "httpMethod": "POST", 505 "id": "datacatalog.projects.locations.entryGroups.entries.getIamPolicy", 506 "parameterOrder": [ 507 "resource" 508 ], 509 "parameters": { 510 "resource": { 511 "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", 512 "location": "path", 513 "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+$", 514 "required": true, 515 "type": "string" 516 } 517 }, 518 "path": "v1beta1/{+resource}:getIamPolicy", 519 "request": { 520 "$ref": "GetIamPolicyRequest" 521 }, 522 "response": { 523 "$ref": "Policy" 524 }, 525 "scopes": [ 526 "https://www.googleapis.com/auth/cloud-platform" 527 ] 528 }, 529 "list": { 530 "description": "Lists entries.", 531 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/entries", 532 "httpMethod": "GET", 533 "id": "datacatalog.projects.locations.entryGroups.entries.list", 534 "parameterOrder": [ 535 "parent" 536 ], 537 "parameters": { 538 "pageSize": { 539 "description": "The maximum number of items to return. Default is 10. Max limit is 1000. Throws an invalid argument for `page_size > 1000`.", 540 "format": "int32", 541 "location": "query", 542 "type": "integer" 543 }, 544 "pageToken": { 545 "description": "Token that specifies which page is requested. If empty, the first page is returned.", 546 "location": "query", 547 "type": "string" 548 }, 549 "parent": { 550 "description": "Required. The name of the entry group that contains the entries, which can be provided in URL format. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}", 551 "location": "path", 552 "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", 553 "required": true, 554 "type": "string" 555 }, 556 "readMask": { 557 "description": "The fields to return for each Entry. If not set or empty, all fields are returned. For example, setting read_mask to contain only one path \"name\" will cause ListEntries to return a list of Entries with only \"name\" field.", 558 "format": "google-fieldmask", 559 "location": "query", 560 "type": "string" 561 } 562 }, 563 "path": "v1beta1/{+parent}/entries", 564 "response": { 565 "$ref": "GoogleCloudDatacatalogV1beta1ListEntriesResponse" 566 }, 567 "scopes": [ 568 "https://www.googleapis.com/auth/cloud-platform" 569 ] 570 }, 571 "patch": { 572 "description": "Updates an existing entry. Users should enable the Data Catalog API in the project identified by the `entry.name` parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).", 573 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/entries/{entriesId}", 574 "httpMethod": "PATCH", 575 "id": "datacatalog.projects.locations.entryGroups.entries.patch", 576 "parameterOrder": [ 577 "name" 578 ], 579 "parameters": { 580 "name": { 581 "description": "Output only. The Data Catalog resource name of the entry in URL format. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} Note that this Entry and its child resources may not actually be stored in the location in this name.", 582 "location": "path", 583 "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+$", 584 "required": true, 585 "type": "string" 586 }, 587 "updateMask": { 588 "description": "Names of fields whose values to overwrite on an entry. If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied. The following fields are modifiable: * For entries with type `DATA_STREAM`: * `schema` * For entries with type `FILESET`: * `schema` * `display_name` * `description` * `gcs_fileset_spec` * `gcs_fileset_spec.file_patterns` * For entries with `user_specified_type`: * `schema` * `display_name` * `description` * `user_specified_type` * `user_specified_system` * `linked_resource` * `source_system_timestamps`", 589 "format": "google-fieldmask", 590 "location": "query", 591 "type": "string" 592 } 593 }, 594 "path": "v1beta1/{+name}", 595 "request": { 596 "$ref": "GoogleCloudDatacatalogV1beta1Entry" 597 }, 598 "response": { 599 "$ref": "GoogleCloudDatacatalogV1beta1Entry" 600 }, 601 "scopes": [ 602 "https://www.googleapis.com/auth/cloud-platform" 603 ] 604 }, 605 "testIamPermissions": { 606 "description": "Returns the caller's permissions on a resource. If the resource does not exist, an empty set of permissions is returned (We don't return a `NOT_FOUND` error). Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. A caller is not required to have Google IAM permission to make this request.", 607 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/entries/{entriesId}:testIamPermissions", 608 "httpMethod": "POST", 609 "id": "datacatalog.projects.locations.entryGroups.entries.testIamPermissions", 610 "parameterOrder": [ 611 "resource" 612 ], 613 "parameters": { 614 "resource": { 615 "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", 616 "location": "path", 617 "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+$", 618 "required": true, 619 "type": "string" 620 } 621 }, 622 "path": "v1beta1/{+resource}:testIamPermissions", 623 "request": { 624 "$ref": "TestIamPermissionsRequest" 625 }, 626 "response": { 627 "$ref": "TestIamPermissionsResponse" 628 }, 629 "scopes": [ 630 "https://www.googleapis.com/auth/cloud-platform" 631 ] 632 } 633 }, 634 "resources": { 635 "tags": { 636 "methods": { 637 "create": { 638 "description": "Creates a tag on an Entry. Note: The project identified by the `parent` parameter for the [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters) and the [tag template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters) used to create the tag must be from the same organization.", 639 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/entries/{entriesId}/tags", 640 "httpMethod": "POST", 641 "id": "datacatalog.projects.locations.entryGroups.entries.tags.create", 642 "parameterOrder": [ 643 "parent" 644 ], 645 "parameters": { 646 "parent": { 647 "description": "Required. The name of the resource to attach this tag to. Tags can be attached to Entries. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} Note that this Tag and its child resources may not actually be stored in the location in this name.", 648 "location": "path", 649 "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+$", 650 "required": true, 651 "type": "string" 652 } 653 }, 654 "path": "v1beta1/{+parent}/tags", 655 "request": { 656 "$ref": "GoogleCloudDatacatalogV1beta1Tag" 657 }, 658 "response": { 659 "$ref": "GoogleCloudDatacatalogV1beta1Tag" 660 }, 661 "scopes": [ 662 "https://www.googleapis.com/auth/cloud-platform" 663 ] 664 }, 665 "delete": { 666 "description": "Deletes a tag.", 667 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/entries/{entriesId}/tags/{tagsId}", 668 "httpMethod": "DELETE", 669 "id": "datacatalog.projects.locations.entryGroups.entries.tags.delete", 670 "parameterOrder": [ 671 "name" 672 ], 673 "parameters": { 674 "name": { 675 "description": "Required. The name of the tag to delete. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}", 676 "location": "path", 677 "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+/tags/[^/]+$", 678 "required": true, 679 "type": "string" 680 } 681 }, 682 "path": "v1beta1/{+name}", 683 "response": { 684 "$ref": "Empty" 685 }, 686 "scopes": [ 687 "https://www.googleapis.com/auth/cloud-platform" 688 ] 689 }, 690 "list": { 691 "description": "Lists tags assigned to an Entry. The columns in the response are lowercased.", 692 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/entries/{entriesId}/tags", 693 "httpMethod": "GET", 694 "id": "datacatalog.projects.locations.entryGroups.entries.tags.list", 695 "parameterOrder": [ 696 "parent" 697 ], 698 "parameters": { 699 "pageSize": { 700 "description": "The maximum number of tags to return. Default is 10. Max limit is 1000.", 701 "format": "int32", 702 "location": "query", 703 "type": "integer" 704 }, 705 "pageToken": { 706 "description": "Token that specifies which page is requested. If empty, the first page is returned.", 707 "location": "query", 708 "type": "string" 709 }, 710 "parent": { 711 "description": "Required. The name of the Data Catalog resource to list the tags of. The resource could be an Entry or an EntryGroup. Examples: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}", 712 "location": "path", 713 "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+$", 714 "required": true, 715 "type": "string" 716 } 717 }, 718 "path": "v1beta1/{+parent}/tags", 719 "response": { 720 "$ref": "GoogleCloudDatacatalogV1beta1ListTagsResponse" 721 }, 722 "scopes": [ 723 "https://www.googleapis.com/auth/cloud-platform" 724 ] 725 }, 726 "patch": { 727 "description": "Updates an existing tag.", 728 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/entries/{entriesId}/tags/{tagsId}", 729 "httpMethod": "PATCH", 730 "id": "datacatalog.projects.locations.entryGroups.entries.tags.patch", 731 "parameterOrder": [ 732 "name" 733 ], 734 "parameters": { 735 "name": { 736 "description": "The resource name of the tag in URL format. Example: * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id} where `tag_id` is a system-generated identifier. Note that this Tag may not actually be stored in the location in this name.", 737 "location": "path", 738 "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+/tags/[^/]+$", 739 "required": true, 740 "type": "string" 741 }, 742 "updateMask": { 743 "description": "Note: Currently, this parameter can only take `\"fields\"` as value. Names of fields whose values to overwrite on a tag. Currently, a tag has the only modifiable field with the name `fields`. In general, if this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.", 744 "format": "google-fieldmask", 745 "location": "query", 746 "type": "string" 747 } 748 }, 749 "path": "v1beta1/{+name}", 750 "request": { 751 "$ref": "GoogleCloudDatacatalogV1beta1Tag" 752 }, 753 "response": { 754 "$ref": "GoogleCloudDatacatalogV1beta1Tag" 755 }, 756 "scopes": [ 757 "https://www.googleapis.com/auth/cloud-platform" 758 ] 759 } 760 } 761 } 762 } 763 }, 764 "tags": { 765 "methods": { 766 "create": { 767 "description": "Creates a tag on an Entry. Note: The project identified by the `parent` parameter for the [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters) and the [tag template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters) used to create the tag must be from the same organization.", 768 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/tags", 769 "httpMethod": "POST", 770 "id": "datacatalog.projects.locations.entryGroups.tags.create", 771 "parameterOrder": [ 772 "parent" 773 ], 774 "parameters": { 775 "parent": { 776 "description": "Required. The name of the resource to attach this tag to. Tags can be attached to Entries. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} Note that this Tag and its child resources may not actually be stored in the location in this name.", 777 "location": "path", 778 "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", 779 "required": true, 780 "type": "string" 781 } 782 }, 783 "path": "v1beta1/{+parent}/tags", 784 "request": { 785 "$ref": "GoogleCloudDatacatalogV1beta1Tag" 786 }, 787 "response": { 788 "$ref": "GoogleCloudDatacatalogV1beta1Tag" 789 }, 790 "scopes": [ 791 "https://www.googleapis.com/auth/cloud-platform" 792 ] 793 }, 794 "delete": { 795 "description": "Deletes a tag.", 796 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/tags/{tagsId}", 797 "httpMethod": "DELETE", 798 "id": "datacatalog.projects.locations.entryGroups.tags.delete", 799 "parameterOrder": [ 800 "name" 801 ], 802 "parameters": { 803 "name": { 804 "description": "Required. The name of the tag to delete. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}", 805 "location": "path", 806 "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/tags/[^/]+$", 807 "required": true, 808 "type": "string" 809 } 810 }, 811 "path": "v1beta1/{+name}", 812 "response": { 813 "$ref": "Empty" 814 }, 815 "scopes": [ 816 "https://www.googleapis.com/auth/cloud-platform" 817 ] 818 }, 819 "list": { 820 "description": "Lists tags assigned to an Entry. The columns in the response are lowercased.", 821 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/tags", 822 "httpMethod": "GET", 823 "id": "datacatalog.projects.locations.entryGroups.tags.list", 824 "parameterOrder": [ 825 "parent" 826 ], 827 "parameters": { 828 "pageSize": { 829 "description": "The maximum number of tags to return. Default is 10. Max limit is 1000.", 830 "format": "int32", 831 "location": "query", 832 "type": "integer" 833 }, 834 "pageToken": { 835 "description": "Token that specifies which page is requested. If empty, the first page is returned.", 836 "location": "query", 837 "type": "string" 838 }, 839 "parent": { 840 "description": "Required. The name of the Data Catalog resource to list the tags of. The resource could be an Entry or an EntryGroup. Examples: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}", 841 "location": "path", 842 "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", 843 "required": true, 844 "type": "string" 845 } 846 }, 847 "path": "v1beta1/{+parent}/tags", 848 "response": { 849 "$ref": "GoogleCloudDatacatalogV1beta1ListTagsResponse" 850 }, 851 "scopes": [ 852 "https://www.googleapis.com/auth/cloud-platform" 853 ] 854 }, 855 "patch": { 856 "description": "Updates an existing tag.", 857 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/tags/{tagsId}", 858 "httpMethod": "PATCH", 859 "id": "datacatalog.projects.locations.entryGroups.tags.patch", 860 "parameterOrder": [ 861 "name" 862 ], 863 "parameters": { 864 "name": { 865 "description": "The resource name of the tag in URL format. Example: * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id} where `tag_id` is a system-generated identifier. Note that this Tag may not actually be stored in the location in this name.", 866 "location": "path", 867 "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/tags/[^/]+$", 868 "required": true, 869 "type": "string" 870 }, 871 "updateMask": { 872 "description": "Note: Currently, this parameter can only take `\"fields\"` as value. Names of fields whose values to overwrite on a tag. Currently, a tag has the only modifiable field with the name `fields`. In general, if this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.", 873 "format": "google-fieldmask", 874 "location": "query", 875 "type": "string" 876 } 877 }, 878 "path": "v1beta1/{+name}", 879 "request": { 880 "$ref": "GoogleCloudDatacatalogV1beta1Tag" 881 }, 882 "response": { 883 "$ref": "GoogleCloudDatacatalogV1beta1Tag" 884 }, 885 "scopes": [ 886 "https://www.googleapis.com/auth/cloud-platform" 887 ] 888 } 889 } 890 } 891 } 892 }, 893 "tagTemplates": { 894 "methods": { 895 "create": { 896 "description": "Creates a tag template. The user should enable the Data Catalog API in the project identified by the `parent` parameter (see [Data Catalog Resource Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).", 897 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/tagTemplates", 898 "httpMethod": "POST", 899 "id": "datacatalog.projects.locations.tagTemplates.create", 900 "parameterOrder": [ 901 "parent" 902 ], 903 "parameters": { 904 "parent": { 905 "description": "Required. The name of the project and the template location [region](https://cloud.google.com/data-catalog/docs/concepts/regions. Example: * projects/{project_id}/locations/us-central1", 906 "location": "path", 907 "pattern": "^projects/[^/]+/locations/[^/]+$", 908 "required": true, 909 "type": "string" 910 }, 911 "tagTemplateId": { 912 "description": "Required. The id of the tag template to create.", 913 "location": "query", 914 "type": "string" 915 } 916 }, 917 "path": "v1beta1/{+parent}/tagTemplates", 918 "request": { 919 "$ref": "GoogleCloudDatacatalogV1beta1TagTemplate" 920 }, 921 "response": { 922 "$ref": "GoogleCloudDatacatalogV1beta1TagTemplate" 923 }, 924 "scopes": [ 925 "https://www.googleapis.com/auth/cloud-platform" 926 ] 927 }, 928 "delete": { 929 "description": "Deletes a tag template and all tags using the template. Users should enable the Data Catalog API in the project identified by the `name` parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).", 930 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/tagTemplates/{tagTemplatesId}", 931 "httpMethod": "DELETE", 932 "id": "datacatalog.projects.locations.tagTemplates.delete", 933 "parameterOrder": [ 934 "name" 935 ], 936 "parameters": { 937 "force": { 938 "description": "Required. Currently, this field must always be set to `true`. This confirms the deletion of any possible tags using this template. `force = false` will be supported in the future.", 939 "location": "query", 940 "type": "boolean" 941 }, 942 "name": { 943 "description": "Required. The name of the tag template to delete. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}", 944 "location": "path", 945 "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+$", 946 "required": true, 947 "type": "string" 948 } 949 }, 950 "path": "v1beta1/{+name}", 951 "response": { 952 "$ref": "Empty" 953 }, 954 "scopes": [ 955 "https://www.googleapis.com/auth/cloud-platform" 956 ] 957 }, 958 "get": { 959 "description": "Gets a tag template.", 960 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/tagTemplates/{tagTemplatesId}", 961 "httpMethod": "GET", 962 "id": "datacatalog.projects.locations.tagTemplates.get", 963 "parameterOrder": [ 964 "name" 965 ], 966 "parameters": { 967 "name": { 968 "description": "Required. The name of the tag template. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}", 969 "location": "path", 970 "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+$", 971 "required": true, 972 "type": "string" 973 } 974 }, 975 "path": "v1beta1/{+name}", 976 "response": { 977 "$ref": "GoogleCloudDatacatalogV1beta1TagTemplate" 978 }, 979 "scopes": [ 980 "https://www.googleapis.com/auth/cloud-platform" 981 ] 982 }, 983 "getIamPolicy": { 984 "description": "Gets the access control policy for a resource. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag templates. - `datacatalog.entries.getIamPolicy` to get policies on entries. - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.", 985 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/tagTemplates/{tagTemplatesId}:getIamPolicy", 986 "httpMethod": "POST", 987 "id": "datacatalog.projects.locations.tagTemplates.getIamPolicy", 988 "parameterOrder": [ 989 "resource" 990 ], 991 "parameters": { 992 "resource": { 993 "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", 994 "location": "path", 995 "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+$", 996 "required": true, 997 "type": "string" 998 } 999 }, 1000 "path": "v1beta1/{+resource}:getIamPolicy", 1001 "request": { 1002 "$ref": "GetIamPolicyRequest" 1003 }, 1004 "response": { 1005 "$ref": "Policy" 1006 }, 1007 "scopes": [ 1008 "https://www.googleapis.com/auth/cloud-platform" 1009 ] 1010 }, 1011 "patch": { 1012 "description": "Updates a tag template. This method cannot be used to update the fields of a template. The tag template fields are represented as separate resources and should be updated using their own create/update/delete methods. Users should enable the Data Catalog API in the project identified by the `tag_template.name` parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).", 1013 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/tagTemplates/{tagTemplatesId}", 1014 "httpMethod": "PATCH", 1015 "id": "datacatalog.projects.locations.tagTemplates.patch", 1016 "parameterOrder": [ 1017 "name" 1018 ], 1019 "parameters": { 1020 "name": { 1021 "description": "The resource name of the tag template in URL format. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} Note that this TagTemplate and its child resources may not actually be stored in the location in this name.", 1022 "location": "path", 1023 "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+$", 1024 "required": true, 1025 "type": "string" 1026 }, 1027 "updateMask": { 1028 "description": "Names of fields whose values to overwrite on a tag template. Currently, only `display_name` can be overwritten. In general, if this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.", 1029 "format": "google-fieldmask", 1030 "location": "query", 1031 "type": "string" 1032 } 1033 }, 1034 "path": "v1beta1/{+name}", 1035 "request": { 1036 "$ref": "GoogleCloudDatacatalogV1beta1TagTemplate" 1037 }, 1038 "response": { 1039 "$ref": "GoogleCloudDatacatalogV1beta1TagTemplate" 1040 }, 1041 "scopes": [ 1042 "https://www.googleapis.com/auth/cloud-platform" 1043 ] 1044 }, 1045 "setIamPolicy": { 1046 "description": "Sets the access control policy for a resource. Replaces any existing policy. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - `datacatalog.entries.setIamPolicy` to set policies on entries. - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.", 1047 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/tagTemplates/{tagTemplatesId}:setIamPolicy", 1048 "httpMethod": "POST", 1049 "id": "datacatalog.projects.locations.tagTemplates.setIamPolicy", 1050 "parameterOrder": [ 1051 "resource" 1052 ], 1053 "parameters": { 1054 "resource": { 1055 "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", 1056 "location": "path", 1057 "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+$", 1058 "required": true, 1059 "type": "string" 1060 } 1061 }, 1062 "path": "v1beta1/{+resource}:setIamPolicy", 1063 "request": { 1064 "$ref": "SetIamPolicyRequest" 1065 }, 1066 "response": { 1067 "$ref": "Policy" 1068 }, 1069 "scopes": [ 1070 "https://www.googleapis.com/auth/cloud-platform" 1071 ] 1072 }, 1073 "testIamPermissions": { 1074 "description": "Returns the caller's permissions on a resource. If the resource does not exist, an empty set of permissions is returned (We don't return a `NOT_FOUND` error). Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. A caller is not required to have Google IAM permission to make this request.", 1075 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/tagTemplates/{tagTemplatesId}:testIamPermissions", 1076 "httpMethod": "POST", 1077 "id": "datacatalog.projects.locations.tagTemplates.testIamPermissions", 1078 "parameterOrder": [ 1079 "resource" 1080 ], 1081 "parameters": { 1082 "resource": { 1083 "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", 1084 "location": "path", 1085 "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+$", 1086 "required": true, 1087 "type": "string" 1088 } 1089 }, 1090 "path": "v1beta1/{+resource}:testIamPermissions", 1091 "request": { 1092 "$ref": "TestIamPermissionsRequest" 1093 }, 1094 "response": { 1095 "$ref": "TestIamPermissionsResponse" 1096 }, 1097 "scopes": [ 1098 "https://www.googleapis.com/auth/cloud-platform" 1099 ] 1100 } 1101 }, 1102 "resources": { 1103 "fields": { 1104 "methods": { 1105 "create": { 1106 "description": "Creates a field in a tag template. The user should enable the Data Catalog API in the project identified by the `parent` parameter (see [Data Catalog Resource Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).", 1107 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/tagTemplates/{tagTemplatesId}/fields", 1108 "httpMethod": "POST", 1109 "id": "datacatalog.projects.locations.tagTemplates.fields.create", 1110 "parameterOrder": [ 1111 "parent" 1112 ], 1113 "parameters": { 1114 "parent": { 1115 "description": "Required. The name of the project and the template location [region](https://cloud.google.com/data-catalog/docs/concepts/regions). Example: * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}", 1116 "location": "path", 1117 "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+$", 1118 "required": true, 1119 "type": "string" 1120 }, 1121 "tagTemplateFieldId": { 1122 "description": "Required. The ID of the tag template field to create. Field ids can contain letters (both uppercase and lowercase), numbers (0-9), underscores (_) and dashes (-). Field IDs must be at least 1 character long and at most 128 characters long. Field IDs must also be unique within their template.", 1123 "location": "query", 1124 "type": "string" 1125 } 1126 }, 1127 "path": "v1beta1/{+parent}/fields", 1128 "request": { 1129 "$ref": "GoogleCloudDatacatalogV1beta1TagTemplateField" 1130 }, 1131 "response": { 1132 "$ref": "GoogleCloudDatacatalogV1beta1TagTemplateField" 1133 }, 1134 "scopes": [ 1135 "https://www.googleapis.com/auth/cloud-platform" 1136 ] 1137 }, 1138 "delete": { 1139 "description": "Deletes a field in a tag template and all uses of that field. Users should enable the Data Catalog API in the project identified by the `name` parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).", 1140 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/tagTemplates/{tagTemplatesId}/fields/{fieldsId}", 1141 "httpMethod": "DELETE", 1142 "id": "datacatalog.projects.locations.tagTemplates.fields.delete", 1143 "parameterOrder": [ 1144 "name" 1145 ], 1146 "parameters": { 1147 "force": { 1148 "description": "Required. Currently, this field must always be set to `true`. This confirms the deletion of this field from any tags using this field. `force = false` will be supported in the future.", 1149 "location": "query", 1150 "type": "boolean" 1151 }, 1152 "name": { 1153 "description": "Required. The name of the tag template field to delete. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}", 1154 "location": "path", 1155 "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+/fields/[^/]+$", 1156 "required": true, 1157 "type": "string" 1158 } 1159 }, 1160 "path": "v1beta1/{+name}", 1161 "response": { 1162 "$ref": "Empty" 1163 }, 1164 "scopes": [ 1165 "https://www.googleapis.com/auth/cloud-platform" 1166 ] 1167 }, 1168 "patch": { 1169 "description": "Updates a field in a tag template. This method cannot be used to update the field type. Users should enable the Data Catalog API in the project identified by the `name` parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).", 1170 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/tagTemplates/{tagTemplatesId}/fields/{fieldsId}", 1171 "httpMethod": "PATCH", 1172 "id": "datacatalog.projects.locations.tagTemplates.fields.patch", 1173 "parameterOrder": [ 1174 "name" 1175 ], 1176 "parameters": { 1177 "name": { 1178 "description": "Required. The name of the tag template field. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}", 1179 "location": "path", 1180 "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+/fields/[^/]+$", 1181 "required": true, 1182 "type": "string" 1183 }, 1184 "updateMask": { 1185 "description": "Optional. Names of fields whose values to overwrite on an individual field of a tag template. The following fields are modifiable: * `display_name` * `type.enum_type` * `is_required` If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied with one exception: when updating an enum type, the provided values are merged with the existing values. Therefore, enum values can only be added, existing enum values cannot be deleted or renamed. Additionally, updating a template field from optional to required is *not* allowed.", 1186 "format": "google-fieldmask", 1187 "location": "query", 1188 "type": "string" 1189 } 1190 }, 1191 "path": "v1beta1/{+name}", 1192 "request": { 1193 "$ref": "GoogleCloudDatacatalogV1beta1TagTemplateField" 1194 }, 1195 "response": { 1196 "$ref": "GoogleCloudDatacatalogV1beta1TagTemplateField" 1197 }, 1198 "scopes": [ 1199 "https://www.googleapis.com/auth/cloud-platform" 1200 ] 1201 }, 1202 "rename": { 1203 "description": "Renames a field in a tag template. The user should enable the Data Catalog API in the project identified by the `name` parameter (see [Data Catalog Resource Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).", 1204 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/tagTemplates/{tagTemplatesId}/fields/{fieldsId}:rename", 1205 "httpMethod": "POST", 1206 "id": "datacatalog.projects.locations.tagTemplates.fields.rename", 1207 "parameterOrder": [ 1208 "name" 1209 ], 1210 "parameters": { 1211 "name": { 1212 "description": "Required. The name of the tag template. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}", 1213 "location": "path", 1214 "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+/fields/[^/]+$", 1215 "required": true, 1216 "type": "string" 1217 } 1218 }, 1219 "path": "v1beta1/{+name}:rename", 1220 "request": { 1221 "$ref": "GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldRequest" 1222 }, 1223 "response": { 1224 "$ref": "GoogleCloudDatacatalogV1beta1TagTemplateField" 1225 }, 1226 "scopes": [ 1227 "https://www.googleapis.com/auth/cloud-platform" 1228 ] 1229 } 1230 }, 1231 "resources": { 1232 "enumValues": { 1233 "methods": { 1234 "rename": { 1235 "description": "Renames an enum value in a tag template. The enum values have to be unique within one enum field. Thus, an enum value cannot be renamed with a name used in any other enum value within the same enum field.", 1236 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/tagTemplates/{tagTemplatesId}/fields/{fieldsId}/enumValues/{enumValuesId}:rename", 1237 "httpMethod": "POST", 1238 "id": "datacatalog.projects.locations.tagTemplates.fields.enumValues.rename", 1239 "parameterOrder": [ 1240 "name" 1241 ], 1242 "parameters": { 1243 "name": { 1244 "description": "Required. The name of the enum field value. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}", 1245 "location": "path", 1246 "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+/fields/[^/]+/enumValues/[^/]+$", 1247 "required": true, 1248 "type": "string" 1249 } 1250 }, 1251 "path": "v1beta1/{+name}:rename", 1252 "request": { 1253 "$ref": "GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest" 1254 }, 1255 "response": { 1256 "$ref": "GoogleCloudDatacatalogV1beta1TagTemplateField" 1257 }, 1258 "scopes": [ 1259 "https://www.googleapis.com/auth/cloud-platform" 1260 ] 1261 } 1262 } 1263 } 1264 } 1265 } 1266 } 1267 }, 1268 "taxonomies": { 1269 "methods": { 1270 "create": { 1271 "description": "Creates a taxonomy in the specified project.", 1272 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/taxonomies", 1273 "httpMethod": "POST", 1274 "id": "datacatalog.projects.locations.taxonomies.create", 1275 "parameterOrder": [ 1276 "parent" 1277 ], 1278 "parameters": { 1279 "parent": { 1280 "description": "Required. Resource name of the project that the taxonomy will belong to.", 1281 "location": "path", 1282 "pattern": "^projects/[^/]+/locations/[^/]+$", 1283 "required": true, 1284 "type": "string" 1285 } 1286 }, 1287 "path": "v1beta1/{+parent}/taxonomies", 1288 "request": { 1289 "$ref": "GoogleCloudDatacatalogV1beta1Taxonomy" 1290 }, 1291 "response": { 1292 "$ref": "GoogleCloudDatacatalogV1beta1Taxonomy" 1293 }, 1294 "scopes": [ 1295 "https://www.googleapis.com/auth/cloud-platform" 1296 ] 1297 }, 1298 "delete": { 1299 "description": "Deletes a taxonomy. This operation will also delete all policy tags in this taxonomy along with their associated policies.", 1300 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/taxonomies/{taxonomiesId}", 1301 "httpMethod": "DELETE", 1302 "id": "datacatalog.projects.locations.taxonomies.delete", 1303 "parameterOrder": [ 1304 "name" 1305 ], 1306 "parameters": { 1307 "name": { 1308 "description": "Required. Resource name of the taxonomy to be deleted. All policy tags in this taxonomy will also be deleted.", 1309 "location": "path", 1310 "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", 1311 "required": true, 1312 "type": "string" 1313 } 1314 }, 1315 "path": "v1beta1/{+name}", 1316 "response": { 1317 "$ref": "Empty" 1318 }, 1319 "scopes": [ 1320 "https://www.googleapis.com/auth/cloud-platform" 1321 ] 1322 }, 1323 "export": { 1324 "description": "Exports all taxonomies and their policy tags in a project. This method generates SerializedTaxonomy protos with nested policy tags that can be used as an input for future ImportTaxonomies calls.", 1325 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/taxonomies:export", 1326 "httpMethod": "GET", 1327 "id": "datacatalog.projects.locations.taxonomies.export", 1328 "parameterOrder": [ 1329 "parent" 1330 ], 1331 "parameters": { 1332 "parent": { 1333 "description": "Required. Resource name of the project that taxonomies to be exported will share.", 1334 "location": "path", 1335 "pattern": "^projects/[^/]+/locations/[^/]+$", 1336 "required": true, 1337 "type": "string" 1338 }, 1339 "serializedTaxonomies": { 1340 "description": "Export taxonomies as serialized taxonomies.", 1341 "location": "query", 1342 "type": "boolean" 1343 }, 1344 "taxonomies": { 1345 "description": "Required. Resource names of the taxonomies to be exported.", 1346 "location": "query", 1347 "repeated": true, 1348 "type": "string" 1349 } 1350 }, 1351 "path": "v1beta1/{+parent}/taxonomies:export", 1352 "response": { 1353 "$ref": "GoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse" 1354 }, 1355 "scopes": [ 1356 "https://www.googleapis.com/auth/cloud-platform" 1357 ] 1358 }, 1359 "get": { 1360 "description": "Gets a taxonomy.", 1361 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/taxonomies/{taxonomiesId}", 1362 "httpMethod": "GET", 1363 "id": "datacatalog.projects.locations.taxonomies.get", 1364 "parameterOrder": [ 1365 "name" 1366 ], 1367 "parameters": { 1368 "name": { 1369 "description": "Required. Resource name of the requested taxonomy.", 1370 "location": "path", 1371 "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", 1372 "required": true, 1373 "type": "string" 1374 } 1375 }, 1376 "path": "v1beta1/{+name}", 1377 "response": { 1378 "$ref": "GoogleCloudDatacatalogV1beta1Taxonomy" 1379 }, 1380 "scopes": [ 1381 "https://www.googleapis.com/auth/cloud-platform" 1382 ] 1383 }, 1384 "getIamPolicy": { 1385 "description": "Gets the IAM policy for a taxonomy or a policy tag.", 1386 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/taxonomies/{taxonomiesId}:getIamPolicy", 1387 "httpMethod": "POST", 1388 "id": "datacatalog.projects.locations.taxonomies.getIamPolicy", 1389 "parameterOrder": [ 1390 "resource" 1391 ], 1392 "parameters": { 1393 "resource": { 1394 "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", 1395 "location": "path", 1396 "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", 1397 "required": true, 1398 "type": "string" 1399 } 1400 }, 1401 "path": "v1beta1/{+resource}:getIamPolicy", 1402 "request": { 1403 "$ref": "GetIamPolicyRequest" 1404 }, 1405 "response": { 1406 "$ref": "Policy" 1407 }, 1408 "scopes": [ 1409 "https://www.googleapis.com/auth/cloud-platform" 1410 ] 1411 }, 1412 "import": { 1413 "description": "Imports all taxonomies and their policy tags to a project as new taxonomies. This method provides a bulk taxonomy / policy tag creation using nested proto structure.", 1414 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/taxonomies:import", 1415 "httpMethod": "POST", 1416 "id": "datacatalog.projects.locations.taxonomies.import", 1417 "parameterOrder": [ 1418 "parent" 1419 ], 1420 "parameters": { 1421 "parent": { 1422 "description": "Required. Resource name of project that the imported taxonomies will belong to.", 1423 "location": "path", 1424 "pattern": "^projects/[^/]+/locations/[^/]+$", 1425 "required": true, 1426 "type": "string" 1427 } 1428 }, 1429 "path": "v1beta1/{+parent}/taxonomies:import", 1430 "request": { 1431 "$ref": "GoogleCloudDatacatalogV1beta1ImportTaxonomiesRequest" 1432 }, 1433 "response": { 1434 "$ref": "GoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse" 1435 }, 1436 "scopes": [ 1437 "https://www.googleapis.com/auth/cloud-platform" 1438 ] 1439 }, 1440 "list": { 1441 "description": "Lists all taxonomies in a project in a particular location that the caller has permission to view.", 1442 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/taxonomies", 1443 "httpMethod": "GET", 1444 "id": "datacatalog.projects.locations.taxonomies.list", 1445 "parameterOrder": [ 1446 "parent" 1447 ], 1448 "parameters": { 1449 "pageSize": { 1450 "description": "The maximum number of items to return. Must be a value between 1 and 1000. If not set, defaults to 50.", 1451 "format": "int32", 1452 "location": "query", 1453 "type": "integer" 1454 }, 1455 "pageToken": { 1456 "description": "The next_page_token value returned from a previous list request, if any. If not set, defaults to an empty string.", 1457 "location": "query", 1458 "type": "string" 1459 }, 1460 "parent": { 1461 "description": "Required. Resource name of the project to list the taxonomies of.", 1462 "location": "path", 1463 "pattern": "^projects/[^/]+/locations/[^/]+$", 1464 "required": true, 1465 "type": "string" 1466 } 1467 }, 1468 "path": "v1beta1/{+parent}/taxonomies", 1469 "response": { 1470 "$ref": "GoogleCloudDatacatalogV1beta1ListTaxonomiesResponse" 1471 }, 1472 "scopes": [ 1473 "https://www.googleapis.com/auth/cloud-platform" 1474 ] 1475 }, 1476 "patch": { 1477 "description": "Updates a taxonomy.", 1478 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/taxonomies/{taxonomiesId}", 1479 "httpMethod": "PATCH", 1480 "id": "datacatalog.projects.locations.taxonomies.patch", 1481 "parameterOrder": [ 1482 "name" 1483 ], 1484 "parameters": { 1485 "name": { 1486 "description": "Output only. Resource name of this taxonomy, whose format is: \"projects/{project_number}/locations/{location_id}/taxonomies/{id}\".", 1487 "location": "path", 1488 "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", 1489 "required": true, 1490 "type": "string" 1491 }, 1492 "updateMask": { 1493 "description": "The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.", 1494 "format": "google-fieldmask", 1495 "location": "query", 1496 "type": "string" 1497 } 1498 }, 1499 "path": "v1beta1/{+name}", 1500 "request": { 1501 "$ref": "GoogleCloudDatacatalogV1beta1Taxonomy" 1502 }, 1503 "response": { 1504 "$ref": "GoogleCloudDatacatalogV1beta1Taxonomy" 1505 }, 1506 "scopes": [ 1507 "https://www.googleapis.com/auth/cloud-platform" 1508 ] 1509 }, 1510 "setIamPolicy": { 1511 "description": "Sets the IAM policy for a taxonomy or a policy tag.", 1512 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/taxonomies/{taxonomiesId}:setIamPolicy", 1513 "httpMethod": "POST", 1514 "id": "datacatalog.projects.locations.taxonomies.setIamPolicy", 1515 "parameterOrder": [ 1516 "resource" 1517 ], 1518 "parameters": { 1519 "resource": { 1520 "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", 1521 "location": "path", 1522 "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", 1523 "required": true, 1524 "type": "string" 1525 } 1526 }, 1527 "path": "v1beta1/{+resource}:setIamPolicy", 1528 "request": { 1529 "$ref": "SetIamPolicyRequest" 1530 }, 1531 "response": { 1532 "$ref": "Policy" 1533 }, 1534 "scopes": [ 1535 "https://www.googleapis.com/auth/cloud-platform" 1536 ] 1537 }, 1538 "testIamPermissions": { 1539 "description": "Returns the permissions that a caller has on the specified taxonomy or policy tag.", 1540 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/taxonomies/{taxonomiesId}:testIamPermissions", 1541 "httpMethod": "POST", 1542 "id": "datacatalog.projects.locations.taxonomies.testIamPermissions", 1543 "parameterOrder": [ 1544 "resource" 1545 ], 1546 "parameters": { 1547 "resource": { 1548 "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", 1549 "location": "path", 1550 "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", 1551 "required": true, 1552 "type": "string" 1553 } 1554 }, 1555 "path": "v1beta1/{+resource}:testIamPermissions", 1556 "request": { 1557 "$ref": "TestIamPermissionsRequest" 1558 }, 1559 "response": { 1560 "$ref": "TestIamPermissionsResponse" 1561 }, 1562 "scopes": [ 1563 "https://www.googleapis.com/auth/cloud-platform" 1564 ] 1565 } 1566 }, 1567 "resources": { 1568 "policyTags": { 1569 "methods": { 1570 "create": { 1571 "description": "Creates a policy tag in the specified taxonomy.", 1572 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/taxonomies/{taxonomiesId}/policyTags", 1573 "httpMethod": "POST", 1574 "id": "datacatalog.projects.locations.taxonomies.policyTags.create", 1575 "parameterOrder": [ 1576 "parent" 1577 ], 1578 "parameters": { 1579 "parent": { 1580 "description": "Required. Resource name of the taxonomy that the policy tag will belong to.", 1581 "location": "path", 1582 "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", 1583 "required": true, 1584 "type": "string" 1585 } 1586 }, 1587 "path": "v1beta1/{+parent}/policyTags", 1588 "request": { 1589 "$ref": "GoogleCloudDatacatalogV1beta1PolicyTag" 1590 }, 1591 "response": { 1592 "$ref": "GoogleCloudDatacatalogV1beta1PolicyTag" 1593 }, 1594 "scopes": [ 1595 "https://www.googleapis.com/auth/cloud-platform" 1596 ] 1597 }, 1598 "delete": { 1599 "description": "Deletes a policy tag. Also deletes all of its descendant policy tags.", 1600 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/taxonomies/{taxonomiesId}/policyTags/{policyTagsId}", 1601 "httpMethod": "DELETE", 1602 "id": "datacatalog.projects.locations.taxonomies.policyTags.delete", 1603 "parameterOrder": [ 1604 "name" 1605 ], 1606 "parameters": { 1607 "name": { 1608 "description": "Required. Resource name of the policy tag to be deleted. All of its descendant policy tags will also be deleted.", 1609 "location": "path", 1610 "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+/policyTags/[^/]+$", 1611 "required": true, 1612 "type": "string" 1613 } 1614 }, 1615 "path": "v1beta1/{+name}", 1616 "response": { 1617 "$ref": "Empty" 1618 }, 1619 "scopes": [ 1620 "https://www.googleapis.com/auth/cloud-platform" 1621 ] 1622 }, 1623 "get": { 1624 "description": "Gets a policy tag.", 1625 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/taxonomies/{taxonomiesId}/policyTags/{policyTagsId}", 1626 "httpMethod": "GET", 1627 "id": "datacatalog.projects.locations.taxonomies.policyTags.get", 1628 "parameterOrder": [ 1629 "name" 1630 ], 1631 "parameters": { 1632 "name": { 1633 "description": "Required. Resource name of the requested policy tag.", 1634 "location": "path", 1635 "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+/policyTags/[^/]+$", 1636 "required": true, 1637 "type": "string" 1638 } 1639 }, 1640 "path": "v1beta1/{+name}", 1641 "response": { 1642 "$ref": "GoogleCloudDatacatalogV1beta1PolicyTag" 1643 }, 1644 "scopes": [ 1645 "https://www.googleapis.com/auth/cloud-platform" 1646 ] 1647 }, 1648 "getIamPolicy": { 1649 "description": "Gets the IAM policy for a taxonomy or a policy tag.", 1650 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/taxonomies/{taxonomiesId}/policyTags/{policyTagsId}:getIamPolicy", 1651 "httpMethod": "POST", 1652 "id": "datacatalog.projects.locations.taxonomies.policyTags.getIamPolicy", 1653 "parameterOrder": [ 1654 "resource" 1655 ], 1656 "parameters": { 1657 "resource": { 1658 "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", 1659 "location": "path", 1660 "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+/policyTags/[^/]+$", 1661 "required": true, 1662 "type": "string" 1663 } 1664 }, 1665 "path": "v1beta1/{+resource}:getIamPolicy", 1666 "request": { 1667 "$ref": "GetIamPolicyRequest" 1668 }, 1669 "response": { 1670 "$ref": "Policy" 1671 }, 1672 "scopes": [ 1673 "https://www.googleapis.com/auth/cloud-platform" 1674 ] 1675 }, 1676 "list": { 1677 "description": "Lists all policy tags in a taxonomy.", 1678 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/taxonomies/{taxonomiesId}/policyTags", 1679 "httpMethod": "GET", 1680 "id": "datacatalog.projects.locations.taxonomies.policyTags.list", 1681 "parameterOrder": [ 1682 "parent" 1683 ], 1684 "parameters": { 1685 "pageSize": { 1686 "description": "The maximum number of items to return. Must be a value between 1 and 1000. If not set, defaults to 50.", 1687 "format": "int32", 1688 "location": "query", 1689 "type": "integer" 1690 }, 1691 "pageToken": { 1692 "description": "The next_page_token value returned from a previous List request, if any. If not set, defaults to an empty string.", 1693 "location": "query", 1694 "type": "string" 1695 }, 1696 "parent": { 1697 "description": "Required. Resource name of the taxonomy to list the policy tags of.", 1698 "location": "path", 1699 "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", 1700 "required": true, 1701 "type": "string" 1702 } 1703 }, 1704 "path": "v1beta1/{+parent}/policyTags", 1705 "response": { 1706 "$ref": "GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse" 1707 }, 1708 "scopes": [ 1709 "https://www.googleapis.com/auth/cloud-platform" 1710 ] 1711 }, 1712 "patch": { 1713 "description": "Updates a policy tag.", 1714 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/taxonomies/{taxonomiesId}/policyTags/{policyTagsId}", 1715 "httpMethod": "PATCH", 1716 "id": "datacatalog.projects.locations.taxonomies.policyTags.patch", 1717 "parameterOrder": [ 1718 "name" 1719 ], 1720 "parameters": { 1721 "name": { 1722 "description": "Output only. Resource name of this policy tag, whose format is: \"projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}\".", 1723 "location": "path", 1724 "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+/policyTags/[^/]+$", 1725 "required": true, 1726 "type": "string" 1727 }, 1728 "updateMask": { 1729 "description": "The update mask applies to the resource. Only display_name, description and parent_policy_tag can be updated and thus can be listed in the mask. If update_mask is not provided, all allowed fields (i.e. display_name, description and parent) will be updated. For more information including the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.", 1730 "format": "google-fieldmask", 1731 "location": "query", 1732 "type": "string" 1733 } 1734 }, 1735 "path": "v1beta1/{+name}", 1736 "request": { 1737 "$ref": "GoogleCloudDatacatalogV1beta1PolicyTag" 1738 }, 1739 "response": { 1740 "$ref": "GoogleCloudDatacatalogV1beta1PolicyTag" 1741 }, 1742 "scopes": [ 1743 "https://www.googleapis.com/auth/cloud-platform" 1744 ] 1745 }, 1746 "setIamPolicy": { 1747 "description": "Sets the IAM policy for a taxonomy or a policy tag.", 1748 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/taxonomies/{taxonomiesId}/policyTags/{policyTagsId}:setIamPolicy", 1749 "httpMethod": "POST", 1750 "id": "datacatalog.projects.locations.taxonomies.policyTags.setIamPolicy", 1751 "parameterOrder": [ 1752 "resource" 1753 ], 1754 "parameters": { 1755 "resource": { 1756 "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", 1757 "location": "path", 1758 "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+/policyTags/[^/]+$", 1759 "required": true, 1760 "type": "string" 1761 } 1762 }, 1763 "path": "v1beta1/{+resource}:setIamPolicy", 1764 "request": { 1765 "$ref": "SetIamPolicyRequest" 1766 }, 1767 "response": { 1768 "$ref": "Policy" 1769 }, 1770 "scopes": [ 1771 "https://www.googleapis.com/auth/cloud-platform" 1772 ] 1773 }, 1774 "testIamPermissions": { 1775 "description": "Returns the permissions that a caller has on the specified taxonomy or policy tag.", 1776 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/taxonomies/{taxonomiesId}/policyTags/{policyTagsId}:testIamPermissions", 1777 "httpMethod": "POST", 1778 "id": "datacatalog.projects.locations.taxonomies.policyTags.testIamPermissions", 1779 "parameterOrder": [ 1780 "resource" 1781 ], 1782 "parameters": { 1783 "resource": { 1784 "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", 1785 "location": "path", 1786 "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+/policyTags/[^/]+$", 1787 "required": true, 1788 "type": "string" 1789 } 1790 }, 1791 "path": "v1beta1/{+resource}:testIamPermissions", 1792 "request": { 1793 "$ref": "TestIamPermissionsRequest" 1794 }, 1795 "response": { 1796 "$ref": "TestIamPermissionsResponse" 1797 }, 1798 "scopes": [ 1799 "https://www.googleapis.com/auth/cloud-platform" 1800 ] 1801 } 1802 } 1803 } 1804 } 1805 } 1806 } 1807 } 1808 } 1809 } 1810 }, 1811 "revision": "20211230", 1812 "rootUrl": "https://datacatalog.googleapis.com/", 1813 "schemas": { 1814 "Binding": { 1815 "description": "Associates `members`, or principals, with a `role`.", 1816 "id": "Binding", 1817 "properties": { 1818 "condition": { 1819 "$ref": "Expr", 1820 "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." 1821 }, 1822 "members": { 1823 "description": "Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", 1824 "items": { 1825 "type": "string" 1826 }, 1827 "type": "array" 1828 }, 1829 "role": { 1830 "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.", 1831 "type": "string" 1832 } 1833 }, 1834 "type": "object" 1835 }, 1836 "Empty": { 1837 "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", 1838 "id": "Empty", 1839 "properties": {}, 1840 "type": "object" 1841 }, 1842 "Expr": { 1843 "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", 1844 "id": "Expr", 1845 "properties": { 1846 "description": { 1847 "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", 1848 "type": "string" 1849 }, 1850 "expression": { 1851 "description": "Textual representation of an expression in Common Expression Language syntax.", 1852 "type": "string" 1853 }, 1854 "location": { 1855 "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", 1856 "type": "string" 1857 }, 1858 "title": { 1859 "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", 1860 "type": "string" 1861 } 1862 }, 1863 "type": "object" 1864 }, 1865 "GetIamPolicyRequest": { 1866 "description": "Request message for `GetIamPolicy` method.", 1867 "id": "GetIamPolicyRequest", 1868 "properties": { 1869 "options": { 1870 "$ref": "GetPolicyOptions", 1871 "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`." 1872 } 1873 }, 1874 "type": "object" 1875 }, 1876 "GetPolicyOptions": { 1877 "description": "Encapsulates settings provided to GetIamPolicy.", 1878 "id": "GetPolicyOptions", 1879 "properties": { 1880 "requestedPolicyVersion": { 1881 "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", 1882 "format": "int32", 1883 "type": "integer" 1884 } 1885 }, 1886 "type": "object" 1887 }, 1888 "GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec": { 1889 "description": "Spec for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`. Context: https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding", 1890 "id": "GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec", 1891 "properties": { 1892 "dataset": { 1893 "description": "Output only. The Data Catalog resource name of the dataset entry the current table belongs to, for example, `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.", 1894 "readOnly": true, 1895 "type": "string" 1896 }, 1897 "shardCount": { 1898 "description": "Output only. Total number of shards.", 1899 "format": "int64", 1900 "readOnly": true, 1901 "type": "string" 1902 }, 1903 "tablePrefix": { 1904 "description": "Output only. The table name prefix of the shards. The name of any given shard is `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the `table_prefix` is `MyTable`.", 1905 "readOnly": true, 1906 "type": "string" 1907 } 1908 }, 1909 "type": "object" 1910 }, 1911 "GoogleCloudDatacatalogV1beta1BigQueryTableSpec": { 1912 "description": "Describes a BigQuery table.", 1913 "id": "GoogleCloudDatacatalogV1beta1BigQueryTableSpec", 1914 "properties": { 1915 "tableSourceType": { 1916 "description": "Output only. The table source type.", 1917 "enum": [ 1918 "TABLE_SOURCE_TYPE_UNSPECIFIED", 1919 "BIGQUERY_VIEW", 1920 "BIGQUERY_TABLE", 1921 "BIGQUERY_MATERIALIZED_VIEW" 1922 ], 1923 "enumDescriptions": [ 1924 "Default unknown type.", 1925 "Table view.", 1926 "BigQuery native table.", 1927 "BigQuery materialized view." 1928 ], 1929 "readOnly": true, 1930 "type": "string" 1931 }, 1932 "tableSpec": { 1933 "$ref": "GoogleCloudDatacatalogV1beta1TableSpec", 1934 "description": "Spec of a BigQuery table. This field should only be populated if `table_source_type` is `BIGQUERY_TABLE`." 1935 }, 1936 "viewSpec": { 1937 "$ref": "GoogleCloudDatacatalogV1beta1ViewSpec", 1938 "description": "Table view specification. This field should only be populated if `table_source_type` is `BIGQUERY_VIEW`." 1939 } 1940 }, 1941 "type": "object" 1942 }, 1943 "GoogleCloudDatacatalogV1beta1ColumnSchema": { 1944 "description": "Representation of a column within a schema. Columns could be nested inside other columns.", 1945 "id": "GoogleCloudDatacatalogV1beta1ColumnSchema", 1946 "properties": { 1947 "column": { 1948 "description": "Required. Name of the column.", 1949 "type": "string" 1950 }, 1951 "description": { 1952 "description": "Optional. Description of the column. Default value is an empty string.", 1953 "type": "string" 1954 }, 1955 "mode": { 1956 "description": "Optional. A column's mode indicates whether the values in this column are required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported. Default mode is `NULLABLE`.", 1957 "type": "string" 1958 }, 1959 "subcolumns": { 1960 "description": "Optional. Schema of sub-columns. A column can have zero or more sub-columns.", 1961 "items": { 1962 "$ref": "GoogleCloudDatacatalogV1beta1ColumnSchema" 1963 }, 1964 "type": "array" 1965 }, 1966 "type": { 1967 "description": "Required. Type of the column.", 1968 "type": "string" 1969 } 1970 }, 1971 "type": "object" 1972 }, 1973 "GoogleCloudDatacatalogV1beta1Entry": { 1974 "description": "Entry Metadata. A Data Catalog Entry resource represents another resource in Google Cloud Platform (such as a BigQuery dataset or a Pub/Sub topic), or outside of Google Cloud Platform. Clients can use the `linked_resource` field in the Entry resource to refer to the original resource ID of the source system. An Entry resource contains resource details, such as its schema. An Entry can also be used to attach flexible metadata, such as a Tag.", 1975 "id": "GoogleCloudDatacatalogV1beta1Entry", 1976 "properties": { 1977 "bigqueryDateShardedSpec": { 1978 "$ref": "GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec", 1979 "description": "Specification for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`. Context: https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding." 1980 }, 1981 "bigqueryTableSpec": { 1982 "$ref": "GoogleCloudDatacatalogV1beta1BigQueryTableSpec", 1983 "description": "Specification that applies to a BigQuery table. This is only valid on entries of type `TABLE`." 1984 }, 1985 "description": { 1986 "description": "Entry description, which can consist of several sentences or paragraphs that describe entry contents. Default value is an empty string.", 1987 "type": "string" 1988 }, 1989 "displayName": { 1990 "description": "Display information such as title and description. A short name to identify the entry, for example, \"Analytics Data - Jan 2011\". Default value is an empty string.", 1991 "type": "string" 1992 }, 1993 "gcsFilesetSpec": { 1994 "$ref": "GoogleCloudDatacatalogV1beta1GcsFilesetSpec", 1995 "description": "Specification that applies to a Cloud Storage fileset. This is only valid on entries of type FILESET." 1996 }, 1997 "integratedSystem": { 1998 "description": "Output only. This field indicates the entry's source system that Data Catalog integrates with, such as BigQuery or Pub/Sub.", 1999 "enum": [ 2000 "INTEGRATED_SYSTEM_UNSPECIFIED", 2001 "BIGQUERY", 2002 "CLOUD_PUBSUB" 2003 ], 2004 "enumDescriptions": [ 2005 "Default unknown system.", 2006 "BigQuery.", 2007 "Cloud Pub/Sub." 2008 ], 2009 "readOnly": true, 2010 "type": "string" 2011 }, 2012 "linkedResource": { 2013 "description": "The resource this metadata entry refers to. For Google Cloud Platform resources, `linked_resource` is the [full name of the resource](https://cloud.google.com/apis/design/resource_names#full_resource_name). For example, the `linked_resource` for a table resource from BigQuery is: * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId Output only when Entry is of type in the EntryType enum. For entries with user_specified_type, this field is optional and defaults to an empty string.", 2014 "type": "string" 2015 }, 2016 "name": { 2017 "description": "Output only. The Data Catalog resource name of the entry in URL format. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} Note that this Entry and its child resources may not actually be stored in the location in this name.", 2018 "readOnly": true, 2019 "type": "string" 2020 }, 2021 "schema": { 2022 "$ref": "GoogleCloudDatacatalogV1beta1Schema", 2023 "description": "Schema of the entry. An entry might not have any schema attached to it." 2024 }, 2025 "sourceSystemTimestamps": { 2026 "$ref": "GoogleCloudDatacatalogV1beta1SystemTimestamps", 2027 "description": "Output only. Timestamps about the underlying resource, not about this Data Catalog entry. Output only when Entry is of type in the EntryType enum. For entries with user_specified_type, this field is optional and defaults to an empty timestamp.", 2028 "readOnly": true 2029 }, 2030 "type": { 2031 "description": "The type of the entry. Only used for Entries with types in the EntryType enum.", 2032 "enum": [ 2033 "ENTRY_TYPE_UNSPECIFIED", 2034 "TABLE", 2035 "MODEL", 2036 "DATA_STREAM", 2037 "FILESET" 2038 ], 2039 "enumDescriptions": [ 2040 "Default unknown type.", 2041 "Output only. The type of entry that has a GoogleSQL schema, including logical views.", 2042 "Output only. The type of models. https://cloud.google.com/bigquery-ml/docs/bigqueryml-intro", 2043 "Output only. An entry type which is used for streaming entries. Example: Pub/Sub topic.", 2044 "An entry type which is a set of files or objects. Example: Cloud Storage fileset." 2045 ], 2046 "type": "string" 2047 }, 2048 "usageSignal": { 2049 "$ref": "GoogleCloudDatacatalogV1beta1UsageSignal", 2050 "description": "Output only. Statistics on the usage level of the resource.", 2051 "readOnly": true 2052 }, 2053 "userSpecifiedSystem": { 2054 "description": "This field indicates the entry's source system that Data Catalog does not integrate with. `user_specified_system` strings must begin with a letter or underscore and can only contain letters, numbers, and underscores; are case insensitive; must be at least 1 character and at most 64 characters long.", 2055 "type": "string" 2056 }, 2057 "userSpecifiedType": { 2058 "description": "Entry type if it does not fit any of the input-allowed values listed in `EntryType` enum above. When creating an entry, users should check the enum values first, if nothing matches the entry to be created, then provide a custom value, for example \"my_special_type\". `user_specified_type` strings must begin with a letter or underscore and can only contain letters, numbers, and underscores; are case insensitive; must be at least 1 character and at most 64 characters long. Currently, only FILESET enum value is allowed. All other entries created through Data Catalog must use `user_specified_type`.", 2059 "type": "string" 2060 } 2061 }, 2062 "type": "object" 2063 }, 2064 "GoogleCloudDatacatalogV1beta1EntryGroup": { 2065 "description": "EntryGroup Metadata. An EntryGroup resource represents a logical grouping of zero or more Data Catalog Entry resources.", 2066 "id": "GoogleCloudDatacatalogV1beta1EntryGroup", 2067 "properties": { 2068 "dataCatalogTimestamps": { 2069 "$ref": "GoogleCloudDatacatalogV1beta1SystemTimestamps", 2070 "description": "Output only. Timestamps about this EntryGroup. Default value is empty timestamps.", 2071 "readOnly": true 2072 }, 2073 "description": { 2074 "description": "Entry group description, which can consist of several sentences or paragraphs that describe entry group contents. Default value is an empty string.", 2075 "type": "string" 2076 }, 2077 "displayName": { 2078 "description": "A short name to identify the entry group, for example, \"analytics data - jan 2011\". Default value is an empty string.", 2079 "type": "string" 2080 }, 2081 "name": { 2082 "description": "The resource name of the entry group in URL format. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} Note that this EntryGroup and its child resources may not actually be stored in the location in this name.", 2083 "type": "string" 2084 } 2085 }, 2086 "type": "object" 2087 }, 2088 "GoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse": { 2089 "description": "Response message for ExportTaxonomies.", 2090 "id": "GoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse", 2091 "properties": { 2092 "taxonomies": { 2093 "description": "List of taxonomies and policy tags in a tree structure.", 2094 "items": { 2095 "$ref": "GoogleCloudDatacatalogV1beta1SerializedTaxonomy" 2096 }, 2097 "type": "array" 2098 } 2099 }, 2100 "type": "object" 2101 }, 2102 "GoogleCloudDatacatalogV1beta1FieldType": { 2103 "id": "GoogleCloudDatacatalogV1beta1FieldType", 2104 "properties": { 2105 "enumType": { 2106 "$ref": "GoogleCloudDatacatalogV1beta1FieldTypeEnumType", 2107 "description": "Represents an enum type." 2108 }, 2109 "primitiveType": { 2110 "description": "Represents primitive types - string, bool etc.", 2111 "enum": [ 2112 "PRIMITIVE_TYPE_UNSPECIFIED", 2113 "DOUBLE", 2114 "STRING", 2115 "BOOL", 2116 "TIMESTAMP" 2117 ], 2118 "enumDescriptions": [ 2119 "This is the default invalid value for a type.", 2120 "A double precision number.", 2121 "An UTF-8 string.", 2122 "A boolean value.", 2123 "A timestamp." 2124 ], 2125 "type": "string" 2126 } 2127 }, 2128 "type": "object" 2129 }, 2130 "GoogleCloudDatacatalogV1beta1FieldTypeEnumType": { 2131 "id": "GoogleCloudDatacatalogV1beta1FieldTypeEnumType", 2132 "properties": { 2133 "allowedValues": { 2134 "items": { 2135 "$ref": "GoogleCloudDatacatalogV1beta1FieldTypeEnumTypeEnumValue" 2136 }, 2137 "type": "array" 2138 } 2139 }, 2140 "type": "object" 2141 }, 2142 "GoogleCloudDatacatalogV1beta1FieldTypeEnumTypeEnumValue": { 2143 "id": "GoogleCloudDatacatalogV1beta1FieldTypeEnumTypeEnumValue", 2144 "properties": { 2145 "displayName": { 2146 "description": "Required. The display name of the enum value. Must not be an empty string.", 2147 "type": "string" 2148 } 2149 }, 2150 "type": "object" 2151 }, 2152 "GoogleCloudDatacatalogV1beta1GcsFileSpec": { 2153 "description": "Specifications of a single file in Cloud Storage.", 2154 "id": "GoogleCloudDatacatalogV1beta1GcsFileSpec", 2155 "properties": { 2156 "filePath": { 2157 "description": "Required. The full file path. Example: `gs://bucket_name/a/b.txt`.", 2158 "type": "string" 2159 }, 2160 "gcsTimestamps": { 2161 "$ref": "GoogleCloudDatacatalogV1beta1SystemTimestamps", 2162 "description": "Output only. Timestamps about the Cloud Storage file.", 2163 "readOnly": true 2164 }, 2165 "sizeBytes": { 2166 "description": "Output only. The size of the file, in bytes.", 2167 "format": "int64", 2168 "readOnly": true, 2169 "type": "string" 2170 } 2171 }, 2172 "type": "object" 2173 }, 2174 "GoogleCloudDatacatalogV1beta1GcsFilesetSpec": { 2175 "description": "Describes a Cloud Storage fileset entry.", 2176 "id": "GoogleCloudDatacatalogV1beta1GcsFilesetSpec", 2177 "properties": { 2178 "filePatterns": { 2179 "description": "Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud Storage documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames) for more information. Note that bucket wildcards are currently not supported. Examples of valid file_patterns: * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir` directory. * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir` spanning all subdirectories. * `gs://bucket_name/file*`: matches files prefixed by `file` in `bucket_name` * `gs://bucket_name/??.txt`: matches files with two characters followed by `.txt` in `bucket_name` * `gs://bucket_name/[aeiou].txt`: matches files that contain a single vowel character followed by `.txt` in `bucket_name` * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... or `m` followed by `.txt` in `bucket_name` * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match `a/*/b` pattern, such as `a/c/b`, `a/d/b` * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` You can combine wildcards to provide more powerful matches, for example: * `gs://bucket_name/[a-m]??.j*g`", 2180 "items": { 2181 "type": "string" 2182 }, 2183 "type": "array" 2184 }, 2185 "sampleGcsFileSpecs": { 2186 "description": "Output only. Sample files contained in this fileset, not all files contained in this fileset are represented here.", 2187 "items": { 2188 "$ref": "GoogleCloudDatacatalogV1beta1GcsFileSpec" 2189 }, 2190 "readOnly": true, 2191 "type": "array" 2192 } 2193 }, 2194 "type": "object" 2195 }, 2196 "GoogleCloudDatacatalogV1beta1ImportTaxonomiesRequest": { 2197 "description": "Request message for ImportTaxonomies.", 2198 "id": "GoogleCloudDatacatalogV1beta1ImportTaxonomiesRequest", 2199 "properties": { 2200 "inlineSource": { 2201 "$ref": "GoogleCloudDatacatalogV1beta1InlineSource", 2202 "description": "Inline source used for taxonomies to be imported." 2203 } 2204 }, 2205 "type": "object" 2206 }, 2207 "GoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse": { 2208 "description": "Response message for ImportTaxonomies.", 2209 "id": "GoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse", 2210 "properties": { 2211 "taxonomies": { 2212 "description": "Taxonomies that were imported.", 2213 "items": { 2214 "$ref": "GoogleCloudDatacatalogV1beta1Taxonomy" 2215 }, 2216 "type": "array" 2217 } 2218 }, 2219 "type": "object" 2220 }, 2221 "GoogleCloudDatacatalogV1beta1InlineSource": { 2222 "description": "Inline source used for taxonomies import.", 2223 "id": "GoogleCloudDatacatalogV1beta1InlineSource", 2224 "properties": { 2225 "taxonomies": { 2226 "description": "Required. Taxonomies to be imported.", 2227 "items": { 2228 "$ref": "GoogleCloudDatacatalogV1beta1SerializedTaxonomy" 2229 }, 2230 "type": "array" 2231 } 2232 }, 2233 "type": "object" 2234 }, 2235 "GoogleCloudDatacatalogV1beta1ListEntriesResponse": { 2236 "description": "Response message for ListEntries.", 2237 "id": "GoogleCloudDatacatalogV1beta1ListEntriesResponse", 2238 "properties": { 2239 "entries": { 2240 "description": "Entry details.", 2241 "items": { 2242 "$ref": "GoogleCloudDatacatalogV1beta1Entry" 2243 }, 2244 "type": "array" 2245 }, 2246 "nextPageToken": { 2247 "description": "Token to retrieve the next page of results. It is set to empty if no items remain in results.", 2248 "type": "string" 2249 } 2250 }, 2251 "type": "object" 2252 }, 2253 "GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse": { 2254 "description": "Response message for ListEntryGroups.", 2255 "id": "GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse", 2256 "properties": { 2257 "entryGroups": { 2258 "description": "EntryGroup details.", 2259 "items": { 2260 "$ref": "GoogleCloudDatacatalogV1beta1EntryGroup" 2261 }, 2262 "type": "array" 2263 }, 2264 "nextPageToken": { 2265 "description": "Token to retrieve the next page of results. It is set to empty if no items remain in results.", 2266 "type": "string" 2267 } 2268 }, 2269 "type": "object" 2270 }, 2271 "GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse": { 2272 "description": "Response message for ListPolicyTags.", 2273 "id": "GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse", 2274 "properties": { 2275 "nextPageToken": { 2276 "description": "Token used to retrieve the next page of results, or empty if there are no more results in the list.", 2277 "type": "string" 2278 }, 2279 "policyTags": { 2280 "description": "The policy tags that are in the requested taxonomy.", 2281 "items": { 2282 "$ref": "GoogleCloudDatacatalogV1beta1PolicyTag" 2283 }, 2284 "type": "array" 2285 } 2286 }, 2287 "type": "object" 2288 }, 2289 "GoogleCloudDatacatalogV1beta1ListTagsResponse": { 2290 "description": "Response message for ListTags.", 2291 "id": "GoogleCloudDatacatalogV1beta1ListTagsResponse", 2292 "properties": { 2293 "nextPageToken": { 2294 "description": "Token to retrieve the next page of results. It is set to empty if no items remain in results.", 2295 "type": "string" 2296 }, 2297 "tags": { 2298 "description": "Tag details.", 2299 "items": { 2300 "$ref": "GoogleCloudDatacatalogV1beta1Tag" 2301 }, 2302 "type": "array" 2303 } 2304 }, 2305 "type": "object" 2306 }, 2307 "GoogleCloudDatacatalogV1beta1ListTaxonomiesResponse": { 2308 "description": "Response message for ListTaxonomies.", 2309 "id": "GoogleCloudDatacatalogV1beta1ListTaxonomiesResponse", 2310 "properties": { 2311 "nextPageToken": { 2312 "description": "Token used to retrieve the next page of results, or empty if there are no more results in the list.", 2313 "type": "string" 2314 }, 2315 "taxonomies": { 2316 "description": "Taxonomies that the project contains.", 2317 "items": { 2318 "$ref": "GoogleCloudDatacatalogV1beta1Taxonomy" 2319 }, 2320 "type": "array" 2321 } 2322 }, 2323 "type": "object" 2324 }, 2325 "GoogleCloudDatacatalogV1beta1PolicyTag": { 2326 "description": "Denotes one policy tag in a taxonomy (e.g. ssn). Policy Tags can be defined in a hierarchy. For example, consider the following hierarchy: Geolocation -> (LatLong, City, ZipCode). PolicyTag \"Geolocation\" contains three child policy tags: \"LatLong\", \"City\", and \"ZipCode\".", 2327 "id": "GoogleCloudDatacatalogV1beta1PolicyTag", 2328 "properties": { 2329 "childPolicyTags": { 2330 "description": "Output only. Resource names of child policy tags of this policy tag.", 2331 "items": { 2332 "type": "string" 2333 }, 2334 "readOnly": true, 2335 "type": "array" 2336 }, 2337 "description": { 2338 "description": "Description of this policy tag. It must: contain only unicode characters, tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes long when encoded in UTF-8. If not set, defaults to an empty description. If not set, defaults to an empty description.", 2339 "type": "string" 2340 }, 2341 "displayName": { 2342 "description": "Required. User defined name of this policy tag. It must: be unique within the parent taxonomy; contain only unicode letters, numbers, underscores, dashes and spaces; not start or end with spaces; and be at most 200 bytes long when encoded in UTF-8.", 2343 "type": "string" 2344 }, 2345 "name": { 2346 "description": "Output only. Resource name of this policy tag, whose format is: \"projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}\".", 2347 "readOnly": true, 2348 "type": "string" 2349 }, 2350 "parentPolicyTag": { 2351 "description": "Resource name of this policy tag's parent policy tag (e.g. for the \"LatLong\" policy tag in the example above, this field contains the resource name of the \"Geolocation\" policy tag). If empty, it means this policy tag is a top level policy tag (e.g. this field is empty for the \"Geolocation\" policy tag in the example above). If not set, defaults to an empty string.", 2352 "type": "string" 2353 } 2354 }, 2355 "type": "object" 2356 }, 2357 "GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest": { 2358 "description": "Request message for RenameTagTemplateFieldEnumValue.", 2359 "id": "GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest", 2360 "properties": { 2361 "newEnumValueDisplayName": { 2362 "description": "Required. The new display name of the enum value. For example, `my_new_enum_value`.", 2363 "type": "string" 2364 } 2365 }, 2366 "type": "object" 2367 }, 2368 "GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldRequest": { 2369 "description": "Request message for RenameTagTemplateField.", 2370 "id": "GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldRequest", 2371 "properties": { 2372 "newTagTemplateFieldId": { 2373 "description": "Required. The new ID of this tag template field. For example, `my_new_field`.", 2374 "type": "string" 2375 } 2376 }, 2377 "type": "object" 2378 }, 2379 "GoogleCloudDatacatalogV1beta1Schema": { 2380 "description": "Represents a schema (e.g. BigQuery, GoogleSQL, Avro schema).", 2381 "id": "GoogleCloudDatacatalogV1beta1Schema", 2382 "properties": { 2383 "columns": { 2384 "description": "Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be specified.", 2385 "items": { 2386 "$ref": "GoogleCloudDatacatalogV1beta1ColumnSchema" 2387 }, 2388 "type": "array" 2389 } 2390 }, 2391 "type": "object" 2392 }, 2393 "GoogleCloudDatacatalogV1beta1SearchCatalogRequest": { 2394 "description": "Request message for SearchCatalog.", 2395 "id": "GoogleCloudDatacatalogV1beta1SearchCatalogRequest", 2396 "properties": { 2397 "orderBy": { 2398 "description": "Specifies the ordering of results, currently supported case-sensitive choices are: * `relevance`, only supports descending * `last_modified_timestamp [asc|desc]`, defaults to descending if not specified * `default` that can only be descending If not specified, defaults to `relevance` descending.", 2399 "type": "string" 2400 }, 2401 "pageSize": { 2402 "description": "Number of results in the search page. If <=0 then defaults to 10. Max limit for page_size is 1000. Throws an invalid argument for page_size > 1000.", 2403 "format": "int32", 2404 "type": "integer" 2405 }, 2406 "pageToken": { 2407 "description": "Optional. Pagination token returned in an earlier SearchCatalogResponse.next_page_token, which indicates that this is a continuation of a prior SearchCatalogRequest call, and that the system should return the next page of data. If empty, the first page is returned.", 2408 "type": "string" 2409 }, 2410 "query": { 2411 "description": "Optional. The query string in search query syntax. An empty query string will result in all data assets (in the specified scope) that the user has access to. Query strings can be simple as \"x\" or more qualified as: * name:x * column:x * description:y Note: Query tokens need to have a minimum of 3 characters for substring matching to work correctly. See [Data Catalog Search Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference) for more information.", 2412 "type": "string" 2413 }, 2414 "scope": { 2415 "$ref": "GoogleCloudDatacatalogV1beta1SearchCatalogRequestScope", 2416 "description": "Required. The scope of this search request. A `scope` that has empty `include_org_ids`, `include_project_ids` AND false `include_gcp_public_datasets` is considered invalid. Data Catalog will return an error in such a case." 2417 } 2418 }, 2419 "type": "object" 2420 }, 2421 "GoogleCloudDatacatalogV1beta1SearchCatalogRequestScope": { 2422 "description": "The criteria that select the subspace used for query matching.", 2423 "id": "GoogleCloudDatacatalogV1beta1SearchCatalogRequestScope", 2424 "properties": { 2425 "includeGcpPublicDatasets": { 2426 "description": "If `true`, include Google Cloud Platform (GCP) public datasets in the search results. Info on GCP public datasets is available at https://cloud.google.com/public-datasets/. By default, GCP public datasets are excluded.", 2427 "type": "boolean" 2428 }, 2429 "includeOrgIds": { 2430 "description": "The list of organization IDs to search within. To find your organization ID, follow instructions in https://cloud.google.com/resource-manager/docs/creating-managing-organization.", 2431 "items": { 2432 "type": "string" 2433 }, 2434 "type": "array" 2435 }, 2436 "includeProjectIds": { 2437 "description": "The list of project IDs to search within. To learn more about the distinction between project names/IDs/numbers, go to https://cloud.google.com/docs/overview/#projects.", 2438 "items": { 2439 "type": "string" 2440 }, 2441 "type": "array" 2442 }, 2443 "restrictedLocations": { 2444 "description": "Optional. The list of locations to search within. 1. If empty, search will be performed in all locations; 2. If any of the locations are NOT in the valid locations list, error will be returned; 3. Otherwise, search only the given locations for matching results. Typical usage is to leave this field empty. When a location is unreachable as returned in the `SearchCatalogResponse.unreachable` field, users can repeat the search request with this parameter set to get additional information on the error. Valid locations: * asia-east1 * asia-east2 * asia-northeast1 * asia-northeast2 * asia-northeast3 * asia-south1 * asia-southeast1 * australia-southeast1 * eu * europe-north1 * europe-west1 * europe-west2 * europe-west3 * europe-west4 * europe-west6 * global * northamerica-northeast1 * southamerica-east1 * us * us-central1 * us-east1 * us-east4 * us-west1 * us-west2", 2445 "items": { 2446 "type": "string" 2447 }, 2448 "type": "array" 2449 } 2450 }, 2451 "type": "object" 2452 }, 2453 "GoogleCloudDatacatalogV1beta1SearchCatalogResponse": { 2454 "description": "Response message for SearchCatalog.", 2455 "id": "GoogleCloudDatacatalogV1beta1SearchCatalogResponse", 2456 "properties": { 2457 "nextPageToken": { 2458 "description": "The token that can be used to retrieve the next page of results.", 2459 "type": "string" 2460 }, 2461 "results": { 2462 "description": "Search results.", 2463 "items": { 2464 "$ref": "GoogleCloudDatacatalogV1beta1SearchCatalogResult" 2465 }, 2466 "type": "array" 2467 }, 2468 "unreachable": { 2469 "description": "Unreachable locations. Search result does not include data from those locations. Users can get additional information on the error by repeating the search request with a more restrictive parameter -- setting the value for `SearchDataCatalogRequest.scope.restricted_locations`.", 2470 "items": { 2471 "type": "string" 2472 }, 2473 "type": "array" 2474 } 2475 }, 2476 "type": "object" 2477 }, 2478 "GoogleCloudDatacatalogV1beta1SearchCatalogResult": { 2479 "description": "A result that appears in the response of a search request. Each result captures details of one entry that matches the search.", 2480 "id": "GoogleCloudDatacatalogV1beta1SearchCatalogResult", 2481 "properties": { 2482 "linkedResource": { 2483 "description": "The full name of the cloud resource the entry belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name. Example: * `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId`", 2484 "type": "string" 2485 }, 2486 "modifyTime": { 2487 "description": "Last-modified timestamp of the entry from the managing system.", 2488 "format": "google-datetime", 2489 "type": "string" 2490 }, 2491 "relativeResourceName": { 2492 "description": "The relative resource name of the resource in URL format. Examples: * `projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}` * `projects/{project_id}/tagTemplates/{tag_template_id}`", 2493 "type": "string" 2494 }, 2495 "searchResultSubtype": { 2496 "description": "Sub-type of the search result. This is a dot-delimited description of the resource's full type, and is the same as the value callers would provide in the \"type\" search facet. Examples: `entry.table`, `entry.dataStream`, `tagTemplate`.", 2497 "type": "string" 2498 }, 2499 "searchResultType": { 2500 "description": "Type of the search result. This field can be used to determine which Get method to call to fetch the full resource.", 2501 "enum": [ 2502 "SEARCH_RESULT_TYPE_UNSPECIFIED", 2503 "ENTRY", 2504 "TAG_TEMPLATE", 2505 "ENTRY_GROUP" 2506 ], 2507 "enumDescriptions": [ 2508 "Default unknown type.", 2509 "An Entry.", 2510 "A TagTemplate.", 2511 "An EntryGroup." 2512 ], 2513 "type": "string" 2514 } 2515 }, 2516 "type": "object" 2517 }, 2518 "GoogleCloudDatacatalogV1beta1SerializedPolicyTag": { 2519 "description": "Message representing one policy tag when exported as a nested proto.", 2520 "id": "GoogleCloudDatacatalogV1beta1SerializedPolicyTag", 2521 "properties": { 2522 "childPolicyTags": { 2523 "description": "Children of the policy tag if any.", 2524 "items": { 2525 "$ref": "GoogleCloudDatacatalogV1beta1SerializedPolicyTag" 2526 }, 2527 "type": "array" 2528 }, 2529 "description": { 2530 "description": "Description of the serialized policy tag. The length of the description is limited to 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.", 2531 "type": "string" 2532 }, 2533 "displayName": { 2534 "description": "Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.", 2535 "type": "string" 2536 }, 2537 "policyTag": { 2538 "description": "Resource name of the policy tag. This field will be ignored when calling ImportTaxonomies.", 2539 "type": "string" 2540 } 2541 }, 2542 "type": "object" 2543 }, 2544 "GoogleCloudDatacatalogV1beta1SerializedTaxonomy": { 2545 "description": "Message capturing a taxonomy and its policy tag hierarchy as a nested proto. Used for taxonomy import/export and mutation.", 2546 "id": "GoogleCloudDatacatalogV1beta1SerializedTaxonomy", 2547 "properties": { 2548 "activatedPolicyTypes": { 2549 "description": "A list of policy types that are activated for a taxonomy.", 2550 "items": { 2551 "enum": [ 2552 "POLICY_TYPE_UNSPECIFIED", 2553 "FINE_GRAINED_ACCESS_CONTROL" 2554 ], 2555 "enumDescriptions": [ 2556 "Unspecified policy type.", 2557 "Fine grained access control policy, which enables access control on tagged resources." 2558 ], 2559 "type": "string" 2560 }, 2561 "type": "array" 2562 }, 2563 "description": { 2564 "description": "Description of the serialized taxonomy. The length of the description is limited to 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.", 2565 "type": "string" 2566 }, 2567 "displayName": { 2568 "description": "Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.", 2569 "type": "string" 2570 }, 2571 "policyTags": { 2572 "description": "Top level policy tags associated with the taxonomy if any.", 2573 "items": { 2574 "$ref": "GoogleCloudDatacatalogV1beta1SerializedPolicyTag" 2575 }, 2576 "type": "array" 2577 } 2578 }, 2579 "type": "object" 2580 }, 2581 "GoogleCloudDatacatalogV1beta1SystemTimestamps": { 2582 "description": "Timestamps about this resource according to a particular system.", 2583 "id": "GoogleCloudDatacatalogV1beta1SystemTimestamps", 2584 "properties": { 2585 "createTime": { 2586 "description": "The creation time of the resource within the given system.", 2587 "format": "google-datetime", 2588 "type": "string" 2589 }, 2590 "expireTime": { 2591 "description": "Output only. The expiration time of the resource within the given system. Currently only apllicable to BigQuery resources.", 2592 "format": "google-datetime", 2593 "readOnly": true, 2594 "type": "string" 2595 }, 2596 "updateTime": { 2597 "description": "The last-modified time of the resource within the given system.", 2598 "format": "google-datetime", 2599 "type": "string" 2600 } 2601 }, 2602 "type": "object" 2603 }, 2604 "GoogleCloudDatacatalogV1beta1TableSpec": { 2605 "description": "Normal BigQuery table spec.", 2606 "id": "GoogleCloudDatacatalogV1beta1TableSpec", 2607 "properties": { 2608 "groupedEntry": { 2609 "description": "Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of the date sharded grouped entry, for example, `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`. Otherwise, `grouped_entry` is empty.", 2610 "readOnly": true, 2611 "type": "string" 2612 } 2613 }, 2614 "type": "object" 2615 }, 2616 "GoogleCloudDatacatalogV1beta1Tag": { 2617 "description": "Tags are used to attach custom metadata to Data Catalog resources. Tags conform to the specifications within their tag template. See [Data Catalog IAM](https://cloud.google.com/data-catalog/docs/concepts/iam) for information on the permissions needed to create or view tags.", 2618 "id": "GoogleCloudDatacatalogV1beta1Tag", 2619 "properties": { 2620 "column": { 2621 "description": "Resources like Entry can have schemas associated with them. This scope allows users to attach tags to an individual column based on that schema. For attaching a tag to a nested column, use `.` to separate the column names. Example: * `outer_column.inner_column`", 2622 "type": "string" 2623 }, 2624 "fields": { 2625 "additionalProperties": { 2626 "$ref": "GoogleCloudDatacatalogV1beta1TagField" 2627 }, 2628 "description": "Required. This maps the ID of a tag field to the value of and additional information about that field. Valid field IDs are defined by the tag's template. A tag must have at least 1 field and at most 500 fields.", 2629 "type": "object" 2630 }, 2631 "name": { 2632 "description": "The resource name of the tag in URL format. Example: * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id} where `tag_id` is a system-generated identifier. Note that this Tag may not actually be stored in the location in this name.", 2633 "type": "string" 2634 }, 2635 "template": { 2636 "description": "Required. The resource name of the tag template that this tag uses. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} This field cannot be modified after creation.", 2637 "type": "string" 2638 }, 2639 "templateDisplayName": { 2640 "description": "Output only. The display name of the tag template.", 2641 "readOnly": true, 2642 "type": "string" 2643 } 2644 }, 2645 "type": "object" 2646 }, 2647 "GoogleCloudDatacatalogV1beta1TagField": { 2648 "description": "Contains the value and supporting information for a field within a Tag.", 2649 "id": "GoogleCloudDatacatalogV1beta1TagField", 2650 "properties": { 2651 "boolValue": { 2652 "description": "Holds the value for a tag field with boolean type.", 2653 "type": "boolean" 2654 }, 2655 "displayName": { 2656 "description": "Output only. The display name of this field.", 2657 "readOnly": true, 2658 "type": "string" 2659 }, 2660 "doubleValue": { 2661 "description": "Holds the value for a tag field with double type.", 2662 "format": "double", 2663 "type": "number" 2664 }, 2665 "enumValue": { 2666 "$ref": "GoogleCloudDatacatalogV1beta1TagFieldEnumValue", 2667 "description": "Holds the value for a tag field with enum type. This value must be one of the allowed values in the definition of this enum." 2668 }, 2669 "order": { 2670 "description": "Output only. The order of this field with respect to other fields in this tag. It can be set in Tag. For example, a higher value can indicate a more important field. The value can be negative. Multiple fields can have the same order, and field orders within a tag do not have to be sequential.", 2671 "format": "int32", 2672 "readOnly": true, 2673 "type": "integer" 2674 }, 2675 "stringValue": { 2676 "description": "Holds the value for a tag field with string type.", 2677 "type": "string" 2678 }, 2679 "timestampValue": { 2680 "description": "Holds the value for a tag field with timestamp type.", 2681 "format": "google-datetime", 2682 "type": "string" 2683 } 2684 }, 2685 "type": "object" 2686 }, 2687 "GoogleCloudDatacatalogV1beta1TagFieldEnumValue": { 2688 "description": "Holds an enum value.", 2689 "id": "GoogleCloudDatacatalogV1beta1TagFieldEnumValue", 2690 "properties": { 2691 "displayName": { 2692 "description": "The display name of the enum value.", 2693 "type": "string" 2694 } 2695 }, 2696 "type": "object" 2697 }, 2698 "GoogleCloudDatacatalogV1beta1TagTemplate": { 2699 "description": "A tag template defines a tag, which can have one or more typed fields. The template is used to create and attach the tag to GCP resources. [Tag template roles](https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) provide permissions to create, edit, and use the template. See, for example, the [TagTemplate User](https://cloud.google.com/data-catalog/docs/how-to/template-user) role, which includes permission to use the tag template to tag resources.", 2700 "id": "GoogleCloudDatacatalogV1beta1TagTemplate", 2701 "properties": { 2702 "displayName": { 2703 "description": "The display name for this template. Defaults to an empty string.", 2704 "type": "string" 2705 }, 2706 "fields": { 2707 "additionalProperties": { 2708 "$ref": "GoogleCloudDatacatalogV1beta1TagTemplateField" 2709 }, 2710 "description": "Required. Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. This map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9) and underscores (_). Field IDs must be at least 1 character long and at most 64 characters long. Field IDs must start with a letter or underscore.", 2711 "type": "object" 2712 }, 2713 "name": { 2714 "description": "The resource name of the tag template in URL format. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} Note that this TagTemplate and its child resources may not actually be stored in the location in this name.", 2715 "type": "string" 2716 } 2717 }, 2718 "type": "object" 2719 }, 2720 "GoogleCloudDatacatalogV1beta1TagTemplateField": { 2721 "description": "The template for an individual field within a tag template.", 2722 "id": "GoogleCloudDatacatalogV1beta1TagTemplateField", 2723 "properties": { 2724 "description": { 2725 "description": "The description for this field. Defaults to an empty string.", 2726 "type": "string" 2727 }, 2728 "displayName": { 2729 "description": "The display name for this field. Defaults to an empty string.", 2730 "type": "string" 2731 }, 2732 "isRequired": { 2733 "description": "Whether this is a required field. Defaults to false.", 2734 "type": "boolean" 2735 }, 2736 "name": { 2737 "description": "Output only. The resource name of the tag template field in URL format. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field} Note that this TagTemplateField may not actually be stored in the location in this name.", 2738 "readOnly": true, 2739 "type": "string" 2740 }, 2741 "order": { 2742 "description": "The order of this field with respect to other fields in this tag template. A higher value indicates a more important field. The value can be negative. Multiple fields can have the same order, and field orders within a tag do not have to be sequential.", 2743 "format": "int32", 2744 "type": "integer" 2745 }, 2746 "type": { 2747 "$ref": "GoogleCloudDatacatalogV1beta1FieldType", 2748 "description": "Required. The type of value this tag field can contain." 2749 } 2750 }, 2751 "type": "object" 2752 }, 2753 "GoogleCloudDatacatalogV1beta1Taxonomy": { 2754 "description": "A taxonomy is a collection of policy tags that classify data along a common axis. For instance a data *sensitivity* taxonomy could contain policy tags denoting PII such as age, zipcode, and SSN. A data *origin* taxonomy could contain policy tags to distinguish user data, employee data, partner data, public data.", 2755 "id": "GoogleCloudDatacatalogV1beta1Taxonomy", 2756 "properties": { 2757 "activatedPolicyTypes": { 2758 "description": "Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list.", 2759 "items": { 2760 "enum": [ 2761 "POLICY_TYPE_UNSPECIFIED", 2762 "FINE_GRAINED_ACCESS_CONTROL" 2763 ], 2764 "enumDescriptions": [ 2765 "Unspecified policy type.", 2766 "Fine grained access control policy, which enables access control on tagged resources." 2767 ], 2768 "type": "string" 2769 }, 2770 "type": "array" 2771 }, 2772 "description": { 2773 "description": "Optional. Description of this taxonomy. It must: contain only unicode characters, tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes long when encoded in UTF-8. If not set, defaults to an empty description.", 2774 "type": "string" 2775 }, 2776 "displayName": { 2777 "description": "Required. User defined name of this taxonomy. It must: contain only unicode letters, numbers, underscores, dashes and spaces; not start or end with spaces; and be at most 200 bytes long when encoded in UTF-8.", 2778 "type": "string" 2779 }, 2780 "name": { 2781 "description": "Output only. Resource name of this taxonomy, whose format is: \"projects/{project_number}/locations/{location_id}/taxonomies/{id}\".", 2782 "readOnly": true, 2783 "type": "string" 2784 }, 2785 "policyTagCount": { 2786 "description": "Output only. Number of policy tags contained in this taxonomy.", 2787 "format": "int32", 2788 "readOnly": true, 2789 "type": "integer" 2790 }, 2791 "taxonomyTimestamps": { 2792 "$ref": "GoogleCloudDatacatalogV1beta1SystemTimestamps", 2793 "description": "Output only. Timestamps about this taxonomy. Only create_time and update_time are used.", 2794 "readOnly": true 2795 } 2796 }, 2797 "type": "object" 2798 }, 2799 "GoogleCloudDatacatalogV1beta1UsageSignal": { 2800 "description": "The set of all usage signals that we store in Data Catalog.", 2801 "id": "GoogleCloudDatacatalogV1beta1UsageSignal", 2802 "properties": { 2803 "updateTime": { 2804 "description": "The timestamp of the end of the usage statistics duration.", 2805 "format": "google-datetime", 2806 "type": "string" 2807 }, 2808 "usageWithinTimeRange": { 2809 "additionalProperties": { 2810 "$ref": "GoogleCloudDatacatalogV1beta1UsageStats" 2811 }, 2812 "description": "Usage statistics over each of the pre-defined time ranges, supported strings for time ranges are {\"24H\", \"7D\", \"30D\"}.", 2813 "type": "object" 2814 } 2815 }, 2816 "type": "object" 2817 }, 2818 "GoogleCloudDatacatalogV1beta1UsageStats": { 2819 "description": "Detailed counts on the entry's usage. Caveats: - Only BigQuery tables have usage stats - The usage stats only include BigQuery query jobs - The usage stats might be underestimated, e.g. wildcard table references are not yet counted in usage computation https://cloud.google.com/bigquery/docs/querying-wildcard-tables", 2820 "id": "GoogleCloudDatacatalogV1beta1UsageStats", 2821 "properties": { 2822 "totalCancellations": { 2823 "description": "The number of times that the underlying entry was attempted to be used but was cancelled by the user.", 2824 "format": "float", 2825 "type": "number" 2826 }, 2827 "totalCompletions": { 2828 "description": "The number of times that the underlying entry was successfully used.", 2829 "format": "float", 2830 "type": "number" 2831 }, 2832 "totalExecutionTimeForCompletionsMillis": { 2833 "description": "Total time spent (in milliseconds) during uses the resulted in completions.", 2834 "format": "float", 2835 "type": "number" 2836 }, 2837 "totalFailures": { 2838 "description": "The number of times that the underlying entry was attempted to be used but failed.", 2839 "format": "float", 2840 "type": "number" 2841 } 2842 }, 2843 "type": "object" 2844 }, 2845 "GoogleCloudDatacatalogV1beta1ViewSpec": { 2846 "description": "Table view specification.", 2847 "id": "GoogleCloudDatacatalogV1beta1ViewSpec", 2848 "properties": { 2849 "viewQuery": { 2850 "description": "Output only. The query that defines the table view.", 2851 "readOnly": true, 2852 "type": "string" 2853 } 2854 }, 2855 "type": "object" 2856 }, 2857 "Policy": { 2858 "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", 2859 "id": "Policy", 2860 "properties": { 2861 "bindings": { 2862 "description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", 2863 "items": { 2864 "$ref": "Binding" 2865 }, 2866 "type": "array" 2867 }, 2868 "etag": { 2869 "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", 2870 "format": "byte", 2871 "type": "string" 2872 }, 2873 "version": { 2874 "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", 2875 "format": "int32", 2876 "type": "integer" 2877 } 2878 }, 2879 "type": "object" 2880 }, 2881 "SetIamPolicyRequest": { 2882 "description": "Request message for `SetIamPolicy` method.", 2883 "id": "SetIamPolicyRequest", 2884 "properties": { 2885 "policy": { 2886 "$ref": "Policy", 2887 "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them." 2888 } 2889 }, 2890 "type": "object" 2891 }, 2892 "TestIamPermissionsRequest": { 2893 "description": "Request message for `TestIamPermissions` method.", 2894 "id": "TestIamPermissionsRequest", 2895 "properties": { 2896 "permissions": { 2897 "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", 2898 "items": { 2899 "type": "string" 2900 }, 2901 "type": "array" 2902 } 2903 }, 2904 "type": "object" 2905 }, 2906 "TestIamPermissionsResponse": { 2907 "description": "Response message for `TestIamPermissions` method.", 2908 "id": "TestIamPermissionsResponse", 2909 "properties": { 2910 "permissions": { 2911 "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", 2912 "items": { 2913 "type": "string" 2914 }, 2915 "type": "array" 2916 } 2917 }, 2918 "type": "object" 2919 } 2920 }, 2921 "servicePath": "", 2922 "title": "Google Cloud Data Catalog API", 2923 "version": "v1beta1", 2924 "version_module": true 2925}