# Package Methods (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 Methods for procurement.

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient

    ConsumerProcurementServiceAsyncClient(
        *,
        credentials: typing.Optional[google.auth.credentials.Credentials] = None,
        transport: typing.Optional[
            typing.Union[
                str,
                google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.transports.base.ConsumerProcurementServiceTransport,
                typing.Callable[
                    [...],
                    google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.transports.base.ConsumerProcurementServiceTransport,
                ],
            ]
        ] = "grpc_asyncio",
        client_options: typing.Optional[
            google.api_core.client_options.ClientOptions
        ] = None,
        client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
    )

Instantiates the consumer procurement service async client.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.cancel_order

    cancel_order(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1.types.procurement_service.CancelOrderRequest,
                dict,
            ]
        ] = None,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.api_core.operation_async.AsyncOperation

Cancels an existing
xref_Order.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.common_billing_account_path

    common_billing_account_path(billing_account: str) -> str

Returns a fully-qualified billing_account string.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.common_folder_path

    common_folder_path(folder: str) -> str

Returns a fully-qualified folder string.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.common_location_path

    common_location_path(project: str, location: str) -> str

Returns a fully-qualified location string.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.common_organization_path

    common_organization_path(organization: str) -> str

Returns a fully-qualified organization string.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.common_project_path

    common_project_path(project: str) -> str

Returns a fully-qualified project string.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.from_service_account_file

    from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials
file.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.from_service_account_info

    from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials
info.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.from_service_account_json

    from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials
file.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.get_mtls_endpoint_and_cert_source

    get_mtls_endpoint_and_cert_source(
        client_options: typing.Optional[
            google.api_core.client_options.ClientOptions
        ] = None,
    )

Return the API endpoint and client cert source for mutual TLS.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.get_operation

    get_operation(
        request: typing.Optional[
            typing.Union[google.longrunning.operations_pb2.GetOperationRequest, dict]
        ] = None,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.longrunning.operations_pb2.Operation

Gets the latest state of a long-running operation.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.get_order

    get_order(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1.types.procurement_service.GetOrderRequest,
                dict,
            ]
        ] = None,
        *,
        name: typing.Optional[str] = None,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.cloud.commerce_consumer_procurement_v1.types.order.Order

Returns the requested
xref_Order
resource.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.get_transport_class

    get_transport_class(
        label: typing.Optional[str] = None,
    ) -> typing.Type[
        google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.transports.base.ConsumerProcurementServiceTransport
    ]

Returns an appropriate transport class.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.list_orders

    list_orders(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1.types.procurement_service.ListOrdersRequest,
                dict,
            ]
        ] = None,
        *,
        parent: typing.Optional[str] = None,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> (
        google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.pagers.ListOrdersAsyncPager
    )

Lists
xref_Order
resources that the user has access to, within the scope of the
parent resource.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.modify_order

    modify_order(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1.types.procurement_service.ModifyOrderRequest,
                dict,
            ]
        ] = None,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.api_core.operation_async.AsyncOperation

Modifies an existing
xref_Order
resource.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.offer_path

    offer_path(service: str, offer: str) -> str

Returns a fully-qualified offer string.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.order_path

    order_path(billing_account: str, order: str) -> str

Returns a fully-qualified order string.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.parse_common_billing_account_path

    parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

Parse a billing_account path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.parse_common_folder_path

    parse_common_folder_path(path: str) -> typing.Dict[str, str]

Parse a folder path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.parse_common_location_path

    parse_common_location_path(path: str) -> typing.Dict[str, str]

Parse a location path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.parse_common_organization_path

    parse_common_organization_path(path: str) -> typing.Dict[str, str]

Parse a organization path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.parse_common_project_path

    parse_common_project_path(path: str) -> typing.Dict[str, str]

Parse a project path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.parse_offer_path

    parse_offer_path(path: str) -> typing.Dict[str, str]

Parses a offer path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.parse_order_path

    parse_order_path(path: str) -> typing.Dict[str, str]

