# Package types (1.25.0)

1.25.0 (latest) 1.24.0 1.23.0 1.22.0 1.21.0 1.20.2 1.19.0 1.18.1 1.17.5 1.16.0 1.15.3 1.14.1 1.13.0 1.12.4 1.11.2 1.10.0 1.9.0 1.8.0 1.7.1 1.6.0 1.5.2 1.4.0 1.3.2 1.2.0 1.1.0 1.0.0 0.1.2 API documentation for `osconfig_v1.types` package.

## Classes

### [AptSettings](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.AptSettings)

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

### [CVSSv3](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.CVSSv3)

Common Vulnerability Scoring System version 3.
For details, see
<https://www.first.org/cvss/specification-document>

### [CancelPatchJobRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.CancelPatchJobRequest)

Message for canceling a patch job.

### [CreateOSPolicyAssignmentRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.CreateOSPolicyAssignmentRequest)

A request message to create an OS policy assignment

### [CreatePatchDeploymentRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.CreatePatchDeploymentRequest)

A request message for creating a patch deployment.

### [DeleteOSPolicyAssignmentRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.DeleteOSPolicyAssignmentRequest)

A request message for deleting a OS policy assignment.

### [DeletePatchDeploymentRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.DeletePatchDeploymentRequest)

A request message for deleting a patch deployment.

### [ExecStep](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.ExecStep)

A step that runs an executable for a PatchJob.

### [ExecStepConfig](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.ExecStepConfig)

Common configurations for an ExecStep.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ExecutePatchJobRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.ExecutePatchJobRequest)

A request message to initiate patching across Compute Engine
instances.

### [FixedOrPercent](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.FixedOrPercent)

Message encapsulating a value that can be either absolute
("fixed") or relative ("percent") to a value.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [GcsObject](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.GcsObject)

Cloud Storage object representation.

### [GetInventoryRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.GetInventoryRequest)

A request message for getting inventory data for the
specified VM.

### [GetOSPolicyAssignmentReportRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.GetOSPolicyAssignmentReportRequest)

Get a report of the OS policy assignment for a VM instance.

### [GetOSPolicyAssignmentRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.GetOSPolicyAssignmentRequest)

A request message to get an OS policy assignment

### [GetPatchDeploymentRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.GetPatchDeploymentRequest)

A request message for retrieving a patch deployment.

### [GetPatchJobRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.GetPatchJobRequest)

Request to get an active or completed patch job.

### [GetVulnerabilityReportRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.GetVulnerabilityReportRequest)

A request message for getting the vulnerability report for
the specified VM.

### [GooSettings](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.GooSettings)

Googet patching is performed by running `googet update`.

### [Instance](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.Instance)

Namespace for instance state enums.

### [Inventory](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.Inventory)

This API resource represents the available inventory data for a
Compute Engine virtual machine (VM) instance at a given point in
time.

You can use this API resource to determine the inventory data of
your VM.

For more information, see `Information provided by OS inventory
management <https://cloud.google.com/compute/docs/instances/os-inventory-management#data-collected>`__.

### [InventoryView](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.InventoryView)

The view for inventory objects.

### [ListInventoriesRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.ListInventoriesRequest)

A request message for listing inventory data for all VMs in
the specified location.

### [ListInventoriesResponse](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.ListInventoriesResponse)

A response message for listing inventory data for all VMs in
a specified location.

### [ListOSPolicyAssignmentReportsRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.ListOSPolicyAssignmentReportsRequest)

List the OS policy assignment reports for VM instances.

### [ListOSPolicyAssignmentReportsResponse](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.ListOSPolicyAssignmentReportsResponse)

A response message for listing OS Policy assignment reports
including the page of results and page token.

### [ListOSPolicyAssignmentRevisionsRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.ListOSPolicyAssignmentRevisionsRequest)

A request message to list revisions for a OS policy
assignment

### [ListOSPolicyAssignmentRevisionsResponse](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.ListOSPolicyAssignmentRevisionsResponse)

A response message for listing all revisions for a OS policy
assignment.

### [ListOSPolicyAssignmentsRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.ListOSPolicyAssignmentsRequest)

A request message to list OS policy assignments for a parent
resource

### [ListOSPolicyAssignmentsResponse](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.ListOSPolicyAssignmentsResponse)

A response message for listing all assignments under given
parent.

### [ListPatchDeploymentsRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.ListPatchDeploymentsRequest)

A request message for listing patch deployments.

### [ListPatchDeploymentsResponse](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.ListPatchDeploymentsResponse)

A response message for listing patch deployments.

### [ListPatchJobInstanceDetailsRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.ListPatchJobInstanceDetailsRequest)

