- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.3
- 2.3.2
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)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
GrpcOsConfigZonalServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcOsConfigZonalServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext |
ClientContext |
callableFactory |
GrpcStubCallableFactory |
Returns | |
---|---|
Type | Description |
GrpcOsConfigZonalServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(OsConfigZonalServiceStubSettings settings)
public static final GrpcOsConfigZonalServiceStub create(OsConfigZonalServiceStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
OsConfigZonalServiceStubSettings |
Returns | |
---|---|
Type | Description |
GrpcOsConfigZonalServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
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.
Parameters | |
---|---|
Name | Description |
settings |
OsConfigZonalServiceStubSettings |
clientContext |
ClientContext |
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.
Parameters | |
---|---|
Name | Description |
settings |
OsConfigZonalServiceStubSettings |
clientContext |
ClientContext |
callableFactory |
GrpcStubCallableFactory |
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()
createOSPolicyAssignmentCallable()
public UnaryCallable<CreateOSPolicyAssignmentRequest,Operation> createOSPolicyAssignmentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateOSPolicyAssignmentRequest,Operation> |
createOSPolicyAssignmentOperationCallable()
public OperationCallable<CreateOSPolicyAssignmentRequest,OSPolicyAssignment,OSPolicyAssignmentOperationMetadata> createOSPolicyAssignmentOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateOSPolicyAssignmentRequest,OSPolicyAssignment,OSPolicyAssignmentOperationMetadata> |
deleteOSPolicyAssignmentCallable()
public UnaryCallable<DeleteOSPolicyAssignmentRequest,Operation> deleteOSPolicyAssignmentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteOSPolicyAssignmentRequest,Operation> |
deleteOSPolicyAssignmentOperationCallable()
public OperationCallable<DeleteOSPolicyAssignmentRequest,Empty,OSPolicyAssignmentOperationMetadata> deleteOSPolicyAssignmentOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteOSPolicyAssignmentRequest,Empty,OSPolicyAssignmentOperationMetadata> |
getInstanceOSPoliciesComplianceCallable()
public UnaryCallable<GetInstanceOSPoliciesComplianceRequest,InstanceOSPoliciesCompliance> getInstanceOSPoliciesComplianceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetInstanceOSPoliciesComplianceRequest,InstanceOSPoliciesCompliance> |
getInventoryCallable()
public UnaryCallable<GetInventoryRequest,Inventory> getInventoryCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetInventoryRequest,Inventory> |
getOSPolicyAssignmentCallable()
public UnaryCallable<GetOSPolicyAssignmentRequest,OSPolicyAssignment> getOSPolicyAssignmentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetOSPolicyAssignmentRequest,OSPolicyAssignment> |
getOSPolicyAssignmentReportCallable()
public UnaryCallable<GetOSPolicyAssignmentReportRequest,OSPolicyAssignmentReport> getOSPolicyAssignmentReportCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetOSPolicyAssignmentReportRequest,OSPolicyAssignmentReport> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
getVulnerabilityReportCallable()
public UnaryCallable<GetVulnerabilityReportRequest,VulnerabilityReport> getVulnerabilityReportCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetVulnerabilityReportRequest,VulnerabilityReport> |
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> |
listInstanceOSPoliciesCompliancesPagedCallable()
public UnaryCallable<ListInstanceOSPoliciesCompliancesRequest,OsConfigZonalServiceClient.ListInstanceOSPoliciesCompliancesPagedResponse> listInstanceOSPoliciesCompliancesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListInstanceOSPoliciesCompliancesRequest,ListInstanceOSPoliciesCompliancesPagedResponse> |
listInventoriesCallable()
public UnaryCallable<ListInventoriesRequest,ListInventoriesResponse> listInventoriesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListInventoriesRequest,ListInventoriesResponse> |
listInventoriesPagedCallable()
public UnaryCallable<ListInventoriesRequest,OsConfigZonalServiceClient.ListInventoriesPagedResponse> listInventoriesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListInventoriesRequest,ListInventoriesPagedResponse> |
listOSPolicyAssignmentReportsCallable()
public UnaryCallable<ListOSPolicyAssignmentReportsRequest,ListOSPolicyAssignmentReportsResponse> listOSPolicyAssignmentReportsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListOSPolicyAssignmentReportsRequest,ListOSPolicyAssignmentReportsResponse> |
listOSPolicyAssignmentReportsPagedCallable()
public UnaryCallable<ListOSPolicyAssignmentReportsRequest,OsConfigZonalServiceClient.ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListOSPolicyAssignmentReportsRequest,ListOSPolicyAssignmentReportsPagedResponse> |
listOSPolicyAssignmentRevisionsCallable()
public UnaryCallable<ListOSPolicyAssignmentRevisionsRequest,ListOSPolicyAssignmentRevisionsResponse> listOSPolicyAssignmentRevisionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListOSPolicyAssignmentRevisionsRequest,ListOSPolicyAssignmentRevisionsResponse> |
listOSPolicyAssignmentRevisionsPagedCallable()
public UnaryCallable<ListOSPolicyAssignmentRevisionsRequest,OsConfigZonalServiceClient.ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListOSPolicyAssignmentRevisionsRequest,ListOSPolicyAssignmentRevisionsPagedResponse> |
listOSPolicyAssignmentsCallable()
public UnaryCallable<ListOSPolicyAssignmentsRequest,ListOSPolicyAssignmentsResponse> listOSPolicyAssignmentsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListOSPolicyAssignmentsRequest,ListOSPolicyAssignmentsResponse> |
listOSPolicyAssignmentsPagedCallable()
public UnaryCallable<ListOSPolicyAssignmentsRequest,OsConfigZonalServiceClient.ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListOSPolicyAssignmentsRequest,ListOSPolicyAssignmentsPagedResponse> |
listVulnerabilityReportsCallable()
public UnaryCallable<ListVulnerabilityReportsRequest,ListVulnerabilityReportsResponse> listVulnerabilityReportsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListVulnerabilityReportsRequest,ListVulnerabilityReportsResponse> |
listVulnerabilityReportsPagedCallable()
public UnaryCallable<ListVulnerabilityReportsRequest,OsConfigZonalServiceClient.ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListVulnerabilityReportsRequest,ListVulnerabilityReportsPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateOSPolicyAssignmentCallable()
public UnaryCallable<UpdateOSPolicyAssignmentRequest,Operation> updateOSPolicyAssignmentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateOSPolicyAssignmentRequest,Operation> |
updateOSPolicyAssignmentOperationCallable()
public OperationCallable<UpdateOSPolicyAssignmentRequest,OSPolicyAssignment,OSPolicyAssignmentOperationMetadata> updateOSPolicyAssignmentOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateOSPolicyAssignmentRequest,OSPolicyAssignment,OSPolicyAssignmentOperationMetadata> |