Parses a order path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.place_order

    place_order(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1.types.procurement_service.PlaceOrderRequest,
                dict,
            ]
        ] = None,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.api_core.operation_async.AsyncOperation

Creates a new
xref_Order.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient

    ConsumerProcurementServiceClient(
        *,
        credentials: typing.Optional[google.auth.credentials.Credentials] = None,
        transport: typing.Optional[
            typing.Union[
                str,
                google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.transports.base.ConsumerProcurementServiceTransport,
                typing.Callable[
                    [...],
                    google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.transports.base.ConsumerProcurementServiceTransport,
                ],
            ]
        ] = None,
        client_options: typing.Optional[
            typing.Union[google.api_core.client_options.ClientOptions, dict]
        ] = None,
        client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
    )

Instantiates the consumer procurement service client.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.__exit__

    __exit__(type, value, traceback)

Releases underlying transport's resources.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.cancel_order

    cancel_order(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1.types.procurement_service.CancelOrderRequest,
                dict,
            ]
        ] = None,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.api_core.operation.Operation

Cancels an existing
xref_Order.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.common_billing_account_path

    common_billing_account_path(billing_account: str) -> str

Returns a fully-qualified billing_account string.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.common_folder_path

    common_folder_path(folder: str) -> str

Returns a fully-qualified folder string.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.common_location_path

    common_location_path(project: str, location: str) -> str

Returns a fully-qualified location string.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.common_organization_path

    common_organization_path(organization: str) -> str

Returns a fully-qualified organization string.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.common_project_path

    common_project_path(project: str) -> str

Returns a fully-qualified project string.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.from_service_account_file

    from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials
file.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.from_service_account_info

    from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials
info.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.from_service_account_json

    from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials
file.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.get_mtls_endpoint_and_cert_source

    get_mtls_endpoint_and_cert_source(
        client_options: typing.Optional[
            google.api_core.client_options.ClientOptions
        ] = None,
    )

Deprecated.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.get_operation

    get_operation(
        request: typing.Optional[
            typing.Union[google.longrunning.operations_pb2.GetOperationRequest, dict]
        ] = None,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.longrunning.operations_pb2.Operation

Gets the latest state of a long-running operation.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.get_order

    get_order(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1.types.procurement_service.GetOrderRequest,
                dict,
            ]
        ] = None,
        *,
        name: typing.Optional[str] = None,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.cloud.commerce_consumer_procurement_v1.types.order.Order

Returns the requested
xref_Order
resource.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.list_orders

    list_orders(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1.types.procurement_service.ListOrdersRequest,
                dict,
            ]
        ] = None,
        *,
        parent: typing.Optional[str] = None,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> (
        google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.pagers.ListOrdersPager
    )

Lists
xref_Order
resources that the user has access to, within the scope of the
parent resource.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.modify_order

    modify_order(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1.types.procurement_service.ModifyOrderRequest,
                dict,
            ]
        ] = None,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.api_core.operation.Operation

Modifies an existing
xref_Order
resource.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.offer_path

    offer_path(service: str, offer: str) -> str

Returns a fully-qualified offer string.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.order_path

    order_path(billing_account: str, order: str) -> str

Returns a fully-qualified order string.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.parse_common_billing_account_path

    parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

Parse a billing_account path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.parse_common_folder_path

    parse_common_folder_path(path: str) -> typing.Dict[str, str]

Parse a folder path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.parse_common_location_path

    parse_common_location_path(path: str) -> typing.Dict[str, str]

Parse a location path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.parse_common_organization_path

    parse_common_organization_path(path: str) -> typing.Dict[str, str]

Parse a organization path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.parse_common_project_path

    parse_common_project_path(path: str) -> typing.Dict[str, str]

Parse a project path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.parse_offer_path

    parse_offer_path(path: str) -> typing.Dict[str, str]

Parses a offer path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.parse_order_path

    parse_order_path(path: str) -> typing.Dict[str, str]

Parses a order path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.place_order

    place_order(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1.types.procurement_service.PlaceOrderRequest,
                dict,
            ]
        ] = None,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.api_core.operation.Operation

