- 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 static interface OsConfigZonalServiceGrpc.AsyncService
Zonal OS Config API The OS Config service is the server-side component that allows users to manage package installations and patch jobs for Compute Engine VM instances.
Methods
createOSPolicyAssignment(CreateOSPolicyAssignmentRequest request, StreamObserver<Operation> responseObserver)
public default void createOSPolicyAssignment(CreateOSPolicyAssignmentRequest request, StreamObserver<Operation> responseObserver)
Create an OS policy assignment. This method also creates the first revision of the OS policy assignment. This method returns a long running operation (LRO) that contains the rollout details. The rollout can be cancelled by cancelling the LRO. For more information, see Method: projects.locations.osPolicyAssignments.operations.cancel.
Parameters | |
---|---|
Name | Description |
request | CreateOSPolicyAssignmentRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
deleteOSPolicyAssignment(DeleteOSPolicyAssignmentRequest request, StreamObserver<Operation> responseObserver)
public default void deleteOSPolicyAssignment(DeleteOSPolicyAssignmentRequest request, StreamObserver<Operation> responseObserver)
Delete the OS policy assignment. This method creates a new revision of the OS policy assignment. This method returns a long running operation (LRO) that contains the rollout details. The rollout can be cancelled by cancelling the LRO. If the LRO completes and is not cancelled, all revisions associated with the OS policy assignment are deleted. For more information, see Method: projects.locations.osPolicyAssignments.operations.cancel.
Parameters | |
---|---|
Name | Description |
request | DeleteOSPolicyAssignmentRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
getInstanceOSPoliciesCompliance(GetInstanceOSPoliciesComplianceRequest request, StreamObserver<InstanceOSPoliciesCompliance> responseObserver) (deprecated)
public default void getInstanceOSPoliciesCompliance(GetInstanceOSPoliciesComplianceRequest request, StreamObserver<InstanceOSPoliciesCompliance> responseObserver)
Get OS policies compliance data for the specified Compute Engine VM instance.
Parameters | |
---|---|
Name | Description |
request | GetInstanceOSPoliciesComplianceRequest |
responseObserver | io.grpc.stub.StreamObserver<InstanceOSPoliciesCompliance> |
getInventory(GetInventoryRequest request, StreamObserver<Inventory> responseObserver)
public default void getInventory(GetInventoryRequest request, StreamObserver<Inventory> responseObserver)
Get inventory data for the specified VM instance. If the VM has no
associated inventory, the message NOT_FOUND
is returned.
Parameters | |
---|---|
Name | Description |
request | GetInventoryRequest |
responseObserver | io.grpc.stub.StreamObserver<Inventory> |
getOSPolicyAssignment(GetOSPolicyAssignmentRequest request, StreamObserver<OSPolicyAssignment> responseObserver)
public default void getOSPolicyAssignment(GetOSPolicyAssignmentRequest request, StreamObserver<OSPolicyAssignment> responseObserver)
Retrieve an existing OS policy assignment.
This method always returns the latest revision. In order to retrieve a
previous revision of the assignment, also provide the revision ID in the
name
parameter.
Parameters | |
---|---|
Name | Description |
request | GetOSPolicyAssignmentRequest |
responseObserver | io.grpc.stub.StreamObserver<OSPolicyAssignment> |
getOSPolicyAssignmentReport(GetOSPolicyAssignmentReportRequest request, StreamObserver<OSPolicyAssignmentReport> responseObserver)
public default void getOSPolicyAssignmentReport(GetOSPolicyAssignmentReportRequest request, StreamObserver<OSPolicyAssignmentReport> responseObserver)
Get the OS policy asssignment report for the specified Compute Engine VM instance.
Parameters | |
---|---|
Name | Description |
request | GetOSPolicyAssignmentReportRequest |
responseObserver | io.grpc.stub.StreamObserver<OSPolicyAssignmentReport> |
getVulnerabilityReport(GetVulnerabilityReportRequest request, StreamObserver<VulnerabilityReport> responseObserver)
public default void getVulnerabilityReport(GetVulnerabilityReportRequest request, StreamObserver<VulnerabilityReport> responseObserver)
Gets the vulnerability report for the specified VM instance. Only VMs with inventory data have vulnerability reports associated with them.
Parameters | |
---|---|
Name | Description |
request | GetVulnerabilityReportRequest |
responseObserver | io.grpc.stub.StreamObserver<VulnerabilityReport> |
listInstanceOSPoliciesCompliances(ListInstanceOSPoliciesCompliancesRequest request, StreamObserver<ListInstanceOSPoliciesCompliancesResponse> responseObserver) (deprecated)
public default void listInstanceOSPoliciesCompliances(ListInstanceOSPoliciesCompliancesRequest request, StreamObserver<ListInstanceOSPoliciesCompliancesResponse> responseObserver)
List OS policies compliance data for all Compute Engine VM instances in the specified zone.
Parameters | |
---|---|
Name | Description |
request | ListInstanceOSPoliciesCompliancesRequest |
responseObserver | io.grpc.stub.StreamObserver<ListInstanceOSPoliciesCompliancesResponse> |
listInventories(ListInventoriesRequest request, StreamObserver<ListInventoriesResponse> responseObserver)
public default void listInventories(ListInventoriesRequest request, StreamObserver<ListInventoriesResponse> responseObserver)
List inventory data for all VM instances in the specified zone.
Parameters | |
---|---|
Name | Description |
request | ListInventoriesRequest |
responseObserver | io.grpc.stub.StreamObserver<ListInventoriesResponse> |
listOSPolicyAssignmentReports(ListOSPolicyAssignmentReportsRequest request, StreamObserver<ListOSPolicyAssignmentReportsResponse> responseObserver)
public default void listOSPolicyAssignmentReports(ListOSPolicyAssignmentReportsRequest request, StreamObserver<ListOSPolicyAssignmentReportsResponse> responseObserver)
List OS policy asssignment reports for all Compute Engine VM instances in the specified zone.
Parameters | |
---|---|
Name | Description |
request | ListOSPolicyAssignmentReportsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListOSPolicyAssignmentReportsResponse> |
listOSPolicyAssignmentRevisions(ListOSPolicyAssignmentRevisionsRequest request, StreamObserver<ListOSPolicyAssignmentRevisionsResponse> responseObserver)
public default void listOSPolicyAssignmentRevisions(ListOSPolicyAssignmentRevisionsRequest request, StreamObserver<ListOSPolicyAssignmentRevisionsResponse> responseObserver)
List the OS policy assignment revisions for a given OS policy assignment.
Parameters | |
---|---|
Name | Description |
request | ListOSPolicyAssignmentRevisionsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListOSPolicyAssignmentRevisionsResponse> |
listOSPolicyAssignments(ListOSPolicyAssignmentsRequest request, StreamObserver<ListOSPolicyAssignmentsResponse> responseObserver)
public default void listOSPolicyAssignments(ListOSPolicyAssignmentsRequest request, StreamObserver<ListOSPolicyAssignmentsResponse> responseObserver)
List the OS policy assignments under the parent resource. For each OS policy assignment, the latest revision is returned.
Parameters | |
---|---|
Name | Description |
request | ListOSPolicyAssignmentsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListOSPolicyAssignmentsResponse> |
listVulnerabilityReports(ListVulnerabilityReportsRequest request, StreamObserver<ListVulnerabilityReportsResponse> responseObserver)
public default void listVulnerabilityReports(ListVulnerabilityReportsRequest request, StreamObserver<ListVulnerabilityReportsResponse> responseObserver)
List vulnerability reports for all VM instances in the specified zone.
Parameters | |
---|---|
Name | Description |
request | ListVulnerabilityReportsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListVulnerabilityReportsResponse> |
updateOSPolicyAssignment(UpdateOSPolicyAssignmentRequest request, StreamObserver<Operation> responseObserver)
public default void updateOSPolicyAssignment(UpdateOSPolicyAssignmentRequest request, StreamObserver<Operation> responseObserver)
Update an existing OS policy assignment. This method creates a new revision of the OS policy assignment. This method returns a long running operation (LRO) that contains the rollout details. The rollout can be cancelled by cancelling the LRO. For more information, see Method: projects.locations.osPolicyAssignments.operations.cancel.
Parameters | |
---|---|
Name | Description |
request | UpdateOSPolicyAssignmentRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |