Package com.google.cloud.osconfig.v1beta (2.54.0)

GitHub Repository

This package is not the recommended entry point to using this client library!

For this library, we recommend using com.google.cloud.osconfig.v1 for new applications.

Prerelease Implications

This package is a prerelease version! Use with caution.

Prerelease versions are considered unstable as they may be shut down and/or subject to breaking changes when upgrading. Use them only for testing or if you specifically need their experimental features.

Client Classes

Client classes are the main entry point to using a package. They contain several variations of Java methods for each of the API's methods.

Client Description
com.google.cloud.osconfig.v1beta.OsConfigServiceClient Service Description: 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.

Settings Classes

Settings classes can be used to configure credentials, endpoints, and retry settings for a Client.

Settings Description
com.google.cloud.osconfig.v1beta.OsConfigServiceSettings Settings class to configure an instance of OsConfigServiceClient.

The default instance has everything set to sensible defaults:

com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings

Apt patching is completed by executing apt-get update && apt-get upgrade. Additional options can be set to control how this is executed.

com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings

Googet patching is performed by running googet update.

com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings

Windows patching is performed using the Windows Update Agent.

com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings

Yum patching is performed by executing yum update. Additional options can be set to control how this is executed.

com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings

Zypper patching is performed by running zypper patch. See also https://en.opensuse.org/SDB:Zypper_manual.

Classes

Class Description
com.google.cloud.osconfig.v1beta.Common
com.google.cloud.osconfig.v1beta.Common.FixedOrPercent Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value.
com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value.
com.google.cloud.osconfig.v1beta.GuestPolicies
com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository Represents a single Apt package repository. This repository is added to a repo file that is stored at /etc/apt/sources.list.d/google_osconfig.list.
com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder Represents a single Apt package repository. This repository is added to a repo file that is stored at /etc/apt/sources.list.d/google_osconfig.list.
com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment An assignment represents the group or groups of VM instances that the policy applies to.
com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder An assignment represents the group or groups of VM instances that the policy applies to.
com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel Represents a group of VM intances that can be identified as having all these labels, for example "env=prod and app=web".
com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder Represents a group of VM intances that can be identified as having all these labels, for example "env=prod and app=web".
com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType Defines the criteria for selecting VM Instances by OS type.
com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder Defines the criteria for selecting VM Instances by OS type.
com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest A request message for creating a guest policy.
com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.Builder A request message for creating a guest policy.
com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest A request message for deleting a guest policy.
com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.Builder A request message for deleting a guest policy.
com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy The effective guest policy that applies to a VM instance.
com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.Builder The effective guest