Creates a new
xref_Order.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.pagers.ListOrdersAsyncPager

    ListOrdersAsyncPager(
        method: typing.Callable[
            [...],
            typing.Awaitable[
                google.cloud.commerce_consumer_procurement_v1.types.procurement_service.ListOrdersResponse
            ],
        ],
        request: google.cloud.commerce_consumer_procurement_v1.types.procurement_service.ListOrdersRequest,
        response: google.cloud.commerce_consumer_procurement_v1.types.procurement_service.ListOrdersResponse,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    )

Instantiates the pager.

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

### google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.pagers.ListOrdersPager

    ListOrdersPager(
        method: typing.Callable[
            [...],
            google.cloud.commerce_consumer_procurement_v1.types.procurement_service.ListOrdersResponse,
        ],
        request: google.cloud.commerce_consumer_procurement_v1.types.procurement_service.ListOrdersRequest,
        response: google.cloud.commerce_consumer_procurement_v1.types.procurement_service.ListOrdersResponse,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    )

Instantiate the pager.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient

    LicenseManagementServiceAsyncClient(
        *,
        credentials: typing.Optional[google.auth.credentials.Credentials] = None,
        transport: typing.Optional[
            typing.Union[
                str,
                google.cloud.commerce_consumer_procurement_v1.services.license_management_service.transports.base.LicenseManagementServiceTransport,
                typing.Callable[
                    [...],
                    google.cloud.commerce_consumer_procurement_v1.services.license_management_service.transports.base.LicenseManagementServiceTransport,
                ],
            ]
        ] = "grpc_asyncio",
        client_options: typing.Optional[
            google.api_core.client_options.ClientOptions
        ] = None,
        client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
    )

Instantiates the license management service async client.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient.assign

    assign(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1.types.license_management_service.AssignRequest,
                dict,
            ]
        ] = None,
        *,
        parent: typing.Optional[str] = None,
        usernames: typing.Optional[typing.MutableSequence[str]] = None,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> (
        google.cloud.commerce_consumer_procurement_v1.types.license_management_service.AssignResponse
    )

Assigns a license to a user.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient.common_billing_account_path

    common_billing_account_path(billing_account: str) -> str

Returns a fully-qualified billing_account string.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient.common_folder_path

    common_folder_path(folder: str) -> str

Returns a fully-qualified folder string.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient.common_location_path

    common_location_path(project: str, location: str) -> str

Returns a fully-qualified location string.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient.common_organization_path

    common_organization_path(organization: str) -> str

Returns a fully-qualified organization string.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient.common_project_path

    common_project_path(project: str) -> str

Returns a fully-qualified project string.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient.enumerate_licensed_users

    enumerate_licensed_users(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1.types.license_management_service.EnumerateLicensedUsersRequest,
                dict,
            ]
        ] = None,
        *,
        parent: typing.Optional[str] = None,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> (
        google.cloud.commerce_consumer_procurement_v1.services.license_management_service.pagers.EnumerateLicensedUsersAsyncPager
    )

Enumerates all users assigned a license.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient.from_service_account_file

    from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials
file.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient.from_service_account_info

    from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials
info.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient.from_service_account_json

    from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials
file.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient.get_license_pool

    get_license_pool(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1.types.license_management_service.GetLicensePoolRequest,
                dict,
            ]
        ] = None,
        *,
        name: typing.Optional[str] = None,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> (
        google.cloud.commerce_consumer_procurement_v1.types.license_management_service.LicensePool
    )

Gets the license pool.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient.get_mtls_endpoint_and_cert_source

    get_mtls_endpoint_and_cert_source(
        client_options: typing.Optional[
            google.api_core.client_options.ClientOptions
        ] = None,
    )

