Class HttpJsonOsConfigZonalServiceStub (2.48.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
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonOsConfigZonalServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonOsConfigZonalServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonOsConfigZonalServiceStub
Exceptions
Type Description
IOException

create(OsConfigZonalServiceStubSettings settings)

public static final HttpJsonOsConfigZonalServiceStub create(OsConfigZonalServiceStubSettings settings)
Parameter
Name Description
settings OsConfigZonalServiceStubSettings
Returns
Type Description
HttpJsonOsConfigZonalServiceStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
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
Name Description
settings OsConfigZonalServiceStubSettings
clientContext ClientContext

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
Name Description
settings OsConfigZonalServiceStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createOSPolicyAssignmentCallable()

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

createOSPolicyAssignmentOperationCallable()

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

deleteOSPolicyAssignmentCallable()

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

deleteOSPolicyAssignmentOperationCallable()

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getInstanceOSPoliciesComplianceCallable()

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

getInventoryCallable()

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

getOSPolicyAssignmentCallable()

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

getOSPolicyAssignmentReportCallable()

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

getVulnerabilityReportCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listInstanceOSPoliciesCompliancesCallable()

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

listInstanceOSPoliciesCompliancesPagedCallable()

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

listInventoriesCallable()

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

listInventoriesPagedCallable()

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

listOSPolicyAssignmentReportsCallable()

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

listOSPolicyAssignmentReportsPagedCallable()

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

listOSPolicyAssignmentRevisionsCallable()

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

listOSPolicyAssignmentRevisionsPagedCallable()

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

listOSPolicyAssignmentsCallable()

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

listOSPolicyAssignmentsPagedCallable()

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

listVulnerabilityReportsCallable()

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

listVulnerabilityReportsPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateOSPolicyAssignmentCallable()

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

updateOSPolicyAssignmentOperationCallable()

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