Send feedback
  
   
 
  
    
      Class HttpJsonDisksStub (1.88.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   class  HttpJsonDisksStub   extends   DisksStub  
  REST stub implementation for the Disks service API.
 
This class is for advanced usage and reflects the underlying API directly.
Static Methods
   
  create(ClientContext clientContext) 
  
    
public   static   final   HttpJsonDisksStub   create ( ClientContext   clientContext )  
  
  
  
  create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) 
  
    
public   static   final   HttpJsonDisksStub   create ( ClientContext   clientContext ,   HttpJsonStubCallableFactory   callableFactory )  
  
  
  
  create(DisksStubSettings settings) 
  
    
public   static   final   HttpJsonDisksStub   create ( DisksStubSettings   settings )  
  
  
  
  getMethodDescriptors() 
  
    
public   static   List<ApiMethodDescriptor>   getMethodDescriptors ()  
  
  
  Constructors
   
  HttpJsonDisksStub(DisksStubSettings settings, ClientContext clientContext) 
  
    
protected   HttpJsonDisksStub ( DisksStubSettings   settings ,   ClientContext   clientContext )  
  Constructs an instance of HttpJsonDisksStub, 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.
HttpJsonDisksStub(DisksStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) 
  
    
protected   HttpJsonDisksStub ( DisksStubSettings   settings ,   ClientContext   clientContext ,   HttpJsonStubCallableFactory   callableFactory )  
  Constructs an instance of HttpJsonDisksStub, 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
   
  addResourcePoliciesCallable() 
  
    
public   UnaryCallable<AddResourcePoliciesDiskRequest , Operation >  addResourcePoliciesCallable ()  
  
  Overrides 
  
  addResourcePoliciesOperationCallable() 
  
    
public   OperationCallable<AddResourcePoliciesDiskRequest , Operation , Operation >  addResourcePoliciesOperationCallable ()  
  
  Overrides 
  
  aggregatedListCallable() 
  
    
public   UnaryCallable<AggregatedListDisksRequest , DiskAggregatedList >  aggregatedListCallable ()  
  
  Overrides 
  
  aggregatedListPagedCallable() 
  
    
public   UnaryCallable<AggregatedListDisksRequest , DisksClient . AggregatedListPagedResponse >  aggregatedListPagedCallable ()  
  
  Overrides 
  
  awaitTermination(long duration, TimeUnit unit) 
  
    
public   boolean   awaitTermination ( long   duration ,   TimeUnit   unit )  
  
  
  
  bulkInsertCallable() 
  
    
public   UnaryCallable<BulkInsertDiskRequest , Operation >  bulkInsertCallable ()  
  
  Overrides 
  
  bulkInsertOperationCallable() 
  
    
public   OperationCallable<BulkInsertDiskRequest , Operation , Operation >  bulkInsertOperationCallable ()  
  
  Overrides 
  
  bulkSetLabelsCallable() 
  
    
public   UnaryCallable<BulkSetLabelsDiskRequest , Operation >  bulkSetLabelsCallable ()  
  
  Overrides 
  
  bulkSetLabelsOperationCallable() 
  
    
public   OperationCallable<BulkSetLabelsDiskRequest , Operation , Operation >  bulkSetLabelsOperationCallable ()  
  
  Overrides 
  
  close() 
  
    
public   final   void   close ()  
  Overrides 
  
  createSnapshotCallable() 
  
    
public   UnaryCallable<CreateSnapshotDiskRequest , Operation >  createSnapshotCallable ()  
  
  Overrides 
  
  createSnapshotOperationCallable() 
  
    
public   OperationCallable<CreateSnapshotDiskRequest , Operation , Operation >  createSnapshotOperationCallable ()  
  
  Overrides 
  
  deleteCallable() 
  
    
public   UnaryCallable<DeleteDiskRequest , Operation >  deleteCallable ()  
  
  Overrides 
  
  deleteOperationCallable() 
  
    
public   OperationCallable<DeleteDiskRequest , Operation , Operation >  deleteOperationCallable ()  
  
  Overrides 
  
  getCallable() 
  
    
public   UnaryCallable<GetDiskRequest , Disk >  getCallable ()  
  
  Overrides 
  
  getIamPolicyCallable() 
  
    
