Skip to content

Commit

Permalink
feat: [datacatalog] add support for admin_search in SearchCatalog() A…
Browse files Browse the repository at this point in the history
…PI 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 <fenster@google.com>
  • Loading branch information
3 people committed Aug 4, 2023
1 parent 368606d commit 3f44639
Show file tree
Hide file tree
Showing 14 changed files with 6,838 additions and 1,127 deletions.
2 changes: 1 addition & 1 deletion packages/google-cloud-datacatalog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ also contains samples.

## Supported Node.js Versions

Our client libraries follow the [Node.js release schedule](https://nodejs.org/en/about/releases/).
Our client libraries follow the [Node.js release schedule](https://github.com/nodejs/release#release-schedule).
Libraries are compatible with all current _active_ and _maintenance_ versions of
Node.js.
If you are using an end-of-life version of Node.js, we recommend that you update
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,13 @@ message SearchCatalogRequest {
//
// If this parameter is omitted, it defaults to the descending `relevance`.
string order_by = 5;

// Optional. If set, uses searchAll permission granted on organizations from
// `include_org_ids` and projects from `include_project_ids` instead of the
// fine grained per resource permissions when filtering the search results.
// The only allowed `order_by` criteria for admin_search mode is `default`.
// Using this flags guarantees a full recall of the search results.
bool admin_search = 17 [(google.api.field_behavior) = OPTIONAL];
}

// Response message for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ option ruby_package = "Google::Cloud::DataCatalog::V1beta1";

// Detailed counts on the entry's usage.
// Caveats:
// - Only BigQuery tables have usage stats
// - The usage stats only include BigQuery query jobs
// - The usage stats might be underestimated, e.g. wildcard table references
// are not yet counted in usage computation
// https://cloud.google.com/bigquery/docs/querying-wildcard-tables
// - Only BigQuery tables have usage stats
// - The usage stats only include BigQuery query jobs
// - The usage stats might be underestimated, e.g. wildcard table references
// are not yet counted in usage computation
// https://cloud.google.com/bigquery/docs/querying-wildcard-tables
message UsageStats {
// The number of times that the underlying entry was successfully used.
float total_completions = 1;
Expand Down
2,089 changes: 1,794 additions & 295 deletions packages/google-cloud-datacatalog/protos/protos.d.ts

Large diffs are not rendered by default.

5,130 changes: 4,503 additions & 627 deletions packages/google-cloud-datacatalog/protos/protos.js

Large diffs are not rendered by default.

Loading

0 comments on commit 3f44639

Please sign in to comment.