Class HttpJsonOsConfigZonalServiceStub (2.29.0)

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.

Inheritance

java.lang.Object > OsConfigZonalServiceStub > HttpJsonOsConfigZonalServiceStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonOsConfigZonalServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonOsConfigZonalServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonOsConfigZonalServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonOsConfigZonalServiceStub
Exceptions
TypeDescription
IOException

create(OsConfigZonalServiceStubSettings settings)

public static final HttpJsonOsConfigZonalServiceStub create(OsConfigZonalServiceStubSettings settings)
Parameter
NameDescription
settingsOsConfigZonalServiceStubSettings
Returns
TypeDescription
HttpJsonOsConfigZonalServiceStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

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
NameDescription
settingsOsConfigZonalServiceStubSettings
clientContextClientContext

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
NameDescription
settingsOsConfigZonalServiceStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createOSPolicyAssignmentCallable()

public UnaryCallable<CreateOSPolicyAssignmentRequest,Operation> createOSPolicyAssignmentCallable()
Returns
TypeDescription
UnaryCallable<CreateOSPolicyAssignmentRequest,Operation>
Overrides

createOSPolicyAssignmentOperationCallable()

public OperationCallable<CreateOSPolicyAssignmentRequest,OSPolicyAssignment,OSPolicyAssignmentOperationMetadata> createOSPolicyAssignmentOperationCallable()
Returns
TypeDescription
OperationCallable<CreateOSPolicyAssignmentRequest,OSPolicyAssignment,OSPolicyAssignmentOperationMetadata>
Overrides

deleteOSPolicyAssignmentCallable()

public UnaryCallable<DeleteOSPolicyAssignmentRequest,Operation> deleteOSPolicyAssignmentCallable()
Returns
TypeDescription
UnaryCallable<DeleteOSPolicyAssignmentRequest,Operation>
Overrides

deleteOSPolicyAssignmentOperationCallable()

public OperationCallable<DeleteOSPolicyAssignmentRequest,Empty,OSPolicyAssignmentOperationMetadata> deleteOSPolicyAssignmentOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteOSPolicyAssignmentRequest,Empty,OSPolicyAssignmentOperationMetadata>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

getInstanceOSPoliciesComplianceCallable()

public UnaryCallable<GetInstanceOSPoliciesComplianceRequest,InstanceOSPoliciesCompliance> getInstanceOSPoliciesComplianceCallable()
Returns
TypeDescription
UnaryCallable<GetInstanceOSPoliciesComplianceRequest,InstanceOSPoliciesCompliance>
Overrides

getInventoryCallable()

public UnaryCallable<GetInventoryRequest,Inventory> getInventoryCallable()
Returns
TypeDescription
UnaryCallable<GetInventoryRequest,Inventory>
Overrides

getOSPolicyAssignmentCallable()

public UnaryCallable<GetOSPolicyAssignmentRequest,OSPolicyAssignment> getOSPolicyAssignmentCallable()
Returns
TypeDescription
UnaryCallable<GetOSPolicyAssignmentRequest,OSPolicyAssignment>
Overrides

getOSPolicyAssignmentReportCallable()

public UnaryCallable<GetOSPolicyAssignmentReportRequest,OSPolicyAssignmentReport> getOSPolicyAssignmentReportCallable()
Returns
TypeDescription
UnaryCallable<GetOSPolicyAssignmentReportRequest,OSPolicyAssignmentReport>
Overrides

getVulnerabilityReportCallable()

public UnaryCallable<GetVulnerabilityReportRequest,VulnerabilityReport> getVulnerabilityReportCallable()
Returns
TypeDescription
UnaryCallable<GetVulnerabilityReportRequest,VulnerabilityReport>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listInstanceOSPoliciesCompliancesCallable()

public UnaryCallable<ListInstanceOSPoliciesCompliancesRequest,ListInstanceOSPoliciesCompliancesResponse> listInstanceOSPoliciesCompliancesCallable()
Returns
TypeDescription
UnaryCallable<ListInstanceOSPoliciesCompliancesRequest,ListInstanceOSPoliciesCompliancesResponse>
Overrides

