# Package Classes (0.6.0)

0.6.0 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.13 Summary of entries of Classes for procurement.

## Classes

### [ConsumerProcurementServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient)

ConsumerProcurementService allows customers to make purchases of
products served by the Cloud Commerce platform.

When purchases are made, the
ConsumerProcurementService
programs the appropriate backends, including both Google's own
infrastructure, as well as third-party systems, and to enable
billing setup for charging for the procured item.

### [ConsumerProcurementServiceClient](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient)

ConsumerProcurementService allows customers to make purchases of
products served by the Cloud Commerce platform.

When purchases are made, the
ConsumerProcurementService
programs the appropriate backends, including both Google's own
infrastructure, as well as third-party systems, and to enable
billing setup for charging for the procured item.

### [ListOrdersAsyncPager](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.pagers.ListOrdersAsyncPager)

A pager for iterating through `list_orders` requests.

This class thinly wraps an initial
[ListOrdersResponse](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.ListOrdersResponse) object, and
provides an `__aiter__` method to iterate through its
`orders` field.

If there are more pages, the `__aiter__` method will make additional
`ListOrders` requests and continue to iterate
through the `orders` field on the
corresponding responses.

All the usual [ListOrdersResponse](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.ListOrdersResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListOrdersPager](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.pagers.ListOrdersPager)

A pager for iterating through `list_orders` requests.

This class thinly wraps an initial
[ListOrdersResponse](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.ListOrdersResponse) object, and
provides an `__iter__` method to iterate through its
`orders` field.

If there are more pages, the `__iter__` method will make additional
`ListOrders` requests and continue to iterate
through the `orders` field on the
corresponding responses.

All the usual [ListOrdersResponse](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.ListOrdersResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [LicenseManagementServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient)

Service for managing licenses.

### [LicenseManagementServiceClient](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient)

Service for managing licenses.

### [EnumerateLicensedUsersAsyncPager](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.services.license_management_service.pagers.EnumerateLicensedUsersAsyncPager)

A pager for iterating through `enumerate_licensed_users` requests.

This class thinly wraps an initial
[EnumerateLicensedUsersResponse](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.EnumerateLicensedUsersResponse) object, and
provides an `__aiter__` method to iterate through its
`licensed_users` field.

If there are more pages, the `__aiter__` method will make additional
`EnumerateLicensedUsers` requests and continue to iterate
through the `licensed_users` field on the
corresponding responses.

All the usual [EnumerateLicensedUsersResponse](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.EnumerateLicensedUsersResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [EnumerateLicensedUsersPager](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.services.license_management_service.pagers.EnumerateLicensedUsersPager)

A pager for iterating through `enumerate_licensed_users` requests.

This class thinly wraps an initial
[EnumerateLicensedUsersResponse](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.EnumerateLicensedUsersResponse) object, and
provides an `__iter__` method to iterate through its
`licensed_users` field.

If there are more pages, the `__iter__` method will make additional
`EnumerateLicensedUsers` requests and continue to iterate
through the `licensed_users` field on the
corresponding responses.

All the usual [EnumerateLicensedUsersResponse](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.EnumerateLicensedUsersResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [AssignRequest](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.AssignRequest)

Request message for
LicenseManagementService.Assign.

### [AssignResponse](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.AssignResponse)

Response message for
LicenseManagementService.Assign.

### [AssignmentProtocol](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.AssignmentProtocol)

Assignment protocol for a license pool.

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>

### [AutoAssignmentType](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.AssignmentProtocol.AutoAssignmentType)

Configuration for automatic assignments handled by data plane
operations.

### [ManualAssignmentType](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.AssignmentProtocol.ManualAssignmentType)

Allow manual assignments triggered by administrative
operations only.

### [AutoRenewalBehavior](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.AutoRenewalBehavior)

Indicates the auto renewal behavior customer specifies on
subscription.

### [CancelOrderMetadata](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.CancelOrderMetadata)

Message stored in the metadata field of the Operation returned by
ConsumerProcurementService.CancelOrder.

### [CancelOrderRequest](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.CancelOrderRequest)

Request message for
ConsumerProcurementService.CancelOrder.

### [CancellationPolicy](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.CancelOrderRequest.CancellationPolicy)

Indicates the cancellation policy the customer uses to cancel
the order.

### [EnumerateLicensedUsersRequest](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.EnumerateLicensedUsersRequest)

Request message for
LicenseManagementService.EnumerateLicensedUsers.

### [EnumerateLicensedUsersResponse](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.EnumerateLicensedUsersResponse)

Response message for
LicenseManagementService.EnumerateLicensedUsers.

### [GetLicensePoolRequest](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.GetLicensePoolRequest)

Request message for getting a license pool.

### [GetOrderRequest](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.GetOrderRequest)

Request message for
ConsumerProcurementService.GetOrder

### [LicensePool](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.LicensePool)

A license pool represents a pool of licenses that can be
assigned to users.

### [LicensedUser](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.LicensedUser)

A licensed user.

### [LineItem](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.LineItem)

A single item within an order.

### [LineItemChange](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.LineItemChange)

A change made on a line item.

### [LineItemChangeState](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.LineItemChangeState)

State of a change.

### [LineItemChangeStateReasonType](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.LineItemChangeStateReasonType)

Predefined types for line item change state reason.

### [LineItemChangeType](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.LineItemChangeType)

Type of a line item change.

### [LineItemInfo](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.LineItemInfo)

Line item information.

### [ListOrdersRequest](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.ListOrdersRequest)

Request message for
ConsumerProcurementService.ListOrders.

### [ListOrdersResponse](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.ListOrdersResponse)

Response message for
ConsumerProcurementService.ListOrders.

### [ModifyOrderMetadata](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.ModifyOrderMetadata)

Message stored in the metadata field of the Operation returned by
ConsumerProcurementService.ModifyOrder.

### [ModifyOrderRequest](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.ModifyOrderRequest)

Request message for
ConsumerProcurementService.ModifyOrder.

### [Modification](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.ModifyOrderRequest.Modification)

Modifications to make on the order.

### [Order](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.Order)

Represents a purchase made by a customer on Cloud
Marketplace. Creating an order makes sure that both the Google
backend systems as well as external service provider's systems
(if needed) allow use of purchased products and ensures the
appropriate billing events occur.

An Order can be made against one Product with multiple add-ons
(optional) or one Quote which might reference multiple products.

Customers typically choose a price plan for each Product
purchased when they create an order and can change their plan
later, if the product allows.

### [Parameter](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.Parameter)

User-provided Parameters.

### [Value](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.Parameter.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>

### [PlaceOrderMetadata](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.PlaceOrderMetadata)

Message stored in the metadata field of the Operation returned by
ConsumerProcurementService.PlaceOrder.

### [PlaceOrderRequest](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.PlaceOrderRequest)

Request message for
ConsumerProcurementService.PlaceOrder.

### [Subscription](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.Subscription)

Subscription information.

### [UnassignRequest](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.UnassignRequest)

Request message for
LicenseManagementService.Unassign.

### [UnassignResponse](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.UnassignResponse)

Response message for
LicenseManagementService.Unassign.

### [UpdateLicensePoolRequest](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.types.UpdateLicensePoolRequest)

Request message for updating a license pool.

### [ConsumerProcurementServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient)

ConsumerProcurementService allows customers to make purchases of
products served by the Cloud Commerce platform.

When purchases are made, the
ConsumerProcurementService
programs the appropriate backends, including both Google's own
infrastructure, as well as third-party systems, and to enable
billing setup for charging for the procured item.

### [ConsumerProcurementServiceClient](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient)

ConsumerProcurementService allows customers to make purchases of
products served by the Cloud Commerce platform.

When purchases are made, the
ConsumerProcurementService
programs the appropriate backends, including both Google's own
infrastructure, as well as third-party systems, and to enable
billing setup for charging for the procured item.

### [ListOrdersAsyncPager](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.pagers.ListOrdersAsyncPager)

A pager for iterating through `list_orders` requests.

This class thinly wraps an initial
[ListOrdersResponse](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1alpha1.types.ListOrdersResponse) object, and
provides an `__aiter__` method to iterate through its
`orders` field.

If there are more pages, the `__aiter__` method will make additional
`ListOrders` requests and continue to iterate
through the `orders` field on the
corresponding responses.

All the usual [ListOrdersResponse](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1alpha1.types.ListOrdersResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListOrdersPager](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.pagers.ListOrdersPager)

A pager for iterating through `list_orders` requests.

This class thinly wraps an initial
[ListOrdersResponse](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1alpha1.types.ListOrdersResponse) object, and
provides an `__iter__` method to iterate through its
`orders` field.

If there are more pages, the `__iter__` method will make additional
`ListOrders` requests and continue to iterate
through the `orders` field on the
corresponding responses.

All the usual [ListOrdersResponse](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1alpha1.types.ListOrdersResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [GetOrderRequest](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1alpha1.types.GetOrderRequest)

Request message for
ConsumerProcurementService.GetOrder

### [LineItem](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1alpha1.types.LineItem)

A single item within an order.

### [LineItemChange](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1alpha1.types.LineItemChange)

A change made on a line item.

### [LineItemChangeState](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1alpha1.types.LineItemChangeState)

State of a change.

### [LineItemChangeStateReasonType](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1alpha1.types.LineItemChangeStateReasonType)

Predefined types for line item change state reason.

### [LineItemChangeType](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1alpha1.types.LineItemChangeType)

Type of a line item change.

### [LineItemInfo](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1alpha1.types.LineItemInfo)

Line item information.

### [ListOrdersRequest](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1alpha1.types.ListOrdersRequest)

Request message for
ConsumerProcurementService.ListOrders.

### [ListOrdersResponse](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1alpha1.types.ListOrdersResponse)

Response message for
ConsumerProcurementService.ListOrders.

### [Order](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1alpha1.types.Order)

Represents a purchase made by a customer on Cloud
Marketplace. Creating an order makes sure that both the Google
backend systems as well as external service provider's systems
(if needed) allow use of purchased products and ensures the
appropriate billing events occur.

An Order can be made against one Product with multiple add-ons
(optional) or one Quote which might reference multiple products.

Customers typically choose a price plan for each Product
purchased when they create an order and can change their plan
later, if the product allows.

### [Parameter](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1alpha1.types.Parameter)

User-provided Parameters.

### [Value](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1alpha1.types.Parameter.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>

### [PlaceOrderMetadata](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1alpha1.types.PlaceOrderMetadata)

Message stored in the metadata field of the Operation returned by
ConsumerProcurementService.PlaceOrder.

### [PlaceOrderRequest](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1alpha1.types.PlaceOrderRequest)

Request message for
ConsumerProcurementService.PlaceOrder.

### [Subscription](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1alpha1.types.Subscription)

Subscription information.

## Modules

### [pagers](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.pagers)

API documentation for `commerce_consumer_procurement_v1.services.consumer_procurement_service.pagers` module.

### [pagers](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1.services.license_management_service.pagers)

API documentation for `commerce_consumer_procurement_v1.services.license_management_service.pagers` module.

### [pagers](https://docs.cloud.google.com/python/docs/reference/procurement/latest/google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.pagers)

API documentation for `commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.pagers` module.