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
=
Instantiates the consumer procurement service async client.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.get_operation
get_operation
(
request
:
typing
.
Optional
[
google
.
longrunning
.
operations_pb2
.
GetOperationRequest
]
=
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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
=
Instantiates the consumer procurement service client.
google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.__exit__
__exit__
(
type
,
value
,
traceback
)
Releases underlying transport's resources.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
google.cloud.commerce_consumer_procurement_v1.services.consumer_procurement_service.ConsumerProcurementServiceClient.get_operation
get_operation
(
request
:
typing
.
Optional
[
google
.
longrunning
.
operations_pb2
.
GetOperationRequest
]
=
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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
=
Instantiates the license management service async client.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceAsyncClient.get_operation
get_operation
(
request
:
typing
.
Optional
[
google
.
longrunning
.
operations_pb2
.
GetOperationRequest
]
=
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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
=
Instantiates the license management service client.
google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.__exit__
__exit__
(
type
,
value
,
traceback
)
Releases underlying transport's resources.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
google.cloud.commerce_consumer_procurement_v1.services.license_management_service.LicenseManagementServiceClient.get_operation
get_operation
(
request
:
typing
.
Optional
[
google
.
longrunning
.
operations_pb2
.
GetOperationRequest
]
=
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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
=
Instantiates the consumer procurement service async client.
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.
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.
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.
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.
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.
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.
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.
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.
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.
google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceAsyncClient.get_operation
get_operation
(
request
:
typing
.
Optional
[
google
.
longrunning
.
operations_pb2
.
GetOperationRequest
]
=
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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
=
Instantiates the consumer procurement service client.
google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.__exit__
__exit__
(
type
,
value
,
traceback
)
Releases underlying transport's resources.
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.
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.
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.
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.
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.
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.
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.
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.
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.
google.cloud.commerce_consumer_procurement_v1alpha1.services.consumer_procurement_service.ConsumerProcurementServiceClient.get_operation
get_operation
(
request
:
typing
.
Optional
[
google
.
longrunning
.
operations_pb2
.
GetOperationRequest
]
=
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.