Return the API endpoint and client cert source for mutual TLS.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient.get_operation

    get_operation(
        request: typing.Optional[
            typing.Union[google.longrunning.operations_pb2.GetOperationRequest, dict]
        ] = None,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.longrunning.operations_pb2.Operation

Gets the latest state of a long-running operation.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient.get_transport_class

    get_transport_class(
        label: typing.Optional[str] = None,
    ) -> typing.Type[
        google.cloud.commerce_consumer_procurement_v1.services.license_management_service.transports.base.LicenseManagementServiceTransport
    ]

Returns an appropriate transport class.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient.license_pool_path

    license_pool_path(billing_account: str, order: str) -> str

Returns a fully-qualified license_pool string.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient.parse_common_billing_account_path

    parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

Parse a billing_account path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient.parse_common_folder_path

    parse_common_folder_path(path: str) -> typing.Dict[str, str]

Parse a folder path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient.parse_common_location_path

    parse_common_location_path(path: str) -> typing.Dict[str, str]

Parse a location path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient.parse_common_organization_path

    parse_common_organization_path(path: str) -> typing.Dict[str, str]

Parse a organization path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient.parse_common_project_path

    parse_common_project_path(path: str) -> typing.Dict[str, str]

Parse a project path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient.parse_license_pool_path

    parse_license_pool_path(path: str) -> typing.Dict[str, str]

Parses a license_pool path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient.unassign

    unassign(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1.types.license_management_service.UnassignRequest,
                dict,
            ]
        ] = None,
        *,
        parent: typing.Optional[str] = None,
        usernames: typing.Optional[typing.MutableSequence[str]] = None,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> (
        google.cloud.commerce_consumer_procurement_v1.types.license_management_service.UnassignResponse
    )

Unassigns a license from a user.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient.update_license_pool

    update_license_pool(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1.types.license_management_service.UpdateLicensePoolRequest,
                dict,
            ]
        ] = None,
        *,
        license_pool: typing.Optional[
            google.cloud.commerce_consumer_procurement_v1.types.license_management_service.LicensePool
        ] = None,
        update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> (
        google.cloud.commerce_consumer_procurement_v1.types.license_management_service.LicensePool
    )

Updates the license pool if one exists for this
Order.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient

    LicenseManagementServiceClient(
        *,
        credentials: typing.Optional[google.auth.credentials.Credentials] = None,
        transport: typing.Optional[
            typing.Union[
                str,
                google.cloud.commerce_consumer_procurement_v1.services.license_management_service.transports.base.LicenseManagementServiceTransport,
                typing.Callable[
                    [...],
                    google.cloud.commerce_consumer_procurement_v1.services.license_management_service.transports.base.LicenseManagementServiceTransport,
                ],
            ]
        ] = None,
        client_options: typing.Optional[
            typing.Union[google.api_core.client_options.ClientOptions, dict]
        ] = None,
        client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
    )

Instantiates the license management service client.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.__exit__

    __exit__(type, value, traceback)

Releases underlying transport's resources.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.assign

    assign(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1.types.license_management_service.AssignRequest,
                dict,
            ]
        ] = None,
        *,
        parent: typing.Optional[str] = None,
        usernames: typing.Optional[typing.MutableSequence[str]] = None,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> (
        google.cloud.commerce_consumer_procurement_v1.types.license_management_service.AssignResponse
    )

Assigns a license to a user.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.common_billing_account_path

    common_billing_account_path(billing_account: str) -> str

Returns a fully-qualified billing_account string.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.common_folder_path

    common_folder_path(folder: str) -> str

Returns a fully-qualified folder string.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.common_location_path

    common_location_path(project: str, location: str) -> str

Returns a fully-qualified location string.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.common_organization_path

    common_organization_path(organization: str) -> str

Returns a fully-qualified organization string.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.common_project_path

    common_project_path(project: str) -> str

Returns a fully-qualified project string.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.enumerate_licensed_users

    enumerate_licensed_users(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1.types.license_management_service.EnumerateLicensedUsersRequest,
                dict,
            ]
        ] = None,
        *,
        parent: typing.Optional[str] = None,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> (
        google.cloud.commerce_consumer_procurement_v1.services.license_management_service.pagers.EnumerateLicensedUsersPager
    )

Enumerates all users assigned a license.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.from_service_account_file

    from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials
file.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.from_service_account_info

    from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials
