Package com.google.cloud.asset.v1p1beta1
Class AssetServiceGrpc.AssetServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<AssetServiceGrpc.AssetServiceStub>
-
- com.google.cloud.asset.v1p1beta1.AssetServiceGrpc.AssetServiceStub
-
- Enclosing class:
- AssetServiceGrpc
public static final class AssetServiceGrpc.AssetServiceStub extends io.grpc.stub.AbstractAsyncStub<AssetServiceGrpc.AssetServiceStub>
A stub to allow clients to do asynchronous rpc calls to service AssetService.Asset service definition.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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).
-
-
-
Method Detail
-
build
protected AssetServiceGrpc.AssetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<AssetServiceGrpc.AssetServiceStub>
-
searchAllResources
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.
-
searchAllIamPolicies
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.
-
-