Package com.google.cloud.osconfig.v1beta
Class OsConfigServiceGrpc.OsConfigServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<OsConfigServiceGrpc.OsConfigServiceBlockingStub>
-
- com.google.cloud.osconfig.v1beta.OsConfigServiceGrpc.OsConfigServiceBlockingStub
-
- Enclosing class:
- OsConfigServiceGrpc
public static final class OsConfigServiceGrpc.OsConfigServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<OsConfigServiceGrpc.OsConfigServiceBlockingStub>
A stub to allow clients to do synchronous 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.
-
-
Method Summary
-
-
-
Method Detail
-
build
protected OsConfigServiceGrpc.OsConfigServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<OsConfigServiceGrpc.OsConfigServiceBlockingStub>
-
executePatchJob
public PatchJobs.PatchJob executePatchJob(PatchJobs.ExecutePatchJobRequest request)
Patch VM instances by creating and running a patch job.
-
getPatchJob
public 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 PatchJobs.PatchJob cancelPatchJob(PatchJobs.CancelPatchJobRequest request)
Cancel a patch job. The patch job must be active. Canceled patch jobs cannot be restarted.
-
listPatchJobs
public PatchJobs.ListPatchJobsResponse listPatchJobs(PatchJobs.ListPatchJobsRequest request)
Get a list of patch jobs.
-
listPatchJobInstanceDetails
public PatchJobs.ListPatchJobInstanceDetailsResponse listPatchJobInstanceDetails(PatchJobs.ListPatchJobInstanceDetailsRequest request)
Get a list of instance details for a given patch job.
-
createPatchDeployment
public PatchDeployments.PatchDeployment createPatchDeployment(PatchDeployments.CreatePatchDeploymentRequest request)
Create an OS Config patch deployment.
-
getPatchDeployment
public PatchDeployments.PatchDeployment getPatchDeployment(PatchDeployments.GetPatchDeploymentRequest request)
Get an OS Config patch deployment.
-
listPatchDeployments
public PatchDeployments.ListPatchDeploymentsResponse listPatchDeployments(PatchDeployments.ListPatchDeploymentsRequest request)
Get a page of OS Config patch deployments.
-
deletePatchDeployment
public com.google.protobuf.Empty deletePatchDeployment(PatchDeployments.DeletePatchDeploymentRequest request)
Delete an OS Config patch deployment.
-
updatePatchDeployment
public PatchDeployments.PatchDeployment updatePatchDeployment(PatchDeployments.UpdatePatchDeploymentRequest request)
Update an OS Config patch deployment.
-
pausePatchDeployment
public 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 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 GuestPolicies.GuestPolicy createGuestPolicy(GuestPolicies.CreateGuestPolicyRequest request)
Create an OS Config guest policy.
-
getGuestPolicy
public GuestPolicies.GuestPolicy getGuestPolicy(GuestPolicies.GetGuestPolicyRequest request)
Get an OS Config guest policy.
-
listGuestPolicies
public GuestPolicies.ListGuestPoliciesResponse listGuestPolicies(GuestPolicies.ListGuestPoliciesRequest request)
Get a page of OS Config guest policies.
-
updateGuestPolicy
public GuestPolicies.GuestPolicy updateGuestPolicy(GuestPolicies.UpdateGuestPolicyRequest request)
Update an OS Config guest policy.
-
deleteGuestPolicy
public com.google.protobuf.Empty deleteGuestPolicy(GuestPolicies.DeleteGuestPolicyRequest request)
Delete an OS Config guest policy.
-
lookupEffectiveGuestPolicy
public 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.
-
-