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.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, str]] = ()
) -> 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, str]] = ()
) -> 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() -> (
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, str]] = ()
) -> (
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.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, str]] = ()
) -> 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.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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> (
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.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, str]] = ()
) -> 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,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
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,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
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, str]] = ()
) -> 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, str]] = ()
) -> 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() -> (
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, str]] = ()
) -> (
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> (
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, str]] = ()
) -> 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,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
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,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.