info.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.from_service_account_json

    from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials
file.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.get_license_pool

    get_license_pool(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1.types.license_management_service.GetLicensePoolRequest,
                dict,
            ]
        ] = None,
        *,
        name: typing.Optional[str] = None,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> (
        google.cloud.commerce_consumer_procurement_v1.types.license_management_service.LicensePool
    )

Gets the license pool.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.get_mtls_endpoint_and_cert_source

    get_mtls_endpoint_and_cert_source(
        client_options: typing.Optional[
            google.api_core.client_options.ClientOptions
        ] = None,
    )

Deprecated.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.get_operation

    get_operation(
        request: typing.Optional[
            typing.Union[google.longrunning.operations_pb2.GetOperationRequest, dict]
        ] = None,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.longrunning.operations_pb2.Operation

Gets the latest state of a long-running operation.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.license_pool_path

    license_pool_path(billing_account: str, order: str) -> str

Returns a fully-qualified license_pool string.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.parse_common_billing_account_path

    parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

Parse a billing_account path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.parse_common_folder_path

    parse_common_folder_path(path: str) -> typing.Dict[str, str]

Parse a folder path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.parse_common_location_path

    parse_common_location_path(path: str) -> typing.Dict[str, str]

Parse a location path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.parse_common_organization_path

    parse_common_organization_path(path: str) -> typing.Dict[str, str]

Parse a organization path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.parse_common_project_path

    parse_common_project_path(path: str) -> typing.Dict[str, str]

Parse a project path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.parse_license_pool_path

    parse_license_pool_path(path: str) -> typing.Dict[str, str]

Parses a license_pool path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.unassign

    unassign(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1.types.license_management_service.UnassignRequest,
                dict,
            ]
        ] = None,
        *,
        parent: typing.Optional[str] = None,
        usernames: typing.Optional[typing.MutableSequence[str]] = None,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> (
        google.cloud.commerce_consumer_procurement_v1.types.license_management_service.UnassignResponse
    )

Unassigns a license from a user.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.update_license_pool

    update_license_pool(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1.types.license_management_service.UpdateLicensePoolRequest,
                dict,
            ]
        ] = None,
        *,
        license_pool: typing.Optional[
            google.cloud.commerce_consumer_procurement_v1.types.license_management_service.LicensePool
        ] = None,
        update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> (
        google.cloud.commerce_consumer_procurement_v1.types.license_management_service.LicensePool
    )

Updates the license pool if one exists for this
Order.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.pagers.EnumerateLicensedUsersAsyncPager

    EnumerateLicensedUsersAsyncPager(
        method: typing.Callable[
            [...],
            typing.Awaitable[
                google.cloud.commerce_consumer_procurement_v1.types.license_management_service.EnumerateLicensedUsersResponse
            ],
        ],
        request: google.cloud.commerce_consumer_procurement_v1.types.license_management_service.EnumerateLicensedUsersRequest,
        response: google.cloud.commerce_consumer_procurement_v1.types.license_management_service.EnumerateLicensedUsersResponse,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    )

Instantiates the pager.

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

### google.cloud.commerce_consumer_procurement_v1.services.license_management_service.pagers.EnumerateLicensedUsersPager

    EnumerateLicensedUsersPager(
        method: typing.Callable[
            [...],
            google.cloud.commerce_consumer_procurement_v1.types.license_management_service.EnumerateLicensedUsersResponse,
        ],
        request: google.cloud.commerce_consumer_procurement_v1.types.license_management_service.EnumerateLicensedUsersRequest,
        response: google.cloud.commerce_consumer_procurement_v1.types.license_management_service.EnumerateLicensedUsersResponse,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    )

Instantiate the pager.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient

    ConsumerProcurementServiceAsyncClient(
        *,
        credentials: typing.Optional[google.auth.credentials.Credentials] = None,
        transport: typing.Optional[
            typing.Union[
                str,
                google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.transports.base.ConsumerProcurementServiceTransport,
                typing.Callable[
                    [...],
                    google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.transports.base.ConsumerProcurementServiceTransport,
                ],
            ]
        ] = "grpc_asyncio",
        client_options: typing.Optional[
            google.api_core.client_options.ClientOptions
        ] = None,
        client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
    )

