public static final class AssetServiceGrpc.AssetServiceStub extends AbstractAsyncStub<AssetServiceGrpc.AssetServiceStub>
Asset service definition.
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected AssetServiceGrpc.AssetServiceStub |
build(Channel channel,
CallOptions callOptions) |
void |
searchAllIamPolicies(SearchAllIamPoliciesRequest request,
StreamObserver<SearchAllIamPoliciesResponse> responseObserver)
Searches all the IAM policies under a given accessible CRM scope
(project/folder/organization).
|
void |
searchAllResources(SearchAllResourcesRequest request,
StreamObserver<SearchAllResourcesResponse> responseObserver)
Searches all the resources under a given accessible CRM scope
(project/folder/organization).
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected AssetServiceGrpc.AssetServiceStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<AssetServiceGrpc.AssetServiceStub>
public void searchAllResources(SearchAllResourcesRequest request, StreamObserver<SearchAllResourcesResponse> responseObserver)
Searches all the resources under a given accessible CRM scope (project/folder/organization). This RPC gives callers especially admins the ability to search all the resources under a scope, even if they don't have .get permission of all the resources. Callers should have cloud.assets.SearchAllResources permission on the requested scope, otherwise it will be rejected.
public void searchAllIamPolicies(SearchAllIamPoliciesRequest request, StreamObserver<SearchAllIamPoliciesResponse> responseObserver)
Searches all the IAM policies under a given accessible CRM scope (project/folder/organization). This RPC gives callers especially admins the ability to search all the IAM policies under a scope, even if they don't have .getIamPolicy permission of all the IAM policies. Callers should have cloud.assets.SearchAllIamPolicies permission on the requested scope, otherwise it will be rejected.
Copyright © 2022 Google LLC. All rights reserved.