public   UnaryCallable<GetIamPolicyDiskRequest , Policy >  getIamPolicyCallable ()  
  
  Overrides 
  
  insertCallable() 
  
    
public   UnaryCallable<InsertDiskRequest , Operation >  insertCallable ()  
  
  Overrides 
  
  insertOperationCallable() 
  
    
public   OperationCallable<InsertDiskRequest , Operation , Operation >  insertOperationCallable ()  
  
  Overrides 
  
  isShutdown() 
  
    
public   boolean   isShutdown ()  
  
  isTerminated() 
  
    
public   boolean   isTerminated ()  
  
  listCallable() 
  
    
public   UnaryCallable<ListDisksRequest , DiskList >  listCallable ()  
  
  Overrides 
  
  listPagedCallable() 
  
    
public   UnaryCallable<ListDisksRequest , DisksClient . ListPagedResponse >  listPagedCallable ()  
  
  Overrides 
  
  removeResourcePoliciesCallable() 
  
    
public   UnaryCallable<RemoveResourcePoliciesDiskRequest , Operation >  removeResourcePoliciesCallable ()  
  
  Overrides 
  
  removeResourcePoliciesOperationCallable() 
  
    
public   OperationCallable<RemoveResourcePoliciesDiskRequest , Operation , Operation >  removeResourcePoliciesOperationCallable ()  
  
  Overrides 
  
  resizeCallable() 
  
    
public   UnaryCallable<ResizeDiskRequest , Operation >  resizeCallable ()  
  
  Overrides 
  
  resizeOperationCallable() 
  
    
public   OperationCallable<ResizeDiskRequest , Operation , Operation >  resizeOperationCallable ()  
  
  Overrides 
  
  setIamPolicyCallable() 
  
    
public   UnaryCallable<SetIamPolicyDiskRequest , Policy >  setIamPolicyCallable ()  
  
  Overrides 
  
  setLabelsCallable() 
  
    
public   UnaryCallable<SetLabelsDiskRequest , Operation >  setLabelsCallable ()  
  
  Overrides 
  
  setLabelsOperationCallable() 
  
    
public   OperationCallable<SetLabelsDiskRequest , Operation , Operation >  setLabelsOperationCallable ()  
  
  Overrides 
  
  shutdown() 
  
  shutdownNow() 
  
    
public   void   shutdownNow ()  
  startAsyncReplicationCallable() 
  
    
public   UnaryCallable<StartAsyncReplicationDiskRequest , Operation >  startAsyncReplicationCallable ()  
  
  Overrides 
  
  startAsyncReplicationOperationCallable() 
  
    
public   OperationCallable<StartAsyncReplicationDiskRequest , Operation , Operation >  startAsyncReplicationOperationCallable ()  
  
  Overrides 
  
  stopAsyncReplicationCallable() 
  
    
public   UnaryCallable<StopAsyncReplicationDiskRequest , Operation >  stopAsyncReplicationCallable ()  
  
  Overrides 
  
  stopAsyncReplicationOperationCallable() 
  
    
public   OperationCallable<StopAsyncReplicationDiskRequest , Operation , Operation >  stopAsyncReplicationOperationCallable ()  
  
  Overrides 
  
  stopGroupAsyncReplicationCallable() 
  
    
public   UnaryCallable<StopGroupAsyncReplicationDiskRequest , Operation >  stopGroupAsyncReplicationCallable ()  
  
  Overrides 
  
  stopGroupAsyncReplicationOperationCallable() 
  
    
public   OperationCallable<StopGroupAsyncReplicationDiskRequest , Operation , Operation >  stopGroupAsyncReplicationOperationCallable ()  
  
  Overrides 
  
  testIamPermissionsCallable() 
  
    
public   UnaryCallable<TestIamPermissionsDiskRequest , TestPermissionsResponse >  testIamPermissionsCallable ()  
  
  Overrides 
  
  updateCallable() 
  
    
public   UnaryCallable<UpdateDiskRequest , Operation >  updateCallable ()  
  
  Overrides 
  
  updateOperationCallable() 
  
    
public   OperationCallable<UpdateDiskRequest , Operation , Operation >  updateOperationCallable ()  
  
  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."],[],[]]