Package com.google.cloud.osconfig.v1
Class OsConfigZonalServiceGrpc.OsConfigZonalServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<OsConfigZonalServiceGrpc.OsConfigZonalServiceFutureStub>
-
- com.google.cloud.osconfig.v1.OsConfigZonalServiceGrpc.OsConfigZonalServiceFutureStub
-
- Enclosing class:
- OsConfigZonalServiceGrpc
public static final class OsConfigZonalServiceGrpc.OsConfigZonalServiceFutureStub extends io.grpc.stub.AbstractFutureStub<OsConfigZonalServiceGrpc.OsConfigZonalServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service OsConfigZonalService.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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OsConfigZonalServiceGrpc.OsConfigZonalServiceFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
createOSPolicyAssignment(CreateOSPolicyAssignmentRequest request)
Create an OS policy assignment.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
deleteOSPolicyAssignment(DeleteOSPolicyAssignmentRequest request)
Delete the OS policy assignment.com.google.common.util.concurrent.ListenableFuture<Inventory>
getInventory(GetInventoryRequest request)
Get inventory data for the specified VM instance.com.google.common.util.concurrent.ListenableFuture<OSPolicyAssignment>
getOSPolicyAssignment(GetOSPolicyAssignmentRequest request)
Retrieve an existing OS policy assignment.com.google.common.util.concurrent.ListenableFuture<OSPolicyAssignmentReport>
getOSPolicyAssignmentReport(GetOSPolicyAssignmentReportRequest request)
Get the OS policy asssignment report for the specified Compute Engine VM instance.com.google.common.util.concurrent.ListenableFuture<VulnerabilityReport>
getVulnerabilityReport(GetVulnerabilityReportRequest request)
Gets the vulnerability report for the specified VM instance.com.google.common.util.concurrent.ListenableFuture<ListInventoriesResponse>
listInventories(ListInventoriesRequest request)
List inventory data for all VM instances in the specified zone.com.google.common.util.concurrent.ListenableFuture<ListOSPolicyAssignmentReportsResponse>
listOSPolicyAssignmentReports(ListOSPolicyAssignmentReportsRequest request)
List OS policy asssignment reports for all Compute Engine VM instances in the specified zone.com.google.common.util.concurrent.ListenableFuture<ListOSPolicyAssignmentRevisionsResponse>
listOSPolicyAssignmentRevisions(ListOSPolicyAssignmentRevisionsRequest request)
List the OS policy assignment revisions for a given OS policy assignment.com.google.common.util.concurrent.ListenableFuture<ListOSPolicyAssignmentsResponse>
listOSPolicyAssignments(ListOSPolicyAssignmentsRequest request)
List the OS policy assignments under the parent resource.com.google.common.util.concurrent.ListenableFuture<ListVulnerabilityReportsResponse>
listVulnerabilityReports(ListVulnerabilityReportsRequest request)
List vulnerability reports for all VM instances in the specified zone.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
updateOSPolicyAssignment(UpdateOSPolicyAssignmentRequest request)
Update an existing OS policy assignment.
-
-
-
Method Detail
-
build
protected OsConfigZonalServiceGrpc.OsConfigZonalServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<OsConfigZonalServiceGrpc.OsConfigZonalServiceFutureStub>
-
createOSPolicyAssignment
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createOSPolicyAssignment(CreateOSPolicyAssignmentRequest request)
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](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-
updateOSPolicyAssignment
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateOSPolicyAssignment(UpdateOSPolicyAssignmentRequest request)
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](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-
getOSPolicyAssignment
public com.google.common.util.concurrent.ListenableFuture<OSPolicyAssignment> getOSPolicyAssignment(GetOSPolicyAssignmentRequest request)
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.
-
listOSPolicyAssignments
public com.google.common.util.concurrent.ListenableFuture<ListOSPolicyAssignmentsResponse> listOSPolicyAssignments(ListOSPolicyAssignmentsRequest request)
List the OS policy assignments under the parent resource. For each OS policy assignment, the latest revision is returned.
-
listOSPolicyAssignmentRevisions
public com.google.common.util.concurrent.ListenableFuture<ListOSPolicyAssignmentRevisionsResponse> listOSPolicyAssignmentRevisions(ListOSPolicyAssignmentRevisionsRequest request)
List the OS policy assignment revisions for a given OS policy assignment.
-
deleteOSPolicyAssignment
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteOSPolicyAssignment(DeleteOSPolicyAssignmentRequest request)
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](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-
getOSPolicyAssignmentReport
public com.google.common.util.concurrent.ListenableFuture<OSPolicyAssignmentReport> getOSPolicyAssignmentReport(GetOSPolicyAssignmentReportRequest request)
Get the OS policy asssignment report for the specified Compute Engine VM instance.
-
listOSPolicyAssignmentReports
public com.google.common.util.concurrent.ListenableFuture<ListOSPolicyAssignmentReportsResponse> listOSPolicyAssignmentReports(ListOSPolicyAssignmentReportsRequest request)
List OS policy asssignment reports for all Compute Engine VM instances in the specified zone.
-
getInventory
public com.google.common.util.concurrent.ListenableFuture<Inventory> getInventory(GetInventoryRequest request)
Get inventory data for the specified VM instance. If the VM has no associated inventory, the message `NOT_FOUND` is returned.
-
listInventories
public com.google.common.util.concurrent.ListenableFuture<ListInventoriesResponse> listInventories(ListInventoriesRequest request)
List inventory data for all VM instances in the specified zone.
-
getVulnerabilityReport
public com.google.common.util.concurrent.ListenableFuture<VulnerabilityReport> getVulnerabilityReport(GetVulnerabilityReportRequest request)
Gets the vulnerability report for the specified VM instance. Only VMs with inventory data have vulnerability reports associated with them.
-
listVulnerabilityReports
public com.google.common.util.concurrent.ListenableFuture<ListVulnerabilityReportsResponse> listVulnerabilityReports(ListVulnerabilityReportsRequest request)
List vulnerability reports for all VM instances in the specified zone.
-
-