# 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_v1alpha.types` package.

## Classes

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

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

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

A request message to create an OS policy assignment

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

A request message for deleting a OS policy assignment.

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

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

A request message for getting OS policies compliance data for
the given Compute Engine VM instance.

### [GetInventoryRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1alpha.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_v1alpha.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_v1alpha.types.GetOSPolicyAssignmentRequest)

A request message to get an OS policy assignment

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

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

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

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

A Compute Engine VM can have multiple OS policy assignments, and
each assignment can have multiple OS policies. As a result, multiple
OS policies could be applied to a single VM.

You can use this API resource to determine both the compliance state
of your VM as well as the compliance state of an individual OS
policy.

For more information, see `View
compliance <https://cloud.google.com/compute/docs/os-configuration-management/view-compliance>`__.

### [Inventory](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1alpha.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_v1alpha.types.InventoryView)

The view for inventory objects.

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

A request message for listing OS policies compliance data for
all Compute Engine VMs in the given location.

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

A response message for listing OS policies compliance data
for all Compute Engine VMs in the given location.

### [ListInventoriesRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1alpha.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_v1alpha.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_v1alpha.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_v1alpha.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_v1alpha.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_v1alpha.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_v1alpha.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_v1alpha.types.ListOSPolicyAssignmentsResponse)

A response message for listing all assignments under given
parent.

### [ListVulnerabilityReportsRequest](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1alpha.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_v1alpha.types.ListVulnerabilityReportsResponse)

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

### [OSPolicy](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1alpha.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_v1alpha.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_v1alpha.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_v1alpha.types.OSPolicyAssignmentReport)

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

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

Supported OSPolicy compliance states.

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

Compliance data for an OS policy resource.

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

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

Step performed by the OS Config agent for configuring an
`OSPolicyResource` to its desired state.

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

A request message to update an OS policy assignment

### [VulnerabilityReport](https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1alpha.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>`__.