Package com.google.shopping.merchant.promotions.v1beta (0.8.0)

GitHub Repository

Prerelease Implications

This package is a prerelease version! Use with caution.

Prerelease versions are considered unstable as they may be shut down and/or subject to breaking changes when upgrading. Use them only for testing or if you specifically need their experimental features.

Client Classes

Client classes are the main entry point to using a package. They contain several variations of Java methods for each of the API's methods.

Client Description
com.google.shopping.merchant.promotions.v1beta.PromotionsServiceClient Service Description: Service to manage promotions for products.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:

Settings Classes

Settings classes can be used to configure credentials, endpoints, and retry settings for a Client.

Settings Description
com.google.shopping.merchant.promotions.v1beta.PromotionsServiceSettings Settings class to configure an instance of PromotionsServiceClient.

The default instance has everything set to sensible defaults:

Classes

Class Description
com.google.shopping.merchant.promotions.v1beta.Attributes Attributes.
com.google.shopping.merchant.promotions.v1beta.Attributes.Builder Attributes.
com.google.shopping.merchant.promotions.v1beta.GetPromotionRequest Request message for the GetPromotion method.
com.google.shopping.merchant.promotions.v1beta.GetPromotionRequest.Builder Request message for the GetPromotion method.
com.google.shopping.merchant.promotions.v1beta.InsertPromotionRequest Request message for the InsertPromotion method.
com.google.shopping.merchant.promotions.v1beta.InsertPromotionRequest.Builder Request message for the InsertPromotion method.
com.google.shopping.merchant.promotions.v1beta.ListPromotionsRequest Request message for the ListPromotions method.
com.google.shopping.merchant.promotions.v1beta.ListPromotionsRequest.Builder Request message for the ListPromotions method.
com.google.shopping.merchant.promotions.v1beta.ListPromotionsResponse Response message for the ListPromotions method.
com.google.shopping.merchant.promotions.v1beta.ListPromotionsResponse.Builder Response message for the ListPromotions method.
com.google.shopping.merchant.promotions.v1beta.Promotion Represents a promotion. See the following articles for more details. Required promotion input attributes to pass data validation checks are
com.google.shopping.merchant.promotions.v1beta.Promotion.Builder Represents a promotion. See the following articles for more details. Required promotion input attributes to pass data validation checks are
com.google.shopping.merchant.promotions.v1beta.PromotionName
com.google.shopping.merchant.promotions.v1beta.PromotionName.Builder Builder for accounts/{account}/promotions/{promotion}.
com.google.shopping.merchant.promotions.v1beta.PromotionStatus The status of the promotion.
com.google.shopping.merchant.promotions.v1beta.PromotionStatus.Builder The status of the promotion.
com.google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus The status for the specified destination.
com.google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus.Builder The status for the specified destination.
com.google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue The issue associated with the promotion.
com.google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue.Builder The issue associated with the promotion.
com.google.shopping.merchant.promotions.v1beta.PromotionsCommonProto
com.google.shopping.merchant.promotions.v1beta.PromotionsProto
com.google.shopping.merchant.promotions.v1beta.PromotionsServiceClient.ListPromotionsFixedSizeCollection
com.google.shopping.merchant.promotions.v1beta.PromotionsServiceClient.ListPromotionsPage
com.google.shopping.merchant.promotions.v1beta.PromotionsServiceClient.ListPromotionsPagedResponse
com.google.shopping.merchant.promotions.v1beta.PromotionsServiceGrpc Service to manage promotions for products.
com.google.shopping.merchant.promotions.v1beta.PromotionsServiceGrpc.PromotionsServiceImplBase Base class for the server implementation of the service PromotionsService. Service to manage promotions for products.
com.google.shopping.merchant.promotions.v1beta.PromotionsServiceSettings.Builder Builder for PromotionsServiceSettings.

Interfaces

Interface Description
com.google.shopping.merchant.promotions.v1beta.AttributesOrBuilder
com.google.shopping.merchant.promotions.v1beta.GetPromotionRequestOrBuilder
com.google.shopping.merchant.promotions.v1beta.InsertPromotionRequestOrBuilder
com.google.shopping.merchant.promotions.v1beta.ListPromotionsRequestOrBuilder
com.google.shopping.merchant.promotions.v1beta.ListPromotionsResponseOrBuilder
com.google.shopping.merchant.promotions.v1beta.PromotionOrBuilder
com.google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatusOrBuilder
com.google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssueOrBuilder
com.google.shopping.merchant.promotions.v1beta.PromotionStatusOrBuilder
com.google.shopping.merchant.promotions.v1beta.PromotionsServiceGrpc.AsyncService Service to manage promotions for products.

Enums

Enum Description
com.google.shopping.merchant.promotions.v1beta.CouponValueType Coupon value type of a promotion.
com.google.shopping.merchant.promotions.v1beta.OfferType Offer type of a promotion.
com.google.shopping.merchant.promotions.v1beta.ProductApplicability Which product or list of products the promotion applies to.
com.google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus.State The current state of the promotion.
com.google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue.Severity The severity of the issue.
com.google.shopping.merchant.promotions.v1beta.RedemptionChannel Channel of a promotion.
com.google.shopping.merchant.promotions.v1beta.StoreApplicability Store codes or list of store codes the promotion applies to. Only for Local inventory ads promotions.