Class GrpcOsConfigZonalServiceStub (2.38.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.38.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    Beta 
    
    This library is covered by the Pre-GA Offerings Terms 
    of the  Terms of Service. Pre-GA libraries might have limited support,
    and changes to pre-GA libraries might not be compatible with other pre-GA versions.
    For more information, see the
    launch stage descriptions .
    
   
  
    
public   class  GrpcOsConfigZonalServiceStub   extends   OsConfigZonalServiceStub  
  gRPC 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   GrpcOsConfigZonalServiceStub   create ( ClientContext   clientContext )  
  
  
  
  create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) 
  
    
public   static   final   GrpcOsConfigZonalServiceStub   create ( ClientContext   clientContext ,   GrpcStubCallableFactory   callableFactory )  
  
  
  
  create(OsConfigZonalServiceStubSettings settings) 
  
    
public   static   final   GrpcOsConfigZonalServiceStub   create ( OsConfigZonalServiceStubSettings   settings )  
  
  
  
  Constructors
   
  GrpcOsConfigZonalServiceStub(OsConfigZonalServiceStubSettings settings, ClientContext clientContext) 
  
    
protected   GrpcOsConfigZonalServiceStub ( OsConfigZonalServiceStubSettings   settings ,   ClientContext   clientContext )  
  Constructs an instance of GrpcOsConfigZonalServiceStub, 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.
GrpcOsConfigZonalServiceStub(OsConfigZonalServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) 
  
    
protected   GrpcOsConfigZonalServiceStub ( OsConfigZonalServiceStubSettings   settings ,   ClientContext   clientContext ,   GrpcStubCallableFactory   callableFactory )  
  Constructs an instance of GrpcOsConfigZonalServiceStub, 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 
  
  getInstanceOSPoliciesComplianceCallable() 
  
    
public   UnaryCallable<GetInstanceOSPoliciesComplianceRequest , InstanceOSPoliciesCompliance >  getInstanceOSPoliciesComplianceCallable ()  
  
  Overrides 
  
  getInventoryCallable() 
  
    
public   UnaryCallable<GetInventoryRequest , Inventory >  getInventoryCallable ()  
  
  Overrides 
  
  getOSPolicyAssignmentCallable() 
  
    
public   UnaryCallable<GetOSPolicyAssignmentRequest , OSPolicyAssignment >  getOSPolicyAssignmentCallable ()  
  
  Overrides 
  
  getOSPolicyAssignmentReportCallable() 
  
    
public   UnaryCallable<GetOSPolicyAssignmentReportRequest , OSPolicyAssignmentReport >  getOSPolicyAssignmentReportCallable ()  
  
  Overrides 
  
  getOperationsStub() 
  
    
public   GrpcOperationsStub   getOperationsStub ()  
  
  Overrides 
  
  getVulnerabilityReportCallable() 
  
    
public   UnaryCallable<GetVulnerabilityReportRequest , VulnerabilityReport >  getVulnerabilityReportCallable ()  
  
  Overrides 
  
  isShutdown() 
  
    
public   boolean   isShutdown ()  
  
  isTerminated() 
  
    
public   boolean   isTerminated ()  
  
  listInstanceOSPoliciesCompliancesCallable() 
  
    
public   UnaryCallable<ListInstanceOSPoliciesCompliancesRequest , ListInstanceOSPoliciesCompliancesResponse >  listInstanceOSPoliciesCompliancesCallable ()  
  
  Overrides 
  
  listInstanceOSPoliciesCompliancesPagedCallable() 
  
    
public   UnaryCallable<ListInstanceOSPoliciesCompliancesRequest , OsConfigZonalServiceClient . ListInstanceOSPoliciesCompliancesPagedResponse >  listInstanceOSPoliciesCompliancesPagedCallable ()  
  
  Overrides 
  
  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 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]