Send feedback
  
   
 
  
    
      Class GrpcAssetServiceStub (3.82.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   class  GrpcAssetServiceStub   extends   AssetServiceStub  
  gRPC stub implementation for the AssetService service API.
 
This class is for advanced usage and reflects the underlying API directly.
Static Methods
   
  create(ClientContext clientContext) 
  
    
public   static   final   GrpcAssetServiceStub   create ( ClientContext   clientContext )  
  
  
  
  create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) 
  
    
public   static   final   GrpcAssetServiceStub   create ( ClientContext   clientContext ,   GrpcStubCallableFactory   callableFactory )  
  
  
  
  create(AssetServiceStubSettings settings) 
  
    
public   static   final   GrpcAssetServiceStub   create ( AssetServiceStubSettings   settings )  
  
  
  
  Constructors
   
  GrpcAssetServiceStub(AssetServiceStubSettings settings, ClientContext clientContext) 
  
    
protected   GrpcAssetServiceStub ( AssetServiceStubSettings   settings ,   ClientContext   clientContext )  
  Constructs an instance of GrpcAssetServiceStub, using the given settings. This is protected so
 that it is easy to make a subclass, but otherwise, the static factory methods should be
 preferred.
GrpcAssetServiceStub(AssetServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) 
  
    
protected   GrpcAssetServiceStub ( AssetServiceStubSettings   settings ,   ClientContext   clientContext ,   GrpcStubCallableFactory   callableFactory )  
  Constructs an instance of GrpcAssetServiceStub, using the given settings. This is protected so
 that it is easy to make a subclass, but otherwise, the static factory methods should be
 preferred.
Methods
   
  analyzeIamPolicyCallable() 
  
    
public   UnaryCallable<AnalyzeIamPolicyRequest , AnalyzeIamPolicyResponse >  analyzeIamPolicyCallable ()  
  
  Overrides 
  
  analyzeIamPolicyLongrunningCallable() 
  
    
public   UnaryCallable<AnalyzeIamPolicyLongrunningRequest , Operation >  analyzeIamPolicyLongrunningCallable ()  
  
  Overrides 
  
  analyzeIamPolicyLongrunningOperationCallable() 
  
    
public   OperationCallable<AnalyzeIamPolicyLongrunningRequest , AnalyzeIamPolicyLongrunningResponse , AnalyzeIamPolicyLongrunningMetadata >  analyzeIamPolicyLongrunningOperationCallable ()  
  
  Overrides 
  
  analyzeMoveCallable() 
  
    
public   UnaryCallable<AnalyzeMoveRequest , AnalyzeMoveResponse >  analyzeMoveCallable ()  
  
  Overrides 
  
  analyzeOrgPoliciesCallable() 
  
    
public   UnaryCallable<AnalyzeOrgPoliciesRequest , AnalyzeOrgPoliciesResponse >  analyzeOrgPoliciesCallable ()  
  
  Overrides 
  
  analyzeOrgPoliciesPagedCallable() 
  
    
public   UnaryCallable<AnalyzeOrgPoliciesRequest , AssetServiceClient . AnalyzeOrgPoliciesPagedResponse >  analyzeOrgPoliciesPagedCallable ()  
  
  Overrides 
  
  analyzeOrgPolicyGovernedAssetsCallable() 
  
    
public   UnaryCallable<AnalyzeOrgPolicyGovernedAssetsRequest , AnalyzeOrgPolicyGovernedAssetsResponse >  analyzeOrgPolicyGovernedAssetsCallable ()  
  
  Overrides 
  
  analyzeOrgPolicyGovernedAssetsPagedCallable() 
  
    
public   UnaryCallable<AnalyzeOrgPolicyGovernedAssetsRequest , AssetServiceClient . AnalyzeOrgPolicyGovernedAssetsPagedResponse >  analyzeOrgPolicyGovernedAssetsPagedCallable ()  
  
  Overrides 
  
  analyzeOrgPolicyGovernedContainersCallable() 
  
    
public   UnaryCallable<AnalyzeOrgPolicyGovernedContainersRequest , AnalyzeOrgPolicyGovernedContainersResponse >  analyzeOrgPolicyGovernedContainersCallable ()  
  
  Overrides 
  
  analyzeOrgPolicyGovernedContainersPagedCallable() 
  
    
public   UnaryCallable<AnalyzeOrgPolicyGovernedContainersRequest , AssetServiceClient . AnalyzeOrgPolicyGovernedContainersPagedResponse >  analyzeOrgPolicyGovernedContainersPagedCallable ()  
  
  Overrides 
  
  awaitTermination(long duration, TimeUnit unit) 
  
    
public   boolean   awaitTermination ( long   duration ,   TimeUnit   unit )  
  
  
  
  batchGetAssetsHistoryCallable() 
  
    
