diff --git a/packages/google-cloud-datacatalog/README.md b/packages/google-cloud-datacatalog/README.md index 4028e746e59..f761dcd14f9 100644 --- a/packages/google-cloud-datacatalog/README.md +++ b/packages/google-cloud-datacatalog/README.md @@ -2,7 +2,7 @@ [//]: # "To regenerate it, use `python -m synthtool`." Google Cloud Platform logo -# [Data Catalog: Node.js Client](https://github.com/googleapis/google-cloud-node) +# [Data Catalog: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-datacatalog) [![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages) [![npm version](https://img.shields.io/npm/v/@google-cloud/datacatalog.svg)](https://www.npmjs.org/package/@google-cloud/datacatalog) @@ -213,104 +213,103 @@ quickstart(); ## Samples -Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample. +Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-datacatalog/samples) directory. Each sample's `README.md` has instructions for running its sample. | Sample | Source Code | Try it | | --------------------------- | --------------------------------- | ------ | -| Data_catalog.create_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_entry.js,samples/README.md) | -| Data_catalog.create_entry_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_entry_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_entry_group.js,samples/README.md) | -| Data_catalog.create_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_tag.js,samples/README.md) | -| Data_catalog.create_tag_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_tag_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_tag_template.js,samples/README.md) | -| Data_catalog.create_tag_template_field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_tag_template_field.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_tag_template_field.js,samples/README.md) | -| Data_catalog.delete_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_entry.js,samples/README.md) | -| Data_catalog.delete_entry_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_entry_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_entry_group.js,samples/README.md) | -| Data_catalog.delete_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_tag.js,samples/README.md) | -| Data_catalog.delete_tag_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_tag_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_tag_template.js,samples/README.md) | -| Data_catalog.delete_tag_template_field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_tag_template_field.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_tag_template_field.js,samples/README.md) | -| Data_catalog.get_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.get_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.get_entry.js,samples/README.md) | -| Data_catalog.get_entry_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.get_entry_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.get_entry_group.js,samples/README.md) | -| Data_catalog.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.get_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.get_iam_policy.js,samples/README.md) | -| Data_catalog.get_tag_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.get_tag_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.get_tag_template.js,samples/README.md) | -| Data_catalog.import_entries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.import_entries.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.import_entries.js,samples/README.md) | -| Data_catalog.list_entries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.list_entries.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.list_entries.js,samples/README.md) | -| Data_catalog.list_entry_groups | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.list_entry_groups.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.list_entry_groups.js,samples/README.md) | -| Data_catalog.list_tags | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.list_tags.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.list_tags.js,samples/README.md) | -| Data_catalog.lookup_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.lookup_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.lookup_entry.js,samples/README.md) | -| Data_catalog.modify_entry_contacts | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.modify_entry_contacts.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.modify_entry_contacts.js,samples/README.md) | -| Data_catalog.modify_entry_overview | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.modify_entry_overview.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.modify_entry_overview.js,samples/README.md) | -| Data_catalog.reconcile_tags | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.reconcile_tags.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.reconcile_tags.js,samples/README.md) | -| Data_catalog.rename_tag_template_field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.rename_tag_template_field.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.rename_tag_template_field.js,samples/README.md) | -| Data_catalog.rename_tag_template_field_enum_value | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.rename_tag_template_field_enum_value.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.rename_tag_template_field_enum_value.js,samples/README.md) | -| Data_catalog.search_catalog | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.search_catalog.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.search_catalog.js,samples/README.md) | -| Data_catalog.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.set_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.set_iam_policy.js,samples/README.md) | -| Data_catalog.star_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.star_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.star_entry.js,samples/README.md) | -| Data_catalog.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.test_iam_permissions.js,samples/README.md) | -| Data_catalog.unstar_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.unstar_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.unstar_entry.js,samples/README.md) | -| Data_catalog.update_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_entry.js,samples/README.md) | -| Data_catalog.update_entry_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_entry_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_entry_group.js,samples/README.md) | -| Data_catalog.update_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_tag.js,samples/README.md) | -| Data_catalog.update_tag_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_tag_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_tag_template.js,samples/README.md) | -| Data_catalog.update_tag_template_field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_tag_template_field.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_tag_template_field.js,samples/README.md) | -| Policy_tag_manager.create_policy_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.create_policy_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.create_policy_tag.js,samples/README.md) | -| Policy_tag_manager.create_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.create_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.create_taxonomy.js,samples/README.md) | -| Policy_tag_manager.delete_policy_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.delete_policy_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.delete_policy_tag.js,samples/README.md) | -| Policy_tag_manager.delete_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.delete_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.delete_taxonomy.js,samples/README.md) | -| Policy_tag_manager.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.get_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.get_iam_policy.js,samples/README.md) | -| Policy_tag_manager.get_policy_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.get_policy_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.get_policy_tag.js,samples/README.md) | -| Policy_tag_manager.get_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.get_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.get_taxonomy.js,samples/README.md) | -| Policy_tag_manager.list_policy_tags | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.list_policy_tags.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.list_policy_tags.js,samples/README.md) | -| Policy_tag_manager.list_taxonomies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.list_taxonomies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.list_taxonomies.js,samples/README.md) | -| Policy_tag_manager.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.set_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.set_iam_policy.js,samples/README.md) | -| Policy_tag_manager.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.test_iam_permissions.js,samples/README.md) | -| Policy_tag_manager.update_policy_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.update_policy_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.update_policy_tag.js,samples/README.md) | -| Policy_tag_manager.update_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.update_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.update_taxonomy.js,samples/README.md) | -| Policy_tag_manager_serialization.export_taxonomies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager_serialization.export_taxonomies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager_serialization.export_taxonomies.js,samples/README.md) | -| Policy_tag_manager_serialization.import_taxonomies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager_serialization.import_taxonomies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager_serialization.import_taxonomies.js,samples/README.md) | -| Policy_tag_manager_serialization.replace_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager_serialization.replace_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager_serialization.replace_taxonomy.js,samples/README.md) | -| Data_catalog.create_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_entry.js,samples/README.md) | -| Data_catalog.create_entry_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_entry_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_entry_group.js,samples/README.md) | -| Data_catalog.create_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_tag.js,samples/README.md) | -| Data_catalog.create_tag_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_tag_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_tag_template.js,samples/README.md) | -| Data_catalog.create_tag_template_field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_tag_template_field.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_tag_template_field.js,samples/README.md) | -| Data_catalog.delete_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_entry.js,samples/README.md) | -| Data_catalog.delete_entry_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_entry_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_entry_group.js,samples/README.md) | -| Data_catalog.delete_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_tag.js,samples/README.md) | -| Data_catalog.delete_tag_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_tag_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_tag_template.js,samples/README.md) | -| Data_catalog.delete_tag_template_field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_tag_template_field.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_tag_template_field.js,samples/README.md) | -| Data_catalog.get_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.get_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.get_entry.js,samples/README.md) | -| Data_catalog.get_entry_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.get_entry_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.get_entry_group.js,samples/README.md) | -| Data_catalog.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.get_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.get_iam_policy.js,samples/README.md) | -| Data_catalog.get_tag_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.get_tag_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.get_tag_template.js,samples/README.md) | -| Data_catalog.list_entries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.list_entries.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.list_entries.js,samples/README.md) | -| Data_catalog.list_entry_groups | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.list_entry_groups.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.list_entry_groups.js,samples/README.md) | -| Data_catalog.list_tags | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.list_tags.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.list_tags.js,samples/README.md) | -| Data_catalog.lookup_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.lookup_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.lookup_entry.js,samples/README.md) | -| Data_catalog.rename_tag_template_field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.rename_tag_template_field.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.rename_tag_template_field.js,samples/README.md) | -| Data_catalog.search_catalog | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.search_catalog.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.search_catalog.js,samples/README.md) | -| Data_catalog.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.set_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.set_iam_policy.js,samples/README.md) | -| Data_catalog.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.test_iam_permissions.js,samples/README.md) | -| Data_catalog.update_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_entry.js,samples/README.md) | -| Data_catalog.update_entry_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_entry_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_entry_group.js,samples/README.md) | -| Data_catalog.update_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_tag.js,samples/README.md) | -| Data_catalog.update_tag_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_tag_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_tag_template.js,samples/README.md) | -| Data_catalog.update_tag_template_field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_tag_template_field.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_tag_template_field.js,samples/README.md) | -| Policy_tag_manager.create_policy_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.create_policy_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.create_policy_tag.js,samples/README.md) | -| Policy_tag_manager.create_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.create_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.create_taxonomy.js,samples/README.md) | -| Policy_tag_manager.delete_policy_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.delete_policy_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.delete_policy_tag.js,samples/README.md) | -| Policy_tag_manager.delete_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.delete_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.delete_taxonomy.js,samples/README.md) | -| Policy_tag_manager.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.get_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.get_iam_policy.js,samples/README.md) | -| Policy_tag_manager.get_policy_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.get_policy_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.get_policy_tag.js,samples/README.md) | -| Policy_tag_manager.get_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.get_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.get_taxonomy.js,samples/README.md) | -| Policy_tag_manager.list_policy_tags | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.list_policy_tags.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.list_policy_tags.js,samples/README.md) | -| Policy_tag_manager.list_taxonomies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.list_taxonomies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.list_taxonomies.js,samples/README.md) | -| Policy_tag_manager.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.set_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.set_iam_policy.js,samples/README.md) | -| Policy_tag_manager.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.test_iam_permissions.js,samples/README.md) | -| Policy_tag_manager.update_policy_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.update_policy_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.update_policy_tag.js,samples/README.md) | -| Policy_tag_manager.update_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.update_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.update_taxonomy.js,samples/README.md) | -| Policy_tag_manager_serialization.export_taxonomies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager_serialization.export_taxonomies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager_serialization.export_taxonomies.js,samples/README.md) | -| Policy_tag_manager_serialization.import_taxonomies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager_serialization.import_taxonomies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager_serialization.import_taxonomies.js,samples/README.md) | -| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/quickstart.js,samples/README.md) | -| Quickstart.test | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/test/quickstart.test.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/test/quickstart.test.js,samples/README.md) | +| Data_catalog.create_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_entry.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.create_entry_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_entry_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_entry_group.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.create_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_tag.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.create_tag_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_tag_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_tag_template.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.create_tag_template_field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_tag_template_field.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_tag_template_field.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.delete_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_entry.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.delete_entry_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_entry_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_entry_group.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.delete_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_tag.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.delete_tag_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_tag_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_tag_template.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.delete_tag_template_field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_tag_template_field.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_tag_template_field.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.get_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.get_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.get_entry.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.get_entry_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.get_entry_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.get_entry_group.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.get_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.get_iam_policy.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.get_tag_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.get_tag_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.get_tag_template.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.import_entries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.import_entries.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.import_entries.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.list_entries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.list_entries.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.list_entries.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.list_entry_groups | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.list_entry_groups.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.list_entry_groups.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.list_tags | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.list_tags.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.list_tags.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.lookup_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.lookup_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.lookup_entry.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.modify_entry_contacts | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.modify_entry_contacts.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.modify_entry_contacts.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.modify_entry_overview | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.modify_entry_overview.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.modify_entry_overview.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.reconcile_tags | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.reconcile_tags.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.reconcile_tags.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.rename_tag_template_field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.rename_tag_template_field.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.rename_tag_template_field.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.rename_tag_template_field_enum_value | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.rename_tag_template_field_enum_value.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.rename_tag_template_field_enum_value.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.search_catalog | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.search_catalog.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.search_catalog.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.set_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.set_iam_policy.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.star_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.star_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.star_entry.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.test_iam_permissions.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.unstar_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.unstar_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.unstar_entry.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.update_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_entry.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.update_entry_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_entry_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_entry_group.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.update_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_tag.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.update_tag_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_tag_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_tag_template.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.update_tag_template_field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_tag_template_field.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_tag_template_field.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.create_policy_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.create_policy_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.create_policy_tag.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.create_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.create_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.create_taxonomy.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.delete_policy_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.delete_policy_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.delete_policy_tag.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.delete_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.delete_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.delete_taxonomy.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.get_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.get_iam_policy.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.get_policy_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.get_policy_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.get_policy_tag.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.get_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.get_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.get_taxonomy.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.list_policy_tags | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.list_policy_tags.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.list_policy_tags.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.list_taxonomies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.list_taxonomies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.list_taxonomies.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.set_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.set_iam_policy.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.test_iam_permissions.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.update_policy_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.update_policy_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.update_policy_tag.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.update_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.update_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.update_taxonomy.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager_serialization.export_taxonomies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager_serialization.export_taxonomies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager_serialization.export_taxonomies.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager_serialization.import_taxonomies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager_serialization.import_taxonomies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager_serialization.import_taxonomies.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager_serialization.replace_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager_serialization.replace_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager_serialization.replace_taxonomy.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.create_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_entry.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.create_entry_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_entry_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_entry_group.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.create_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_tag.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.create_tag_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_tag_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_tag_template.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.create_tag_template_field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_tag_template_field.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_tag_template_field.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.delete_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_entry.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.delete_entry_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_entry_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_entry_group.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.delete_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_tag.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.delete_tag_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_tag_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_tag_template.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.delete_tag_template_field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_tag_template_field.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_tag_template_field.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.get_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.get_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.get_entry.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.get_entry_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.get_entry_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.get_entry_group.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.get_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.get_iam_policy.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.get_tag_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.get_tag_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.get_tag_template.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.list_entries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.list_entries.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.list_entries.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.list_entry_groups | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.list_entry_groups.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.list_entry_groups.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.list_tags | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.list_tags.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.list_tags.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.lookup_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.lookup_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.lookup_entry.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.rename_tag_template_field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.rename_tag_template_field.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.rename_tag_template_field.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.search_catalog | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.search_catalog.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.search_catalog.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.set_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.set_iam_policy.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.test_iam_permissions.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.update_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_entry.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.update_entry_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_entry_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_entry_group.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.update_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_tag.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.update_tag_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_tag_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_tag_template.js,packages/google-cloud-datacatalog/samples/README.md) | +| Data_catalog.update_tag_template_field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_tag_template_field.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_tag_template_field.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.create_policy_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.create_policy_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.create_policy_tag.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.create_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.create_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.create_taxonomy.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.delete_policy_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.delete_policy_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.delete_policy_tag.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.delete_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.delete_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.delete_taxonomy.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.get_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.get_iam_policy.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.get_policy_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.get_policy_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.get_policy_tag.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.get_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.get_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.get_taxonomy.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.list_policy_tags | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.list_policy_tags.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.list_policy_tags.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.list_taxonomies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.list_taxonomies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.list_taxonomies.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.set_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.set_iam_policy.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.test_iam_permissions.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.update_policy_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.update_policy_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.update_policy_tag.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager.update_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.update_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.update_taxonomy.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager_serialization.export_taxonomies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager_serialization.export_taxonomies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager_serialization.export_taxonomies.js,packages/google-cloud-datacatalog/samples/README.md) | +| Policy_tag_manager_serialization.import_taxonomies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager_serialization.import_taxonomies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager_serialization.import_taxonomies.js,packages/google-cloud-datacatalog/samples/README.md) | +| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/quickstart.js,packages/google-cloud-datacatalog/samples/README.md) | diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/bigquery.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/bigquery.proto index 33994ac3fae..72088e8f41e 100644 --- a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/bigquery.proto +++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/bigquery.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/common.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/common.proto index 9b7c1fd6ab9..efe049e9d57 100644 --- a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/common.proto +++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/common.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -52,6 +52,12 @@ enum IntegratedSystem { // Dataplex. DATAPLEX = 4; + // Cloud Spanner + CLOUD_SPANNER = 6; + + // Cloud Bigtable + CLOUD_BIGTABLE = 7; + // Cloud Sql CLOUD_SQL = 8; diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/data_source.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/data_source.proto index faf2666625e..d026379adf6 100644 --- a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/data_source.proto +++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/data_source.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/datacatalog.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/datacatalog.proto index e91da18d21b..34957c4cd0e 100644 --- a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/datacatalog.proto +++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/datacatalog.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -735,6 +735,9 @@ message SearchCatalogResponse { // Search results. repeated SearchCatalogResult results = 1; + // The approximate total number of entries matched by the query. + int32 total_size = 2; + // Pagination token that can be used in subsequent calls to retrieve the next // page of results. string next_page_token = 3; @@ -971,7 +974,9 @@ message LookupEntryRequest { // (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical). string sql_resource = 3; - // Fully qualified name (FQN) of the resource. + // [Fully Qualified Name + // (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names) + // of the resource. // // FQNs take two forms: // @@ -988,6 +993,16 @@ message LookupEntryRequest { // `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` string fully_qualified_name = 5; } + + // Project where the lookup should be performed. Required to lookup + // entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system` + // using its `fully_qualified_name`. Ignored in other cases. + string project = 6; + + // Location where the lookup should be performed. Required to lookup + // entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system` + // using its `fully_qualified_name`. Ignored in other cases. + string location = 7; } // Entry metadata. @@ -1037,25 +1052,12 @@ message Entry { // The maximum size is 200 bytes when encoded in UTF-8. string linked_resource = 9; - // Fully qualified name (FQN) of the resource. Set automatically for entries - // representing resources from synced systems. Settable only during creation - // and read-only afterwards. Can be used for search and lookup of the entries. - // - // - // - // FQNs take two forms: - // - // * For non-regionalized resources: - // - // `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` + // [Fully Qualified Name + // (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names) + // of the resource. Set automatically for entries representing resources from + // synced systems. Settable only during creation, and read-only later. Can + // be used for search and lookup of the entries. // - // * For regionalized resources: - // - // `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` - // - // Example for a DPMS table: - // - // `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` string fully_qualified_name = 29; // Required. Entry type. @@ -1113,6 +1115,10 @@ message Entry { // Specification that applies to Looker sysstem. Only settable when // `user_specified_system` is equal to `LOOKER` LookerSystemSpec looker_system_spec = 40; + + // Specification that applies to Cloud Bigtable system. Only settable when + // `integrated_system` is equal to `CLOUD_BIGTABLE` + CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; } // Type specification. @@ -1157,6 +1163,9 @@ message Entry { // Specification that applies to a fileset resource. Valid only // for entries with the `FILESET` type. FilesetSpec fileset_spec = 33; + + // Specification that applies to a Service resource. + ServiceSpec service_spec = 42; } // Display name of an entry. @@ -1404,6 +1413,49 @@ message LookerSystemSpec { string parent_view_display_name = 6; } +// Specification that applies to +// all entries that are part of `CLOUD_BIGTABLE` system +// (user_specified_type) +message CloudBigtableSystemSpec { + // Display name of the Instance. This is user specified and different from + // the resource name. + string instance_display_name = 1; +} + +// Specification that applies to Instance +// entries that are part of `CLOUD_BIGTABLE` system. +// (user_specified_type) +message CloudBigtableInstanceSpec { + // Spec that applies to clusters of an Instance of Cloud Bigtable. + message CloudBigtableClusterSpec { + // Name of the cluster. + string display_name = 1; + + // Location of the cluster, typically a Cloud zone. + string location = 2; + + // Type of the resource. For a cluster this would be "CLUSTER". + string type = 3; + + // A link back to the parent resource, in this case Instance. + string linked_resource = 4; + } + + // The list of clusters for the Instance. + repeated CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; +} + +// Specification that applies to a Service resource. Valid only +// for entries with the `SERVICE` type. +message ServiceSpec { + // System spec + oneof system_spec { + // Specification that applies to Instance entries of `CLOUD_BIGTABLE` + // system. + CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + } +} + // Business Context of the entry. message BusinessContext { // Entry overview fields for rich text descriptions of entries. @@ -1898,6 +1950,10 @@ message ImportEntriesRequest { // Path to a Cloud Storage bucket that contains a dump ready for ingestion. string gcs_bucket_path = 2; } + + // Optional. (Optional) Dataplex task job id, if specified will be used as + // part of ImportEntries LRO ID + string job_id = 3 [(google.api.field_behavior) = OPTIONAL]; } // Response message for [long-running operation][google.longrunning.Operation] diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/dataplex_spec.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/dataplex_spec.proto index bf47a373bb0..961f452af79 100644 --- a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/dataplex_spec.proto +++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/dataplex_spec.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/dump_content.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/dump_content.proto index 846877c5ca7..0d01faec26d 100644 --- a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/dump_content.proto +++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/dump_content.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.cloud.datacatalog.v1; +import "google/api/field_behavior.proto"; import "google/cloud/datacatalog/v1/datacatalog.proto"; import "google/cloud/datacatalog/v1/tags.proto"; @@ -31,18 +32,19 @@ option ruby_package = "Google::Cloud::DataCatalog::V1"; // Wrapper containing Entry and information about Tags // that should and should not be attached to it. message TaggedEntry { + // Required. Entry to be ingested. oneof entry { // Non-encrypted Data Catalog v1 Entry. Entry v1_entry = 1; } - // Tags that should be ingested into the Data Catalog. + // Optional. Tags that should be ingested into the Data Catalog. // Caller should populate template name, column and fields. - repeated Tag present_tags = 2; + repeated Tag present_tags = 2 [(google.api.field_behavior) = OPTIONAL]; - // Tags that should be deleted from the Data Catalog. + // Optional. Tags that should be deleted from the Data Catalog. // Caller should populate template name and column only. - repeated Tag absent_tags = 3; + repeated Tag absent_tags = 3 [(google.api.field_behavior) = OPTIONAL]; } // Wrapper for any item that can be contained in the dump. diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/gcs_fileset_spec.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/gcs_fileset_spec.proto index 5f6d8f62dea..7dba877c128 100644 --- a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/gcs_fileset_spec.proto +++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/gcs_fileset_spec.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/physical_schema.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/physical_schema.proto index 162d7158680..d1bfe6a3bf4 100644 --- a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/physical_schema.proto +++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/physical_schema.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/policytagmanager.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/policytagmanager.proto index 3c13a62885f..709641aafcd 100644 --- a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/policytagmanager.proto +++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/policytagmanager.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -229,7 +229,7 @@ message Taxonomy { // The Google Cloud service name. ManagingSystem name = 1; - // P4SA Identity of the service. + // The service agent for the service. string identity = 2; } diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/policytagmanagerserialization.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/policytagmanagerserialization.proto index a0da69380c7..865cf19dcc4 100644 --- a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/policytagmanagerserialization.proto +++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/policytagmanagerserialization.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/schema.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/schema.proto index 9d799d052fa..559f389210d 100644 --- a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/schema.proto +++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/schema.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/search.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/search.proto index 4cf3bf82684..13c71936462 100644 --- a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/search.proto +++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/search.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/table_spec.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/table_spec.proto index a09579bfb8b..d570beecc88 100644 --- a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/table_spec.proto +++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/table_spec.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/tags.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/tags.proto index 8716c5c262a..2022df7adac 100644 --- a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/tags.proto +++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/tags.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/timestamps.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/timestamps.proto index 9c5e2aa0112..e9efe67974b 100644 --- a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/timestamps.proto +++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/timestamps.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/usage.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/usage.proto index aa7921abf5b..5b5f2d08f37 100644 --- a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/usage.proto +++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/usage.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-datacatalog/protos/protos.d.ts b/packages/google-cloud-datacatalog/protos/protos.d.ts index 17d7a510418..83c91746f1d 100644 --- a/packages/google-cloud-datacatalog/protos/protos.d.ts +++ b/packages/google-cloud-datacatalog/protos/protos.d.ts @@ -473,6 +473,8 @@ export namespace google { CLOUD_PUBSUB = 2, DATAPROC_METASTORE = 3, DATAPLEX = 4, + CLOUD_SPANNER = 6, + CLOUD_BIGTABLE = 7, CLOUD_SQL = 8, LOOKER = 9 } @@ -1710,6 +1712,9 @@ export namespace google { /** SearchCatalogResponse results */ results?: (google.cloud.datacatalog.v1.ISearchCatalogResult[]|null); + /** SearchCatalogResponse totalSize */ + totalSize?: (number|null); + /** SearchCatalogResponse nextPageToken */ nextPageToken?: (string|null); @@ -1729,6 +1734,9 @@ export namespace google { /** SearchCatalogResponse results. */ public results: google.cloud.datacatalog.v1.ISearchCatalogResult[]; + /** SearchCatalogResponse totalSize. */ + public totalSize: number; + /** SearchCatalogResponse nextPageToken. */ public nextPageToken: string; @@ -2860,6 +2868,12 @@ export namespace google { /** LookupEntryRequest fullyQualifiedName */ fullyQualifiedName?: (string|null); + + /** LookupEntryRequest project */ + project?: (string|null); + + /** LookupEntryRequest location */ + location?: (string|null); } /** Represents a LookupEntryRequest. */ @@ -2880,6 +2894,12 @@ export namespace google { /** LookupEntryRequest fullyQualifiedName. */ public fullyQualifiedName?: (string|null); + /** LookupEntryRequest project. */ + public project: string; + + /** LookupEntryRequest location. */ + public location: string; + /** LookupEntryRequest targetName. */ public targetName?: ("linkedResource"|"sqlResource"|"fullyQualifiedName"); @@ -2991,6 +3011,9 @@ export namespace google { /** Entry lookerSystemSpec */ lookerSystemSpec?: (google.cloud.datacatalog.v1.ILookerSystemSpec|null); + /** Entry cloudBigtableSystemSpec */ + cloudBigtableSystemSpec?: (google.cloud.datacatalog.v1.ICloudBigtableSystemSpec|null); + /** Entry gcsFilesetSpec */ gcsFilesetSpec?: (google.cloud.datacatalog.v1.IGcsFilesetSpec|null); @@ -3012,6 +3035,9 @@ export namespace google { /** Entry filesetSpec */ filesetSpec?: (google.cloud.datacatalog.v1.IFilesetSpec|null); + /** Entry serviceSpec */ + serviceSpec?: (google.cloud.datacatalog.v1.IServiceSpec|null); + /** Entry displayName */ displayName?: (string|null); @@ -3076,6 +3102,9 @@ export namespace google { /** Entry lookerSystemSpec. */ public lookerSystemSpec?: (google.cloud.datacatalog.v1.ILookerSystemSpec|null); + /** Entry cloudBigtableSystemSpec. */ + public cloudBigtableSystemSpec?: (google.cloud.datacatalog.v1.ICloudBigtableSystemSpec|null); + /** Entry gcsFilesetSpec. */ public gcsFilesetSpec?: (google.cloud.datacatalog.v1.IGcsFilesetSpec|null); @@ -3097,6 +3126,9 @@ export namespace google { /** Entry filesetSpec. */ public filesetSpec?: (google.cloud.datacatalog.v1.IFilesetSpec|null); + /** Entry serviceSpec. */ + public serviceSpec?: (google.cloud.datacatalog.v1.IServiceSpec|null); + /** Entry displayName. */ public displayName: string; @@ -3131,13 +3163,13 @@ export namespace google { public system?: ("integratedSystem"|"userSpecifiedSystem"); /** Entry systemSpec. */ - public systemSpec?: ("sqlDatabaseSystemSpec"|"lookerSystemSpec"); + public systemSpec?: ("sqlDatabaseSystemSpec"|"lookerSystemSpec"|"cloudBigtableSystemSpec"); /** Entry typeSpec. */ public typeSpec?: ("gcsFilesetSpec"|"bigqueryTableSpec"|"bigqueryDateShardedSpec"); /** Entry spec. */ - public spec?: ("databaseTableSpec"|"dataSourceConnectionSpec"|"routineSpec"|"filesetSpec"); + public spec?: ("databaseTableSpec"|"dataSourceConnectionSpec"|"routineSpec"|"filesetSpec"|"serviceSpec"); /** * Creates a new Entry instance using the specified properties. @@ -4148,6 +4180,418 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } + /** Properties of a CloudBigtableSystemSpec. */ + interface ICloudBigtableSystemSpec { + + /** CloudBigtableSystemSpec instanceDisplayName */ + instanceDisplayName?: (string|null); + } + + /** Represents a CloudBigtableSystemSpec. */ + class CloudBigtableSystemSpec implements ICloudBigtableSystemSpec { + + /** + * Constructs a new CloudBigtableSystemSpec. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.datacatalog.v1.ICloudBigtableSystemSpec); + + /** CloudBigtableSystemSpec instanceDisplayName. */ + public instanceDisplayName: string; + + /** + * Creates a new CloudBigtableSystemSpec instance using the specified properties. + * @param [properties] Properties to set + * @returns CloudBigtableSystemSpec instance + */ + public static create(properties?: google.cloud.datacatalog.v1.ICloudBigtableSystemSpec): google.cloud.datacatalog.v1.CloudBigtableSystemSpec; + + /** + * Encodes the specified CloudBigtableSystemSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.CloudBigtableSystemSpec.verify|verify} messages. + * @param message CloudBigtableSystemSpec message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.datacatalog.v1.ICloudBigtableSystemSpec, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CloudBigtableSystemSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.CloudBigtableSystemSpec.verify|verify} messages. + * @param message CloudBigtableSystemSpec message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.datacatalog.v1.ICloudBigtableSystemSpec, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CloudBigtableSystemSpec message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CloudBigtableSystemSpec + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.CloudBigtableSystemSpec; + + /** + * Decodes a CloudBigtableSystemSpec message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CloudBigtableSystemSpec + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.CloudBigtableSystemSpec; + + /** + * Verifies a CloudBigtableSystemSpec message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a CloudBigtableSystemSpec message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CloudBigtableSystemSpec + */ + public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.CloudBigtableSystemSpec; + + /** + * Creates a plain object from a CloudBigtableSystemSpec message. Also converts values to other types if specified. + * @param message CloudBigtableSystemSpec + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.datacatalog.v1.CloudBigtableSystemSpec, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CloudBigtableSystemSpec to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CloudBigtableSystemSpec + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a CloudBigtableInstanceSpec. */ + interface ICloudBigtableInstanceSpec { + + /** CloudBigtableInstanceSpec cloudBigtableClusterSpecs */ + cloudBigtableClusterSpecs?: (google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.ICloudBigtableClusterSpec[]|null); + } + + /** Represents a CloudBigtableInstanceSpec. */ + class CloudBigtableInstanceSpec implements ICloudBigtableInstanceSpec { + + /** + * Constructs a new CloudBigtableInstanceSpec. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.datacatalog.v1.ICloudBigtableInstanceSpec); + + /** CloudBigtableInstanceSpec cloudBigtableClusterSpecs. */ + public cloudBigtableClusterSpecs: google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.ICloudBigtableClusterSpec[]; + + /** + * Creates a new CloudBigtableInstanceSpec instance using the specified properties. + * @param [properties] Properties to set + * @returns CloudBigtableInstanceSpec instance + */ + public static create(properties?: google.cloud.datacatalog.v1.ICloudBigtableInstanceSpec): google.cloud.datacatalog.v1.CloudBigtableInstanceSpec; + + /** + * Encodes the specified CloudBigtableInstanceSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.verify|verify} messages. + * @param message CloudBigtableInstanceSpec message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.datacatalog.v1.ICloudBigtableInstanceSpec, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CloudBigtableInstanceSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.verify|verify} messages. + * @param message CloudBigtableInstanceSpec message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.datacatalog.v1.ICloudBigtableInstanceSpec, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CloudBigtableInstanceSpec message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CloudBigtableInstanceSpec + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.CloudBigtableInstanceSpec; + + /** + * Decodes a CloudBigtableInstanceSpec message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CloudBigtableInstanceSpec + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.CloudBigtableInstanceSpec; + + /** + * Verifies a CloudBigtableInstanceSpec message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a CloudBigtableInstanceSpec message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CloudBigtableInstanceSpec + */ + public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.CloudBigtableInstanceSpec; + + /** + * Creates a plain object from a CloudBigtableInstanceSpec message. Also converts values to other types if specified. + * @param message CloudBigtableInstanceSpec + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.datacatalog.v1.CloudBigtableInstanceSpec, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CloudBigtableInstanceSpec to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CloudBigtableInstanceSpec + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + namespace CloudBigtableInstanceSpec { + + /** Properties of a CloudBigtableClusterSpec. */ + interface ICloudBigtableClusterSpec { + + /** CloudBigtableClusterSpec displayName */ + displayName?: (string|null); + + /** CloudBigtableClusterSpec location */ + location?: (string|null); + + /** CloudBigtableClusterSpec type */ + type?: (string|null); + + /** CloudBigtableClusterSpec linkedResource */ + linkedResource?: (string|null); + } + + /** Represents a CloudBigtableClusterSpec. */ + class CloudBigtableClusterSpec implements ICloudBigtableClusterSpec { + + /** + * Constructs a new CloudBigtableClusterSpec. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.ICloudBigtableClusterSpec); + + /** CloudBigtableClusterSpec displayName. */ + public displayName: string; + + /** CloudBigtableClusterSpec location. */ + public location: string; + + /** CloudBigtableClusterSpec type. */ + public type: string; + + /** CloudBigtableClusterSpec linkedResource. */ + public linkedResource: string; + + /** + * Creates a new CloudBigtableClusterSpec instance using the specified properties. + * @param [properties] Properties to set + * @returns CloudBigtableClusterSpec instance + */ + public static create(properties?: google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.ICloudBigtableClusterSpec): google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec; + + /** + * Encodes the specified CloudBigtableClusterSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.verify|verify} messages. + * @param message CloudBigtableClusterSpec message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.ICloudBigtableClusterSpec, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CloudBigtableClusterSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.verify|verify} messages. + * @param message CloudBigtableClusterSpec message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.ICloudBigtableClusterSpec, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CloudBigtableClusterSpec message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CloudBigtableClusterSpec + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec; + + /** + * Decodes a CloudBigtableClusterSpec message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CloudBigtableClusterSpec + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec; + + /** + * Verifies a CloudBigtableClusterSpec message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a CloudBigtableClusterSpec message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CloudBigtableClusterSpec + */ + public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec; + + /** + * Creates a plain object from a CloudBigtableClusterSpec message. Also converts values to other types if specified. + * @param message CloudBigtableClusterSpec + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CloudBigtableClusterSpec to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CloudBigtableClusterSpec + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + } + + /** Properties of a ServiceSpec. */ + interface IServiceSpec { + + /** ServiceSpec cloudBigtableInstanceSpec */ + cloudBigtableInstanceSpec?: (google.cloud.datacatalog.v1.ICloudBigtableInstanceSpec|null); + } + + /** Represents a ServiceSpec. */ + class ServiceSpec implements IServiceSpec { + + /** + * Constructs a new ServiceSpec. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.datacatalog.v1.IServiceSpec); + + /** ServiceSpec cloudBigtableInstanceSpec. */ + public cloudBigtableInstanceSpec?: (google.cloud.datacatalog.v1.ICloudBigtableInstanceSpec|null); + + /** ServiceSpec systemSpec. */ + public systemSpec?: "cloudBigtableInstanceSpec"; + + /** + * Creates a new ServiceSpec instance using the specified properties. + * @param [properties] Properties to set + * @returns ServiceSpec instance + */ + public static create(properties?: google.cloud.datacatalog.v1.IServiceSpec): google.cloud.datacatalog.v1.ServiceSpec; + + /** + * Encodes the specified ServiceSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.ServiceSpec.verify|verify} messages. + * @param message ServiceSpec message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.datacatalog.v1.IServiceSpec, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ServiceSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.ServiceSpec.verify|verify} messages. + * @param message ServiceSpec message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.datacatalog.v1.IServiceSpec, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ServiceSpec message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ServiceSpec + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.ServiceSpec; + + /** + * Decodes a ServiceSpec message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ServiceSpec + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.ServiceSpec; + + /** + * Verifies a ServiceSpec message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ServiceSpec message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ServiceSpec + */ + public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.ServiceSpec; + + /** + * Creates a plain object from a ServiceSpec message. Also converts values to other types if specified. + * @param message ServiceSpec + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.datacatalog.v1.ServiceSpec, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ServiceSpec to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ServiceSpec + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + /** Properties of a BusinessContext. */ interface IBusinessContext { @@ -7060,6 +7504,9 @@ export namespace google { /** ImportEntriesRequest gcsBucketPath */ gcsBucketPath?: (string|null); + + /** ImportEntriesRequest jobId */ + jobId?: (string|null); } /** Represents an ImportEntriesRequest. */ @@ -7077,6 +7524,9 @@ export namespace google { /** ImportEntriesRequest gcsBucketPath. */ public gcsBucketPath?: (string|null); + /** ImportEntriesRequest jobId. */ + public jobId: string; + /** ImportEntriesRequest source. */ public source?: "gcsBucketPath"; diff --git a/packages/google-cloud-datacatalog/protos/protos.js b/packages/google-cloud-datacatalog/protos/protos.js index 5b8153718d7..832f42365c4 100644 --- a/packages/google-cloud-datacatalog/protos/protos.js +++ b/packages/google-cloud-datacatalog/protos/protos.js @@ -1124,6 +1124,8 @@ * @property {number} CLOUD_PUBSUB=2 CLOUD_PUBSUB value * @property {number} DATAPROC_METASTORE=3 DATAPROC_METASTORE value * @property {number} DATAPLEX=4 DATAPLEX value + * @property {number} CLOUD_SPANNER=6 CLOUD_SPANNER value + * @property {number} CLOUD_BIGTABLE=7 CLOUD_BIGTABLE value * @property {number} CLOUD_SQL=8 CLOUD_SQL value * @property {number} LOOKER=9 LOOKER value */ @@ -1134,6 +1136,8 @@ values[valuesById[2] = "CLOUD_PUBSUB"] = 2; values[valuesById[3] = "DATAPROC_METASTORE"] = 3; values[valuesById[4] = "DATAPLEX"] = 4; + values[valuesById[6] = "CLOUD_SPANNER"] = 6; + values[valuesById[7] = "CLOUD_BIGTABLE"] = 7; values[valuesById[8] = "CLOUD_SQL"] = 8; values[valuesById[9] = "LOOKER"] = 9; return values; @@ -3570,6 +3574,7 @@ * @memberof google.cloud.datacatalog.v1 * @interface ISearchCatalogResponse * @property {Array.|null} [results] SearchCatalogResponse results + * @property {number|null} [totalSize] SearchCatalogResponse totalSize * @property {string|null} [nextPageToken] SearchCatalogResponse nextPageToken * @property {Array.|null} [unreachable] SearchCatalogResponse unreachable */ @@ -3599,6 +3604,14 @@ */ SearchCatalogResponse.prototype.results = $util.emptyArray; + /** + * SearchCatalogResponse totalSize. + * @member {number} totalSize + * @memberof google.cloud.datacatalog.v1.SearchCatalogResponse + * @instance + */ + SearchCatalogResponse.prototype.totalSize = 0; + /** * SearchCatalogResponse nextPageToken. * @member {string} nextPageToken @@ -3642,6 +3655,8 @@ if (message.results != null && message.results.length) for (var i = 0; i < message.results.length; ++i) $root.google.cloud.datacatalog.v1.SearchCatalogResult.encode(message.results[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.totalSize != null && Object.hasOwnProperty.call(message, "totalSize")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.totalSize); if (message.nextPageToken != null && Object.hasOwnProperty.call(message, "nextPageToken")) writer.uint32(/* id 3, wireType 2 =*/26).string(message.nextPageToken); if (message.unreachable != null && message.unreachable.length) @@ -3687,6 +3702,10 @@ message.results.push($root.google.cloud.datacatalog.v1.SearchCatalogResult.decode(reader, reader.uint32())); break; } + case 2: { + message.totalSize = reader.int32(); + break; + } case 3: { message.nextPageToken = reader.string(); break; @@ -3741,6 +3760,9 @@ return "results." + error; } } + if (message.totalSize != null && message.hasOwnProperty("totalSize")) + if (!$util.isInteger(message.totalSize)) + return "totalSize: integer expected"; if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken")) if (!$util.isString(message.nextPageToken)) return "nextPageToken: string expected"; @@ -3776,6 +3798,8 @@ message.results[i] = $root.google.cloud.datacatalog.v1.SearchCatalogResult.fromObject(object.results[i]); } } + if (object.totalSize != null) + message.totalSize = object.totalSize | 0; if (object.nextPageToken != null) message.nextPageToken = String(object.nextPageToken); if (object.unreachable) { @@ -3805,13 +3829,17 @@ object.results = []; object.unreachable = []; } - if (options.defaults) + if (options.defaults) { + object.totalSize = 0; object.nextPageToken = ""; + } if (message.results && message.results.length) { object.results = []; for (var j = 0; j < message.results.length; ++j) object.results[j] = $root.google.cloud.datacatalog.v1.SearchCatalogResult.toObject(message.results[j], options); } + if (message.totalSize != null && message.hasOwnProperty("totalSize")) + object.totalSize = message.totalSize; if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken")) object.nextPageToken = message.nextPageToken; if (message.unreachable && message.unreachable.length) { @@ -6207,6 +6235,8 @@ * @property {string|null} [linkedResource] LookupEntryRequest linkedResource * @property {string|null} [sqlResource] LookupEntryRequest sqlResource * @property {string|null} [fullyQualifiedName] LookupEntryRequest fullyQualifiedName + * @property {string|null} [project] LookupEntryRequest project + * @property {string|null} [location] LookupEntryRequest location */ /** @@ -6248,6 +6278,22 @@ */ LookupEntryRequest.prototype.fullyQualifiedName = null; + /** + * LookupEntryRequest project. + * @member {string} project + * @memberof google.cloud.datacatalog.v1.LookupEntryRequest + * @instance + */ + LookupEntryRequest.prototype.project = ""; + + /** + * LookupEntryRequest location. + * @member {string} location + * @memberof google.cloud.datacatalog.v1.LookupEntryRequest + * @instance + */ + LookupEntryRequest.prototype.location = ""; + // OneOf field names bound to virtual getters and setters var $oneOfFields; @@ -6292,6 +6338,10 @@ writer.uint32(/* id 3, wireType 2 =*/26).string(message.sqlResource); if (message.fullyQualifiedName != null && Object.hasOwnProperty.call(message, "fullyQualifiedName")) writer.uint32(/* id 5, wireType 2 =*/42).string(message.fullyQualifiedName); + if (message.project != null && Object.hasOwnProperty.call(message, "project")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.project); + if (message.location != null && Object.hasOwnProperty.call(message, "location")) + writer.uint32(/* id 7, wireType 2 =*/58).string(message.location); return writer; }; @@ -6338,6 +6388,14 @@ message.fullyQualifiedName = reader.string(); break; } + case 6: { + message.project = reader.string(); + break; + } + case 7: { + message.location = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -6393,6 +6451,12 @@ if (!$util.isString(message.fullyQualifiedName)) return "fullyQualifiedName: string expected"; } + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.location != null && message.hasOwnProperty("location")) + if (!$util.isString(message.location)) + return "location: string expected"; return null; }; @@ -6414,6 +6478,10 @@ message.sqlResource = String(object.sqlResource); if (object.fullyQualifiedName != null) message.fullyQualifiedName = String(object.fullyQualifiedName); + if (object.project != null) + message.project = String(object.project); + if (object.location != null) + message.location = String(object.location); return message; }; @@ -6430,6 +6498,10 @@ if (!options) options = {}; var object = {}; + if (options.defaults) { + object.project = ""; + object.location = ""; + } if (message.linkedResource != null && message.hasOwnProperty("linkedResource")) { object.linkedResource = message.linkedResource; if (options.oneofs) @@ -6445,6 +6517,10 @@ if (options.oneofs) object.targetName = "fullyQualifiedName"; } + if (message.project != null && message.hasOwnProperty("project")) + object.project = message.project; + if (message.location != null && message.hasOwnProperty("location")) + object.location = message.location; return object; }; @@ -6492,6 +6568,7 @@ * @property {string|null} [userSpecifiedSystem] Entry userSpecifiedSystem * @property {google.cloud.datacatalog.v1.ISqlDatabaseSystemSpec|null} [sqlDatabaseSystemSpec] Entry sqlDatabaseSystemSpec * @property {google.cloud.datacatalog.v1.ILookerSystemSpec|null} [lookerSystemSpec] Entry lookerSystemSpec + * @property {google.cloud.datacatalog.v1.ICloudBigtableSystemSpec|null} [cloudBigtableSystemSpec] Entry cloudBigtableSystemSpec * @property {google.cloud.datacatalog.v1.IGcsFilesetSpec|null} [gcsFilesetSpec] Entry gcsFilesetSpec * @property {google.cloud.datacatalog.v1.IBigQueryTableSpec|null} [bigqueryTableSpec] Entry bigqueryTableSpec * @property {google.cloud.datacatalog.v1.IBigQueryDateShardedSpec|null} [bigqueryDateShardedSpec] Entry bigqueryDateShardedSpec @@ -6499,6 +6576,7 @@ * @property {google.cloud.datacatalog.v1.IDataSourceConnectionSpec|null} [dataSourceConnectionSpec] Entry dataSourceConnectionSpec * @property {google.cloud.datacatalog.v1.IRoutineSpec|null} [routineSpec] Entry routineSpec * @property {google.cloud.datacatalog.v1.IFilesetSpec|null} [filesetSpec] Entry filesetSpec + * @property {google.cloud.datacatalog.v1.IServiceSpec|null} [serviceSpec] Entry serviceSpec * @property {string|null} [displayName] Entry displayName * @property {string|null} [description] Entry description * @property {google.cloud.datacatalog.v1.IBusinessContext|null} [businessContext] Entry businessContext @@ -6598,6 +6676,14 @@ */ Entry.prototype.lookerSystemSpec = null; + /** + * Entry cloudBigtableSystemSpec. + * @member {google.cloud.datacatalog.v1.ICloudBigtableSystemSpec|null|undefined} cloudBigtableSystemSpec + * @memberof google.cloud.datacatalog.v1.Entry + * @instance + */ + Entry.prototype.cloudBigtableSystemSpec = null; + /** * Entry gcsFilesetSpec. * @member {google.cloud.datacatalog.v1.IGcsFilesetSpec|null|undefined} gcsFilesetSpec @@ -6654,6 +6740,14 @@ */ Entry.prototype.filesetSpec = null; + /** + * Entry serviceSpec. + * @member {google.cloud.datacatalog.v1.IServiceSpec|null|undefined} serviceSpec + * @memberof google.cloud.datacatalog.v1.Entry + * @instance + */ + Entry.prototype.serviceSpec = null; + /** * Entry displayName. * @member {string} displayName @@ -6753,12 +6847,12 @@ /** * Entry systemSpec. - * @member {"sqlDatabaseSystemSpec"|"lookerSystemSpec"|undefined} systemSpec + * @member {"sqlDatabaseSystemSpec"|"lookerSystemSpec"|"cloudBigtableSystemSpec"|undefined} systemSpec * @memberof google.cloud.datacatalog.v1.Entry * @instance */ Object.defineProperty(Entry.prototype, "systemSpec", { - get: $util.oneOfGetter($oneOfFields = ["sqlDatabaseSystemSpec", "lookerSystemSpec"]), + get: $util.oneOfGetter($oneOfFields = ["sqlDatabaseSystemSpec", "lookerSystemSpec", "cloudBigtableSystemSpec"]), set: $util.oneOfSetter($oneOfFields) }); @@ -6775,12 +6869,12 @@ /** * Entry spec. - * @member {"databaseTableSpec"|"dataSourceConnectionSpec"|"routineSpec"|"filesetSpec"|undefined} spec + * @member {"databaseTableSpec"|"dataSourceConnectionSpec"|"routineSpec"|"filesetSpec"|"serviceSpec"|undefined} spec * @memberof google.cloud.datacatalog.v1.Entry * @instance */ Object.defineProperty(Entry.prototype, "spec", { - get: $util.oneOfGetter($oneOfFields = ["databaseTableSpec", "dataSourceConnectionSpec", "routineSpec", "filesetSpec"]), + get: $util.oneOfGetter($oneOfFields = ["databaseTableSpec", "dataSourceConnectionSpec", "routineSpec", "filesetSpec", "serviceSpec"]), set: $util.oneOfSetter($oneOfFields) }); @@ -6859,6 +6953,10 @@ $root.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.encode(message.sqlDatabaseSystemSpec, writer.uint32(/* id 39, wireType 2 =*/314).fork()).ldelim(); if (message.lookerSystemSpec != null && Object.hasOwnProperty.call(message, "lookerSystemSpec")) $root.google.cloud.datacatalog.v1.LookerSystemSpec.encode(message.lookerSystemSpec, writer.uint32(/* id 40, wireType 2 =*/322).fork()).ldelim(); + if (message.cloudBigtableSystemSpec != null && Object.hasOwnProperty.call(message, "cloudBigtableSystemSpec")) + $root.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.encode(message.cloudBigtableSystemSpec, writer.uint32(/* id 41, wireType 2 =*/330).fork()).ldelim(); + if (message.serviceSpec != null && Object.hasOwnProperty.call(message, "serviceSpec")) + $root.google.cloud.datacatalog.v1.ServiceSpec.encode(message.serviceSpec, writer.uint32(/* id 42, wireType 2 =*/338).fork()).ldelim(); return writer; }; @@ -6929,6 +7027,10 @@ message.lookerSystemSpec = $root.google.cloud.datacatalog.v1.LookerSystemSpec.decode(reader, reader.uint32()); break; } + case 41: { + message.cloudBigtableSystemSpec = $root.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.decode(reader, reader.uint32()); + break; + } case 6: { message.gcsFilesetSpec = $root.google.cloud.datacatalog.v1.GcsFilesetSpec.decode(reader, reader.uint32()); break; @@ -6957,6 +7059,10 @@ message.filesetSpec = $root.google.cloud.datacatalog.v1.FilesetSpec.decode(reader, reader.uint32()); break; } + case 42: { + message.serviceSpec = $root.google.cloud.datacatalog.v1.ServiceSpec.decode(reader, reader.uint32()); + break; + } case 3: { message.displayName = reader.string(); break; @@ -7098,6 +7204,8 @@ case 2: case 3: case 4: + case 6: + case 7: case 8: case 9: break; @@ -7128,6 +7236,16 @@ return "lookerSystemSpec." + error; } } + if (message.cloudBigtableSystemSpec != null && message.hasOwnProperty("cloudBigtableSystemSpec")) { + if (properties.systemSpec === 1) + return "systemSpec: multiple values"; + properties.systemSpec = 1; + { + var error = $root.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.verify(message.cloudBigtableSystemSpec); + if (error) + return "cloudBigtableSystemSpec." + error; + } + } if (message.gcsFilesetSpec != null && message.hasOwnProperty("gcsFilesetSpec")) { properties.typeSpec = 1; { @@ -7194,6 +7312,16 @@ return "filesetSpec." + error; } } + if (message.serviceSpec != null && message.hasOwnProperty("serviceSpec")) { + if (properties.spec === 1) + return "spec: multiple values"; + properties.spec = 1; + { + var error = $root.google.cloud.datacatalog.v1.ServiceSpec.verify(message.serviceSpec); + if (error) + return "serviceSpec." + error; + } + } if (message.displayName != null && message.hasOwnProperty("displayName")) if (!$util.isString(message.displayName)) return "displayName: string expected"; @@ -7360,6 +7488,14 @@ case 4: message.integratedSystem = 4; break; + case "CLOUD_SPANNER": + case 6: + message.integratedSystem = 6; + break; + case "CLOUD_BIGTABLE": + case 7: + message.integratedSystem = 7; + break; case "CLOUD_SQL": case 8: message.integratedSystem = 8; @@ -7381,6 +7517,11 @@ throw TypeError(".google.cloud.datacatalog.v1.Entry.lookerSystemSpec: object expected"); message.lookerSystemSpec = $root.google.cloud.datacatalog.v1.LookerSystemSpec.fromObject(object.lookerSystemSpec); } + if (object.cloudBigtableSystemSpec != null) { + if (typeof object.cloudBigtableSystemSpec !== "object") + throw TypeError(".google.cloud.datacatalog.v1.Entry.cloudBigtableSystemSpec: object expected"); + message.cloudBigtableSystemSpec = $root.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.fromObject(object.cloudBigtableSystemSpec); + } if (object.gcsFilesetSpec != null) { if (typeof object.gcsFilesetSpec !== "object") throw TypeError(".google.cloud.datacatalog.v1.Entry.gcsFilesetSpec: object expected"); @@ -7416,6 +7557,11 @@ throw TypeError(".google.cloud.datacatalog.v1.Entry.filesetSpec: object expected"); message.filesetSpec = $root.google.cloud.datacatalog.v1.FilesetSpec.fromObject(object.filesetSpec); } + if (object.serviceSpec != null) { + if (typeof object.serviceSpec !== "object") + throw TypeError(".google.cloud.datacatalog.v1.Entry.serviceSpec: object expected"); + message.serviceSpec = $root.google.cloud.datacatalog.v1.ServiceSpec.fromObject(object.serviceSpec); + } if (object.displayName != null) message.displayName = String(object.displayName); if (object.description != null) @@ -7581,6 +7727,16 @@ if (options.oneofs) object.systemSpec = "lookerSystemSpec"; } + if (message.cloudBigtableSystemSpec != null && message.hasOwnProperty("cloudBigtableSystemSpec")) { + object.cloudBigtableSystemSpec = $root.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.toObject(message.cloudBigtableSystemSpec, options); + if (options.oneofs) + object.systemSpec = "cloudBigtableSystemSpec"; + } + if (message.serviceSpec != null && message.hasOwnProperty("serviceSpec")) { + object.serviceSpec = $root.google.cloud.datacatalog.v1.ServiceSpec.toObject(message.serviceSpec, options); + if (options.oneofs) + object.spec = "serviceSpec"; + } return object; }; @@ -9567,58 +9723,1072 @@ return object; }; - /** - * Converts this SqlDatabaseSystemSpec to JSON. - * @function toJSON - * @memberof google.cloud.datacatalog.v1.SqlDatabaseSystemSpec - * @instance - * @returns {Object.} JSON object - */ - SqlDatabaseSystemSpec.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; + /** + * Converts this SqlDatabaseSystemSpec to JSON. + * @function toJSON + * @memberof google.cloud.datacatalog.v1.SqlDatabaseSystemSpec + * @instance + * @returns {Object.} JSON object + */ + SqlDatabaseSystemSpec.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for SqlDatabaseSystemSpec + * @function getTypeUrl + * @memberof google.cloud.datacatalog.v1.SqlDatabaseSystemSpec + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SqlDatabaseSystemSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.datacatalog.v1.SqlDatabaseSystemSpec"; + }; + + return SqlDatabaseSystemSpec; + })(); + + v1.LookerSystemSpec = (function() { + + /** + * Properties of a LookerSystemSpec. + * @memberof google.cloud.datacatalog.v1 + * @interface ILookerSystemSpec + * @property {string|null} [parentInstanceId] LookerSystemSpec parentInstanceId + * @property {string|null} [parentInstanceDisplayName] LookerSystemSpec parentInstanceDisplayName + * @property {string|null} [parentModelId] LookerSystemSpec parentModelId + * @property {string|null} [parentModelDisplayName] LookerSystemSpec parentModelDisplayName + * @property {string|null} [parentViewId] LookerSystemSpec parentViewId + * @property {string|null} [parentViewDisplayName] LookerSystemSpec parentViewDisplayName + */ + + /** + * Constructs a new LookerSystemSpec. + * @memberof google.cloud.datacatalog.v1 + * @classdesc Represents a LookerSystemSpec. + * @implements ILookerSystemSpec + * @constructor + * @param {google.cloud.datacatalog.v1.ILookerSystemSpec=} [properties] Properties to set + */ + function LookerSystemSpec(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * LookerSystemSpec parentInstanceId. + * @member {string} parentInstanceId + * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @instance + */ + LookerSystemSpec.prototype.parentInstanceId = ""; + + /** + * LookerSystemSpec parentInstanceDisplayName. + * @member {string} parentInstanceDisplayName + * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @instance + */ + LookerSystemSpec.prototype.parentInstanceDisplayName = ""; + + /** + * LookerSystemSpec parentModelId. + * @member {string} parentModelId + * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @instance + */ + LookerSystemSpec.prototype.parentModelId = ""; + + /** + * LookerSystemSpec parentModelDisplayName. + * @member {string} parentModelDisplayName + * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @instance + */ + LookerSystemSpec.prototype.parentModelDisplayName = ""; + + /** + * LookerSystemSpec parentViewId. + * @member {string} parentViewId + * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @instance + */ + LookerSystemSpec.prototype.parentViewId = ""; + + /** + * LookerSystemSpec parentViewDisplayName. + * @member {string} parentViewDisplayName + * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @instance + */ + LookerSystemSpec.prototype.parentViewDisplayName = ""; + + /** + * Creates a new LookerSystemSpec instance using the specified properties. + * @function create + * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @static + * @param {google.cloud.datacatalog.v1.ILookerSystemSpec=} [properties] Properties to set + * @returns {google.cloud.datacatalog.v1.LookerSystemSpec} LookerSystemSpec instance + */ + LookerSystemSpec.create = function create(properties) { + return new LookerSystemSpec(properties); + }; + + /** + * Encodes the specified LookerSystemSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.LookerSystemSpec.verify|verify} messages. + * @function encode + * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @static + * @param {google.cloud.datacatalog.v1.ILookerSystemSpec} message LookerSystemSpec message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + LookerSystemSpec.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.parentInstanceId != null && Object.hasOwnProperty.call(message, "parentInstanceId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.parentInstanceId); + if (message.parentInstanceDisplayName != null && Object.hasOwnProperty.call(message, "parentInstanceDisplayName")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.parentInstanceDisplayName); + if (message.parentModelId != null && Object.hasOwnProperty.call(message, "parentModelId")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.parentModelId); + if (message.parentModelDisplayName != null && Object.hasOwnProperty.call(message, "parentModelDisplayName")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.parentModelDisplayName); + if (message.parentViewId != null && Object.hasOwnProperty.call(message, "parentViewId")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.parentViewId); + if (message.parentViewDisplayName != null && Object.hasOwnProperty.call(message, "parentViewDisplayName")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.parentViewDisplayName); + return writer; + }; + + /** + * Encodes the specified LookerSystemSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.LookerSystemSpec.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @static + * @param {google.cloud.datacatalog.v1.ILookerSystemSpec} message LookerSystemSpec message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + LookerSystemSpec.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a LookerSystemSpec message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.datacatalog.v1.LookerSystemSpec} LookerSystemSpec + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + LookerSystemSpec.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.LookerSystemSpec(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.parentInstanceId = reader.string(); + break; + } + case 2: { + message.parentInstanceDisplayName = reader.string(); + break; + } + case 3: { + message.parentModelId = reader.string(); + break; + } + case 4: { + message.parentModelDisplayName = reader.string(); + break; + } + case 5: { + message.parentViewId = reader.string(); + break; + } + case 6: { + message.parentViewDisplayName = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a LookerSystemSpec message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.datacatalog.v1.LookerSystemSpec} LookerSystemSpec + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + LookerSystemSpec.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a LookerSystemSpec message. + * @function verify + * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + LookerSystemSpec.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.parentInstanceId != null && message.hasOwnProperty("parentInstanceId")) + if (!$util.isString(message.parentInstanceId)) + return "parentInstanceId: string expected"; + if (message.parentInstanceDisplayName != null && message.hasOwnProperty("parentInstanceDisplayName")) + if (!$util.isString(message.parentInstanceDisplayName)) + return "parentInstanceDisplayName: string expected"; + if (message.parentModelId != null && message.hasOwnProperty("parentModelId")) + if (!$util.isString(message.parentModelId)) + return "parentModelId: string expected"; + if (message.parentModelDisplayName != null && message.hasOwnProperty("parentModelDisplayName")) + if (!$util.isString(message.parentModelDisplayName)) + return "parentModelDisplayName: string expected"; + if (message.parentViewId != null && message.hasOwnProperty("parentViewId")) + if (!$util.isString(message.parentViewId)) + return "parentViewId: string expected"; + if (message.parentViewDisplayName != null && message.hasOwnProperty("parentViewDisplayName")) + if (!$util.isString(message.parentViewDisplayName)) + return "parentViewDisplayName: string expected"; + return null; + }; + + /** + * Creates a LookerSystemSpec message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.datacatalog.v1.LookerSystemSpec} LookerSystemSpec + */ + LookerSystemSpec.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.datacatalog.v1.LookerSystemSpec) + return object; + var message = new $root.google.cloud.datacatalog.v1.LookerSystemSpec(); + if (object.parentInstanceId != null) + message.parentInstanceId = String(object.parentInstanceId); + if (object.parentInstanceDisplayName != null) + message.parentInstanceDisplayName = String(object.parentInstanceDisplayName); + if (object.parentModelId != null) + message.parentModelId = String(object.parentModelId); + if (object.parentModelDisplayName != null) + message.parentModelDisplayName = String(object.parentModelDisplayName); + if (object.parentViewId != null) + message.parentViewId = String(object.parentViewId); + if (object.parentViewDisplayName != null) + message.parentViewDisplayName = String(object.parentViewDisplayName); + return message; + }; + + /** + * Creates a plain object from a LookerSystemSpec message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @static + * @param {google.cloud.datacatalog.v1.LookerSystemSpec} message LookerSystemSpec + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + LookerSystemSpec.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.parentInstanceId = ""; + object.parentInstanceDisplayName = ""; + object.parentModelId = ""; + object.parentModelDisplayName = ""; + object.parentViewId = ""; + object.parentViewDisplayName = ""; + } + if (message.parentInstanceId != null && message.hasOwnProperty("parentInstanceId")) + object.parentInstanceId = message.parentInstanceId; + if (message.parentInstanceDisplayName != null && message.hasOwnProperty("parentInstanceDisplayName")) + object.parentInstanceDisplayName = message.parentInstanceDisplayName; + if (message.parentModelId != null && message.hasOwnProperty("parentModelId")) + object.parentModelId = message.parentModelId; + if (message.parentModelDisplayName != null && message.hasOwnProperty("parentModelDisplayName")) + object.parentModelDisplayName = message.parentModelDisplayName; + if (message.parentViewId != null && message.hasOwnProperty("parentViewId")) + object.parentViewId = message.parentViewId; + if (message.parentViewDisplayName != null && message.hasOwnProperty("parentViewDisplayName")) + object.parentViewDisplayName = message.parentViewDisplayName; + return object; + }; + + /** + * Converts this LookerSystemSpec to JSON. + * @function toJSON + * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @instance + * @returns {Object.} JSON object + */ + LookerSystemSpec.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for LookerSystemSpec + * @function getTypeUrl + * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + LookerSystemSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.datacatalog.v1.LookerSystemSpec"; + }; + + return LookerSystemSpec; + })(); + + v1.CloudBigtableSystemSpec = (function() { + + /** + * Properties of a CloudBigtableSystemSpec. + * @memberof google.cloud.datacatalog.v1 + * @interface ICloudBigtableSystemSpec + * @property {string|null} [instanceDisplayName] CloudBigtableSystemSpec instanceDisplayName + */ + + /** + * Constructs a new CloudBigtableSystemSpec. + * @memberof google.cloud.datacatalog.v1 + * @classdesc Represents a CloudBigtableSystemSpec. + * @implements ICloudBigtableSystemSpec + * @constructor + * @param {google.cloud.datacatalog.v1.ICloudBigtableSystemSpec=} [properties] Properties to set + */ + function CloudBigtableSystemSpec(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * CloudBigtableSystemSpec instanceDisplayName. + * @member {string} instanceDisplayName + * @memberof google.cloud.datacatalog.v1.CloudBigtableSystemSpec + * @instance + */ + CloudBigtableSystemSpec.prototype.instanceDisplayName = ""; + + /** + * Creates a new CloudBigtableSystemSpec instance using the specified properties. + * @function create + * @memberof google.cloud.datacatalog.v1.CloudBigtableSystemSpec + * @static + * @param {google.cloud.datacatalog.v1.ICloudBigtableSystemSpec=} [properties] Properties to set + * @returns {google.cloud.datacatalog.v1.CloudBigtableSystemSpec} CloudBigtableSystemSpec instance + */ + CloudBigtableSystemSpec.create = function create(properties) { + return new CloudBigtableSystemSpec(properties); + }; + + /** + * Encodes the specified CloudBigtableSystemSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.CloudBigtableSystemSpec.verify|verify} messages. + * @function encode + * @memberof google.cloud.datacatalog.v1.CloudBigtableSystemSpec + * @static + * @param {google.cloud.datacatalog.v1.ICloudBigtableSystemSpec} message CloudBigtableSystemSpec message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + CloudBigtableSystemSpec.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.instanceDisplayName != null && Object.hasOwnProperty.call(message, "instanceDisplayName")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.instanceDisplayName); + return writer; + }; + + /** + * Encodes the specified CloudBigtableSystemSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.CloudBigtableSystemSpec.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.datacatalog.v1.CloudBigtableSystemSpec + * @static + * @param {google.cloud.datacatalog.v1.ICloudBigtableSystemSpec} message CloudBigtableSystemSpec message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + CloudBigtableSystemSpec.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a CloudBigtableSystemSpec message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.datacatalog.v1.CloudBigtableSystemSpec + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.datacatalog.v1.CloudBigtableSystemSpec} CloudBigtableSystemSpec + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + CloudBigtableSystemSpec.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.CloudBigtableSystemSpec(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.instanceDisplayName = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a CloudBigtableSystemSpec message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.datacatalog.v1.CloudBigtableSystemSpec + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.datacatalog.v1.CloudBigtableSystemSpec} CloudBigtableSystemSpec + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + CloudBigtableSystemSpec.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a CloudBigtableSystemSpec message. + * @function verify + * @memberof google.cloud.datacatalog.v1.CloudBigtableSystemSpec + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + CloudBigtableSystemSpec.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.instanceDisplayName != null && message.hasOwnProperty("instanceDisplayName")) + if (!$util.isString(message.instanceDisplayName)) + return "instanceDisplayName: string expected"; + return null; + }; + + /** + * Creates a CloudBigtableSystemSpec message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.datacatalog.v1.CloudBigtableSystemSpec + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.datacatalog.v1.CloudBigtableSystemSpec} CloudBigtableSystemSpec + */ + CloudBigtableSystemSpec.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) + return object; + var message = new $root.google.cloud.datacatalog.v1.CloudBigtableSystemSpec(); + if (object.instanceDisplayName != null) + message.instanceDisplayName = String(object.instanceDisplayName); + return message; + }; + + /** + * Creates a plain object from a CloudBigtableSystemSpec message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.datacatalog.v1.CloudBigtableSystemSpec + * @static + * @param {google.cloud.datacatalog.v1.CloudBigtableSystemSpec} message CloudBigtableSystemSpec + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + CloudBigtableSystemSpec.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.instanceDisplayName = ""; + if (message.instanceDisplayName != null && message.hasOwnProperty("instanceDisplayName")) + object.instanceDisplayName = message.instanceDisplayName; + return object; + }; + + /** + * Converts this CloudBigtableSystemSpec to JSON. + * @function toJSON + * @memberof google.cloud.datacatalog.v1.CloudBigtableSystemSpec + * @instance + * @returns {Object.} JSON object + */ + CloudBigtableSystemSpec.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for CloudBigtableSystemSpec + * @function getTypeUrl + * @memberof google.cloud.datacatalog.v1.CloudBigtableSystemSpec + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CloudBigtableSystemSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.datacatalog.v1.CloudBigtableSystemSpec"; + }; + + return CloudBigtableSystemSpec; + })(); + + v1.CloudBigtableInstanceSpec = (function() { + + /** + * Properties of a CloudBigtableInstanceSpec. + * @memberof google.cloud.datacatalog.v1 + * @interface ICloudBigtableInstanceSpec + * @property {Array.|null} [cloudBigtableClusterSpecs] CloudBigtableInstanceSpec cloudBigtableClusterSpecs + */ + + /** + * Constructs a new CloudBigtableInstanceSpec. + * @memberof google.cloud.datacatalog.v1 + * @classdesc Represents a CloudBigtableInstanceSpec. + * @implements ICloudBigtableInstanceSpec + * @constructor + * @param {google.cloud.datacatalog.v1.ICloudBigtableInstanceSpec=} [properties] Properties to set + */ + function CloudBigtableInstanceSpec(properties) { + this.cloudBigtableClusterSpecs = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * CloudBigtableInstanceSpec cloudBigtableClusterSpecs. + * @member {Array.} cloudBigtableClusterSpecs + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec + * @instance + */ + CloudBigtableInstanceSpec.prototype.cloudBigtableClusterSpecs = $util.emptyArray; + + /** + * Creates a new CloudBigtableInstanceSpec instance using the specified properties. + * @function create + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec + * @static + * @param {google.cloud.datacatalog.v1.ICloudBigtableInstanceSpec=} [properties] Properties to set + * @returns {google.cloud.datacatalog.v1.CloudBigtableInstanceSpec} CloudBigtableInstanceSpec instance + */ + CloudBigtableInstanceSpec.create = function create(properties) { + return new CloudBigtableInstanceSpec(properties); + }; + + /** + * Encodes the specified CloudBigtableInstanceSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.verify|verify} messages. + * @function encode + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec + * @static + * @param {google.cloud.datacatalog.v1.ICloudBigtableInstanceSpec} message CloudBigtableInstanceSpec message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + CloudBigtableInstanceSpec.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.cloudBigtableClusterSpecs != null && message.cloudBigtableClusterSpecs.length) + for (var i = 0; i < message.cloudBigtableClusterSpecs.length; ++i) + $root.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.encode(message.cloudBigtableClusterSpecs[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified CloudBigtableInstanceSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec + * @static + * @param {google.cloud.datacatalog.v1.ICloudBigtableInstanceSpec} message CloudBigtableInstanceSpec message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + CloudBigtableInstanceSpec.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a CloudBigtableInstanceSpec message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.datacatalog.v1.CloudBigtableInstanceSpec} CloudBigtableInstanceSpec + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + CloudBigtableInstanceSpec.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + if (!(message.cloudBigtableClusterSpecs && message.cloudBigtableClusterSpecs.length)) + message.cloudBigtableClusterSpecs = []; + message.cloudBigtableClusterSpecs.push($root.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.decode(reader, reader.uint32())); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a CloudBigtableInstanceSpec message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.datacatalog.v1.CloudBigtableInstanceSpec} CloudBigtableInstanceSpec + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + CloudBigtableInstanceSpec.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a CloudBigtableInstanceSpec message. + * @function verify + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + CloudBigtableInstanceSpec.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cloudBigtableClusterSpecs != null && message.hasOwnProperty("cloudBigtableClusterSpecs")) { + if (!Array.isArray(message.cloudBigtableClusterSpecs)) + return "cloudBigtableClusterSpecs: array expected"; + for (var i = 0; i < message.cloudBigtableClusterSpecs.length; ++i) { + var error = $root.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.verify(message.cloudBigtableClusterSpecs[i]); + if (error) + return "cloudBigtableClusterSpecs." + error; + } + } + return null; + }; + + /** + * Creates a CloudBigtableInstanceSpec message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.datacatalog.v1.CloudBigtableInstanceSpec} CloudBigtableInstanceSpec + */ + CloudBigtableInstanceSpec.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) + return object; + var message = new $root.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec(); + if (object.cloudBigtableClusterSpecs) { + if (!Array.isArray(object.cloudBigtableClusterSpecs)) + throw TypeError(".google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.cloudBigtableClusterSpecs: array expected"); + message.cloudBigtableClusterSpecs = []; + for (var i = 0; i < object.cloudBigtableClusterSpecs.length; ++i) { + if (typeof object.cloudBigtableClusterSpecs[i] !== "object") + throw TypeError(".google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.cloudBigtableClusterSpecs: object expected"); + message.cloudBigtableClusterSpecs[i] = $root.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.fromObject(object.cloudBigtableClusterSpecs[i]); + } + } + return message; + }; + + /** + * Creates a plain object from a CloudBigtableInstanceSpec message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec + * @static + * @param {google.cloud.datacatalog.v1.CloudBigtableInstanceSpec} message CloudBigtableInstanceSpec + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + CloudBigtableInstanceSpec.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.cloudBigtableClusterSpecs = []; + if (message.cloudBigtableClusterSpecs && message.cloudBigtableClusterSpecs.length) { + object.cloudBigtableClusterSpecs = []; + for (var j = 0; j < message.cloudBigtableClusterSpecs.length; ++j) + object.cloudBigtableClusterSpecs[j] = $root.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.toObject(message.cloudBigtableClusterSpecs[j], options); + } + return object; + }; + + /** + * Converts this CloudBigtableInstanceSpec to JSON. + * @function toJSON + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec + * @instance + * @returns {Object.} JSON object + */ + CloudBigtableInstanceSpec.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for CloudBigtableInstanceSpec + * @function getTypeUrl + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CloudBigtableInstanceSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.datacatalog.v1.CloudBigtableInstanceSpec"; + }; + + CloudBigtableInstanceSpec.CloudBigtableClusterSpec = (function() { + + /** + * Properties of a CloudBigtableClusterSpec. + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec + * @interface ICloudBigtableClusterSpec + * @property {string|null} [displayName] CloudBigtableClusterSpec displayName + * @property {string|null} [location] CloudBigtableClusterSpec location + * @property {string|null} [type] CloudBigtableClusterSpec type + * @property {string|null} [linkedResource] CloudBigtableClusterSpec linkedResource + */ + + /** + * Constructs a new CloudBigtableClusterSpec. + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec + * @classdesc Represents a CloudBigtableClusterSpec. + * @implements ICloudBigtableClusterSpec + * @constructor + * @param {google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.ICloudBigtableClusterSpec=} [properties] Properties to set + */ + function CloudBigtableClusterSpec(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * CloudBigtableClusterSpec displayName. + * @member {string} displayName + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + * @instance + */ + CloudBigtableClusterSpec.prototype.displayName = ""; + + /** + * CloudBigtableClusterSpec location. + * @member {string} location + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + * @instance + */ + CloudBigtableClusterSpec.prototype.location = ""; + + /** + * CloudBigtableClusterSpec type. + * @member {string} type + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + * @instance + */ + CloudBigtableClusterSpec.prototype.type = ""; + + /** + * CloudBigtableClusterSpec linkedResource. + * @member {string} linkedResource + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + * @instance + */ + CloudBigtableClusterSpec.prototype.linkedResource = ""; + + /** + * Creates a new CloudBigtableClusterSpec instance using the specified properties. + * @function create + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + * @static + * @param {google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.ICloudBigtableClusterSpec=} [properties] Properties to set + * @returns {google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec} CloudBigtableClusterSpec instance + */ + CloudBigtableClusterSpec.create = function create(properties) { + return new CloudBigtableClusterSpec(properties); + }; + + /** + * Encodes the specified CloudBigtableClusterSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.verify|verify} messages. + * @function encode + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + * @static + * @param {google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.ICloudBigtableClusterSpec} message CloudBigtableClusterSpec message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + CloudBigtableClusterSpec.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.displayName); + if (message.location != null && Object.hasOwnProperty.call(message, "location")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.location); + if (message.type != null && Object.hasOwnProperty.call(message, "type")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.type); + if (message.linkedResource != null && Object.hasOwnProperty.call(message, "linkedResource")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.linkedResource); + return writer; + }; + + /** + * Encodes the specified CloudBigtableClusterSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + * @static + * @param {google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.ICloudBigtableClusterSpec} message CloudBigtableClusterSpec message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + CloudBigtableClusterSpec.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a CloudBigtableClusterSpec message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec} CloudBigtableClusterSpec + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + CloudBigtableClusterSpec.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.displayName = reader.string(); + break; + } + case 2: { + message.location = reader.string(); + break; + } + case 3: { + message.type = reader.string(); + break; + } + case 4: { + message.linkedResource = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a CloudBigtableClusterSpec message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec} CloudBigtableClusterSpec + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + CloudBigtableClusterSpec.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a CloudBigtableClusterSpec message. + * @function verify + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + CloudBigtableClusterSpec.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.displayName != null && message.hasOwnProperty("displayName")) + if (!$util.isString(message.displayName)) + return "displayName: string expected"; + if (message.location != null && message.hasOwnProperty("location")) + if (!$util.isString(message.location)) + return "location: string expected"; + if (message.type != null && message.hasOwnProperty("type")) + if (!$util.isString(message.type)) + return "type: string expected"; + if (message.linkedResource != null && message.hasOwnProperty("linkedResource")) + if (!$util.isString(message.linkedResource)) + return "linkedResource: string expected"; + return null; + }; + + /** + * Creates a CloudBigtableClusterSpec message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec} CloudBigtableClusterSpec + */ + CloudBigtableClusterSpec.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec) + return object; + var message = new $root.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec(); + if (object.displayName != null) + message.displayName = String(object.displayName); + if (object.location != null) + message.location = String(object.location); + if (object.type != null) + message.type = String(object.type); + if (object.linkedResource != null) + message.linkedResource = String(object.linkedResource); + return message; + }; + + /** + * Creates a plain object from a CloudBigtableClusterSpec message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + * @static + * @param {google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec} message CloudBigtableClusterSpec + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + CloudBigtableClusterSpec.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.displayName = ""; + object.location = ""; + object.type = ""; + object.linkedResource = ""; + } + if (message.displayName != null && message.hasOwnProperty("displayName")) + object.displayName = message.displayName; + if (message.location != null && message.hasOwnProperty("location")) + object.location = message.location; + if (message.type != null && message.hasOwnProperty("type")) + object.type = message.type; + if (message.linkedResource != null && message.hasOwnProperty("linkedResource")) + object.linkedResource = message.linkedResource; + return object; + }; + + /** + * Converts this CloudBigtableClusterSpec to JSON. + * @function toJSON + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + * @instance + * @returns {Object.} JSON object + */ + CloudBigtableClusterSpec.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for CloudBigtableClusterSpec + * @function getTypeUrl + * @memberof google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CloudBigtableClusterSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec"; + }; - /** - * Gets the default type url for SqlDatabaseSystemSpec - * @function getTypeUrl - * @memberof google.cloud.datacatalog.v1.SqlDatabaseSystemSpec - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - SqlDatabaseSystemSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.datacatalog.v1.SqlDatabaseSystemSpec"; - }; + return CloudBigtableClusterSpec; + })(); - return SqlDatabaseSystemSpec; + return CloudBigtableInstanceSpec; })(); - v1.LookerSystemSpec = (function() { + v1.ServiceSpec = (function() { /** - * Properties of a LookerSystemSpec. + * Properties of a ServiceSpec. * @memberof google.cloud.datacatalog.v1 - * @interface ILookerSystemSpec - * @property {string|null} [parentInstanceId] LookerSystemSpec parentInstanceId - * @property {string|null} [parentInstanceDisplayName] LookerSystemSpec parentInstanceDisplayName - * @property {string|null} [parentModelId] LookerSystemSpec parentModelId - * @property {string|null} [parentModelDisplayName] LookerSystemSpec parentModelDisplayName - * @property {string|null} [parentViewId] LookerSystemSpec parentViewId - * @property {string|null} [parentViewDisplayName] LookerSystemSpec parentViewDisplayName + * @interface IServiceSpec + * @property {google.cloud.datacatalog.v1.ICloudBigtableInstanceSpec|null} [cloudBigtableInstanceSpec] ServiceSpec cloudBigtableInstanceSpec */ /** - * Constructs a new LookerSystemSpec. + * Constructs a new ServiceSpec. * @memberof google.cloud.datacatalog.v1 - * @classdesc Represents a LookerSystemSpec. - * @implements ILookerSystemSpec + * @classdesc Represents a ServiceSpec. + * @implements IServiceSpec * @constructor - * @param {google.cloud.datacatalog.v1.ILookerSystemSpec=} [properties] Properties to set + * @param {google.cloud.datacatalog.v1.IServiceSpec=} [properties] Properties to set */ - function LookerSystemSpec(properties) { + function ServiceSpec(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -9626,145 +10796,89 @@ } /** - * LookerSystemSpec parentInstanceId. - * @member {string} parentInstanceId - * @memberof google.cloud.datacatalog.v1.LookerSystemSpec - * @instance - */ - LookerSystemSpec.prototype.parentInstanceId = ""; - - /** - * LookerSystemSpec parentInstanceDisplayName. - * @member {string} parentInstanceDisplayName - * @memberof google.cloud.datacatalog.v1.LookerSystemSpec - * @instance - */ - LookerSystemSpec.prototype.parentInstanceDisplayName = ""; - - /** - * LookerSystemSpec parentModelId. - * @member {string} parentModelId - * @memberof google.cloud.datacatalog.v1.LookerSystemSpec - * @instance - */ - LookerSystemSpec.prototype.parentModelId = ""; - - /** - * LookerSystemSpec parentModelDisplayName. - * @member {string} parentModelDisplayName - * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * ServiceSpec cloudBigtableInstanceSpec. + * @member {google.cloud.datacatalog.v1.ICloudBigtableInstanceSpec|null|undefined} cloudBigtableInstanceSpec + * @memberof google.cloud.datacatalog.v1.ServiceSpec * @instance */ - LookerSystemSpec.prototype.parentModelDisplayName = ""; + ServiceSpec.prototype.cloudBigtableInstanceSpec = null; - /** - * LookerSystemSpec parentViewId. - * @member {string} parentViewId - * @memberof google.cloud.datacatalog.v1.LookerSystemSpec - * @instance - */ - LookerSystemSpec.prototype.parentViewId = ""; + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * LookerSystemSpec parentViewDisplayName. - * @member {string} parentViewDisplayName - * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * ServiceSpec systemSpec. + * @member {"cloudBigtableInstanceSpec"|undefined} systemSpec + * @memberof google.cloud.datacatalog.v1.ServiceSpec * @instance */ - LookerSystemSpec.prototype.parentViewDisplayName = ""; + Object.defineProperty(ServiceSpec.prototype, "systemSpec", { + get: $util.oneOfGetter($oneOfFields = ["cloudBigtableInstanceSpec"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * Creates a new LookerSystemSpec instance using the specified properties. + * Creates a new ServiceSpec instance using the specified properties. * @function create - * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @memberof google.cloud.datacatalog.v1.ServiceSpec * @static - * @param {google.cloud.datacatalog.v1.ILookerSystemSpec=} [properties] Properties to set - * @returns {google.cloud.datacatalog.v1.LookerSystemSpec} LookerSystemSpec instance + * @param {google.cloud.datacatalog.v1.IServiceSpec=} [properties] Properties to set + * @returns {google.cloud.datacatalog.v1.ServiceSpec} ServiceSpec instance */ - LookerSystemSpec.create = function create(properties) { - return new LookerSystemSpec(properties); + ServiceSpec.create = function create(properties) { + return new ServiceSpec(properties); }; /** - * Encodes the specified LookerSystemSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.LookerSystemSpec.verify|verify} messages. + * Encodes the specified ServiceSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.ServiceSpec.verify|verify} messages. * @function encode - * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @memberof google.cloud.datacatalog.v1.ServiceSpec * @static - * @param {google.cloud.datacatalog.v1.ILookerSystemSpec} message LookerSystemSpec message or plain object to encode + * @param {google.cloud.datacatalog.v1.IServiceSpec} message ServiceSpec message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - LookerSystemSpec.encode = function encode(message, writer) { + ServiceSpec.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.parentInstanceId != null && Object.hasOwnProperty.call(message, "parentInstanceId")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.parentInstanceId); - if (message.parentInstanceDisplayName != null && Object.hasOwnProperty.call(message, "parentInstanceDisplayName")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.parentInstanceDisplayName); - if (message.parentModelId != null && Object.hasOwnProperty.call(message, "parentModelId")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.parentModelId); - if (message.parentModelDisplayName != null && Object.hasOwnProperty.call(message, "parentModelDisplayName")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.parentModelDisplayName); - if (message.parentViewId != null && Object.hasOwnProperty.call(message, "parentViewId")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.parentViewId); - if (message.parentViewDisplayName != null && Object.hasOwnProperty.call(message, "parentViewDisplayName")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.parentViewDisplayName); + if (message.cloudBigtableInstanceSpec != null && Object.hasOwnProperty.call(message, "cloudBigtableInstanceSpec")) + $root.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.encode(message.cloudBigtableInstanceSpec, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Encodes the specified LookerSystemSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.LookerSystemSpec.verify|verify} messages. + * Encodes the specified ServiceSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.ServiceSpec.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @memberof google.cloud.datacatalog.v1.ServiceSpec * @static - * @param {google.cloud.datacatalog.v1.ILookerSystemSpec} message LookerSystemSpec message or plain object to encode + * @param {google.cloud.datacatalog.v1.IServiceSpec} message ServiceSpec message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - LookerSystemSpec.encodeDelimited = function encodeDelimited(message, writer) { + ServiceSpec.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a LookerSystemSpec message from the specified reader or buffer. + * Decodes a ServiceSpec message from the specified reader or buffer. * @function decode - * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @memberof google.cloud.datacatalog.v1.ServiceSpec * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.cloud.datacatalog.v1.LookerSystemSpec} LookerSystemSpec + * @returns {google.cloud.datacatalog.v1.ServiceSpec} ServiceSpec * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - LookerSystemSpec.decode = function decode(reader, length) { + ServiceSpec.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.LookerSystemSpec(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.ServiceSpec(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: { - message.parentInstanceId = reader.string(); - break; - } - case 2: { - message.parentInstanceDisplayName = reader.string(); - break; - } - case 3: { - message.parentModelId = reader.string(); - break; - } - case 4: { - message.parentModelDisplayName = reader.string(); - break; - } - case 5: { - message.parentViewId = reader.string(); - break; - } - case 6: { - message.parentViewDisplayName = reader.string(); + message.cloudBigtableInstanceSpec = $root.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.decode(reader, reader.uint32()); break; } default: @@ -9776,143 +10890,112 @@ }; /** - * Decodes a LookerSystemSpec message from the specified reader or buffer, length delimited. + * Decodes a ServiceSpec message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @memberof google.cloud.datacatalog.v1.ServiceSpec * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.datacatalog.v1.LookerSystemSpec} LookerSystemSpec + * @returns {google.cloud.datacatalog.v1.ServiceSpec} ServiceSpec * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - LookerSystemSpec.decodeDelimited = function decodeDelimited(reader) { + ServiceSpec.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a LookerSystemSpec message. + * Verifies a ServiceSpec message. * @function verify - * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @memberof google.cloud.datacatalog.v1.ServiceSpec * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - LookerSystemSpec.verify = function verify(message) { + ServiceSpec.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.parentInstanceId != null && message.hasOwnProperty("parentInstanceId")) - if (!$util.isString(message.parentInstanceId)) - return "parentInstanceId: string expected"; - if (message.parentInstanceDisplayName != null && message.hasOwnProperty("parentInstanceDisplayName")) - if (!$util.isString(message.parentInstanceDisplayName)) - return "parentInstanceDisplayName: string expected"; - if (message.parentModelId != null && message.hasOwnProperty("parentModelId")) - if (!$util.isString(message.parentModelId)) - return "parentModelId: string expected"; - if (message.parentModelDisplayName != null && message.hasOwnProperty("parentModelDisplayName")) - if (!$util.isString(message.parentModelDisplayName)) - return "parentModelDisplayName: string expected"; - if (message.parentViewId != null && message.hasOwnProperty("parentViewId")) - if (!$util.isString(message.parentViewId)) - return "parentViewId: string expected"; - if (message.parentViewDisplayName != null && message.hasOwnProperty("parentViewDisplayName")) - if (!$util.isString(message.parentViewDisplayName)) - return "parentViewDisplayName: string expected"; + var properties = {}; + if (message.cloudBigtableInstanceSpec != null && message.hasOwnProperty("cloudBigtableInstanceSpec")) { + properties.systemSpec = 1; + { + var error = $root.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.verify(message.cloudBigtableInstanceSpec); + if (error) + return "cloudBigtableInstanceSpec." + error; + } + } return null; }; /** - * Creates a LookerSystemSpec message from a plain object. Also converts values to their respective internal types. + * Creates a ServiceSpec message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @memberof google.cloud.datacatalog.v1.ServiceSpec * @static * @param {Object.} object Plain object - * @returns {google.cloud.datacatalog.v1.LookerSystemSpec} LookerSystemSpec + * @returns {google.cloud.datacatalog.v1.ServiceSpec} ServiceSpec */ - LookerSystemSpec.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.datacatalog.v1.LookerSystemSpec) + ServiceSpec.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.datacatalog.v1.ServiceSpec) return object; - var message = new $root.google.cloud.datacatalog.v1.LookerSystemSpec(); - if (object.parentInstanceId != null) - message.parentInstanceId = String(object.parentInstanceId); - if (object.parentInstanceDisplayName != null) - message.parentInstanceDisplayName = String(object.parentInstanceDisplayName); - if (object.parentModelId != null) - message.parentModelId = String(object.parentModelId); - if (object.parentModelDisplayName != null) - message.parentModelDisplayName = String(object.parentModelDisplayName); - if (object.parentViewId != null) - message.parentViewId = String(object.parentViewId); - if (object.parentViewDisplayName != null) - message.parentViewDisplayName = String(object.parentViewDisplayName); + var message = new $root.google.cloud.datacatalog.v1.ServiceSpec(); + if (object.cloudBigtableInstanceSpec != null) { + if (typeof object.cloudBigtableInstanceSpec !== "object") + throw TypeError(".google.cloud.datacatalog.v1.ServiceSpec.cloudBigtableInstanceSpec: object expected"); + message.cloudBigtableInstanceSpec = $root.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.fromObject(object.cloudBigtableInstanceSpec); + } return message; }; /** - * Creates a plain object from a LookerSystemSpec message. Also converts values to other types if specified. + * Creates a plain object from a ServiceSpec message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @memberof google.cloud.datacatalog.v1.ServiceSpec * @static - * @param {google.cloud.datacatalog.v1.LookerSystemSpec} message LookerSystemSpec + * @param {google.cloud.datacatalog.v1.ServiceSpec} message ServiceSpec * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - LookerSystemSpec.toObject = function toObject(message, options) { + ServiceSpec.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; - if (options.defaults) { - object.parentInstanceId = ""; - object.parentInstanceDisplayName = ""; - object.parentModelId = ""; - object.parentModelDisplayName = ""; - object.parentViewId = ""; - object.parentViewDisplayName = ""; + if (message.cloudBigtableInstanceSpec != null && message.hasOwnProperty("cloudBigtableInstanceSpec")) { + object.cloudBigtableInstanceSpec = $root.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.toObject(message.cloudBigtableInstanceSpec, options); + if (options.oneofs) + object.systemSpec = "cloudBigtableInstanceSpec"; } - if (message.parentInstanceId != null && message.hasOwnProperty("parentInstanceId")) - object.parentInstanceId = message.parentInstanceId; - if (message.parentInstanceDisplayName != null && message.hasOwnProperty("parentInstanceDisplayName")) - object.parentInstanceDisplayName = message.parentInstanceDisplayName; - if (message.parentModelId != null && message.hasOwnProperty("parentModelId")) - object.parentModelId = message.parentModelId; - if (message.parentModelDisplayName != null && message.hasOwnProperty("parentModelDisplayName")) - object.parentModelDisplayName = message.parentModelDisplayName; - if (message.parentViewId != null && message.hasOwnProperty("parentViewId")) - object.parentViewId = message.parentViewId; - if (message.parentViewDisplayName != null && message.hasOwnProperty("parentViewDisplayName")) - object.parentViewDisplayName = message.parentViewDisplayName; return object; }; /** - * Converts this LookerSystemSpec to JSON. + * Converts this ServiceSpec to JSON. * @function toJSON - * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @memberof google.cloud.datacatalog.v1.ServiceSpec * @instance * @returns {Object.} JSON object */ - LookerSystemSpec.prototype.toJSON = function toJSON() { + ServiceSpec.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for LookerSystemSpec + * Gets the default type url for ServiceSpec * @function getTypeUrl - * @memberof google.cloud.datacatalog.v1.LookerSystemSpec + * @memberof google.cloud.datacatalog.v1.ServiceSpec * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - LookerSystemSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + ServiceSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.datacatalog.v1.LookerSystemSpec"; + return typeUrlPrefix + "/google.cloud.datacatalog.v1.ServiceSpec"; }; - return LookerSystemSpec; + return ServiceSpec; })(); v1.BusinessContext = (function() { @@ -16565,6 +17648,7 @@ * @interface IImportEntriesRequest * @property {string|null} [parent] ImportEntriesRequest parent * @property {string|null} [gcsBucketPath] ImportEntriesRequest gcsBucketPath + * @property {string|null} [jobId] ImportEntriesRequest jobId */ /** @@ -16598,6 +17682,14 @@ */ ImportEntriesRequest.prototype.gcsBucketPath = null; + /** + * ImportEntriesRequest jobId. + * @member {string} jobId + * @memberof google.cloud.datacatalog.v1.ImportEntriesRequest + * @instance + */ + ImportEntriesRequest.prototype.jobId = ""; + // OneOf field names bound to virtual getters and setters var $oneOfFields; @@ -16640,6 +17732,8 @@ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent); if (message.gcsBucketPath != null && Object.hasOwnProperty.call(message, "gcsBucketPath")) writer.uint32(/* id 2, wireType 2 =*/18).string(message.gcsBucketPath); + if (message.jobId != null && Object.hasOwnProperty.call(message, "jobId")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.jobId); return writer; }; @@ -16682,6 +17776,10 @@ message.gcsBucketPath = reader.string(); break; } + case 3: { + message.jobId = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -16726,6 +17824,9 @@ if (!$util.isString(message.gcsBucketPath)) return "gcsBucketPath: string expected"; } + if (message.jobId != null && message.hasOwnProperty("jobId")) + if (!$util.isString(message.jobId)) + return "jobId: string expected"; return null; }; @@ -16745,6 +17846,8 @@ message.parent = String(object.parent); if (object.gcsBucketPath != null) message.gcsBucketPath = String(object.gcsBucketPath); + if (object.jobId != null) + message.jobId = String(object.jobId); return message; }; @@ -16761,8 +17864,10 @@ if (!options) options = {}; var object = {}; - if (options.defaults) + if (options.defaults) { object.parent = ""; + object.jobId = ""; + } if (message.parent != null && message.hasOwnProperty("parent")) object.parent = message.parent; if (message.gcsBucketPath != null && message.hasOwnProperty("gcsBucketPath")) { @@ -16770,6 +17875,8 @@ if (options.oneofs) object.source = "gcsBucketPath"; } + if (message.jobId != null && message.hasOwnProperty("jobId")) + object.jobId = message.jobId; return object; }; @@ -18837,6 +19944,8 @@ case 2: case 3: case 4: + case 6: + case 7: case 8: case 9: break; @@ -18892,6 +20001,14 @@ case 4: message.system = 4; break; + case "CLOUD_SPANNER": + case 6: + message.system = 6; + break; + case "CLOUD_BIGTABLE": + case 7: + message.system = 7; + break; case "CLOUD_SQL": case 8: message.system = 8; @@ -22618,6 +23735,8 @@ case 2: case 3: case 4: + case 6: + case 7: case 8: case 9: break; @@ -22716,6 +23835,14 @@ case 4: message.integratedSystem = 4; break; + case "CLOUD_SPANNER": + case 6: + message.integratedSystem = 6; + break; + case "CLOUD_BIGTABLE": + case 7: + message.integratedSystem = 7; + break; case "CLOUD_SQL": case 8: message.integratedSystem = 8; diff --git a/packages/google-cloud-datacatalog/protos/protos.json b/packages/google-cloud-datacatalog/protos/protos.json index b52b51d0eb1..cf8eaebd03e 100644 --- a/packages/google-cloud-datacatalog/protos/protos.json +++ b/packages/google-cloud-datacatalog/protos/protos.json @@ -104,6 +104,8 @@ "CLOUD_PUBSUB": 2, "DATAPROC_METASTORE": 3, "DATAPLEX": 4, + "CLOUD_SPANNER": 6, + "CLOUD_BIGTABLE": 7, "CLOUD_SQL": 8, "LOOKER": 9 } @@ -974,6 +976,10 @@ "type": "SearchCatalogResult", "id": 1 }, + "totalSize": { + "type": "int32", + "id": 2 + }, "nextPageToken": { "type": "string", "id": 3 @@ -1184,6 +1190,14 @@ "fullyQualifiedName": { "type": "string", "id": 5 + }, + "project": { + "type": "string", + "id": 6 + }, + "location": { + "type": "string", + "id": 7 } } }, @@ -1208,7 +1222,8 @@ "systemSpec": { "oneof": [ "sqlDatabaseSystemSpec", - "lookerSystemSpec" + "lookerSystemSpec", + "cloudBigtableSystemSpec" ] }, "typeSpec": { @@ -1223,7 +1238,8 @@ "databaseTableSpec", "dataSourceConnectionSpec", "routineSpec", - "filesetSpec" + "filesetSpec", + "serviceSpec" ] } }, @@ -1271,6 +1287,10 @@ "type": "LookerSystemSpec", "id": 40 }, + "cloudBigtableSystemSpec": { + "type": "CloudBigtableSystemSpec", + "id": 41 + }, "gcsFilesetSpec": { "type": "GcsFilesetSpec", "id": 6 @@ -1305,6 +1325,10 @@ "type": "FilesetSpec", "id": 33 }, + "serviceSpec": { + "type": "ServiceSpec", + "id": 42 + }, "displayName": { "type": "string", "id": 3 @@ -1542,6 +1566,60 @@ } } }, + "CloudBigtableSystemSpec": { + "fields": { + "instanceDisplayName": { + "type": "string", + "id": 1 + } + } + }, + "CloudBigtableInstanceSpec": { + "fields": { + "cloudBigtableClusterSpecs": { + "rule": "repeated", + "type": "CloudBigtableClusterSpec", + "id": 1 + } + }, + "nested": { + "CloudBigtableClusterSpec": { + "fields": { + "displayName": { + "type": "string", + "id": 1 + }, + "location": { + "type": "string", + "id": 2 + }, + "type": { + "type": "string", + "id": 3 + }, + "linkedResource": { + "type": "string", + "id": 4 + } + } + } + } + }, + "ServiceSpec": { + "oneofs": { + "systemSpec": { + "oneof": [ + "cloudBigtableInstanceSpec" + ] + } + }, + "fields": { + "cloudBigtableInstanceSpec": { + "type": "CloudBigtableInstanceSpec", + "id": 1 + } + } + }, "BusinessContext": { "fields": { "entryOverview": { @@ -2027,6 +2105,13 @@ "gcsBucketPath": { "type": "string", "id": 2 + }, + "jobId": { + "type": "string", + "id": 3, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } } } }, @@ -2937,12 +3022,18 @@ "presentTags": { "rule": "repeated", "type": "Tag", - "id": 2 + "id": 2, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } }, "absentTags": { "rule": "repeated", "type": "Tag", - "id": 3 + "id": 3, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } } } }, diff --git a/packages/google-cloud-datacatalog/samples/README.md b/packages/google-cloud-datacatalog/samples/README.md index c55a995ec6c..3902400918c 100644 --- a/packages/google-cloud-datacatalog/samples/README.md +++ b/packages/google-cloud-datacatalog/samples/README.md @@ -105,7 +105,6 @@ * [Policy_tag_manager_serialization.export_taxonomies](#policy_tag_manager_serialization.export_taxonomies) * [Policy_tag_manager_serialization.import_taxonomies](#policy_tag_manager_serialization.import_taxonomies) * [Quickstart](#quickstart) - * [Quickstart.test](#quickstart.test) ## Before you begin @@ -1698,23 +1697,6 @@ __Usage:__ `node packages/google-cloud-datacatalog/samples/quickstart.js` ------ - - - - -### Quickstart.test - -View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/test/quickstart.test.js). - -[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/test/quickstart.test.js,samples/README.md) - -__Usage:__ - - -`node packages/google-cloud-datacatalog/samples/test/quickstart.test.js` - - diff --git a/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.import_entries.js b/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.import_entries.js index 2610373f9af..c1920b7ef5c 100644 --- a/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.import_entries.js +++ b/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.import_entries.js @@ -36,6 +36,11 @@ function main(parent) { * Path to a Cloud Storage bucket that contains a dump ready for ingestion. */ // const gcsBucketPath = 'abc123' + /** + * Optional. (Optional) Dataplex task job id, if specified will be used as + * part of ImportEntries LRO ID + */ + // const jobId = 'abc123' // Imports the Datacatalog library const {DataCatalogClient} = require('@google-cloud/datacatalog').v1; diff --git a/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.lookup_entry.js b/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.lookup_entry.js index d6f5f99936f..6027492f018 100644 --- a/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.lookup_entry.js +++ b/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.lookup_entry.js @@ -51,7 +51,9 @@ function main() { */ // const sqlResource = 'abc123' /** - * Fully qualified name (FQN) of the resource. + * Fully Qualified Name + * (FQN) (https://cloud.google.com//data-catalog/docs/fully-qualified-names) + * of the resource. * FQNs take two forms: * * For non-regionalized resources: * `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` @@ -61,6 +63,18 @@ function main() { * `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` */ // const fullyQualifiedName = 'abc123' + /** + * Project where the lookup should be performed. Required to lookup + * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system` + * using its `fully_qualified_name`. Ignored in other cases. + */ + // const project = 'my-project' + /** + * Location where the lookup should be performed. Required to lookup + * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system` + * using its `fully_qualified_name`. Ignored in other cases. + */ + // const location = 'abc123' // Imports the Datacatalog library const {DataCatalogClient} = require('@google-cloud/datacatalog').v1; diff --git a/packages/google-cloud-datacatalog/samples/generated/v1/snippet_metadata.google.cloud.datacatalog.v1.json b/packages/google-cloud-datacatalog/samples/generated/v1/snippet_metadata.google.cloud.datacatalog.v1.json index 5b9fb42ab98..8e3bfe02c31 100644 --- a/packages/google-cloud-datacatalog/samples/generated/v1/snippet_metadata.google.cloud.datacatalog.v1.json +++ b/packages/google-cloud-datacatalog/samples/generated/v1/snippet_metadata.google.cloud.datacatalog.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "nodejs-datacatalog", - "version": "3.3.0", + "version": "3.3.1", "language": "TYPESCRIPT", "apis": [ { @@ -478,7 +478,7 @@ "segments": [ { "start": 25, - "end": 81, + "end": 95, "type": "FULL" } ], @@ -498,6 +498,14 @@ { "name": "fully_qualified_name", "type": "TYPE_STRING" + }, + { + "name": "project", + "type": "TYPE_STRING" + }, + { + "name": "location", + "type": "TYPE_STRING" } ], "resultType": ".google.cloud.datacatalog.v1.Entry", @@ -1514,7 +1522,7 @@ "segments": [ { "start": 25, - "end": 58, + "end": 63, "type": "FULL" } ], @@ -1530,6 +1538,10 @@ { "name": "gcs_bucket_path", "type": "TYPE_STRING" + }, + { + "name": "job_id", + "type": "TYPE_STRING" } ], "resultType": ".google.longrunning.Operation", diff --git a/packages/google-cloud-datacatalog/samples/generated/v1beta1/snippet_metadata.google.cloud.datacatalog.v1beta1.json b/packages/google-cloud-datacatalog/samples/generated/v1beta1/snippet_metadata.google.cloud.datacatalog.v1beta1.json index 40dfb7e76f2..8e1e1050ab4 100644 --- a/packages/google-cloud-datacatalog/samples/generated/v1beta1/snippet_metadata.google.cloud.datacatalog.v1beta1.json +++ b/packages/google-cloud-datacatalog/samples/generated/v1beta1/snippet_metadata.google.cloud.datacatalog.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "nodejs-datacatalog", - "version": "3.3.0", + "version": "3.3.1", "language": "TYPESCRIPT", "apis": [ { diff --git a/packages/google-cloud-datacatalog/src/v1/data_catalog_client.ts b/packages/google-cloud-datacatalog/src/v1/data_catalog_client.ts index 41cfa8f0261..a1402834391 100644 --- a/packages/google-cloud-datacatalog/src/v1/data_catalog_client.ts +++ b/packages/google-cloud-datacatalog/src/v1/data_catalog_client.ts @@ -1323,7 +1323,9 @@ export class DataCatalogClient { * [Lexical structure in Standard SQL] * (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical). * @param {string} request.fullyQualifiedName - * Fully qualified name (FQN) of the resource. + * [Fully Qualified Name + * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names) + * of the resource. * * FQNs take two forms: * @@ -1338,6 +1340,14 @@ export class DataCatalogClient { * Example for a DPMS table: * * `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` + * @param {string} request.project + * Project where the lookup should be performed. Required to lookup + * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system` + * using its `fully_qualified_name`. Ignored in other cases. + * @param {string} request.location + * Location where the lookup should be performed. Required to lookup + * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system` + * using its `fully_qualified_name`. Ignored in other cases. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. @@ -3551,6 +3561,9 @@ export class DataCatalogClient { * Required. Target entry group for ingested entries. * @param {string} request.gcsBucketPath * Path to a Cloud Storage bucket that contains a dump ready for ingestion. + * @param {string} [request.jobId] + * Optional. (Optional) Dataplex task job id, if specified will be used as + * part of ImportEntries LRO ID * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. diff --git a/packages/google-cloud-datacatalog/src/v1/data_catalog_client_config.json b/packages/google-cloud-datacatalog/src/v1/data_catalog_client_config.json index 89de713f1a9..59273240c2a 100644 --- a/packages/google-cloud-datacatalog/src/v1/data_catalog_client_config.json +++ b/packages/google-cloud-datacatalog/src/v1/data_catalog_client_config.json @@ -7,7 +7,9 @@ "DEADLINE_EXCEEDED", "UNAVAILABLE" ], - "unavailable": [ + "resource_exhausted_internal_unavailable": [ + "RESOURCE_EXHAUSTED", + "INTERNAL", "UNAVAILABLE" ] }, @@ -25,172 +27,172 @@ "methods": { "SearchCatalog": { "timeout_millis": 60000, - "retry_codes_name": "unavailable", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "CreateEntryGroup": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "GetEntryGroup": { "timeout_millis": 60000, - "retry_codes_name": "unavailable", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "UpdateEntryGroup": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "DeleteEntryGroup": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "ListEntryGroups": { "timeout_millis": 60000, - "retry_codes_name": "unavailable", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "CreateEntry": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "UpdateEntry": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "DeleteEntry": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "GetEntry": { "timeout_millis": 60000, - "retry_codes_name": "unavailable", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "LookupEntry": { "timeout_millis": 60000, - "retry_codes_name": "unavailable", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "ListEntries": { "timeout_millis": 60000, - "retry_codes_name": "unavailable", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "ModifyEntryOverview": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "ModifyEntryContacts": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "CreateTagTemplate": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "GetTagTemplate": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "UpdateTagTemplate": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "DeleteTagTemplate": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "CreateTagTemplateField": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "UpdateTagTemplateField": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "RenameTagTemplateField": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "RenameTagTemplateFieldEnumValue": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "DeleteTagTemplateField": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "CreateTag": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "UpdateTag": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "DeleteTag": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "ListTags": { "timeout_millis": 60000, - "retry_codes_name": "unavailable", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "ReconcileTags": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "StarEntry": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "UnstarEntry": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "SetIamPolicy": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "GetIamPolicy": { "timeout_millis": 60000, - "retry_codes_name": "unavailable", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "TestIamPermissions": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" }, "ImportEntries": { "timeout_millis": 60000, - "retry_codes_name": "unavailable", + "retry_codes_name": "resource_exhausted_internal_unavailable", "retry_params_name": "default" } }