Instantiates the consumer procurement service async client.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.common_billing_account_path

    common_billing_account_path(billing_account: str) -> str

Returns a fully-qualified billing_account string.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.common_folder_path

    common_folder_path(folder: str) -> str

Returns a fully-qualified folder string.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.common_location_path

    common_location_path(project: str, location: str) -> str

Returns a fully-qualified location string.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.common_organization_path

    common_organization_path(organization: str) -> str

Returns a fully-qualified organization string.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.common_project_path

    common_project_path(project: str) -> str

Returns a fully-qualified project string.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.from_service_account_file

    from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials
file.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.from_service_account_info

    from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials
info.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.from_service_account_json

    from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials
file.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.get_mtls_endpoint_and_cert_source

    get_mtls_endpoint_and_cert_source(
        client_options: typing.Optional[
            google.api_core.client_options.ClientOptions
        ] = None,
    )

Return the API endpoint and client cert source for mutual TLS.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.get_operation

    get_operation(
        request: typing.Optional[
            typing.Union[google.longrunning.operations_pb2.GetOperationRequest, dict]
        ] = None,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.longrunning.operations_pb2.Operation

Gets the latest state of a long-running operation.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.get_order

    get_order(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1alpha1.types.procurement_service.GetOrderRequest,
                dict,
            ]
        ] = None,
        *,
        name: typing.Optional[str] = None,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.cloud.commerce_consumer_procurement_v1alpha1.types.order.Order

Returns the requested
xref_Order
resource.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.get_transport_class

    get_transport_class(
        label: typing.Optional[str] = None,
    ) -> typing.Type[
        google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.transports.base.ConsumerProcurementServiceTransport
    ]

Returns an appropriate transport class.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.list_orders

    list_orders(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1alpha1.types.procurement_service.ListOrdersRequest,
                dict,
            ]
        ] = None,
        *,
        parent: typing.Optional[str] = None,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> (
        google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.pagers.ListOrdersAsyncPager
    )

Lists
xref_Order
resources that the user has access to, within the scope of the
parent resource.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.offer_path

    offer_path(service: str, offer: str) -> str

Returns a fully-qualified offer string.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.order_path

    order_path(billing_account: str, order: str) -> str

Returns a fully-qualified order string.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.parse_common_billing_account_path

    parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

Parse a billing_account path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.parse_common_folder_path

    parse_common_folder_path(path: str) -> typing.Dict[str, str]

Parse a folder path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.parse_common_location_path

    parse_common_location_path(path: str) -> typing.Dict[str, str]

Parse a location path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.parse_common_organization_path

    parse_common_organization_path(path: str) -> typing.Dict[str, str]

Parse a organization path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.parse_common_project_path

    parse_common_project_path(path: str) -> typing.Dict[str, str]

Parse a project path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.parse_offer_path

    parse_offer_path(path: str) -> typing.Dict[str, str]

Parses a offer path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.parse_order_path

    parse_order_path(path: str) -> typing.Dict[str, str]

Parses a order path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.place_order

    place_order(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1alpha1.types.procurement_service.PlaceOrderRequest,
                dict,
            ]
        ] = None,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.api_core.operation_async.AsyncOperation

Creates a new
xref_Order.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient

    ConsumerProcurementServiceClient(
        *,
        credentials: typing.Optional[google.auth.credentials.Credentials] = None,
        transport: typing.Optional[
            typing.Union[
                str,
                google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.transports.base.ConsumerProcurementServiceTransport,
                typing.Callable[
                    [...],
                    google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.transports.base.ConsumerProcurementServiceTransport,
                ],
            ]
        ] = None,
        client_options: typing.Optional[
            typing.Union[google.api_core.client_options.ClientOptions, dict]
        ] = None,
        client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
    )

Instantiates the consumer procurement service client.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.__exit__

    __exit__(type, value, traceback)

