@Generated("by gapic-generator-java")
Package com.google.cloud.commerce.consumer.procurement.v1
A client to Cloud Commerce Consumer Procurement API
The interfaces provided are listed below, along with usage samples.
======================= ConsumerProcurementServiceClient =======================
Service Description: ConsumerProcurementService allows customers to make purchases of products served by the Cloud Commerce platform.
When purchases are made, the [ConsumerProcurementService][google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService] programs the appropriate backends, including both Google's own infrastructure, as well as third-party systems, and to enable billing setup for charging for the procured item.
Sample for ConsumerProcurementServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConsumerProcurementServiceClient consumerProcurementServiceClient =
ConsumerProcurementServiceClient.create()) {
String name = "name3373707";
Order response = consumerProcurementServiceClient.getOrder(name);
}
-
Interface Summary Interface Description ConsumerProcurementServiceGrpc.AsyncService ConsumerProcurementService allows customers to make purchases of products served by the Cloud Commerce platform.GetOrderRequestOrBuilder LineItemChangeOrBuilder LineItemInfoOrBuilder LineItemOrBuilder ListOrdersRequestOrBuilder ListOrdersResponseOrBuilder OrderOrBuilder Parameter.ValueOrBuilder ParameterOrBuilder PlaceOrderMetadataOrBuilder PlaceOrderRequestOrBuilder SubscriptionOrBuilder -
Class Summary Class Description BillingAccountName BillingAccountName.Builder Builder for billingAccounts/{billing_account}.ConsumerProcurementServiceClient Service Description: ConsumerProcurementService allows customers to make purchases of products served by the Cloud Commerce platform.ConsumerProcurementServiceClient.ListOrdersFixedSizeCollection ConsumerProcurementServiceClient.ListOrdersPage ConsumerProcurementServiceClient.ListOrdersPagedResponse ConsumerProcurementServiceGrpc ConsumerProcurementService allows customers to make purchases of products served by the Cloud Commerce platform.ConsumerProcurementServiceGrpc.ConsumerProcurementServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service ConsumerProcurementService.ConsumerProcurementServiceGrpc.ConsumerProcurementServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service ConsumerProcurementService.ConsumerProcurementServiceGrpc.ConsumerProcurementServiceImplBase Base class for the server implementation of the service ConsumerProcurementService.ConsumerProcurementServiceGrpc.ConsumerProcurementServiceStub A stub to allow clients to do asynchronous rpc calls to service ConsumerProcurementService.ConsumerProcurementServiceSettings Settings class to configure an instance ofConsumerProcurementServiceClient
.ConsumerProcurementServiceSettings.Builder Builder for ConsumerProcurementServiceSettings.GetOrderRequest Request message for [ConsumerProcurementService.GetOrder][google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.GetOrder]GetOrderRequest.Builder Request message for [ConsumerProcurementService.GetOrder][google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.GetOrder]LineItem A single item within an order.LineItem.Builder A single item within an order.LineItemChange A change made on a line item.LineItemChange.Builder A change made on a line item.LineItemInfo Line item information.LineItemInfo.Builder Line item information.ListOrdersRequest Request message for [ConsumerProcurementService.ListOrders][google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.ListOrders].ListOrdersRequest.Builder Request message for [ConsumerProcurementService.ListOrders][google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.ListOrders].ListOrdersResponse Response message for [ConsumerProcurementService.ListOrders][google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.ListOrders].ListOrdersResponse.Builder Response message for [ConsumerProcurementService.ListOrders][google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.ListOrders].Order Represents a purchase made by a customer on Cloud Marketplace.Order.Builder Represents a purchase made by a customer on Cloud Marketplace.OrderOuterClass Parameter User-provided Parameters.Parameter.Builder User-provided Parameters.Parameter.Value Protobuf typegoogle.cloud.commerce.consumer.procurement.v1.Parameter.Value
Parameter.Value.Builder Protobuf typegoogle.cloud.commerce.consumer.procurement.v1.Parameter.Value
PlaceOrderMetadata Message stored in the metadata field of the Operation returned by [ConsumerProcurementService.PlaceOrder][google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.PlaceOrder].PlaceOrderMetadata.Builder Message stored in the metadata field of the Operation returned by [ConsumerProcurementService.PlaceOrder][google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.PlaceOrder].PlaceOrderRequest Request message for [ConsumerProcurementService.PlaceOrder][google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.PlaceOrder].PlaceOrderRequest.Builder Request message for [ConsumerProcurementService.PlaceOrder][google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.PlaceOrder].ProcurementService Subscription Subscription information.Subscription.Builder Subscription information. -
Enum Summary Enum Description LineItemChangeState State of a change.LineItemChangeStateReasonType Predefined types for line item change state reason.LineItemChangeType Type of a line item change.Parameter.Value.KindCase