Package com.google.cloud.asset.v1p1beta1
Class AssetServiceGrpc.AssetServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<AssetServiceGrpc.AssetServiceBlockingV2Stub>
com.google.cloud.asset.v1p1beta1.AssetServiceGrpc.AssetServiceBlockingV2Stub
- Enclosing class:
- AssetServiceGrpc
public static final class AssetServiceGrpc.AssetServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<AssetServiceGrpc.AssetServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service AssetService.
Asset service definition.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Searches all the IAM policies within a given accessible Resource Manager scope (project/folder/organization).Searches all the resources within a given accessible Resource Manager scope (project/folder/organization).Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected AssetServiceGrpc.AssetServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<AssetServiceGrpc.AssetServiceBlockingV2Stub>
-
searchAllResources
public SearchAllResourcesResponse searchAllResources(SearchAllResourcesRequest request) throws io.grpc.StatusException 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.
- Throws:
io.grpc.StatusException
-
searchAllIamPolicies
public SearchAllIamPoliciesResponse searchAllIamPolicies(SearchAllIamPoliciesRequest request) throws io.grpc.StatusException 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.
- Throws:
io.grpc.StatusException
-