Package com.google.cloud.osconfig.v1beta
Class OsConfigServiceGrpc.OsConfigServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<OsConfigServiceGrpc.OsConfigServiceFutureStub>
com.google.cloud.osconfig.v1beta.OsConfigServiceGrpc.OsConfigServiceFutureStub
- Enclosing class:
- OsConfigServiceGrpc
public static final class OsConfigServiceGrpc.OsConfigServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<OsConfigServiceGrpc.OsConfigServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service OsConfigService.
OS Config API The OS Config service is a server-side component that you can use to manage package installations and patch jobs for virtual machine instances.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<PatchJobs.PatchJob>Cancel a patch job.com.google.common.util.concurrent.ListenableFuture<GuestPolicies.GuestPolicy>Create an OS Config guest policy.com.google.common.util.concurrent.ListenableFuture<PatchDeployments.PatchDeployment>Create an OS Config patch deployment.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>Delete an OS Config guest policy.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>Delete an OS Config patch deployment.com.google.common.util.concurrent.ListenableFuture<PatchJobs.PatchJob>Patch VM instances by creating and running a patch job.com.google.common.util.concurrent.ListenableFuture<GuestPolicies.GuestPolicy>Get an OS Config guest policy.com.google.common.util.concurrent.ListenableFuture<PatchDeployments.PatchDeployment>Get an OS Config patch deployment.com.google.common.util.concurrent.ListenableFuture<PatchJobs.PatchJob>getPatchJob(PatchJobs.GetPatchJobRequest request) Get the patch job.com.google.common.util.concurrent.ListenableFuture<GuestPolicies.ListGuestPoliciesResponse>Get a page of OS Config guest policies.com.google.common.util.concurrent.ListenableFuture<PatchDeployments.ListPatchDeploymentsResponse>Get a page of OS Config patch deployments.com.google.common.util.concurrent.ListenableFuture<PatchJobs.ListPatchJobInstanceDetailsResponse>Get a list of instance details for a given patch job.com.google.common.util.concurrent.ListenableFuture<PatchJobs.ListPatchJobsResponse>Get a list of patch jobs.com.google.common.util.concurrent.ListenableFuture<GuestPolicies.EffectiveGuestPolicy>Lookup the effective guest policy that applies to a VM instance.com.google.common.util.concurrent.ListenableFuture<PatchDeployments.PatchDeployment>Change state of patch deployment to "PAUSED".com.google.common.util.concurrent.ListenableFuture<PatchDeployments.PatchDeployment>Change state of patch deployment back to "ACTIVE".com.google.common.util.concurrent.ListenableFuture<GuestPolicies.GuestPolicy>Update an OS Config guest policy.com.google.common.util.concurrent.ListenableFuture<PatchDeployments.PatchDeployment>Update an OS Config patch deployment.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected OsConfigServiceGrpc.OsConfigServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<OsConfigServiceGrpc.OsConfigServiceFutureStub>
-
executePatchJob
public com.google.common.util.concurrent.ListenableFuture<PatchJobs.PatchJob> executePatchJob(PatchJobs.ExecutePatchJobRequest request) Patch VM instances by creating and running a patch job.
-
getPatchJob
public com.google.common.util.concurrent.ListenableFuture<PatchJobs.PatchJob> getPatchJob(PatchJobs.GetPatchJobRequest request) Get the patch job. This can be used to track the progress of an ongoing patch job or review the details of completed jobs.
-
cancelPatchJob
public com.google.common.util.concurrent.ListenableFuture<PatchJobs.PatchJob> cancelPatchJob(PatchJobs.CancelPatchJobRequest request) Cancel a patch job. The patch job must be active. Canceled patch jobs cannot be restarted.
-
listPatchJobs
public com.google.common.util.concurrent.ListenableFuture<PatchJobs.ListPatchJobsResponse> listPatchJobs(PatchJobs.ListPatchJobsRequest request) Get a list of patch jobs.
-
listPatchJobInstanceDetails
public com.google.common.util.concurrent.ListenableFuture<PatchJobs.ListPatchJobInstanceDetailsResponse> listPatchJobInstanceDetails(PatchJobs.ListPatchJobInstanceDetailsRequest request) Get a list of instance details for a given patch job.
-
createPatchDeployment
public com.google.common.util.concurrent.ListenableFuture<PatchDeployments.PatchDeployment> createPatchDeployment(PatchDeployments.CreatePatchDeploymentRequest request) Create an OS Config patch deployment.
-
getPatchDeployment
public com.google.common.util.concurrent.ListenableFuture<PatchDeployments.PatchDeployment> getPatchDeployment(PatchDeployments.GetPatchDeploymentRequest request) Get an OS Config patch deployment.
-
listPatchDeployments
public com.google.common.util.concurrent.ListenableFuture<PatchDeployments.ListPatchDeploymentsResponse> listPatchDeployments(PatchDeployments.ListPatchDeploymentsRequest request) Get a page of OS Config patch deployments.
-
deletePatchDeployment
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deletePatchDeployment(PatchDeployments.DeletePatchDeploymentRequest request) Delete an OS Config patch deployment.
-
updatePatchDeployment
public com.google.common.util.concurrent.ListenableFuture<PatchDeployments.PatchDeployment> updatePatchDeployment(PatchDeployments.UpdatePatchDeploymentRequest request) Update an OS Config patch deployment.
-
pausePatchDeployment
public com.google.common.util.concurrent.ListenableFuture<PatchDeployments.PatchDeployment> pausePatchDeployment(PatchDeployments.PausePatchDeploymentRequest request) Change state of patch deployment to "PAUSED". Patch deployment in paused state doesn't generate patch jobs.
-
resumePatchDeployment
public com.google.common.util.concurrent.ListenableFuture<PatchDeployments.PatchDeployment> resumePatchDeployment(PatchDeployments.ResumePatchDeploymentRequest request) Change state of patch deployment back to "ACTIVE". Patch deployment in active state continues to generate patch jobs.
-
createGuestPolicy
public com.google.common.util.concurrent.ListenableFuture<GuestPolicies.GuestPolicy> createGuestPolicy(GuestPolicies.CreateGuestPolicyRequest request) Create an OS Config guest policy.
-
getGuestPolicy
public com.google.common.util.concurrent.ListenableFuture<GuestPolicies.GuestPolicy> getGuestPolicy(GuestPolicies.GetGuestPolicyRequest request) Get an OS Config guest policy.
-
listGuestPolicies
public com.google.common.util.concurrent.ListenableFuture<GuestPolicies.ListGuestPoliciesResponse> listGuestPolicies(GuestPolicies.ListGuestPoliciesRequest request) Get a page of OS Config guest policies.
-
updateGuestPolicy
public com.google.common.util.concurrent.ListenableFuture<GuestPolicies.GuestPolicy> updateGuestPolicy(GuestPolicies.UpdateGuestPolicyRequest request) Update an OS Config guest policy.
-
deleteGuestPolicy
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteGuestPolicy(GuestPolicies.DeleteGuestPolicyRequest request) Delete an OS Config guest policy.
-
lookupEffectiveGuestPolicy
public com.google.common.util.concurrent.ListenableFuture<GuestPolicies.EffectiveGuestPolicy> lookupEffectiveGuestPolicy(GuestPolicies.LookupEffectiveGuestPolicyRequest request) Lookup the effective guest policy that applies to a VM instance. This lookup merges all policies that are assigned to the instance ancestry.
-