osconfig library

Classes

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.
AptRepositoryResponse
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.
AptSettings
Apt patching is completed by executing apt-get update && apt-get upgrade. Additional options can be set to control how this is executed.
AptSettingsOsconfigV1beta
Apt patching is completed by executing apt-get update && apt-get upgrade. Additional options can be set to control how this is executed.
AptSettingsResponse
Apt patching is completed by executing apt-get update && apt-get upgrade. Additional options can be set to control how this is executed.
AptSettingsResponseOsconfigV1beta
Apt patching is completed by executing apt-get update && apt-get upgrade. Additional options can be set to control how this is executed.
Assignment
An assignment represents the group or groups of VM instances that the policy applies to. If an assignment is empty, it applies to all VM instances. Otherwise, the targeted VM instances must meet all the criteria specified. So if both labels and zones are specified, the policy applies to VM instances with those labels and in those zones.
AssignmentGroupLabel
Represents a group of VM intances that can be identified as having all these labels, for example "env=prod and app=web".
AssignmentGroupLabelResponse
Represents a group of VM intances that can be identified as having all these labels, for example "env=prod and app=web".
AssignmentOsType
Defines the criteria for selecting VM Instances by OS type.
AssignmentOsTypeResponse
Defines the criteria for selecting VM Instances by OS type.
AssignmentResponse
An assignment represents the group or groups of VM instances that the policy applies to. If an assignment is empty, it applies to all VM instances. Otherwise, the targeted VM instances must meet all the criteria specified. So if both labels and zones are specified, the policy applies to VM instances with those labels and in those zones.
ExecStep
A step that runs an executable for a PatchJob.
ExecStepConfig
Common configurations for an ExecStep.
ExecStepConfigOsconfigV1beta
Common configurations for an ExecStep.
ExecStepConfigResponse
Common configurations for an ExecStep.
ExecStepConfigResponseOsconfigV1beta
Common configurations for an ExecStep.
ExecStepOsconfigV1beta
A step that runs an executable for a PatchJob.
ExecStepResponse
A step that runs an executable for a PatchJob.
ExecStepResponseOsconfigV1beta
A step that runs an executable for a PatchJob.
FixedOrPercent
Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value.
FixedOrPercentOsconfigV1alpha
Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value.
FixedOrPercentOsconfigV1beta
Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value.
FixedOrPercentResponse
Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value.
FixedOrPercentResponseOsconfigV1alpha
Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value.
FixedOrPercentResponseOsconfigV1beta
Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value.
GcsObject
Cloud Storage object representation.
GcsObjectOsconfigV1beta
Google Cloud Storage object representation.
GcsObjectResponse
Cloud Storage object representation.
GcsObjectResponseOsconfigV1beta
Google Cloud Storage object representation.
GetGuestPolicyArgs
Arguments for getGuestPolicy. Arguments for getGuestPolicy.
GetGuestPolicyResult
Result data returned by getGuestPolicy.
GetOsPolicyAssignmentArgs
Arguments for getOsPolicyAssignment. Arguments for getOsPolicyAssignment.
GetOsPolicyAssignmentOsconfigV1alphaArgs
Arguments for getOsPolicyAssignment. Arguments for getOsPolicyAssignment.
GetOsPolicyAssignmentOsconfigV1alphaResult
Result data returned by getOsPolicyAssignment.
GetOsPolicyAssignmentResult
Result data returned by getOsPolicyAssignment.
GetPatchDeploymentArgs
Arguments for getPatchDeployment. Arguments for getPatchDeployment.
GetPatchDeploymentOsconfigV1betaArgs
Arguments for getPatchDeployment. Arguments for getPatchDeployment.
GetPatchDeploymentOsconfigV1betaResult
Result data returned by getPatchDeployment.
GetPatchDeploymentResult
Result data returned by getPatchDeployment.
GooRepository
Represents a Goo package repository. These is added to a repo file that is stored at C:/ProgramData/GooGet/repos/google_osconfig.repo.
GooRepositoryResponse
Represents a Goo package repository. These is added to a repo file that is stored at C:/ProgramData/GooGet/repos/google_osconfig.repo.
GuestPolicy
Create an OS Config guest policy.
GuestPolicyArgs
The set of arguments for GuestPolicy. The set of arguments for GuestPolicy.
MonthlySchedule
Represents a monthly schedule. An example of a valid monthly schedule is "on the third Tuesday of the month" or "on the 15th of the month".
MonthlyScheduleOsconfigV1beta
Represents a monthly schedule. An example of a valid monthly schedule is "on the third Tuesday of the month" or "on the 15th of the month".
MonthlyScheduleResponse
Represents a monthly schedule. An example of a valid monthly schedule is "on the third Tuesday of the month" or "on the 15th of the month".
MonthlyScheduleResponseOsconfigV1beta
Represents a monthly schedule. An example of a valid monthly schedule is "on the third Tuesday of the month" or "on the 15th of the month".
OneTimeSchedule
Sets the time for a one time patch deployment. Timestamp is in RFC3339 text format.
OneTimeScheduleOsconfigV1beta
Sets the time for a one time patch deployment. Timestamp is in RFC3339 text format.
OneTimeScheduleResponse
Sets the time for a one time patch deployment. Timestamp is in RFC3339 text format.
OneTimeScheduleResponseOsconfigV1beta
Sets the time for a one time patch deployment. Timestamp is in RFC3339 text format.
OSPolicy
An OS policy defines the desired state configuration for a VM.
OsPolicyAssignment
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.
OsPolicyAssignmentArgs
The set of arguments for OsPolicyAssignment. The set of arguments for OsPolicyAssignment.
OSPolicyAssignmentInstanceFilter
Filters to select target VMs for an assignment. If more than one filter criteria is specified below, a VM will be selected if and only if it satisfies all of them.
OSPolicyAssignmentInstanceFilterInventory
VM inventory details.
OSPolicyAssignmentInstanceFilterInventoryOsconfigV1alpha
VM inventory details.
OSPolicyAssignmentInstanceFilterInventoryResponse
VM inventory details.
OSPolicyAssignmentInstanceFilterInventoryResponseOsconfigV1alpha
VM inventory details.
OSPolicyAssignmentInstanceFilterOsconfigV1alpha
Filters to select target VMs for an assignment. If more than one filter criteria is specified below, a VM will be selected if and only if it satisfies all of them.
OSPolicyAssignmentInstanceFilterResponse
Filters to select target VMs for an assignment. If more than one filter criteria is specified below, a VM will be selected if and only if it satisfies all of them.
OSPolicyAssignmentInstanceFilterResponseOsconfigV1alpha
Filters to select target VMs for an assignment. If more than one filter criteria is specified below, a VM will be selected if and only if it satisfies all of them.
OSPolicyAssignmentLabelSet
Message representing label set. * A label is a key value pair set for a VM. * A LabelSet is a set of labels. * Labels within a LabelSet are ANDed. In other words, a LabelSet is applicable for a VM only if it matches all the labels in the LabelSet. * Example: A LabelSet with 2 labels: env=prod and type=webserver will only be applicable for those VMs with both labels present.
OSPolicyAssignmentLabelSetOsconfigV1alpha
Message representing label set. * A label is a key value pair set for a VM. * A LabelSet is a set of labels. * Labels within a LabelSet are ANDed. In other words, a LabelSet is applicable for a VM only if it matches all the labels in the LabelSet. * Example: A LabelSet with 2 labels: env=prod and type=webserver will only be applicable for those VMs with both labels present.
OSPolicyAssignmentLabelSetResponse
Message representing label set. * A label is a key value pair set for a VM. * A LabelSet is a set of labels. * Labels within a LabelSet are ANDed. In other words, a LabelSet is applicable for a VM only if it matches all the labels in the LabelSet. * Example: A LabelSet with 2 labels: env=prod and type=webserver will only be applicable for those VMs with both labels present.
OSPolicyAssignmentLabelSetResponseOsconfigV1alpha
Message representing label set. * A label is a key value pair set for a VM. * A LabelSet is a set of labels. * Labels within a LabelSet are ANDed. In other words, a LabelSet is applicable for a VM only if it matches all the labels in the LabelSet. * Example: A LabelSet with 2 labels: env=prod and type=webserver will only be applicable for those VMs with both labels present.
OsPolicyAssignmentOsconfigV1alpha
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.
OsPolicyAssignmentOsconfigV1alphaArgs
The set of arguments for OsPolicyAssignment. The set of arguments for OsPolicyAssignment.
OSPolicyAssignmentRollout
Message to configure the rollout at the zonal level for the OS policy assignment.
OSPolicyAssignmentRolloutOsconfigV1alpha
Message to configure the rollout at the zonal level for the OS policy assignment.
OSPolicyAssignmentRolloutResponse
Message to configure the rollout at the zonal level for the OS policy assignment.
OSPolicyAssignmentRolloutResponseOsconfigV1alpha
Message to configure the rollout at the zonal level for the OS policy assignment.
OSPolicyInventoryFilter
Filtering criteria to select VMs based on inventory details.
OSPolicyInventoryFilterOsconfigV1alpha
Filtering criteria to select VMs based on inventory details.
OSPolicyInventoryFilterResponse
Filtering criteria to select VMs based on inventory details.
OSPolicyInventoryFilterResponseOsconfigV1alpha
Filtering criteria to select VMs based on inventory details.
OSPolicyOsconfigV1alpha
An OS policy defines the desired state configuration for a VM.
OSPolicyOSFilter
Filtering criteria to select VMs based on OS details.
OSPolicyOSFilterResponse
Filtering criteria to select VMs based on OS details.
OSPolicyResource
An OS policy resource is used to define the desired state configuration and provides a specific functionality like installing/removing packages, executing a script etc. The system ensures that resources are always in their desired state by taking necessary actions if they have drifted from their desired state.
OSPolicyResourceExecResource
A resource that allows executing scripts on the VM. The ExecResource has 2 stages: validate and enforce and both stages accept a script as an argument to execute. When the ExecResource is applied by the agent, it first executes the script in the validate stage. The validate stage can signal that the ExecResource is already in the desired state by returning an exit code of 100. If the ExecResource is not in the desired state, it should return an exit code of 101. Any other exit code returned by this stage is considered an error. If the ExecResource is not in the desired state based on the exit code from the validate stage, the agent proceeds to execute the script from the enforce stage. If the ExecResource is already in the desired state, the enforce stage will not be run. Similar to validate stage, the enforce stage should return an exit code of 100 to indicate that the resource in now in its desired state. Any other exit code is considered an error. NOTE: An exit code of 100 was chosen over 0 (and 101 vs 1) to have an explicit indicator of in desired state, not in desired state and errors. Because, for example, Powershell will always return an exit code of 0 unless an exit statement is provided in the script. So, for reasons of consistency and being explicit, exit codes 100 and 101 were chosen.
OSPolicyResourceExecResourceExec
A file or script to execute.
OSPolicyResourceExecResourceExecOsconfigV1alpha
A file or script to execute.
OSPolicyResourceExecResourceExecResponse
A file or script to execute.
OSPolicyResourceExecResourceExecResponseOsconfigV1alpha
A file or script to execute.
OSPolicyResourceExecResourceOsconfigV1alpha
A resource that allows executing scripts on the VM. The ExecResource has 2 stages: validate and enforce and both stages accept a script as an argument to execute. When the ExecResource is applied by the agent, it first executes the script in the validate stage. The validate stage can signal that the ExecResource is already in the desired state by returning an exit code of 100. If the ExecResource is not in the desired state, it should return an exit code of 101. Any other exit code returned by this stage is considered an error. If the ExecResource is not in the desired state based on the exit code from the validate stage, the agent proceeds to execute the script from the enforce stage. If the ExecResource is already in the desired state, the enforce stage will not be run. Similar to validate stage, the enforce stage should return an exit code of 100 to indicate that the resource in now in its desired state. Any other exit code is considered an error. NOTE: An exit code of 100 was chosen over 0 (and 101 vs 1) to have an explicit indicator of in desired state, not in desired state and errors. Because, for example, Powershell will always return an exit code of 0 unless an exit statement is provided in the script. So, for reasons of consistency and being explicit, exit codes 100 and 101 were chosen.
OSPolicyResourceExecResourceResponse
A resource that allows executing scripts on the VM. The ExecResource has 2 stages: validate and enforce and both stages accept a script as an argument to execute. When the ExecResource is applied by the agent, it first executes the script in the validate stage. The validate stage can signal that the ExecResource is already in the desired state by returning an exit code of 100. If the ExecResource is not in the desired state, it should return an exit code of 101. Any other exit code returned by this stage is considered an error. If the ExecResource is not in the desired state based on the exit code from the validate stage, the agent proceeds to execute the script from the enforce stage. If the ExecResource is already in the desired state, the enforce stage will not be run. Similar to validate stage, the enforce stage should return an exit code of 100 to indicate that the resource in now in its desired state. Any other exit code is considered an error. NOTE: An exit code of 100 was chosen over 0 (and 101 vs 1) to have an explicit indicator of in desired state, not in desired state and errors. Because, for example, Powershell will always return an exit code of 0 unless an exit statement is provided in the script. So, for reasons of consistency and being explicit, exit codes 100 and 101 were chosen.
OSPolicyResourceExecResourceResponseOsconfigV1alpha
A resource that allows executing scripts on the VM. The ExecResource has 2 stages: validate and enforce and both stages accept a script as an argument to execute. When the ExecResource is applied by the agent, it first executes the script in the validate stage. The validate stage can signal that the ExecResource is already in the desired state by returning an exit code of 100. If the ExecResource is not in the desired state, it should return an exit code of 101. Any other exit code returned by this stage is considered an error. If the ExecResource is not in the desired state based on the exit code from the validate stage, the agent proceeds to execute the script from the enforce stage. If the ExecResource is already in the desired state, the enforce stage will not be run. Similar to validate stage, the enforce stage should return an exit code of 100 to indicate that the resource in now in its desired state. Any other exit code is considered an error. NOTE: An exit code of 100 was chosen over 0 (and 101 vs 1) to have an explicit indicator of in desired state, not in desired state and errors. Because, for example, Powershell will always return an exit code of 0 unless an exit statement is provided in the script. So, for reasons of consistency and being explicit, exit codes 100 and 101 were chosen.
OSPolicyResourceFile
A remote or local file.
OSPolicyResourceFileGcs
Specifies a file available as a Cloud Storage Object.
OSPolicyResourceFileGcsOsconfigV1alpha
Specifies a file available as a Cloud Storage Object.
OSPolicyResourceFileGcsResponse
Specifies a file available as a Cloud Storage Object.
OSPolicyResourceFileGcsResponseOsconfigV1alpha
Specifies a file available as a Cloud Storage Object.
OSPolicyResourceFileOsconfigV1alpha
A remote or local file.
OSPolicyResourceFileRemote
Specifies a file available via some URI.
OSPolicyResourceFileRemoteOsconfigV1alpha
Specifies a file available via some URI.
OSPolicyResourceFileRemoteResponse
Specifies a file available via some URI.
OSPolicyResourceFileRemoteResponseOsconfigV1alpha
Specifies a file available via some URI.
OSPolicyResourceFileResource
A resource that manages the state of a file.
OSPolicyResourceFileResourceOsconfigV1alpha
A resource that manages the state of a file.
OSPolicyResourceFileResourceResponse
A resource that manages the state of a file.
OSPolicyResourceFileResourceResponseOsconfigV1alpha
A resource that manages the state of a file.
OSPolicyResourceFileResponse
A remote or local file.
OSPolicyResourceFileResponseOsconfigV1alpha
A remote or local file.
OSPolicyResourceGroup
Resource groups provide a mechanism to group OS policy resources. Resource groups enable OS policy authors to create a single OS policy to be applied to VMs running different operating Systems. When the OS policy is applied to a target VM, the appropriate resource group within the OS policy is selected based on the OSFilter specified within the resource group.
OSPolicyResourceGroupOsconfigV1alpha
Resource groups provide a mechanism to group OS policy resources. Resource groups enable OS policy authors to create a single OS policy to be applied to VMs running different operating Systems. When the OS policy is applied to a target VM, the appropriate resource group within the OS policy is selected based on the OSFilter specified within the resource group.
OSPolicyResourceGroupResponse
Resource groups provide a mechanism to group OS policy resources. Resource groups enable OS policy authors to create a single OS policy to be applied to VMs running different operating Systems. When the OS policy is applied to a target VM, the appropriate resource group within the OS policy is selected based on the OSFilter specified within the resource group.
OSPolicyResourceGroupResponseOsconfigV1alpha
Resource groups provide a mechanism to group OS policy resources. Resource groups enable OS policy authors to create a single OS policy to be applied to VMs running different operating Systems. When the OS policy is applied to a target VM, the appropriate resource group within the OS policy is selected based on the OSFilter specified within the resource group.
OSPolicyResourceOsconfigV1alpha
An OS policy resource is used to define the desired state configuration and provides a specific functionality like installing/removing packages, executing a script etc. The system ensures that resources are always in their desired state by taking necessary actions if they have drifted from their desired state.
OSPolicyResourcePackageResource
A resource that manages a system package.
OSPolicyResourcePackageResourceAPT
A package managed by APT. - install: apt-get update && apt-get -y install [name] - remove: apt-get -y remove [name]
OSPolicyResourcePackageResourceAPTOsconfigV1alpha
A package managed by APT. - install: apt-get update && apt-get -y install [name] - remove: apt-get -y remove [name]
OSPolicyResourcePackageResourceAPTResponse
A package managed by APT. - install: apt-get update && apt-get -y install [name] - remove: apt-get -y remove [name]
OSPolicyResourcePackageResourceAPTResponseOsconfigV1alpha
A package managed by APT. - install: apt-get update && apt-get -y install [name] - remove: apt-get -y remove [name]
OSPolicyResourcePackageResourceDeb
A deb package file. dpkg packages only support INSTALLED state.
OSPolicyResourcePackageResourceDebOsconfigV1alpha
A deb package file. dpkg packages only support INSTALLED state.
OSPolicyResourcePackageResourceDebResponse
A deb package file. dpkg packages only support INSTALLED state.
OSPolicyResourcePackageResourceDebResponseOsconfigV1alpha
A deb package file. dpkg packages only support INSTALLED state.
OSPolicyResourcePackageResourceGooGet
A package managed by GooGet. - install: googet -noconfirm install package - remove: googet -noconfirm remove package
OSPolicyResourcePackageResourceGooGetOsconfigV1alpha
A package managed by GooGet. - install: googet -noconfirm install package - remove: googet -noconfirm remove package
OSPolicyResourcePackageResourceGooGetResponse
A package managed by GooGet. - install: googet -noconfirm install package - remove: googet -noconfirm remove package
OSPolicyResourcePackageResourceGooGetResponseOsconfigV1alpha
A package managed by GooGet. - install: googet -noconfirm install package - remove: googet -noconfirm remove package
OSPolicyResourcePackageResourceMSI
An MSI package. MSI packages only support INSTALLED state.
OSPolicyResourcePackageResourceMSIOsconfigV1alpha
An MSI package. MSI packages only support INSTALLED state.
OSPolicyResourcePackageResourceMSIResponse
An MSI package. MSI packages only support INSTALLED state.
OSPolicyResourcePackageResourceMSIResponseOsconfigV1alpha
An MSI package. MSI packages only support INSTALLED state.
OSPolicyResourcePackageResourceOsconfigV1alpha
A resource that manages a system package.
OSPolicyResourcePackageResourceResponse
A resource that manages a system package.
OSPolicyResourcePackageResourceResponseOsconfigV1alpha
A resource that manages a system package.
OSPolicyResourcePackageResourceRPM
An RPM package file. RPM packages only support INSTALLED state.
OSPolicyResourcePackageResourceRPMOsconfigV1alpha
An RPM package file. RPM packages only support INSTALLED state.
OSPolicyResourcePackageResourceRPMResponse
An RPM package file. RPM packages only support INSTALLED state.
OSPolicyResourcePackageResourceRPMResponseOsconfigV1alpha
An RPM package file. RPM packages only support INSTALLED state.
OSPolicyResourcePackageResourceYUM
A package managed by YUM. - install: yum -y install package - remove: yum -y remove package
OSPolicyResourcePackageResourceYUMOsconfigV1alpha
A package managed by YUM. - install: yum -y install package - remove: yum -y remove package
OSPolicyResourcePackageResourceYUMResponse
A package managed by YUM. - install: yum -y install package - remove: yum -y remove package
OSPolicyResourcePackageResourceYUMResponseOsconfigV1alpha
A package managed by YUM. - install: yum -y install package - remove: yum -y remove package
OSPolicyResourcePackageResourceZypper
A package managed by Zypper. - install: zypper -y install package - remove: zypper -y rm package
OSPolicyResourcePackageResourceZypperOsconfigV1alpha
A package managed by Zypper. - install: zypper -y install package - remove: zypper -y rm package
OSPolicyResourcePackageResourceZypperResponse
A package managed by Zypper. - install: zypper -y install package - remove: zypper -y rm package
OSPolicyResourcePackageResourceZypperResponseOsconfigV1alpha
A package managed by Zypper. - install: zypper -y install package - remove: zypper -y rm package
OSPolicyResourceRepositoryResource
A resource that manages a package repository.
OSPolicyResourceRepositoryResourceAptRepository
Represents a single apt package repository. These will be added to a repo file that will be managed at /etc/apt/sources.list.d/google_osconfig.list.
OSPolicyResourceRepositoryResourceAptRepositoryOsconfigV1alpha
Represents a single apt package repository. These will be added to a repo file that will be managed at /etc/apt/sources.list.d/google_osconfig.list.
OSPolicyResourceRepositoryResourceAptRepositoryResponse
Represents a single apt package repository. These will be added to a repo file that will be managed at /etc/apt/sources.list.d/google_osconfig.list.
OSPolicyResourceRepositoryResourceAptRepositoryResponseOsconfigV1alpha
Represents a single apt package repository. These will be added to a repo file that will be managed at /etc/apt/sources.list.d/google_osconfig.list.
OSPolicyResourceRepositoryResourceGooRepository
Represents a Goo package repository. These are added to a repo file that is managed at C:/ProgramData/GooGet/repos/google_osconfig.repo.
OSPolicyResourceRepositoryResourceGooRepositoryOsconfigV1alpha
Represents a Goo package repository. These are added to a repo file that is managed at C:/ProgramData/GooGet/repos/google_osconfig.repo.
OSPolicyResourceRepositoryResourceGooRepositoryResponse
Represents a Goo package repository. These are added to a repo file that is managed at C:/ProgramData/GooGet/repos/google_osconfig.repo.
OSPolicyResourceRepositoryResourceGooRepositoryResponseOsconfigV1alpha
Represents a Goo package repository. These are added to a repo file that is managed at C:/ProgramData/GooGet/repos/google_osconfig.repo.
OSPolicyResourceRepositoryResourceOsconfigV1alpha
A resource that manages a package repository.
OSPolicyResourceRepositoryResourceResponse
A resource that manages a package repository.
OSPolicyResourceRepositoryResourceResponseOsconfigV1alpha
A resource that manages a package repository.
OSPolicyResourceRepositoryResourceYumRepository
Represents a single yum package repository. These are added to a repo file that is managed at /etc/yum.repos.d/google_osconfig.repo.
OSPolicyResourceRepositoryResourceYumRepositoryOsconfigV1alpha
Represents a single yum package repository. These are added to a repo file that is managed at /etc/yum.repos.d/google_osconfig.repo.
OSPolicyResourceRepositoryResourceYumRepositoryResponse
Represents a single yum package repository. These are added to a repo file that is managed at /etc/yum.repos.d/google_osconfig.repo.
OSPolicyResourceRepositoryResourceYumRepositoryResponseOsconfigV1alpha
Represents a single yum package repository. These are added to a repo file that is managed at /etc/yum.repos.d/google_osconfig.repo.
OSPolicyResourceRepositoryResourceZypperRepository
Represents a single zypper package repository. These are added to a repo file that is managed at /etc/zypp/repos.d/google_osconfig.repo.
OSPolicyResourceRepositoryResourceZypperRepositoryOsconfigV1alpha
Represents a single zypper package repository. These are added to a repo file that is managed at /etc/zypp/repos.d/google_osconfig.repo.
OSPolicyResourceRepositoryResourceZypperRepositoryResponse
Represents a single zypper package repository. These are added to a repo file that is managed at /etc/zypp/repos.d/google_osconfig.repo.
OSPolicyResourceRepositoryResourceZypperRepositoryResponseOsconfigV1alpha
Represents a single zypper package repository. These are added to a repo file that is managed at /etc/zypp/repos.d/google_osconfig.repo.
OSPolicyResourceResponse
An OS policy resource is used to define the desired state configuration and provides a specific functionality like installing/removing packages, executing a script etc. The system ensures that resources are always in their desired state by taking necessary actions if they have drifted from their desired state.
OSPolicyResourceResponseOsconfigV1alpha
An OS policy resource is used to define the desired state configuration and provides a specific functionality like installing/removing packages, executing a script etc. The system ensures that resources are always in their desired state by taking necessary actions if they have drifted from their desired state.
OSPolicyResponse
An OS policy defines the desired state configuration for a VM.
OSPolicyResponseOsconfigV1alpha
An OS policy defines the desired state configuration for a VM.
Package
Package is a reference to the software package to be installed or removed. The agent on the VM instance uses the system package manager to apply the config. These are the commands that the agent uses to install or remove packages. Apt install: apt-get update && apt-get -y install package1 package2 package3 remove: apt-get -y remove package1 package2 package3 Yum install: yum -y install package1 package2 package3 remove: yum -y remove package1 package2 package3 Zypper install: zypper install package1 package2 package3 remove: zypper rm package1 package2 Googet install: googet -noconfirm install package1 package2 package3 remove: googet -noconfirm remove package1 package2 package3
PackageRepository
A package repository.
PackageRepositoryResponse
A package repository.
PackageResponse
Package is a reference to the software package to be installed or removed. The agent on the VM instance uses the system package manager to apply the config. These are the commands that the agent uses to install or remove packages. Apt install: apt-get update && apt-get -y install package1 package2 package3 remove: apt-get -y remove package1 package2 package3 Yum install: yum -y install package1 package2 package3 remove: yum -y remove package1 package2 package3 Zypper install: zypper install package1 package2 package3 remove: zypper rm package1 package2 Googet install: googet -noconfirm install package1 package2 package3 remove: googet -noconfirm remove package1 package2 package3
PatchConfig
Patch configuration specifications. Contains details on how to apply the patch(es) to a VM instance.
PatchConfigOsconfigV1beta
Patch configuration specifications. Contains details on how to apply the patch(es) to a VM instance.
PatchConfigResponse
Patch configuration specifications. Contains details on how to apply the patch(es) to a VM instance.
PatchConfigResponseOsconfigV1beta
Patch configuration specifications. Contains details on how to apply the patch(es) to a VM instance.
PatchDeployment
Create an OS Config patch deployment.
PatchDeploymentArgs
The set of arguments for PatchDeployment. The set of arguments for PatchDeployment.
PatchDeploymentOsconfigV1beta
Create an OS Config patch deployment.
PatchDeploymentOsconfigV1betaArgs
The set of arguments for PatchDeployment. The set of arguments for PatchDeployment.
PatchInstanceFilter
A filter to target VM instances for patching. The targeted VMs must meet all criteria specified. So if both labels and zones are specified, the patch job targets only VMs with those labels and in those zones.
PatchInstanceFilterGroupLabel
Targets a group of VM instances by using their assigned labels. Labels are key-value pairs. A GroupLabel is a combination of labels that is used to target VMs for a patch job. For example, a patch job can target VMs that have the following GroupLabel: {"env":"test", "app":"web"}. This means that the patch job is applied to VMs that have both the labels env=test and app=web.
PatchInstanceFilterGroupLabelOsconfigV1beta
Represents a group of VMs that can be identified as having all these labels, for example "env=prod and app=web".
PatchInstanceFilterGroupLabelResponse
Targets a group of VM instances by using their assigned labels. Labels are key-value pairs. A GroupLabel is a combination of labels that is used to target VMs for a patch job. For example, a patch job can target VMs that have the following GroupLabel: {"env":"test", "app":"web"}. This means that the patch job is applied to VMs that have both the labels env=test and app=web.
PatchInstanceFilterGroupLabelResponseOsconfigV1beta
Represents a group of VMs that can be identified as having all these labels, for example "env=prod and app=web".
PatchInstanceFilterOsconfigV1beta
A filter to target VM instances for patching. The targeted VMs must meet all criteria specified. So if both labels and zones are specified, the patch job targets only VMs with those labels and in those zones.
PatchInstanceFilterResponse
A filter to target VM instances for patching. The targeted VMs must meet all criteria specified. So if both labels and zones are specified, the patch job targets only VMs with those labels and in those zones.
PatchInstanceFilterResponseOsconfigV1beta
A filter to target VM instances for patching. The targeted VMs must meet all criteria specified. So if both labels and zones are specified, the patch job targets only VMs with those labels and in those zones.
PatchRollout
Patch rollout configuration specifications. Contains details on the concurrency control when applying patch(es) to all targeted VMs.
PatchRolloutOsconfigV1beta
Patch rollout configuration specifications. Contains details on the concurrency control when applying patch(es) to all targeted VMs.
PatchRolloutResponse
Patch rollout configuration specifications. Contains details on the concurrency control when applying patch(es) to all targeted VMs.
PatchRolloutResponseOsconfigV1beta
Patch rollout configuration specifications. Contains details on the concurrency control when applying patch(es) to all targeted VMs.
RecurringSchedule
Sets the time for recurring patch deployments.
RecurringScheduleOsconfigV1beta
Sets the time for recurring patch deployments.
RecurringScheduleResponse
Sets the time for recurring patch deployments.
RecurringScheduleResponseOsconfigV1beta
Sets the time for recurring patch deployments.
SoftwareRecipe
A software recipe is a set of instructions for installing and configuring a piece of software. It consists of a set of artifacts that are downloaded, and a set of steps that install, configure, and/or update the software. Recipes support installing and updating software from artifacts in the following formats: Zip archive, Tar archive, Windows MSI, Debian package, and RPM package. Additionally, recipes support executing a script (either defined in a file or directly in this api) in bash, sh, cmd, and powershell. Updating a software recipe If a recipe is assigned to an instance and there is a recipe with the same name but a lower version already installed and the assigned state of the recipe is UPDATED, then the recipe is updated to the new version. Script Working Directories Each script or execution step is run in its own temporary directory which is deleted after completing the step.
SoftwareRecipeArtifact
Specifies a resource to be used in the recipe.
SoftwareRecipeArtifactGcs
Specifies an artifact available as a Google Cloud Storage object.
SoftwareRecipeArtifactGcsResponse
Specifies an artifact available as a Google Cloud Storage object.
SoftwareRecipeArtifactRemote
Specifies an artifact available via some URI.
SoftwareRecipeArtifactRemoteResponse
Specifies an artifact available via some URI.
SoftwareRecipeArtifactResponse
Specifies a resource to be used in the recipe.
SoftwareRecipeResponse
A software recipe is a set of instructions for installing and configuring a piece of software. It consists of a set of artifacts that are downloaded, and a set of steps that install, configure, and/or update the software. Recipes support installing and updating software from artifacts in the following formats: Zip archive, Tar archive, Windows MSI, Debian package, and RPM package. Additionally, recipes support executing a script (either defined in a file or directly in this api) in bash, sh, cmd, and powershell. Updating a software recipe If a recipe is assigned to an instance and there is a recipe with the same name but a lower version already installed and the assigned state of the recipe is UPDATED, then the recipe is updated to the new version. Script Working Directories Each script or execution step is run in its own temporary directory which is deleted after completing the step.
SoftwareRecipeStep
An action that can be taken as part of installing or updating a recipe.
SoftwareRecipeStepCopyFile
Copies the artifact to the specified path on the instance.
SoftwareRecipeStepCopyFileResponse
Copies the artifact to the specified path on the instance.
SoftwareRecipeStepExecFile
Executes an artifact or local file.
SoftwareRecipeStepExecFileResponse
Executes an artifact or local file.
SoftwareRecipeStepExtractArchive
Extracts an archive of the type specified in the specified directory.
SoftwareRecipeStepExtractArchiveResponse
Extracts an archive of the type specified in the specified directory.
SoftwareRecipeStepInstallDpkg
Installs a deb via dpkg.
SoftwareRecipeStepInstallDpkgResponse
Installs a deb via dpkg.
SoftwareRecipeStepInstallMsi
Installs an MSI file.
SoftwareRecipeStepInstallMsiResponse
Installs an MSI file.
SoftwareRecipeStepInstallRpm
Installs an rpm file via the rpm utility.
SoftwareRecipeStepInstallRpmResponse
Installs an rpm file via the rpm utility.
SoftwareRecipeStepResponse
An action that can be taken as part of installing or updating a recipe.
SoftwareRecipeStepRunScript
Runs a script through an interpreter.
SoftwareRecipeStepRunScriptResponse
Runs a script through an interpreter.
TimeOfDay
Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp.
TimeOfDayOsconfigV1beta
Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp.
TimeOfDayResponse
Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp.
TimeOfDayResponseOsconfigV1beta
Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp.
TimeZone
Represents a time zone from the IANA Time Zone Database.
TimeZoneOsconfigV1beta
Represents a time zone from the IANA Time Zone Database.
TimeZoneResponse
Represents a time zone from the IANA Time Zone Database.
TimeZoneResponseOsconfigV1beta
Represents a time zone from the IANA Time Zone Database.
WeekDayOfMonth
Represents one week day in a month. An example is "the 4th Sunday".
WeekDayOfMonthOsconfigV1beta
Represents one week day in a month. An example is "the 4th Sunday".
WeekDayOfMonthResponse
Represents one week day in a month. An example is "the 4th Sunday".
WeekDayOfMonthResponseOsconfigV1beta
Represents one week day in a month. An example is "the 4th Sunday".
WeeklySchedule
Represents a weekly schedule.
WeeklyScheduleOsconfigV1beta
Represents a weekly schedule.
WeeklyScheduleResponse
Represents a weekly schedule.
WeeklyScheduleResponseOsconfigV1beta
Represents a weekly schedule.
WindowsUpdateSettings
Windows patching is performed using the Windows Update Agent.
WindowsUpdateSettingsOsconfigV1beta
Windows patching is performed using the Windows Update Agent.
WindowsUpdateSettingsResponse
Windows patching is performed using the Windows Update Agent.
WindowsUpdateSettingsResponseOsconfigV1beta
Windows patching is performed using the Windows Update Agent.
YumRepository
Represents a single Yum package repository. This repository is added to a repo file that is stored at /etc/yum.repos.d/google_osconfig.repo.
YumRepositoryResponse
Represents a single Yum package repository. This repository is added to a repo file that is stored at /etc/yum.repos.d/google_osconfig.repo.
YumSettings
Yum patching is performed by executing yum update. Additional options can be set to control how this is executed. Note that not all settings are supported on all platforms.
YumSettingsOsconfigV1beta
Yum patching is performed by executing yum update. Additional options can be set to control how this is executed. Note that not all settings are supported on all platforms.
YumSettingsResponse
Yum patching is performed by executing yum update. Additional options can be set to control how this is executed. Note that not all settings are supported on all platforms.
YumSettingsResponseOsconfigV1beta
Yum patching is performed by executing yum update. Additional options can be set to control how this is executed. Note that not all settings are supported on all platforms.
ZypperRepository
Represents a single Zypper package repository. This repository is added to a repo file that is stored at /etc/zypp/repos.d/google_osconfig.repo.
ZypperRepositoryResponse
Represents a single Zypper package repository. This repository is added to a repo file that is stored at /etc/zypp/repos.d/google_osconfig.repo.
ZypperSettings
Zypper patching is performed by running zypper patch. See also https://en.opensuse.org/SDB:Zypper_manual.
ZypperSettingsOsconfigV1beta
Zypper patching is performed by running zypper patch. See also https://en.opensuse.org/SDB:Zypper_manual.
ZypperSettingsResponse
Zypper patching is performed by running zypper patch. See also https://en.opensuse.org/SDB:Zypper_manual.
ZypperSettingsResponseOsconfigV1beta
Zypper patching is performed by running zypper patch. See also https://en.opensuse.org/SDB:Zypper_manual.

