Interface AssetServiceGrpc.AsyncService (3.53.0)

public static interface AssetServiceGrpc.AsyncService

Asset service definition.

Methods

searchAllIamPolicies(SearchAllIamPoliciesRequest request, StreamObserver<SearchAllIamPoliciesResponse> responseObserver)

public default void searchAllIamPolicies(SearchAllIamPoliciesRequest request, StreamObserver<SearchAllIamPoliciesResponse> responseObserver)

Searches all the IAM policies within a given accessible Resource Manager scope (project/folder/organization). This RPC gives callers especially administrators the ability to search all the IAM policies within a scope, even if they don't have .getIamPolicy permission of all the IAM policies. Callers should have cloudasset.assets.searchAllIamPolicies permission on the requested scope, otherwise the request will be rejected.

Parameters
Name Description
request SearchAllIamPoliciesRequest
responseObserver io.grpc.stub.StreamObserver<SearchAllIamPoliciesResponse>

searchAllResources(SearchAllResourcesRequest request, StreamObserver<SearchAllResourcesResponse> responseObserver)

public default void searchAllResources(SearchAllResourcesRequest request, StreamObserver<SearchAllResourcesResponse> responseObserver)

Searches all the resources within a given accessible Resource Manager scope (project/folder/organization). This RPC gives callers especially administrators the ability to search all the resources within a scope, even if they don't have .get permission of all the resources. Callers should have cloudasset.assets.searchAllResources permission on the requested scope, otherwise the request will be rejected.

Parameters
Name Description
request SearchAllResourcesRequest
responseObserver io.grpc.stub.StreamObserver<SearchAllResourcesResponse>