public static final class AssetServiceGrpc.AssetServiceStub extends io.grpc.stub.AbstractAsyncStub<AssetServiceGrpc.AssetServiceStub>
Asset service definition.
| Modifier and Type | Method and Description |
|---|---|
protected AssetServiceGrpc.AssetServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
searchAllIamPolicies(SearchAllIamPoliciesRequest request,
io.grpc.stub.StreamObserver<SearchAllIamPoliciesResponse> responseObserver)
Searches all the IAM policies within a given accessible Resource Manager
scope (project/folder/organization).
|
void |
searchAllResources(SearchAllResourcesRequest request,
io.grpc.stub.StreamObserver<SearchAllResourcesResponse> responseObserver)
Searches all the resources within a given accessible Resource Manager scope
(project/folder/organization).
|
protected AssetServiceGrpc.AssetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<AssetServiceGrpc.AssetServiceStub>public void searchAllResources(SearchAllResourcesRequest request, io.grpc.stub.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 `cloud.assets.SearchAllResources` permission on the requested scope, otherwise the request will be rejected.
public void searchAllIamPolicies(SearchAllIamPoliciesRequest request, io.grpc.stub.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 `cloud.assets.SearchAllIamPolicies` permission on the requested scope, otherwise the request will be rejected.
Copyright © 2024 Google LLC. All rights reserved.