Request to list details for all instances that are part of a
patch job.

### [ListPatchJobInstanceDetailsResponse](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.ListPatchJobInstanceDetailsResponse)

A response message for listing the instances details for a
patch job.

### [ListPatchJobsRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.ListPatchJobsRequest)

A request message for listing patch jobs.

### [ListPatchJobsResponse](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.ListPatchJobsResponse)

A response message for listing patch jobs.

### [ListVulnerabilityReportsRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.ListVulnerabilityReportsRequest)

A request message for listing vulnerability reports for all
VM instances in the specified location.

### [ListVulnerabilityReportsResponse](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.ListVulnerabilityReportsResponse)

A response message for listing vulnerability reports for all
VM instances in the specified location.

### [MonthlySchedule](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.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".

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [OSPolicy](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.OSPolicy)

An OS policy defines the desired state configuration for a
VM.

### [OSPolicyAssignment](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.OSPolicyAssignment)

OS policy assignment is an API resource that is used to apply a set
of OS policies to a dynamically targeted group of Compute Engine VM
instances.

An OS policy is used to define the desired state configuration for a
Compute Engine VM instance through a set of configuration resources
that provide capabilities such as installing or removing software
packages, or executing a script.

For more information, see `OS policy and OS policy
assignment <https://cloud.google.com/compute/docs/os-configuration-management/working-with-os-policies>`__.

### [OSPolicyAssignmentOperationMetadata](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.OSPolicyAssignmentOperationMetadata)

OS policy assignment operation metadata provided by OS policy
assignment API methods that return long running operations.

### [OSPolicyAssignmentReport](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.OSPolicyAssignmentReport)

A report of the OS policy assignment status for a given
instance.

### [OneTimeSchedule](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.OneTimeSchedule)

Sets the time for a one time patch deployment. Timestamp is in
`RFC3339 <https://www.ietf.org/rfc/rfc3339.txt>`__ text format.

### [PatchConfig](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.PatchConfig)

Patch configuration specifications. Contains details on how
to apply the patch(es) to a VM instance.

### [PatchDeployment](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.PatchDeployment)

Patch deployments are configurations that individual patch jobs use
to complete a patch. These configurations include instance filter,
package repository settings, and a schedule. For more information
about creating and managing patch deployments, see `Scheduling patch
jobs <https://cloud.google.com/compute/docs/os-patch-management/schedule-patch-jobs>`__.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [PatchInstanceFilter](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.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.

### [PatchJob](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.PatchJob)

A high level representation of a patch job that is either in
progress or has completed.

Instance details are not included in the job. To paginate through
instance details, use ListPatchJobInstanceDetails.

For more information about patch jobs, see `Creating patch
jobs <https://cloud.google.com/compute/docs/os-patch-management/create-patch-job>`__.

### [PatchJobInstanceDetails](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.PatchJobInstanceDetails)

Patch details for a VM instance. For more information about
reviewing VM instance details, see `Listing all VM instance details
for a specific patch
job <https://cloud.google.com/compute/docs/os-patch-management/manage-patch-jobs#list-instance-details>`__.

### [PatchRollout](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.PatchRollout)

Patch rollout configuration specifications. Contains details
on the concurrency control when applying patch(es) to all
targeted VMs.

### [PausePatchDeploymentRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.PausePatchDeploymentRequest)

A request message for pausing a patch deployment.

### [RecurringSchedule](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.RecurringSchedule)

Sets the time for recurring patch deployments.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ResumePatchDeploymentRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.ResumePatchDeploymentRequest)

A request message for resuming a patch deployment.

### [UpdateOSPolicyAssignmentRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.UpdateOSPolicyAssignmentRequest)

A request message to update an OS policy assignment

### [UpdatePatchDeploymentRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.UpdatePatchDeploymentRequest)

A request message for updating a patch deployment.

### [VulnerabilityReport](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.VulnerabilityReport)

This API resource represents the vulnerability report for a
specified Compute Engine virtual machine (VM) instance at a given
point in time.

For more information, see `Vulnerability
reports <https://cloud.google.com/compute/docs/instances/os-inventory-management#vulnerability-reports>`__.

### [WeekDayOfMonth](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.WeekDayOfMonth)

Represents one week day in a month. An example is "the 4th
Sunday".

### [WeeklySchedule](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.WeeklySchedule)

Represents a weekly schedule.

### [WindowsUpdateSettings](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.WindowsUpdateSettings)

Windows patching is performed using the Windows Update Agent.

### [YumSettings](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.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.

### [ZypperSettings](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.ZypperSettings)

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