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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonOsConfigZonalServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(OsConfigZonalServiceStubSettings settings)
public static final HttpJsonOsConfigZonalServiceStub create(OsConfigZonalServiceStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
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.
Parameters
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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createOSPolicyAssignmentCallable()
public UnaryCallable<CreateOSPolicyAssignmentRequest,Operation> createOSPolicyAssignmentCallable()
Returns
Overrides
createOSPolicyAssignmentOperationCallable()
public OperationCallable<CreateOSPolicyAssignmentRequest,OSPolicyAssignment,OSPolicyAssignmentOperationMetadata> createOSPolicyAssignmentOperationCallable()
Returns
Overrides
deleteOSPolicyAssignmentCallable()
public UnaryCallable<DeleteOSPolicyAssignmentRequest,Operation> deleteOSPolicyAssignmentCallable()
Returns
Overrides
deleteOSPolicyAssignmentOperationCallable()
public OperationCallable<DeleteOSPolicyAssignmentRequest,Empty,OSPolicyAssignmentOperationMetadata> deleteOSPolicyAssignmentOperationCallable()
Returns
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Overrides
getInventoryCallable()
public UnaryCallable<GetInventoryRequest,Inventory> getInventoryCallable()
Returns
Overrides
getOSPolicyAssignmentCallable()
public UnaryCallable<GetOSPolicyAssignmentRequest,OSPolicyAssignment> getOSPolicyAssignmentCallable()
Returns
Overrides
getOSPolicyAssignmentReportCallable()
public UnaryCallable<GetOSPolicyAssignmentReportRequest,OSPolicyAssignmentReport> getOSPolicyAssignmentReportCallable()
Returns
Overrides
getVulnerabilityReportCallable()
public UnaryCallable<GetVulnerabilityReportRequest,VulnerabilityReport> getVulnerabilityReportCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listInventoriesCallable()
public UnaryCallable<ListInventoriesRequest,ListInventoriesResponse> listInventoriesCallable()
Returns
Overrides
listInventoriesPagedCallable()
public UnaryCallable<ListInventoriesRequest,OsConfigZonalServiceClient.ListInventoriesPagedResponse> listInventoriesPagedCallable()
Returns
Overrides
listOSPolicyAssignmentReportsCallable()
public UnaryCallable<ListOSPolicyAssignmentReportsRequest,ListOSPolicyAssignmentReportsResponse> listOSPolicyAssignmentReportsCallable()
Returns
Overrides
listOSPolicyAssignmentReportsPagedCallable()
public UnaryCallable<ListOSPolicyAssignmentReportsRequest,OsConfigZonalServiceClient.ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsPagedCallable()
Returns
Overrides
listOSPolicyAssignmentRevisionsCallable()
public UnaryCallable<ListOSPolicyAssignmentRevisionsRequest,ListOSPolicyAssignmentRevisionsResponse> listOSPolicyAssignmentRevisionsCallable()
Returns
Overrides
listOSPolicyAssignmentRevisionsPagedCallable()
public UnaryCallable<ListOSPolicyAssignmentRevisionsRequest,OsConfigZonalServiceClient.ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsPagedCallable()
Returns
Overrides
listOSPolicyAssignmentsCallable()
public UnaryCallable<ListOSPolicyAssignmentsRequest,ListOSPolicyAssignmentsResponse> listOSPolicyAssignmentsCallable()
Returns
Overrides
listOSPolicyAssignmentsPagedCallable()
public UnaryCallable<ListOSPolicyAssignmentsRequest,OsConfigZonalServiceClient.ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsPagedCallable()
Returns
Overrides
listVulnerabilityReportsCallable()
public UnaryCallable<ListVulnerabilityReportsRequest,ListVulnerabilityReportsResponse> listVulnerabilityReportsCallable()
Returns
Overrides
listVulnerabilityReportsPagedCallable()
public UnaryCallable<ListVulnerabilityReportsRequest,OsConfigZonalServiceClient.ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateOSPolicyAssignmentCallable()
public UnaryCallable<UpdateOSPolicyAssignmentRequest,Operation> updateOSPolicyAssignmentCallable()
Returns
Overrides
updateOSPolicyAssignmentOperationCallable()
public OperationCallable<UpdateOSPolicyAssignmentRequest,OSPolicyAssignment,OSPolicyAssignmentOperationMetadata> updateOSPolicyAssignmentOperationCallable()
Returns
Overrides