public   UnaryCallable<BatchGetAssetsHistoryRequest , BatchGetAssetsHistoryResponse >  batchGetAssetsHistoryCallable ()  
  
  Overrides 
  
  batchGetEffectiveIamPoliciesCallable() 
  
    
public   UnaryCallable<BatchGetEffectiveIamPoliciesRequest , BatchGetEffectiveIamPoliciesResponse >  batchGetEffectiveIamPoliciesCallable ()  
  
  Overrides 
  
  close() 
  
    
public   final   void   close ()  
  Overrides 
  
  createFeedCallable() 
  
    
public   UnaryCallable<CreateFeedRequest , Feed >  createFeedCallable ()  
  
  Overrides 
  
  createSavedQueryCallable() 
  
    
public   UnaryCallable<CreateSavedQueryRequest , SavedQuery >  createSavedQueryCallable ()  
  
  Overrides 
  
  deleteFeedCallable() 
  
    
public   UnaryCallable<DeleteFeedRequest , Empty >  deleteFeedCallable ()  
  
  Overrides 
  
  deleteSavedQueryCallable() 
  
    
public   UnaryCallable<DeleteSavedQueryRequest , Empty >  deleteSavedQueryCallable ()  
  
  Overrides 
  
  exportAssetsCallable() 
  
    
public   UnaryCallable<ExportAssetsRequest , Operation >  exportAssetsCallable ()  
  
  Overrides 
  
  exportAssetsOperationCallable() 
  
    
public   OperationCallable<ExportAssetsRequest , ExportAssetsResponse , ExportAssetsRequest >  exportAssetsOperationCallable ()  
  
  Overrides 
  
  getFeedCallable() 
  
    
public   UnaryCallable<GetFeedRequest , Feed >  getFeedCallable ()  
  
  Overrides 
  
  getOperationsStub() 
  
    
public   GrpcOperationsStub   getOperationsStub ()  
  
  Overrides 
  
  getSavedQueryCallable() 
  
    
public   UnaryCallable<GetSavedQueryRequest , SavedQuery >  getSavedQueryCallable ()  
  
  Overrides 
  
  isShutdown() 
  
    
public   boolean   isShutdown ()  
  
  isTerminated() 
  
    
public   boolean   isTerminated ()  
  
  listAssetsCallable() 
  
    
public   UnaryCallable<ListAssetsRequest , ListAssetsResponse >  listAssetsCallable ()  
  
  Overrides 
  
  listAssetsPagedCallable() 
  
    
public   UnaryCallable<ListAssetsRequest , AssetServiceClient . ListAssetsPagedResponse >  listAssetsPagedCallable ()  
  
  Overrides 
  
  listFeedsCallable() 
  
    
public   UnaryCallable<ListFeedsRequest , ListFeedsResponse >  listFeedsCallable ()  
  
  Overrides 
  
  listSavedQueriesCallable() 
  
    
public   UnaryCallable<ListSavedQueriesRequest , ListSavedQueriesResponse >  listSavedQueriesCallable ()  
  
  Overrides 
  
  listSavedQueriesPagedCallable() 
  
    
public   UnaryCallable<ListSavedQueriesRequest , AssetServiceClient . ListSavedQueriesPagedResponse >  listSavedQueriesPagedCallable ()  
  
  Overrides 
  
  queryAssetsCallable() 
  
    
public   UnaryCallable<QueryAssetsRequest , QueryAssetsResponse >  queryAssetsCallable ()  
  
  Overrides 
  
  searchAllIamPoliciesCallable() 
  
    
public   UnaryCallable<SearchAllIamPoliciesRequest , SearchAllIamPoliciesResponse >  searchAllIamPoliciesCallable ()  
  
  Overrides 
  
  searchAllIamPoliciesPagedCallable() 
  
    
public   UnaryCallable<SearchAllIamPoliciesRequest , AssetServiceClient . SearchAllIamPoliciesPagedResponse >  searchAllIamPoliciesPagedCallable ()  
  
  Overrides 
  
  searchAllResourcesCallable() 
  
    
public   UnaryCallable<SearchAllResourcesRequest , SearchAllResourcesResponse >  searchAllResourcesCallable ()  
  
  Overrides 
  
  searchAllResourcesPagedCallable() 
  
    
public   UnaryCallable<SearchAllResourcesRequest , AssetServiceClient . SearchAllResourcesPagedResponse >  searchAllResourcesPagedCallable ()  
  
  Overrides 
  
  shutdown() 
  
  shutdownNow() 
  
    
public   void   shutdownNow ()  
  updateFeedCallable() 
  
    
public   UnaryCallable<UpdateFeedRequest , Feed >  updateFeedCallable ()  
  
  Overrides 
  
  updateSavedQueryCallable() 
  
    
public   UnaryCallable<UpdateSavedQueryRequest , SavedQuery >  updateSavedQueryCallable ()  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-28 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]