listInstanceOSPoliciesCompliancesPagedCallable()

public UnaryCallable<ListInstanceOSPoliciesCompliancesRequest,OsConfigZonalServiceClient.ListInstanceOSPoliciesCompliancesPagedResponse> listInstanceOSPoliciesCompliancesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListInstanceOSPoliciesCompliancesRequest,ListInstanceOSPoliciesCompliancesPagedResponse>
Overrides

listInventoriesCallable()

public UnaryCallable<ListInventoriesRequest,ListInventoriesResponse> listInventoriesCallable()
Returns
TypeDescription
UnaryCallable<ListInventoriesRequest,ListInventoriesResponse>
Overrides

listInventoriesPagedCallable()

public UnaryCallable<ListInventoriesRequest,OsConfigZonalServiceClient.ListInventoriesPagedResponse> listInventoriesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListInventoriesRequest,ListInventoriesPagedResponse>
Overrides

listOSPolicyAssignmentReportsCallable()

public UnaryCallable<ListOSPolicyAssignmentReportsRequest,ListOSPolicyAssignmentReportsResponse> listOSPolicyAssignmentReportsCallable()
Returns
TypeDescription
UnaryCallable<ListOSPolicyAssignmentReportsRequest,ListOSPolicyAssignmentReportsResponse>
Overrides

listOSPolicyAssignmentReportsPagedCallable()

public UnaryCallable<ListOSPolicyAssignmentReportsRequest,OsConfigZonalServiceClient.ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListOSPolicyAssignmentReportsRequest,ListOSPolicyAssignmentReportsPagedResponse>
Overrides

listOSPolicyAssignmentRevisionsCallable()

public UnaryCallable<ListOSPolicyAssignmentRevisionsRequest,ListOSPolicyAssignmentRevisionsResponse> listOSPolicyAssignmentRevisionsCallable()
Returns
TypeDescription
UnaryCallable<ListOSPolicyAssignmentRevisionsRequest,ListOSPolicyAssignmentRevisionsResponse>
Overrides

listOSPolicyAssignmentRevisionsPagedCallable()

public UnaryCallable<ListOSPolicyAssignmentRevisionsRequest,OsConfigZonalServiceClient.ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListOSPolicyAssignmentRevisionsRequest,ListOSPolicyAssignmentRevisionsPagedResponse>
Overrides

listOSPolicyAssignmentsCallable()

public UnaryCallable<ListOSPolicyAssignmentsRequest,ListOSPolicyAssignmentsResponse> listOSPolicyAssignmentsCallable()
Returns
TypeDescription
UnaryCallable<ListOSPolicyAssignmentsRequest,ListOSPolicyAssignmentsResponse>
Overrides

listOSPolicyAssignmentsPagedCallable()

public UnaryCallable<ListOSPolicyAssignmentsRequest,OsConfigZonalServiceClient.ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListOSPolicyAssignmentsRequest,ListOSPolicyAssignmentsPagedResponse>
Overrides

listVulnerabilityReportsCallable()

public UnaryCallable<ListVulnerabilityReportsRequest,ListVulnerabilityReportsResponse> listVulnerabilityReportsCallable()
Returns
TypeDescription
UnaryCallable<ListVulnerabilityReportsRequest,ListVulnerabilityReportsResponse>
Overrides

listVulnerabilityReportsPagedCallable()

public UnaryCallable<ListVulnerabilityReportsRequest,OsConfigZonalServiceClient.ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListVulnerabilityReportsRequest,ListVulnerabilityReportsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateOSPolicyAssignmentCallable()

public UnaryCallable<UpdateOSPolicyAssignmentRequest,Operation> updateOSPolicyAssignmentCallable()
Returns
TypeDescription
UnaryCallable<UpdateOSPolicyAssignmentRequest,Operation>
Overrides

updateOSPolicyAssignmentOperationCallable()

public OperationCallable<UpdateOSPolicyAssignmentRequest,OSPolicyAssignment,OSPolicyAssignmentOperationMetadata> updateOSPolicyAssignmentOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateOSPolicyAssignmentRequest,OSPolicyAssignment,OSPolicyAssignmentOperationMetadata>
Overrides