Releases underlying transport's resources.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.common_billing_account_path

    common_billing_account_path(billing_account: str) -> str

Returns a fully-qualified billing_account string.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.common_folder_path

    common_folder_path(folder: str) -> str

Returns a fully-qualified folder string.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.common_location_path

    common_location_path(project: str, location: str) -> str

Returns a fully-qualified location string.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.common_organization_path

    common_organization_path(organization: str) -> str

Returns a fully-qualified organization string.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.common_project_path

    common_project_path(project: str) -> str

Returns a fully-qualified project string.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.from_service_account_file

    from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials
file.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.from_service_account_info

    from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials
info.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.from_service_account_json

    from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials
file.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.get_mtls_endpoint_and_cert_source

    get_mtls_endpoint_and_cert_source(
        client_options: typing.Optional[
            google.api_core.client_options.ClientOptions
        ] = None,
    )

Deprecated.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.get_operation

    get_operation(
        request: typing.Optional[
            typing.Union[google.longrunning.operations_pb2.GetOperationRequest, dict]
        ] = None,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.longrunning.operations_pb2.Operation

Gets the latest state of a long-running operation.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.get_order

    get_order(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1alpha1.types.procurement_service.GetOrderRequest,
                dict,
            ]
        ] = None,
        *,
        name: typing.Optional[str] = None,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.cloud.commerce_consumer_procurement_v1alpha1.types.order.Order

Returns the requested
xref_Order
resource.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.list_orders

    list_orders(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1alpha1.types.procurement_service.ListOrdersRequest,
                dict,
            ]
        ] = None,
        *,
        parent: typing.Optional[str] = None,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> (
        google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.pagers.ListOrdersPager
    )

Lists
xref_Order
resources that the user has access to, within the scope of the
parent resource.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.offer_path

    offer_path(service: str, offer: str) -> str

Returns a fully-qualified offer string.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.order_path

    order_path(billing_account: str, order: str) -> str

Returns a fully-qualified order string.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.parse_common_billing_account_path

    parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

Parse a billing_account path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.parse_common_folder_path

    parse_common_folder_path(path: str) -> typing.Dict[str, str]

Parse a folder path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.parse_common_location_path

    parse_common_location_path(path: str) -> typing.Dict[str, str]

Parse a location path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.parse_common_organization_path

    parse_common_organization_path(path: str) -> typing.Dict[str, str]

Parse a organization path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.parse_common_project_path

    parse_common_project_path(path: str) -> typing.Dict[str, str]

Parse a project path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.parse_offer_path

    parse_offer_path(path: str) -> typing.Dict[str, str]

Parses a offer path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.parse_order_path

    parse_order_path(path: str) -> typing.Dict[str, str]

Parses a order path into its component segments.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.place_order

    place_order(
        request: typing.Optional[
            typing.Union[
                google.cloud.commerce_consumer_procurement_v1alpha1.types.procurement_service.PlaceOrderRequest,
                dict,
            ]
        ] = None,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    ) -> google.api_core.operation.Operation

Creates a new
xref_Order.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.pagers.ListOrdersAsyncPager

    ListOrdersAsyncPager(
        method: typing.Callable[
            [...],
            typing.Awaitable[
                google.cloud.commerce_consumer_procurement_v1alpha1.types.procurement_service.ListOrdersResponse
            ],
        ],
        request: google.cloud.commerce_consumer_procurement_v1alpha1.types.procurement_service.ListOrdersRequest,
        response: google.cloud.commerce_consumer_procurement_v1alpha1.types.procurement_service.ListOrdersResponse,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    )

Instantiates the pager.

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

### google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.pagers.ListOrdersPager

    ListOrdersPager(
        method: typing.Callable[
            [...],
            google.cloud.commerce_consumer_procurement_v1alpha1.types.procurement_service.ListOrdersResponse,
        ],
        request: google.cloud.commerce_consumer_procurement_v1alpha1.types.procurement_service.ListOrdersRequest,
        response: google.cloud.commerce_consumer_procurement_v1alpha1.types.procurement_service.ListOrdersResponse,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    )

Instantiate the pager.

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