Class AssetServiceGrpc.AssetServiceFutureStub (3.45.0)

public static final class AssetServiceGrpc.AssetServiceFutureStub extends AbstractFutureStub<AssetServiceGrpc.AssetServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service AssetService.

Asset service definition.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > AssetServiceGrpc.AssetServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected AssetServiceGrpc.AssetServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
AssetServiceGrpc.AssetServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

searchAllIamPolicies(SearchAllIamPoliciesRequest request)

public ListenableFuture<SearchAllIamPoliciesResponse> searchAllIamPolicies(SearchAllIamPoliciesRequest request)

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.

Parameter
NameDescription
requestSearchAllIamPoliciesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<SearchAllIamPoliciesResponse>

searchAllResources(SearchAllResourcesRequest request)

public ListenableFuture<SearchAllResourcesResponse> searchAllResources(SearchAllResourcesRequest request)

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.

Parameter
NameDescription
requestSearchAllResourcesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<SearchAllResourcesResponse>