Enums

AptRepositoryArchiveType
Type of archive files in this repository. The default behavior is DEB.
AptSettingsType
By changing the type to DIST, the patching is performed using apt-get dist-upgrade instead.
AptSettingsTypeOsconfigV1beta
By changing the type to DIST, the patching is performed using apt-get dist-upgrade instead.
ExecStepConfigInterpreter
The script interpreter to use to run the script. If no interpreter is specified the script will be executed directly, which will likely only succeed for scripts with shebang lines (https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
ExecStepConfigInterpreterOsconfigV1beta
The script interpreter to use to run the script. If no interpreter is specified the script will be executed directly, which will likely only succeed for scripts with shebang lines (https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
OSPolicyMode
Required. Policy mode
OSPolicyModeOsconfigV1alpha
Required. Policy mode
OSPolicyResourceExecResourceExecInterpreter
Required. The script interpreter to use.
OSPolicyResourceExecResourceExecInterpreterOsconfigV1alpha
Required. The script interpreter to use.
OSPolicyResourceFileResourceState
Required. Desired state of the file.
OSPolicyResourceFileResourceStateOsconfigV1alpha
Required. Desired state of the file.
OSPolicyResourcePackageResourceDesiredState
Required. The desired state the agent should maintain for this package.
OSPolicyResourcePackageResourceDesiredStateOsconfigV1alpha
Required. The desired state the agent should maintain for this package.
OSPolicyResourceRepositoryResourceAptRepositoryArchiveType
Required. Type of archive files in this repository.
OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOsconfigV1alpha
Required. Type of archive files in this repository.
PackageDesiredState
The desired_state the agent should maintain for this package. The default is to ensure the package is installed.
PackageManager
Type of package manager that can be used to install this package. If a system does not have the package manager, the package is not installed or removed no error message is returned. By default, or if you specify ANY, the agent attempts to install and remove this package using the default package manager. This is useful when creating a policy that applies to different types of systems. The default behavior is ANY.
PatchConfigRebootConfig
Post-patch reboot settings.
PatchConfigRebootConfigOsconfigV1beta
Post-patch reboot settings.
PatchRolloutMode
Mode of the patch rollout.
PatchRolloutModeOsconfigV1beta
Mode of the patch rollout.
RecurringScheduleFrequency
Required. The frequency unit of this recurring schedule.
RecurringScheduleFrequencyOsconfigV1beta
Required. The frequency unit of this recurring schedule.
SoftwareRecipeDesiredState
Default is INSTALLED. The desired state the agent should maintain for this recipe. INSTALLED: The software recipe is installed on the instance but won't be updated to new versions. UPDATED: The software recipe is installed on the instance. The recipe is updated to a higher version, if a higher version of the recipe is assigned to this instance. REMOVE: Remove is unsupported for software recipes and attempts to create or update a recipe to the REMOVE state is rejected.
SoftwareRecipeStepExtractArchiveType
Required. The type of the archive to extract.
SoftwareRecipeStepRunScriptInterpreter
The script interpreter to use to run the script. If no interpreter is specified the script is executed directly, which likely only succeed for scripts with shebang lines.
WeekDayOfMonthDayOfWeek
Required. A day of the week.
WeekDayOfMonthDayOfWeekOsconfigV1beta
Required. A day of the week.
WeeklyScheduleDayOfWeek
Required. Day of the week.
WeeklyScheduleDayOfWeekOsconfigV1beta
Required. Day of the week.
WindowsUpdateSettingsClassificationsItem
WindowsUpdateSettingsClassificationsItemOsconfigV1beta

Functions

getGuestPolicy(GetGuestPolicyArgs args, {InvokeOptions? options}) → Future<GetGuestPolicyResult>
Get an OS Config guest policy. args Arguments passed to this invoke. Arguments for getGuestPolicy. options Invoke options controlling this call.
getOsPolicyAssignment(GetOsPolicyAssignmentArgs args, {InvokeOptions? options}) → Future<GetOsPolicyAssignmentResult>
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. args Arguments passed to this invoke. Arguments for getOsPolicyAssignment. options Invoke options controlling this call.
getOsPolicyAssignmentOsconfigV1alpha(GetOsPolicyAssignmentOsconfigV1alphaArgs args, {InvokeOptions? options}) → Future<GetOsPolicyAssignmentOsconfigV1alphaResult>
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. args Arguments passed to this invoke. Arguments for getOsPolicyAssignment. options Invoke options controlling this call.
getPatchDeployment(GetPatchDeploymentArgs args, {InvokeOptions? options}) → Future<GetPatchDeploymentResult>
Get an OS Config patch deployment. args Arguments passed to this invoke. Arguments for getPatchDeployment. options Invoke options controlling this call.
getPatchDeploymentOsconfigV1beta(GetPatchDeploymentOsconfigV1betaArgs args, {InvokeOptions? options}) → Future<GetPatchDeploymentOsconfigV1betaResult>
Get an OS Config patch deployment. args Arguments passed to this invoke. Arguments for getPatchDeployment. options Invoke options controlling this call.