Skip to content

Commit 3f44639

Browse files
feat: [datacatalog] add support for admin_search in SearchCatalog() API method (#4476)
* docs: Minor formatting PiperOrigin-RevId: 552569489 Source-Link: googleapis/googleapis@992c4f4 Source-Link: googleapis/googleapis-gen@332d2f1 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRhdGFjYXRhbG9nLy5Pd2xCb3QueWFtbCIsImgiOiIzMzJkMmYxY2M1NTc3MTY2NGE2MTY5N2M3MmRmMTkwMzBkNzYxMmI5In0= * feat: add support for admin_search in SearchCatalog() API method PiperOrigin-RevId: 553406785 Source-Link: googleapis/googleapis@ce38ea0 Source-Link: googleapis/googleapis-gen@cbd7291 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRhdGFjYXRhbG9nLy5Pd2xCb3QueWFtbCIsImgiOiJjYmQ3MjkxZTFlNDM4OTE4NWRkNThhY2UyZGJhYWQ1NWRlYTA0Yzc3In0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Alexander Fenster <[email protected]>
1 parent 368606d commit 3f44639

14 files changed

+6838
-1127
lines changed

packages/google-cloud-datacatalog/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ also contains samples.
319319

320320
## Supported Node.js Versions
321321

322-
Our client libraries follow the [Node.js release schedule](https://nodejs.org/en/about/releases/).
322+
Our client libraries follow the [Node.js release schedule](https://github.com/nodejs/release#release-schedule).
323323
Libraries are compatible with all current _active_ and _maintenance_ versions of
324324
Node.js.
325325
If you are using an end-of-life version of Node.js, we recommend that you update

packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/datacatalog.proto

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,13 @@ message SearchCatalogRequest {
734734
//
735735
// If this parameter is omitted, it defaults to the descending `relevance`.
736736
string order_by = 5;
737+
738+
// Optional. If set, uses searchAll permission granted on organizations from
739+
// `include_org_ids` and projects from `include_project_ids` instead of the
740+
// fine grained per resource permissions when filtering the search results.
741+
// The only allowed `order_by` criteria for admin_search mode is `default`.
742+
// Using this flags guarantees a full recall of the search results.
743+
bool admin_search = 17 [(google.api.field_behavior) = OPTIONAL];
737744
}
738745

739746
// Response message for

packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/usage.proto

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ option ruby_package = "Google::Cloud::DataCatalog::V1beta1";
2828

2929
// Detailed counts on the entry's usage.
3030
// Caveats:
31-
// - Only BigQuery tables have usage stats
32-
// - The usage stats only include BigQuery query jobs
33-
// - The usage stats might be underestimated, e.g. wildcard table references
34-
// are not yet counted in usage computation
35-
// https://cloud.google.com/bigquery/docs/querying-wildcard-tables
31+
// - Only BigQuery tables have usage stats
32+
// - The usage stats only include BigQuery query jobs
33+
// - The usage stats might be underestimated, e.g. wildcard table references
34+
// are not yet counted in usage computation
35+
// https://cloud.google.com/bigquery/docs/querying-wildcard-tables
3636
message UsageStats {
3737
// The number of times that the underlying entry was successfully used.
3838
float total_completions = 1;

packages/google-cloud-datacatalog/protos/protos.d.ts

Lines changed: 1794 additions & 295 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-datacatalog/protos/protos.js

Lines changed: 4503 additions & 627 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)