Send feedback
  
   
 
  
    
      Class HttpJsonOsConfigZonalServiceStub (2.80.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   class  HttpJsonOsConfigZonalServiceStub   extends   OsConfigZonalServiceStub  
  REST stub implementation for the OsConfigZonalService service API.
 
This class is for advanced usage and reflects the underlying API directly.
Static Methods
   
  create(ClientContext clientContext) 
  
    
public   static   final   HttpJsonOsConfigZonalServiceStub   create ( ClientContext   clientContext )  
  
  
  
  create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) 
  
    
public   static   final   HttpJsonOsConfigZonalServiceStub   create ( ClientContext   clientContext ,   HttpJsonStubCallableFactory   callableFactory )  
  
  
  
  create(OsConfigZonalServiceStubSettings settings) 
  
    
public   static   final   HttpJsonOsConfigZonalServiceStub   create ( OsConfigZonalServiceStubSettings   settings )  
  
  
  
  getMethodDescriptors() 
  
    
public   static   List<ApiMethodDescriptor>   getMethodDescriptors ()  
  
  
  Constructors
   
  HttpJsonOsConfigZonalServiceStub(OsConfigZonalServiceStubSettings settings, ClientContext clientContext) 
  
    
protected   HttpJsonOsConfigZonalServiceStub ( OsConfigZonalServiceStubSettings   settings ,   ClientContext   clientContext )  
  Constructs an instance of HttpJsonOsConfigZonalServiceStub, 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.
HttpJsonOsConfigZonalServiceStub(OsConfigZonalServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) 
  
    
protected   HttpJsonOsConfigZonalServiceStub ( OsConfigZonalServiceStubSettings   settings ,   ClientContext   clientContext ,   HttpJsonStubCallableFactory   callableFactory )  
  Constructs an instance of HttpJsonOsConfigZonalServiceStub, 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
   
  awaitTermination(long duration, TimeUnit unit) 
  
    
public   boolean   awaitTermination ( long   duration ,   TimeUnit   unit )  
  
  
  
  close() 
  
    
public   final   void   close ()  
  Overrides 
  
  createOSPolicyAssignmentCallable() 
  
    
public   UnaryCallable<CreateOSPolicyAssignmentRequest , Operation >  createOSPolicyAssignmentCallable ()  
  
  Overrides 
  
  createOSPolicyAssignmentOperationCallable() 
  
    
public   OperationCallable<CreateOSPolicyAssignmentRequest , OSPolicyAssignment , OSPolicyAssignmentOperationMetadata >  createOSPolicyAssignmentOperationCallable ()  
  
  Overrides 
  
  deleteOSPolicyAssignmentCallable() 
  
    
public   UnaryCallable<DeleteOSPolicyAssignmentRequest , Operation >  deleteOSPolicyAssignmentCallable ()  
  
  Overrides 
  
  deleteOSPolicyAssignmentOperationCallable() 
  
    
public   OperationCallable<DeleteOSPolicyAssignmentRequest , Empty , OSPolicyAssignmentOperationMetadata >  deleteOSPolicyAssignmentOperationCallable ()  
  
  Overrides 
  
  getHttpJsonOperationsStub() 
  
    
public   HttpJsonOperationsStub   getHttpJsonOperationsStub ()  
  
  Overrides 
  
  getInventoryCallable() 
  
    
public   UnaryCallable<GetInventoryRequest , Inventory >  getInventoryCallable ()  
  
  Overrides 
  
  getOSPolicyAssignmentCallable() 
  
    
public   UnaryCallable<GetOSPolicyAssignmentRequest , OSPolicyAssignment >  getOSPolicyAssignmentCallable ()  
  
  Overrides 
  
  getOSPolicyAssignmentReportCallable() 
  
    
public   UnaryCallable<GetOSPolicyAssignmentReportRequest , OSPolicyAssignmentReport >  getOSPolicyAssignmentReportCallable ()  
  
  Overrides 
  
  getVulnerabilityReportCallable() 
  
    
