Skip to content

Commit

Permalink
feat: add support for admin_search in SearchCatalog() API method
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 553406785

Source-Link: googleapis/googleapis@ce38ea0

Source-Link: googleapis/googleapis-gen@cbd7291
Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuRGF0YUNhdGFsb2cuVjEvLk93bEJvdC55YW1sIiwiaCI6ImNiZDcyOTFlMWU0Mzg5MTg1ZGQ1OGFjZTJkYmFhZDU1ZGVhMDRjNzcifQ==
  • Loading branch information
gcf-owl-bot[bot] authored and jskeet committed Aug 3, 2023
1 parent 8a754dd commit 725097f
Show file tree
Hide file tree
Showing 5 changed files with 469 additions and 420 deletions.
Expand Up @@ -43,6 +43,7 @@ public async Task SearchCatalogRequestObjectAsync()
Query = "",
OrderBy = "",
Scope = new SearchCatalogRequest.Types.Scope(),
AdminSearch = false,
};
// Make the request
PagedAsyncEnumerable<SearchCatalogResponse, SearchCatalogResult> response = dataCatalogClient.SearchCatalogAsync(request);
Expand Down
Expand Up @@ -41,6 +41,7 @@ public void SearchCatalogRequestObject()
Query = "",
OrderBy = "",
Scope = new SearchCatalogRequest.Types.Scope(),
AdminSearch = false,
};
// Make the request
PagedEnumerable<SearchCatalogResponse, SearchCatalogResult> response = dataCatalogClient.SearchCatalog(request);
Expand Down
Expand Up @@ -48,12 +48,12 @@
"segments": [
{
"start": 20,
"end": 80,
"end": 81,
"type": "FULL"
},
{
"start": 36,
"end": 78,
"end": 79,
"type": "SHORT"
}
]
Expand Down Expand Up @@ -97,12 +97,12 @@
"segments": [
{
"start": 20,
"end": 82,
"end": 83,
"type": "FULL"
},
{
"start": 38,
"end": 80,
"end": 81,
"type": "SHORT"
}
]
Expand Down
Expand Up @@ -41,6 +41,7 @@ public void SearchCatalogRequestObject()
Query = "",
OrderBy = "",
Scope = new SearchCatalogRequest.Types.Scope(),
AdminSearch = false,
};
// Make the request
PagedEnumerable<SearchCatalogResponse, SearchCatalogResult> response = dataCatalogClient.SearchCatalog(request);
Expand Down Expand Up @@ -91,6 +92,7 @@ public async Task SearchCatalogRequestObjectAsync()
Query = "",
OrderBy = "",
Scope = new SearchCatalogRequest.Types.Scope(),
AdminSearch = false,
};
// Make the request
PagedAsyncEnumerable<SearchCatalogResponse, SearchCatalogResult> response = dataCatalogClient.SearchCatalogAsync(request);
Expand Down

0 comments on commit 725097f

Please sign in to comment.