Skip to content

Commit

Permalink
feat: add new searchable fields (memberTypes, roles, project, folders…
Browse files Browse the repository at this point in the history
… and organization), new request fields (assetTypes and orderBy) and new response fields (assetType, folders and organization) in SearchAllIamPolicies

PiperOrigin-RevId: 381145907

Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed Jun 23 17:04:03 2021 -0700
Source-Repo: googleapis/googleapis
Source-Sha: 5d301f95d17d50f78e0b2a6889301c180b947357
Source-Link: googleapis/googleapis@5d301f9
  • Loading branch information
yoshi-automation authored and jskeet committed Jun 24, 2021
1 parent ef63705 commit bf524b6
Show file tree
Hide file tree
Showing 5 changed files with 419 additions and 174 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,13 @@ public void SearchAllIamPoliciesRequestObject()
// Create client
AssetServiceClient assetServiceClient = AssetServiceClient.Create();
// Initialize request argument(s)
SearchAllIamPoliciesRequest request = new SearchAllIamPoliciesRequest { Scope = "", Query = "", };
SearchAllIamPoliciesRequest request = new SearchAllIamPoliciesRequest
{
Scope = "",
Query = "",
AssetTypes = { "", },
OrderBy = "",
};
// Make the request
PagedEnumerable<SearchAllIamPoliciesResponse, IamPolicySearchResult> response = assetServiceClient.SearchAllIamPolicies(request);

Expand Down Expand Up @@ -1023,7 +1029,13 @@ public async Task SearchAllIamPoliciesRequestObjectAsync()
// Create client
AssetServiceClient assetServiceClient = await AssetServiceClient.CreateAsync();
// Initialize request argument(s)
SearchAllIamPoliciesRequest request = new SearchAllIamPoliciesRequest { Scope = "", Query = "", };
SearchAllIamPoliciesRequest request = new SearchAllIamPoliciesRequest
{
Scope = "",
Query = "",
AssetTypes = { "", },
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<SearchAllIamPoliciesResponse, IamPolicySearchResult> response = assetServiceClient.SearchAllIamPoliciesAsync(request);

Expand Down
Loading

0 comments on commit bf524b6

Please sign in to comment.