public   UnaryCallable<GetVulnerabilityReportRequest , VulnerabilityReport >  getVulnerabilityReportCallable ()  
  
  Overrides 
  
  isShutdown() 
  
    
public   boolean   isShutdown ()  
  
  isTerminated() 
  
    
public   boolean   isTerminated ()  
  
  listInventoriesCallable() 
  
    
public   UnaryCallable<ListInventoriesRequest , ListInventoriesResponse >  listInventoriesCallable ()  
  
  Overrides 
  
  listInventoriesPagedCallable() 
  
    
public   UnaryCallable<ListInventoriesRequest , OsConfigZonalServiceClient . ListInventoriesPagedResponse >  listInventoriesPagedCallable ()  
  
  Overrides 
  
  listOSPolicyAssignmentReportsCallable() 
  
    
public   UnaryCallable<ListOSPolicyAssignmentReportsRequest , ListOSPolicyAssignmentReportsResponse >  listOSPolicyAssignmentReportsCallable ()  
  
  Overrides 
  
  listOSPolicyAssignmentReportsPagedCallable() 
  
    
public   UnaryCallable<ListOSPolicyAssignmentReportsRequest , OsConfigZonalServiceClient . ListOSPolicyAssignmentReportsPagedResponse >  listOSPolicyAssignmentReportsPagedCallable ()  
  
  Overrides 
  
  listOSPolicyAssignmentRevisionsCallable() 
  
    
public   UnaryCallable<ListOSPolicyAssignmentRevisionsRequest , ListOSPolicyAssignmentRevisionsResponse >  listOSPolicyAssignmentRevisionsCallable ()  
  
  Overrides 
  
  listOSPolicyAssignmentRevisionsPagedCallable() 
  
    
public   UnaryCallable<ListOSPolicyAssignmentRevisionsRequest , OsConfigZonalServiceClient . ListOSPolicyAssignmentRevisionsPagedResponse >  listOSPolicyAssignmentRevisionsPagedCallable ()  
  
  Overrides 
  
  listOSPolicyAssignmentsCallable() 
  
    
public   UnaryCallable<ListOSPolicyAssignmentsRequest , ListOSPolicyAssignmentsResponse >  listOSPolicyAssignmentsCallable ()  
  
  Overrides 
  
  listOSPolicyAssignmentsPagedCallable() 
  
    
public   UnaryCallable<ListOSPolicyAssignmentsRequest , OsConfigZonalServiceClient . ListOSPolicyAssignmentsPagedResponse >  listOSPolicyAssignmentsPagedCallable ()  
  
  Overrides 
  
  listVulnerabilityReportsCallable() 
  
    
public   UnaryCallable<ListVulnerabilityReportsRequest , ListVulnerabilityReportsResponse >  listVulnerabilityReportsCallable ()  
  
  Overrides 
  
  listVulnerabilityReportsPagedCallable() 
  
    
public   UnaryCallable<ListVulnerabilityReportsRequest , OsConfigZonalServiceClient . ListVulnerabilityReportsPagedResponse >  listVulnerabilityReportsPagedCallable ()  
  
  Overrides 
  
  shutdown() 
  
  shutdownNow() 
  
    
public   void   shutdownNow ()  
  updateOSPolicyAssignmentCallable() 
  
    
public   UnaryCallable<UpdateOSPolicyAssignmentRequest , Operation >  updateOSPolicyAssignmentCallable ()  
  
  Overrides 
  
  updateOSPolicyAssignmentOperationCallable() 
  
    
public   OperationCallable<UpdateOSPolicyAssignmentRequest , OSPolicyAssignment , OSPolicyAssignmentOperationMetadata >  updateOSPolicyAssignmentOperationCallable ()  
  
  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-29 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-29 UTC."],[],[]]