Documentation
¶
Index ¶
- Variables
- func RegisterProductInputsServiceServer(s *grpc.Server, srv ProductInputsServiceServer)
- func RegisterProductsServiceServer(s *grpc.Server, srv ProductsServiceServer)
- type AgeGroup
- type AutomatedDiscounts
- func (*AutomatedDiscounts) Descriptor() ([]byte, []int)deprecated
- func (x *AutomatedDiscounts) GetGadPrice() *typepb.Price
- func (x *AutomatedDiscounts) GetPriorPrice() *typepb.Price
- func (x *AutomatedDiscounts) GetPriorPriceProgressive() *typepb.Price
- func (*AutomatedDiscounts) ProtoMessage()
- func (x *AutomatedDiscounts) ProtoReflect() protoreflect.Message
- func (x *AutomatedDiscounts) Reset()
- func (x *AutomatedDiscounts) String() string
- type Availability
- func (Availability) Descriptor() protoreflect.EnumDescriptor
- func (x Availability) Enum() *Availability
- func (Availability) EnumDescriptor() ([]byte, []int)deprecated
- func (x Availability) Number() protoreflect.EnumNumber
- func (x Availability) String() string
- func (Availability) Type() protoreflect.EnumType
- type CarrierTransitTimeOption
- func (CarrierTransitTimeOption) Descriptor() protoreflect.EnumDescriptor
- func (x CarrierTransitTimeOption) Enum() *CarrierTransitTimeOption
- func (CarrierTransitTimeOption) EnumDescriptor() ([]byte, []int)deprecated
- func (x CarrierTransitTimeOption) Number() protoreflect.EnumNumber
- func (x CarrierTransitTimeOption) String() string
- func (CarrierTransitTimeOption) Type() protoreflect.EnumType
- type CertificationAuthority
- func (CertificationAuthority) Descriptor() protoreflect.EnumDescriptor
- func (x CertificationAuthority) Enum() *CertificationAuthority
- func (CertificationAuthority) EnumDescriptor() ([]byte, []int)deprecated
- func (x CertificationAuthority) Number() protoreflect.EnumNumber
- func (x CertificationAuthority) String() string
- func (CertificationAuthority) Type() protoreflect.EnumType
- type CertificationName
- func (CertificationName) Descriptor() protoreflect.EnumDescriptor
- func (x CertificationName) Enum() *CertificationName
- func (CertificationName) EnumDescriptor() ([]byte, []int)deprecated
- func (x CertificationName) Number() protoreflect.EnumNumber
- func (x CertificationName) String() string
- func (CertificationName) Type() protoreflect.EnumType
- type CloudExportAdditionalProperties
- func (*CloudExportAdditionalProperties) Descriptor() ([]byte, []int)deprecated
- func (x *CloudExportAdditionalProperties) GetBoolValue() bool
- func (x *CloudExportAdditionalProperties) GetFloatValue() []float32
- func (x *CloudExportAdditionalProperties) GetIntValue() []int64
- func (x *CloudExportAdditionalProperties) GetMaxValue() float32
- func (x *CloudExportAdditionalProperties) GetMinValue() float32
- func (x *CloudExportAdditionalProperties) GetPropertyName() string
- func (x *CloudExportAdditionalProperties) GetTextValue() []string
- func (x *CloudExportAdditionalProperties) GetUnitCode() string
- func (*CloudExportAdditionalProperties) ProtoMessage()
- func (x *CloudExportAdditionalProperties) ProtoReflect() protoreflect.Message
- func (x *CloudExportAdditionalProperties) Reset()
- func (x *CloudExportAdditionalProperties) String() string
- type Condition
- type CreditType
- type DeleteProductInputRequest
- func (*DeleteProductInputRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProductInputRequest) GetDataSource() string
- func (x *DeleteProductInputRequest) GetName() string
- func (*DeleteProductInputRequest) ProtoMessage()
- func (x *DeleteProductInputRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteProductInputRequest) Reset()
- func (x *DeleteProductInputRequest) String() string
- type DigitalSourceType
- func (DigitalSourceType) Descriptor() protoreflect.EnumDescriptor
- func (x DigitalSourceType) Enum() *DigitalSourceType
- func (DigitalSourceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DigitalSourceType) Number() protoreflect.EnumNumber
- func (x DigitalSourceType) String() string
- func (DigitalSourceType) Type() protoreflect.EnumType
- type EnergyEfficiencyClass
- func (EnergyEfficiencyClass) Descriptor() protoreflect.EnumDescriptor
- func (x EnergyEfficiencyClass) Enum() *EnergyEfficiencyClass
- func (EnergyEfficiencyClass) EnumDescriptor() ([]byte, []int)deprecated
- func (x EnergyEfficiencyClass) Number() protoreflect.EnumNumber
- func (x EnergyEfficiencyClass) String() string
- func (EnergyEfficiencyClass) Type() protoreflect.EnumType
- type FreeShippingThreshold
- func (*FreeShippingThreshold) Descriptor() ([]byte, []int)deprecated
- func (x *FreeShippingThreshold) GetCountry() string
- func (x *FreeShippingThreshold) GetPriceThreshold() *typepb.Price
- func (*FreeShippingThreshold) ProtoMessage()
- func (x *FreeShippingThreshold) ProtoReflect() protoreflect.Message
- func (x *FreeShippingThreshold) Reset()
- func (x *FreeShippingThreshold) String() string
- type Gender
- type GetProductRequest
- type InsertProductInputRequest
- func (*InsertProductInputRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InsertProductInputRequest) GetDataSource() string
- func (x *InsertProductInputRequest) GetParent() string
- func (x *InsertProductInputRequest) GetProductInput() *ProductInput
- func (*InsertProductInputRequest) ProtoMessage()
- func (x *InsertProductInputRequest) ProtoReflect() protoreflect.Message
- func (x *InsertProductInputRequest) Reset()
- func (x *InsertProductInputRequest) String() string
- type ListProductsRequest
- func (*ListProductsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListProductsRequest) GetPageSize() int32
- func (x *ListProductsRequest) GetPageToken() string
- func (x *ListProductsRequest) GetParent() string
- func (*ListProductsRequest) ProtoMessage()
- func (x *ListProductsRequest) ProtoReflect() protoreflect.Message
- func (x *ListProductsRequest) Reset()
- func (x *ListProductsRequest) String() string
- type ListProductsResponse
- func (*ListProductsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProductsResponse) GetNextPageToken() string
- func (x *ListProductsResponse) GetProducts() []*Product
- func (*ListProductsResponse) ProtoMessage()
- func (x *ListProductsResponse) ProtoReflect() protoreflect.Message
- func (x *ListProductsResponse) Reset()
- func (x *ListProductsResponse) String() string
- type LoyaltyPoints
- func (*LoyaltyPoints) Descriptor() ([]byte, []int)deprecated
- func (x *LoyaltyPoints) GetName() string
- func (x *LoyaltyPoints) GetPointsValue() int64
- func (x *LoyaltyPoints) GetRatio() float64
- func (*LoyaltyPoints) ProtoMessage()
- func (x *LoyaltyPoints) ProtoReflect() protoreflect.Message
- func (x *LoyaltyPoints) Reset()
- func (x *LoyaltyPoints) String() string
- type LoyaltyProgram
- func (*LoyaltyProgram) Descriptor() ([]byte, []int)deprecated
- func (x *LoyaltyProgram) GetCashbackForFutureUse() *typepb.Price
- func (x *LoyaltyProgram) GetLoyaltyPoints() int64
- func (x *LoyaltyProgram) GetMemberPriceEffectiveDate() *interval.Interval
- func (x *LoyaltyProgram) GetPrice() *typepb.Price
- func (x *LoyaltyProgram) GetProgramLabel() string
- func (x *LoyaltyProgram) GetShippingLabel() string
- func (x *LoyaltyProgram) GetTierLabel() string
- func (*LoyaltyProgram) ProtoMessage()
- func (x *LoyaltyProgram) ProtoReflect() protoreflect.Message
- func (x *LoyaltyProgram) Reset()
- func (x *LoyaltyProgram) String() string
- type Pause
- type PickupMethod
- func (PickupMethod) Descriptor() protoreflect.EnumDescriptor
- func (x PickupMethod) Enum() *PickupMethod
- func (PickupMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x PickupMethod) Number() protoreflect.EnumNumber
- func (x PickupMethod) String() string
- func (PickupMethod) Type() protoreflect.EnumType
- type PickupSla
- type Product
- func (*Product) Descriptor() ([]byte, []int)deprecated
- func (x *Product) GetAutomatedDiscounts() *AutomatedDiscounts
- func (x *Product) GetContentLanguage() string
- func (x *Product) GetCustomAttributes() []*typepb.CustomAttribute
- func (x *Product) GetDataSource() string
- func (x *Product) GetFeedLabel() string
- func (x *Product) GetLegacyLocal() bool
- func (x *Product) GetName() string
- func (x *Product) GetOfferId() string
- func (x *Product) GetProductAttributes() *ProductAttributes
- func (x *Product) GetProductStatus() *ProductStatus
- func (x *Product) GetVersionNumber() int64
- func (*Product) ProtoMessage()
- func (x *Product) ProtoReflect() protoreflect.Message
- func (x *Product) Reset()
- func (x *Product) String() string
- type ProductAttributes
- func (*ProductAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *ProductAttributes) GetAdditionalImageLinks() []string
- func (x *ProductAttributes) GetAdsGrouping() string
- func (x *ProductAttributes) GetAdsLabels() []string
- func (x *ProductAttributes) GetAdsRedirect() string
- func (x *ProductAttributes) GetAdult() bool
- func (x *ProductAttributes) GetAgeGroup() AgeGroup
- func (x *ProductAttributes) GetAutoPricingMinPrice() *typepb.Price
- func (x *ProductAttributes) GetAvailability() Availability
- func (x *ProductAttributes) GetAvailabilityDate() *timestamppb.Timestamp
- func (x *ProductAttributes) GetBrand() string
- func (x *ProductAttributes) GetCanonicalLink() string
- func (x *ProductAttributes) GetCarrierShipping() []*ProductAttributes_CarrierShipping
- func (x *ProductAttributes) GetCertifications() []*ProductCertification
- func (x *ProductAttributes) GetCloudExportAdditionalProperties() []*CloudExportAdditionalProperties
- func (x *ProductAttributes) GetColor() string
- func (x *ProductAttributes) GetCondition() Condition
- func (x *ProductAttributes) GetCostOfGoodsSold() *typepb.Price
- func (x *ProductAttributes) GetCustomLabel_0() string
- func (x *ProductAttributes) GetCustomLabel_1() string
- func (x *ProductAttributes) GetCustomLabel_2() string
- func (x *ProductAttributes) GetCustomLabel_3() string
- func (x *ProductAttributes) GetCustomLabel_4() string
- func (x *ProductAttributes) GetDescription() string
- func (x *ProductAttributes) GetDisclosureDate() *timestamppb.Timestamp
- func (x *ProductAttributes) GetDisplayAdsId() string
- func (x *ProductAttributes) GetDisplayAdsLink() string
- func (x *ProductAttributes) GetDisplayAdsSimilarIds() []string
- func (x *ProductAttributes) GetDisplayAdsTitle() string
- func (x *ProductAttributes) GetDisplayAdsValue() float64
- func (x *ProductAttributes) GetEnergyEfficiencyClass() EnergyEfficiencyClass
- func (x *ProductAttributes) GetExcludedDestinations() []typepb.Destination_DestinationEnum
- func (x *ProductAttributes) GetExpirationDate() *timestamppb.Timestamp
- func (x *ProductAttributes) GetExternalSellerId() string
- func (x *ProductAttributes) GetFreeShippingThreshold() []*FreeShippingThreshold
- func (x *ProductAttributes) GetGender() Gender
- func (x *ProductAttributes) GetGoogleProductCategory() string
- func (x *ProductAttributes) GetGtins() []string
- func (x *ProductAttributes) GetIdentifierExists() bool
- func (x *ProductAttributes) GetImageLink() string
- func (x *ProductAttributes) GetIncludedDestinations() []typepb.Destination_DestinationEnum
- func (x *ProductAttributes) GetInstallment() *ProductInstallment
- func (x *ProductAttributes) GetIsBundle() bool
- func (x *ProductAttributes) GetItemGroupId() string
- func (x *ProductAttributes) GetLifestyleImageLinks() []string
- func (x *ProductAttributes) GetLink() string
- func (x *ProductAttributes) GetLinkTemplate() string
- func (x *ProductAttributes) GetLoyaltyPoints() *LoyaltyPoints
- func (x *ProductAttributes) GetLoyaltyPrograms() []*LoyaltyProgram
- func (x *ProductAttributes) GetMaterial() string
- func (x *ProductAttributes) GetMaxEnergyEfficiencyClass() EnergyEfficiencyClass
- func (x *ProductAttributes) GetMaxHandlingTime() int64
- func (x *ProductAttributes) GetMaximumRetailPrice() *typepb.Price
- func (x *ProductAttributes) GetMinEnergyEfficiencyClass() EnergyEfficiencyClass
- func (x *ProductAttributes) GetMinHandlingTime() int64
- func (x *ProductAttributes) GetMobileLink() string
- func (x *ProductAttributes) GetMobileLinkTemplate() string
- func (x *ProductAttributes) GetMpn() string
- func (x *ProductAttributes) GetMultipack() int64
- func (x *ProductAttributes) GetPattern() string
- func (x *ProductAttributes) GetPause() Pause
- func (x *ProductAttributes) GetPickupMethod() PickupMethod
- func (x *ProductAttributes) GetPickupSla() PickupSla
- func (x *ProductAttributes) GetPrice() *typepb.Price
- func (x *ProductAttributes) GetProductDetails() []*ProductDetail
- func (x *ProductAttributes) GetProductHeight() *ProductDimension
- func (x *ProductAttributes) GetProductHighlights() []string
- func (x *ProductAttributes) GetProductLength() *ProductDimension
- func (x *ProductAttributes) GetProductTypes() []string
- func (x *ProductAttributes) GetProductWeight() *ProductWeight
- func (x *ProductAttributes) GetProductWidth() *ProductDimension
- func (x *ProductAttributes) GetPromotionIds() []string
- func (x *ProductAttributes) GetSalePrice() *typepb.Price
- func (x *ProductAttributes) GetSalePriceEffectiveDate() *interval.Interval
- func (x *ProductAttributes) GetSellOnGoogleQuantity() int64
- func (x *ProductAttributes) GetShipping() []*Shipping
- func (x *ProductAttributes) GetShippingHeight() *ShippingDimension
- func (x *ProductAttributes) GetShippingLabel() string
- func (x *ProductAttributes) GetShippingLength() *ShippingDimension
- func (x *ProductAttributes) GetShippingWeight() *ShippingWeight
- func (x *ProductAttributes) GetShippingWidth() *ShippingDimension
- func (x *ProductAttributes) GetShoppingAdsExcludedCountries() []string
- func (x *ProductAttributes) GetSize() string
- func (x *ProductAttributes) GetSizeSystem() SizeSystem
- func (x *ProductAttributes) GetSizeTypes() []SizeType
- func (x *ProductAttributes) GetStructuredDescription() *StructuredDescription
- func (x *ProductAttributes) GetStructuredTitle() *StructuredTitle
- func (x *ProductAttributes) GetSubscriptionCost() *SubscriptionCost
- func (x *ProductAttributes) GetSustainabilityIncentives() []*ProductSustainabilityIncentive
- func (x *ProductAttributes) GetTitle() string
- func (x *ProductAttributes) GetTransitTimeLabel() string
- func (x *ProductAttributes) GetUnitPricingBaseMeasure() *UnitPricingBaseMeasure
- func (x *ProductAttributes) GetUnitPricingMeasure() *UnitPricingMeasure
- func (x *ProductAttributes) GetVirtualModelLink() string
- func (*ProductAttributes) ProtoMessage()
- func (x *ProductAttributes) ProtoReflect() protoreflect.Message
- func (x *ProductAttributes) Reset()
- func (x *ProductAttributes) String() string
- type ProductAttributes_CarrierPriceOption
- func (ProductAttributes_CarrierPriceOption) Descriptor() protoreflect.EnumDescriptor
- func (x ProductAttributes_CarrierPriceOption) Enum() *ProductAttributes_CarrierPriceOption
- func (ProductAttributes_CarrierPriceOption) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProductAttributes_CarrierPriceOption) Number() protoreflect.EnumNumber
- func (x ProductAttributes_CarrierPriceOption) String() string
- func (ProductAttributes_CarrierPriceOption) Type() protoreflect.EnumType
- type ProductAttributes_CarrierShipping
- func (*ProductAttributes_CarrierShipping) Descriptor() ([]byte, []int)deprecated
- func (x *ProductAttributes_CarrierShipping) GetCarrierPrice() ProductAttributes_CarrierPriceOption
- func (x *ProductAttributes_CarrierShipping) GetCarrierPriceFlatAdjustment() *typepb.Price
- func (x *ProductAttributes_CarrierShipping) GetCarrierPricePercentageAdjustment() float64
- func (x *ProductAttributes_CarrierShipping) GetCarrierTransitTime() CarrierTransitTimeOption
- func (x *ProductAttributes_CarrierShipping) GetCountry() string
- func (x *ProductAttributes_CarrierShipping) GetFixedMaxTransitTime() int64
- func (x *ProductAttributes_CarrierShipping) GetFixedMinTransitTime() int64
- func (x *ProductAttributes_CarrierShipping) GetFlatPrice() *typepb.Price
- func (x *ProductAttributes_CarrierShipping) GetMaxHandlingTime() int64
- func (x *ProductAttributes_CarrierShipping) GetMinHandlingTime() int64
- func (x *ProductAttributes_CarrierShipping) GetOriginPostalCode() string
- func (x *ProductAttributes_CarrierShipping) GetPostalCode() string
- func (x *ProductAttributes_CarrierShipping) GetRegion() string
- func (*ProductAttributes_CarrierShipping) ProtoMessage()
- func (x *ProductAttributes_CarrierShipping) ProtoReflect() protoreflect.Message
- func (x *ProductAttributes_CarrierShipping) Reset()
- func (x *ProductAttributes_CarrierShipping) String() string
- type ProductCertification
- func (*ProductCertification) Descriptor() ([]byte, []int)deprecated
- func (x *ProductCertification) GetCertificationAuthority() CertificationAuthority
- func (x *ProductCertification) GetCertificationCode() string
- func (x *ProductCertification) GetCertificationName() CertificationName
- func (x *ProductCertification) GetCertificationValue() string
- func (*ProductCertification) ProtoMessage()
- func (x *ProductCertification) ProtoReflect() protoreflect.Message
- func (x *ProductCertification) Reset()
- func (x *ProductCertification) String() string
- type ProductDetail
- func (*ProductDetail) Descriptor() ([]byte, []int)deprecated
- func (x *ProductDetail) GetAttributeName() string
- func (x *ProductDetail) GetAttributeValue() string
- func (x *ProductDetail) GetSectionName() string
- func (*ProductDetail) ProtoMessage()
- func (x *ProductDetail) ProtoReflect() protoreflect.Message
- func (x *ProductDetail) Reset()
- func (x *ProductDetail) String() string
- type ProductDimension
- func (*ProductDimension) Descriptor() ([]byte, []int)deprecated
- func (x *ProductDimension) GetUnit() string
- func (x *ProductDimension) GetValue() float64
- func (*ProductDimension) ProtoMessage()
- func (x *ProductDimension) ProtoReflect() protoreflect.Message
- func (x *ProductDimension) Reset()
- func (x *ProductDimension) String() string
- type ProductInput
- func (*ProductInput) Descriptor() ([]byte, []int)deprecated
- func (x *ProductInput) GetContentLanguage() string
- func (x *ProductInput) GetCustomAttributes() []*typepb.CustomAttribute
- func (x *ProductInput) GetFeedLabel() string
- func (x *ProductInput) GetLegacyLocal() bool
- func (x *ProductInput) GetName() string
- func (x *ProductInput) GetOfferId() string
- func (x *ProductInput) GetProduct() string
- func (x *ProductInput) GetProductAttributes() *ProductAttributes
- func (x *ProductInput) GetVersionNumber() int64
- func (*ProductInput) ProtoMessage()
- func (x *ProductInput) ProtoReflect() protoreflect.Message
- func (x *ProductInput) Reset()
- func (x *ProductInput) String() string
- type ProductInputsServiceClient
- type ProductInputsServiceServer
- type ProductInstallment
- func (*ProductInstallment) Descriptor() ([]byte, []int)deprecated
- func (x *ProductInstallment) GetAmount() *typepb.Price
- func (x *ProductInstallment) GetCreditType() CreditType
- func (x *ProductInstallment) GetDownpayment() *typepb.Price
- func (x *ProductInstallment) GetMonths() int64
- func (*ProductInstallment) ProtoMessage()
- func (x *ProductInstallment) ProtoReflect() protoreflect.Message
- func (x *ProductInstallment) Reset()
- func (x *ProductInstallment) String() string
- type ProductStatus
- func (*ProductStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ProductStatus) GetCreationDate() *timestamppb.Timestamp
- func (x *ProductStatus) GetDestinationStatuses() []*ProductStatus_DestinationStatus
- func (x *ProductStatus) GetGoogleExpirationDate() *timestamppb.Timestamp
- func (x *ProductStatus) GetItemLevelIssues() []*ProductStatus_ItemLevelIssue
- func (x *ProductStatus) GetLastUpdateDate() *timestamppb.Timestamp
- func (*ProductStatus) ProtoMessage()
- func (x *ProductStatus) ProtoReflect() protoreflect.Message
- func (x *ProductStatus) Reset()
- func (x *ProductStatus) String() string
- type ProductStatus_DestinationStatus
- func (*ProductStatus_DestinationStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ProductStatus_DestinationStatus) GetApprovedCountries() []string
- func (x *ProductStatus_DestinationStatus) GetDisapprovedCountries() []string
- func (x *ProductStatus_DestinationStatus) GetPendingCountries() []string
- func (x *ProductStatus_DestinationStatus) GetReportingContext() typepb.ReportingContext_ReportingContextEnum
- func (*ProductStatus_DestinationStatus) ProtoMessage()
- func (x *ProductStatus_DestinationStatus) ProtoReflect() protoreflect.Message
- func (x *ProductStatus_DestinationStatus) Reset()
- func (x *ProductStatus_DestinationStatus) String() string
- type ProductStatus_ItemLevelIssue
- func (*ProductStatus_ItemLevelIssue) Descriptor() ([]byte, []int)deprecated
- func (x *ProductStatus_ItemLevelIssue) GetApplicableCountries() []string
- func (x *ProductStatus_ItemLevelIssue) GetAttribute() string
- func (x *ProductStatus_ItemLevelIssue) GetCode() string
- func (x *ProductStatus_ItemLevelIssue) GetDescription() string
- func (x *ProductStatus_ItemLevelIssue) GetDetail() string
- func (x *ProductStatus_ItemLevelIssue) GetDocumentation() string
- func (x *ProductStatus_ItemLevelIssue) GetReportingContext() typepb.ReportingContext_ReportingContextEnum
- func (x *ProductStatus_ItemLevelIssue) GetResolution() string
- func (x *ProductStatus_ItemLevelIssue) GetSeverity() ProductStatus_ItemLevelIssue_Severity
- func (*ProductStatus_ItemLevelIssue) ProtoMessage()
- func (x *ProductStatus_ItemLevelIssue) ProtoReflect() protoreflect.Message
- func (x *ProductStatus_ItemLevelIssue) Reset()
- func (x *ProductStatus_ItemLevelIssue) String() string
- type ProductStatus_ItemLevelIssue_Severity
- func (ProductStatus_ItemLevelIssue_Severity) Descriptor() protoreflect.EnumDescriptor
- func (x ProductStatus_ItemLevelIssue_Severity) Enum() *ProductStatus_ItemLevelIssue_Severity
- func (ProductStatus_ItemLevelIssue_Severity) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProductStatus_ItemLevelIssue_Severity) Number() protoreflect.EnumNumber
- func (x ProductStatus_ItemLevelIssue_Severity) String() string
- func (ProductStatus_ItemLevelIssue_Severity) Type() protoreflect.EnumType
- type ProductSustainabilityIncentive
- func (*ProductSustainabilityIncentive) Descriptor() ([]byte, []int)deprecated
- func (x *ProductSustainabilityIncentive) GetAmount() *typepb.Price
- func (x *ProductSustainabilityIncentive) GetPercentage() float64
- func (x *ProductSustainabilityIncentive) GetType() ProductSustainabilityIncentive_Type
- func (m *ProductSustainabilityIncentive) GetValue() isProductSustainabilityIncentive_Value
- func (*ProductSustainabilityIncentive) ProtoMessage()
- func (x *ProductSustainabilityIncentive) ProtoReflect() protoreflect.Message
- func (x *ProductSustainabilityIncentive) Reset()
- func (x *ProductSustainabilityIncentive) String() string
- type ProductSustainabilityIncentive_Amount
- type ProductSustainabilityIncentive_Percentage
- type ProductSustainabilityIncentive_Type
- func (ProductSustainabilityIncentive_Type) Descriptor() protoreflect.EnumDescriptor
- func (x ProductSustainabilityIncentive_Type) Enum() *ProductSustainabilityIncentive_Type
- func (ProductSustainabilityIncentive_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProductSustainabilityIncentive_Type) Number() protoreflect.EnumNumber
- func (x ProductSustainabilityIncentive_Type) String() string
- func (ProductSustainabilityIncentive_Type) Type() protoreflect.EnumType
- type ProductWeight
- func (*ProductWeight) Descriptor() ([]byte, []int)deprecated
- func (x *ProductWeight) GetUnit() string
- func (x *ProductWeight) GetValue() float64
- func (*ProductWeight) ProtoMessage()
- func (x *ProductWeight) ProtoReflect() protoreflect.Message
- func (x *ProductWeight) Reset()
- func (x *ProductWeight) String() string
- type ProductsServiceClient
- type ProductsServiceServer
- type Shipping
- func (*Shipping) Descriptor() ([]byte, []int)deprecated
- func (x *Shipping) GetCountry() string
- func (x *Shipping) GetLocationGroupName() string
- func (x *Shipping) GetLocationId() int64
- func (x *Shipping) GetMaxHandlingTime() int64
- func (x *Shipping) GetMaxTransitTime() int64
- func (x *Shipping) GetMinHandlingTime() int64
- func (x *Shipping) GetMinTransitTime() int64
- func (x *Shipping) GetPostalCode() string
- func (x *Shipping) GetPrice() *typepb.Price
- func (x *Shipping) GetRegion() string
- func (x *Shipping) GetService() string
- func (*Shipping) ProtoMessage()
- func (x *Shipping) ProtoReflect() protoreflect.Message
- func (x *Shipping) Reset()
- func (x *Shipping) String() string
- type ShippingDimension
- func (*ShippingDimension) Descriptor() ([]byte, []int)deprecated
- func (x *ShippingDimension) GetUnit() string
- func (x *ShippingDimension) GetValue() float64
- func (*ShippingDimension) ProtoMessage()
- func (x *ShippingDimension) ProtoReflect() protoreflect.Message
- func (x *ShippingDimension) Reset()
- func (x *ShippingDimension) String() string
- type ShippingWeight
- func (*ShippingWeight) Descriptor() ([]byte, []int)deprecated
- func (x *ShippingWeight) GetUnit() string
- func (x *ShippingWeight) GetValue() float64
- func (*ShippingWeight) ProtoMessage()
- func (x *ShippingWeight) ProtoReflect() protoreflect.Message
- func (x *ShippingWeight) Reset()
- func (x *ShippingWeight) String() string
- type SizeSystem
- type SizeType
- type StructuredDescription
- func (*StructuredDescription) Descriptor() ([]byte, []int)deprecated
- func (x *StructuredDescription) GetContent() string
- func (x *StructuredDescription) GetDigitalSourceType() DigitalSourceType
- func (*StructuredDescription) ProtoMessage()
- func (x *StructuredDescription) ProtoReflect() protoreflect.Message
- func (x *StructuredDescription) Reset()
- func (x *StructuredDescription) String() string
- type StructuredTitle
- func (*StructuredTitle) Descriptor() ([]byte, []int)deprecated
- func (x *StructuredTitle) GetContent() string
- func (x *StructuredTitle) GetDigitalSourceType() DigitalSourceType
- func (*StructuredTitle) ProtoMessage()
- func (x *StructuredTitle) ProtoReflect() protoreflect.Message
- func (x *StructuredTitle) Reset()
- func (x *StructuredTitle) String() string
- type SubscriptionCost
- func (*SubscriptionCost) Descriptor() ([]byte, []int)deprecated
- func (x *SubscriptionCost) GetAmount() *typepb.Price
- func (x *SubscriptionCost) GetPeriod() SubscriptionPeriod
- func (x *SubscriptionCost) GetPeriodLength() int64
- func (*SubscriptionCost) ProtoMessage()
- func (x *SubscriptionCost) ProtoReflect() protoreflect.Message
- func (x *SubscriptionCost) Reset()
- func (x *SubscriptionCost) String() string
- type SubscriptionPeriod
- func (SubscriptionPeriod) Descriptor() protoreflect.EnumDescriptor
- func (x SubscriptionPeriod) Enum() *SubscriptionPeriod
- func (SubscriptionPeriod) EnumDescriptor() ([]byte, []int)deprecated
- func (x SubscriptionPeriod) Number() protoreflect.EnumNumber
- func (x SubscriptionPeriod) String() string
- func (SubscriptionPeriod) Type() protoreflect.EnumType
- type UnimplementedProductInputsServiceServer
- func (*UnimplementedProductInputsServiceServer) DeleteProductInput(context.Context, *DeleteProductInputRequest) (*emptypb.Empty, error)
- func (*UnimplementedProductInputsServiceServer) InsertProductInput(context.Context, *InsertProductInputRequest) (*ProductInput, error)
- func (*UnimplementedProductInputsServiceServer) UpdateProductInput(context.Context, *UpdateProductInputRequest) (*ProductInput, error)
- type UnimplementedProductsServiceServer
- type UnitPricingBaseMeasure
- func (*UnitPricingBaseMeasure) Descriptor() ([]byte, []int)deprecated
- func (x *UnitPricingBaseMeasure) GetUnit() string
- func (x *UnitPricingBaseMeasure) GetValue() int64
- func (*UnitPricingBaseMeasure) ProtoMessage()
- func (x *UnitPricingBaseMeasure) ProtoReflect() protoreflect.Message
- func (x *UnitPricingBaseMeasure) Reset()
- func (x *UnitPricingBaseMeasure) String() string
- type UnitPricingMeasure
- func (*UnitPricingMeasure) Descriptor() ([]byte, []int)deprecated
- func (x *UnitPricingMeasure) GetUnit() string
- func (x *UnitPricingMeasure) GetValue() float64
- func (*UnitPricingMeasure) ProtoMessage()
- func (x *UnitPricingMeasure) ProtoReflect() protoreflect.Message
- func (x *UnitPricingMeasure) Reset()
- func (x *UnitPricingMeasure) String() string
- type UpdateProductInputRequest
- func (*UpdateProductInputRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProductInputRequest) GetDataSource() string
- func (x *UpdateProductInputRequest) GetProductInput() *ProductInput
- func (x *UpdateProductInputRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateProductInputRequest) ProtoMessage()
- func (x *UpdateProductInputRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateProductInputRequest) Reset()
- func (x *UpdateProductInputRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( SubscriptionPeriod_name = map[int32]string{ 0: "SUBSCRIPTION_PERIOD_UNSPECIFIED", 1: "MONTH", 2: "YEAR", } SubscriptionPeriod_value = map[string]int32{ "SUBSCRIPTION_PERIOD_UNSPECIFIED": 0, "MONTH": 1, "YEAR": 2, } )
Enum value maps for SubscriptionPeriod.
var ( AgeGroup_name = map[int32]string{ 0: "AGE_GROUP_UNSPECIFIED", 1: "ADULT", 2: "KIDS", 3: "TODDLER", 4: "INFANT", 5: "NEWBORN", } AgeGroup_value = map[string]int32{ "AGE_GROUP_UNSPECIFIED": 0, "ADULT": 1, "KIDS": 2, "TODDLER": 3, "INFANT": 4, "NEWBORN": 5, } )
Enum value maps for AgeGroup.
var ( Availability_name = map[int32]string{ 0: "AVAILABILITY_UNSPECIFIED", 1: "IN_STOCK", 2: "OUT_OF_STOCK", 3: "PREORDER", 4: "LIMITED_AVAILABILITY", 5: "BACKORDER", } Availability_value = map[string]int32{ "AVAILABILITY_UNSPECIFIED": 0, "IN_STOCK": 1, "OUT_OF_STOCK": 2, "PREORDER": 3, "LIMITED_AVAILABILITY": 4, "BACKORDER": 5, } )
Enum value maps for Availability.
var ( Condition_name = map[int32]string{ 0: "CONDITION_UNSPECIFIED", 1: "NEW", 2: "USED", 3: "REFURBISHED", } Condition_value = map[string]int32{ "CONDITION_UNSPECIFIED": 0, "NEW": 1, "USED": 2, "REFURBISHED": 3, } )
Enum value maps for Condition.
var ( Gender_name = map[int32]string{ 0: "GENDER_UNSPECIFIED", 1: "MALE", 2: "FEMALE", 3: "UNISEX", } Gender_value = map[string]int32{ "GENDER_UNSPECIFIED": 0, "MALE": 1, "FEMALE": 2, "UNISEX": 3, } )
Enum value maps for Gender.
var ( CreditType_name = map[int32]string{ 0: "CREDIT_TYPE_UNSPECIFIED", 1: "FINANCE", 2: "LEASE", } CreditType_value = map[string]int32{ "CREDIT_TYPE_UNSPECIFIED": 0, "FINANCE": 1, "LEASE": 2, } )
Enum value maps for CreditType.
var ( SizeSystem_name = map[int32]string{ 0: "SIZE_SYSTEM_UNSPECIFIED", 1: "AU", 2: "BR", 3: "CN", 4: "DE", 5: "EU", 6: "FR", 7: "IT", 8: "JP", 9: "MEX", 10: "UK", 11: "US", } SizeSystem_value = map[string]int32{ "SIZE_SYSTEM_UNSPECIFIED": 0, "AU": 1, "BR": 2, "CN": 3, "DE": 4, "EU": 5, "FR": 6, "IT": 7, "JP": 8, "MEX": 9, "UK": 10, "US": 11, } )
Enum value maps for SizeSystem.
var ( SizeType_name = map[int32]string{ 0: "SIZE_TYPE_UNSPECIFIED", 1: "REGULAR", 2: "PETITE", 3: "MATERNITY", 4: "BIG", 5: "TALL", 6: "PLUS", } SizeType_value = map[string]int32{ "SIZE_TYPE_UNSPECIFIED": 0, "REGULAR": 1, "PETITE": 2, "MATERNITY": 3, "BIG": 4, "TALL": 5, "PLUS": 6, } )
Enum value maps for SizeType.
var ( EnergyEfficiencyClass_name = map[int32]string{ 0: "ENERGY_EFFICIENCY_CLASS_UNSPECIFIED", 1: "APPP", 2: "APP", 3: "AP", 4: "A", 5: "B", 6: "C", 7: "D", 8: "E", 9: "F", 10: "G", } EnergyEfficiencyClass_value = map[string]int32{ "ENERGY_EFFICIENCY_CLASS_UNSPECIFIED": 0, "APPP": 1, "APP": 2, "AP": 3, "A": 4, "B": 5, "C": 6, "D": 7, "E": 8, "F": 9, "G": 10, } )
Enum value maps for EnergyEfficiencyClass.
var ( PickupMethod_name = map[int32]string{ 0: "PICKUP_METHOD_UNSPECIFIED", 1: "NOT_SUPPORTED", 2: "BUY", 3: "RESERVE", 4: "SHIP_TO_STORE", } PickupMethod_value = map[string]int32{ "PICKUP_METHOD_UNSPECIFIED": 0, "NOT_SUPPORTED": 1, "BUY": 2, "RESERVE": 3, "SHIP_TO_STORE": 4, } )
Enum value maps for PickupMethod.
var ( PickupSla_name = map[int32]string{ 0: "PICKUP_SLA_UNSPECIFIED", 1: "SAME_DAY", 2: "NEXT_DAY", 3: "TWO_DAY", 4: "THREE_DAY", 5: "FOUR_DAY", 6: "FIVE_DAY", 7: "SIX_DAY", 8: "MULTI_WEEK", } PickupSla_value = map[string]int32{ "PICKUP_SLA_UNSPECIFIED": 0, "SAME_DAY": 1, "NEXT_DAY": 2, "TWO_DAY": 3, "THREE_DAY": 4, "FOUR_DAY": 5, "FIVE_DAY": 6, "SIX_DAY": 7, "MULTI_WEEK": 8, } )
Enum value maps for PickupSla.
var ( Pause_name = map[int32]string{ 0: "PAUSE_UNSPECIFIED", 1: "ADS", 2: "ALL", } Pause_value = map[string]int32{ "PAUSE_UNSPECIFIED": 0, "ADS": 1, "ALL": 2, } )
Enum value maps for Pause.
var ( CertificationAuthority_name = map[int32]string{ 0: "CERTIFICATION_AUTHORITY_UNSPECIFIED", 1: "ADEME", 2: "BMWK", 3: "EPA", 4: "EC", } CertificationAuthority_value = map[string]int32{ "CERTIFICATION_AUTHORITY_UNSPECIFIED": 0, "ADEME": 1, "BMWK": 2, "EPA": 3, "EC": 4, } )
Enum value maps for CertificationAuthority.
var ( CertificationName_name = map[int32]string{ 0: "CERTIFICATION_NAME_UNSPECIFIED", 1: "ENERGY_STAR", 2: "ENERGY_STAR_MOST_EFFICIENT", 3: "EPREL", 4: "EU_ECOLABEL", 5: "VEHICLE_ENERGY_EFFICIENCY", 6: "VEHICLE_ENERGY_EFFICIENCY_DISCHARGED_BATTERY", } CertificationName_value = map[string]int32{ "CERTIFICATION_NAME_UNSPECIFIED": 0, "ENERGY_STAR": 1, "ENERGY_STAR_MOST_EFFICIENT": 2, "EPREL": 3, "EU_ECOLABEL": 4, "VEHICLE_ENERGY_EFFICIENCY": 5, "VEHICLE_ENERGY_EFFICIENCY_DISCHARGED_BATTERY": 6, } )
Enum value maps for CertificationName.
var ( DigitalSourceType_name = map[int32]string{ 0: "DIGITAL_SOURCE_TYPE_UNSPECIFIED", 1: "TRAINED_ALGORITHMIC_MEDIA", 2: "DEFAULT", } DigitalSourceType_value = map[string]int32{ "DIGITAL_SOURCE_TYPE_UNSPECIFIED": 0, "TRAINED_ALGORITHMIC_MEDIA": 1, "DEFAULT": 2, } )
Enum value maps for DigitalSourceType.
var ( CarrierTransitTimeOption_name = map[int32]string{ 0: "CARRIER_TRANSIT_TIME_OPTION_UNSPECIFIED", 1: "DHL_PAKET", 2: "DHL_PACKCHEN", 3: "DHL_EXPRESSEASY", 4: "DPD_EXPRESS", 5: "DPD_CLASSIC_PARCEL", 6: "HERMES_HAUSTUR", 7: "HERMES_PAKETSHOP", 8: "GLS_BUSINESS", 9: "GLS_EXPRESS", 10: "GLS_PRIVATE", 11: "COLISSIMO_DOMICILE", 12: "DHL_EXPRESS_12AM", 13: "DHL_EXPRESS_9AM", 14: "GEODIS_EXPRESS", 15: "GEODIS_PACK_30", 16: "GEODIS_SAME_DAY", 17: "GEODIS_TOP_24", 18: "TNT_ESSENTIEL_24H", 19: "TNT_ESSENTIEL_FLEXIBILITE", 20: "FEDEX_GROUND", 21: "FEDEX_HOME_DELIVERY", 22: "FEDEX_EXPRESS_SAVER", 23: "FEDEX_FIRST_OVERNIGHT", 24: "FEDEX_PRIORITY_OVERNIGHT", 25: "FEDEX_STANDARD_OVERNIGHT", 26: "FEDEX_2DAY", 27: "UPS_2ND_DAY_AIR", 28: "UPS_2ND_DAY_AM", 29: "UPS_3_DAY_SELECT", 30: "UPS_GROUND", 31: "UPS_NEXT_DAY_AIR", 32: "UPS_NEXT_DAY_AIR_EARLY_AM", 33: "UPS_NEXT_DAY_AIR_SAVER", 34: "USPS_PRIORITY_MAIL_EXPRESS", 35: "USPS_MEDIA_MAIL", 36: "USPS_GROUND_ADVANTAGE_RETAIL", 37: "USPS_PRIORITY_MAIL", 38: "USPS_GROUND_ADVANTAGE_COMMERCIAL", 39: "USPS_FIRST_CLASS_MAIL", } CarrierTransitTimeOption_value = map[string]int32{ "CARRIER_TRANSIT_TIME_OPTION_UNSPECIFIED": 0, "DHL_PAKET": 1, "DHL_PACKCHEN": 2, "DHL_EXPRESSEASY": 3, "DPD_EXPRESS": 4, "DPD_CLASSIC_PARCEL": 5, "HERMES_HAUSTUR": 6, "HERMES_PAKETSHOP": 7, "GLS_BUSINESS": 8, "GLS_EXPRESS": 9, "GLS_PRIVATE": 10, "COLISSIMO_DOMICILE": 11, "DHL_EXPRESS_12AM": 12, "DHL_EXPRESS_9AM": 13, "GEODIS_EXPRESS": 14, "GEODIS_PACK_30": 15, "GEODIS_SAME_DAY": 16, "GEODIS_TOP_24": 17, "TNT_ESSENTIEL_24H": 18, "TNT_ESSENTIEL_FLEXIBILITE": 19, "FEDEX_GROUND": 20, "FEDEX_HOME_DELIVERY": 21, "FEDEX_EXPRESS_SAVER": 22, "FEDEX_FIRST_OVERNIGHT": 23, "FEDEX_PRIORITY_OVERNIGHT": 24, "FEDEX_STANDARD_OVERNIGHT": 25, "FEDEX_2DAY": 26, "UPS_2ND_DAY_AIR": 27, "UPS_2ND_DAY_AM": 28, "UPS_3_DAY_SELECT": 29, "UPS_GROUND": 30, "UPS_NEXT_DAY_AIR": 31, "UPS_NEXT_DAY_AIR_EARLY_AM": 32, "UPS_NEXT_DAY_AIR_SAVER": 33, "USPS_PRIORITY_MAIL_EXPRESS": 34, "USPS_MEDIA_MAIL": 35, "USPS_GROUND_ADVANTAGE_RETAIL": 36, "USPS_PRIORITY_MAIL": 37, "USPS_GROUND_ADVANTAGE_COMMERCIAL": 38, "USPS_FIRST_CLASS_MAIL": 39, } )
Enum value maps for CarrierTransitTimeOption.
var ( ProductAttributes_CarrierPriceOption_name = map[int32]string{ 0: "CARRIER_PRICE_OPTION_UNSPECIFIED", 1: "AUSTRALIA_POST_REGULAR", 2: "AUSTRALIA_POST_EXPRESS", 3: "AUSTRALIA_POST_REGULAR_S", 4: "AUSTRALIA_POST_REGULAR_M", 5: "AUSTRALIA_POST_REGULAR_L", 6: "AUSTRALIA_POST_REGULAR_XL", 7: "AUSTRALIA_POST_EXPRESS_S", 8: "AUSTRALIA_POST_EXPRESS_M", 9: "AUSTRALIA_POST_EXPRESS_L", 10: "AUSTRALIA_POST_EXPRESS_XL", 11: "TNT_ROAD_EXPRESS", 12: "TNT_OVERNIGHT_EXPRESS", 13: "TOLL_ROAD_DELIVERY", 14: "TOLL_OVERNIGHT_PRIORITY", 15: "DHL_PAKET", 16: "DHL_PACKCHEN", 17: "DPD_EXPRESS_12", 18: "DPD_EXPRESS", 19: "DPD_CLASSIC_PARCEL", 20: "HERMES_PACKCHEN", 21: "HERMES_PAKETKLASSE_S", 22: "HERMES_PAKETKLASSE_M", 23: "HERMES_PAKETKLASSE_L", 24: "UPS_EXPRESS", 25: "UPS_EXPRESS_SAVER", 26: "UPS_EXPRESS_STANDARD", 27: "DHL_EXPRESS", 28: "DHL_EXPRESS_12", 29: "DPD_NEXT_DAY", 30: "DPD_STANDARD_NEXT_DAY", 31: "DPD_STANDARD_TWO_DAY", 32: "RMG_1ST_CLASS_SMALL", 33: "RMG_1ST_CLASS_MEDIUM", 34: "RMG_2ND_CLASS_SMALL", 35: "RMG_2ND_CLASS_MEDIUM", 36: "TNT_EXPRESS", 37: "TNT_EXPRESS_10", 38: "TNT_EXPRESS_12", 39: "YODEL_B2C_48HR", 40: "YODEL_B2C_72HR", 41: "YODEL_B2C_PACKET", 42: "FEDEX_GROUND", 43: "FEDEX_HOME_DELIVERY", 44: "FEDEX_EXPRESS_SAVER", 45: "FEDEX_FIRST_OVERNIGHT", 46: "FEDEX_PRIORITY_OVERNIGHT", 47: "FEDEX_STANDARD_OVERNIGHT", 48: "FEDEX_2DAY", 49: "UPS_STANDARD", 50: "UPS_2ND_DAY_AIR", 51: "UPS_2ND_DAY_AM", 52: "UPS_3_DAY_SELECT", 53: "UPS_GROUND", 54: "UPS_NEXT_DAY_AIR", 55: "UPS_NEXT_DAY_AIR_EARLY_AM", 56: "UPS_NEXT_DAY_AIR_SAVER", 57: "USPS_PRIORITY_MAIL_EXPRESS", 58: "USPS_MEDIA_MAIL", 59: "USPS_GROUND_ADVANTAGE_RETAIL", 60: "USPS_PRIORITY_MAIL", 61: "USPS_GROUND_ADVANTAGE_COMMERCIAL", } ProductAttributes_CarrierPriceOption_value = map[string]int32{ "CARRIER_PRICE_OPTION_UNSPECIFIED": 0, "AUSTRALIA_POST_REGULAR": 1, "AUSTRALIA_POST_EXPRESS": 2, "AUSTRALIA_POST_REGULAR_S": 3, "AUSTRALIA_POST_REGULAR_M": 4, "AUSTRALIA_POST_REGULAR_L": 5, "AUSTRALIA_POST_REGULAR_XL": 6, "AUSTRALIA_POST_EXPRESS_S": 7, "AUSTRALIA_POST_EXPRESS_M": 8, "AUSTRALIA_POST_EXPRESS_L": 9, "AUSTRALIA_POST_EXPRESS_XL": 10, "TNT_ROAD_EXPRESS": 11, "TNT_OVERNIGHT_EXPRESS": 12, "TOLL_ROAD_DELIVERY": 13, "TOLL_OVERNIGHT_PRIORITY": 14, "DHL_PAKET": 15, "DHL_PACKCHEN": 16, "DPD_EXPRESS_12": 17, "DPD_EXPRESS": 18, "DPD_CLASSIC_PARCEL": 19, "HERMES_PACKCHEN": 20, "HERMES_PAKETKLASSE_S": 21, "HERMES_PAKETKLASSE_M": 22, "HERMES_PAKETKLASSE_L": 23, "UPS_EXPRESS": 24, "UPS_EXPRESS_SAVER": 25, "UPS_EXPRESS_STANDARD": 26, "DHL_EXPRESS": 27, "DHL_EXPRESS_12": 28, "DPD_NEXT_DAY": 29, "DPD_STANDARD_NEXT_DAY": 30, "DPD_STANDARD_TWO_DAY": 31, "RMG_1ST_CLASS_SMALL": 32, "RMG_1ST_CLASS_MEDIUM": 33, "RMG_2ND_CLASS_SMALL": 34, "RMG_2ND_CLASS_MEDIUM": 35, "TNT_EXPRESS": 36, "TNT_EXPRESS_10": 37, "TNT_EXPRESS_12": 38, "YODEL_B2C_48HR": 39, "YODEL_B2C_72HR": 40, "YODEL_B2C_PACKET": 41, "FEDEX_GROUND": 42, "FEDEX_HOME_DELIVERY": 43, "FEDEX_EXPRESS_SAVER": 44, "FEDEX_FIRST_OVERNIGHT": 45, "FEDEX_PRIORITY_OVERNIGHT": 46, "FEDEX_STANDARD_OVERNIGHT": 47, "FEDEX_2DAY": 48, "UPS_STANDARD": 49, "UPS_2ND_DAY_AIR": 50, "UPS_2ND_DAY_AM": 51, "UPS_3_DAY_SELECT": 52, "UPS_GROUND": 53, "UPS_NEXT_DAY_AIR": 54, "UPS_NEXT_DAY_AIR_EARLY_AM": 55, "UPS_NEXT_DAY_AIR_SAVER": 56, "USPS_PRIORITY_MAIL_EXPRESS": 57, "USPS_MEDIA_MAIL": 58, "USPS_GROUND_ADVANTAGE_RETAIL": 59, "USPS_PRIORITY_MAIL": 60, "USPS_GROUND_ADVANTAGE_COMMERCIAL": 61, } )
Enum value maps for ProductAttributes_CarrierPriceOption.
var ( ProductStatus_ItemLevelIssue_Severity_name = map[int32]string{ 0: "SEVERITY_UNSPECIFIED", 1: "NOT_IMPACTED", 2: "DEMOTED", 3: "DISAPPROVED", } ProductStatus_ItemLevelIssue_Severity_value = map[string]int32{ "SEVERITY_UNSPECIFIED": 0, "NOT_IMPACTED": 1, "DEMOTED": 2, "DISAPPROVED": 3, } )
Enum value maps for ProductStatus_ItemLevelIssue_Severity.
var ( ProductSustainabilityIncentive_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "EV_TAX_CREDIT", 2: "EV_PRICE_DISCOUNT", } ProductSustainabilityIncentive_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "EV_TAX_CREDIT": 1, "EV_PRICE_DISCOUNT": 2, } )
Enum value maps for ProductSustainabilityIncentive_Type.
var File_google_shopping_merchant_products_v1_productinputs_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_products_v1_products_common_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_products_v1_products_proto protoreflect.FileDescriptor
Functions ¶
func RegisterProductInputsServiceServer ¶
func RegisterProductInputsServiceServer(s *grpc.Server, srv ProductInputsServiceServer)
func RegisterProductsServiceServer ¶
func RegisterProductsServiceServer(s *grpc.Server, srv ProductsServiceServer)
Types ¶
type AgeGroup ¶
type AgeGroup int32
Target [age group](https://support.google.com/merchants/answer/6324463) of the item.
const ( // Age group is not specified. AgeGroup_AGE_GROUP_UNSPECIFIED AgeGroup = 0 // Teens or older. AgeGroup_ADULT AgeGroup = 1 // 5-13 years old. AgeGroup_KIDS AgeGroup = 2 // 1-5 years old. AgeGroup_TODDLER AgeGroup = 3 // 3-12 months old. AgeGroup_INFANT AgeGroup = 4 // 0-3 months old. AgeGroup_NEWBORN AgeGroup = 5 )
func (AgeGroup) Descriptor ¶
func (AgeGroup) Descriptor() protoreflect.EnumDescriptor
func (AgeGroup) EnumDescriptor
deprecated
func (AgeGroup) Number ¶
func (x AgeGroup) Number() protoreflect.EnumNumber
func (AgeGroup) Type ¶
func (AgeGroup) Type() protoreflect.EnumType
type AutomatedDiscounts ¶
type AutomatedDiscounts struct { // The price prior to the application of the first price reduction. // Absent if the information about the prior price of the product is not // available. PriorPrice *typepb.Price `protobuf:"bytes,1,opt,name=prior_price,json=priorPrice,proto3" json:"prior_price,omitempty"` // The price prior to the application of consecutive price reductions. // Absent if the information about the prior price of the product is not // available. PriorPriceProgressive *typepb.Price `` /* 126-byte string literal not displayed */ // The current sale price for products with a price optimized using Google // Automated Discounts (GAD). Absent if the information about the GAD_price of // the product is not available. GadPrice *typepb.Price `protobuf:"bytes,3,opt,name=gad_price,json=gadPrice,proto3" json:"gad_price,omitempty"` // contains filtered or unexported fields }
Information regarding Automated Discounts.
func (*AutomatedDiscounts) Descriptor
deprecated
func (*AutomatedDiscounts) Descriptor() ([]byte, []int)
Deprecated: Use AutomatedDiscounts.ProtoReflect.Descriptor instead.
func (*AutomatedDiscounts) GetGadPrice ¶
func (x *AutomatedDiscounts) GetGadPrice() *typepb.Price
func (*AutomatedDiscounts) GetPriorPrice ¶
func (x *AutomatedDiscounts) GetPriorPrice() *typepb.Price
func (*AutomatedDiscounts) GetPriorPriceProgressive ¶
func (x *AutomatedDiscounts) GetPriorPriceProgressive() *typepb.Price
func (*AutomatedDiscounts) ProtoMessage ¶
func (*AutomatedDiscounts) ProtoMessage()
func (*AutomatedDiscounts) ProtoReflect ¶
func (x *AutomatedDiscounts) ProtoReflect() protoreflect.Message
func (*AutomatedDiscounts) Reset ¶
func (x *AutomatedDiscounts) Reset()
func (*AutomatedDiscounts) String ¶
func (x *AutomatedDiscounts) String() string
type Availability ¶
type Availability int32
Availability(https://support.google.com/merchants/answer/6324448) status of the item.
const ( // Availability is not specified. Availability_AVAILABILITY_UNSPECIFIED Availability = 0 // In stock. Availability_IN_STOCK Availability = 1 // Out of stock. Availability_OUT_OF_STOCK Availability = 2 // Pre-order. Availability_PREORDER Availability = 3 // Limited availability. Availability_LIMITED_AVAILABILITY Availability = 4 // Backorder. Availability_BACKORDER Availability = 5 )
func (Availability) Descriptor ¶
func (Availability) Descriptor() protoreflect.EnumDescriptor
func (Availability) Enum ¶
func (x Availability) Enum() *Availability
func (Availability) EnumDescriptor
deprecated
func (Availability) EnumDescriptor() ([]byte, []int)
Deprecated: Use Availability.Descriptor instead.
func (Availability) Number ¶
func (x Availability) Number() protoreflect.EnumNumber
func (Availability) String ¶
func (x Availability) String() string
func (Availability) Type ¶
func (Availability) Type() protoreflect.EnumType
type CarrierTransitTimeOption ¶ added in v1.2.0
type CarrierTransitTimeOption int32
Possible carrier where transit time is coming from.
const ( // Carrier transit time option is unspecified. CarrierTransitTimeOption_CARRIER_TRANSIT_TIME_OPTION_UNSPECIFIED CarrierTransitTimeOption = 0 // DHL Paket shipping service. CarrierTransitTimeOption_DHL_PAKET CarrierTransitTimeOption = 1 // DHL Packchen shipping service. CarrierTransitTimeOption_DHL_PACKCHEN CarrierTransitTimeOption = 2 // DHL Express Easy shipping service. CarrierTransitTimeOption_DHL_EXPRESSEASY CarrierTransitTimeOption = 3 // DPD Express shipping service. CarrierTransitTimeOption_DPD_EXPRESS CarrierTransitTimeOption = 4 // DPD Classic Parcel shipping service. CarrierTransitTimeOption_DPD_CLASSIC_PARCEL CarrierTransitTimeOption = 5 // Hermes Haustur shipping service. CarrierTransitTimeOption_HERMES_HAUSTUR CarrierTransitTimeOption = 6 // Hermes Paketshop shipping service. CarrierTransitTimeOption_HERMES_PAKETSHOP CarrierTransitTimeOption = 7 // GLS Business shipping service. CarrierTransitTimeOption_GLS_BUSINESS CarrierTransitTimeOption = 8 // GLS Express shipping service. CarrierTransitTimeOption_GLS_EXPRESS CarrierTransitTimeOption = 9 // GLS Private shipping service. CarrierTransitTimeOption_GLS_PRIVATE CarrierTransitTimeOption = 10 // Colissimo Domicile shipping service. CarrierTransitTimeOption_COLISSIMO_DOMICILE CarrierTransitTimeOption = 11 // DHL Express 12 AM shipping service. CarrierTransitTimeOption_DHL_EXPRESS_12AM CarrierTransitTimeOption = 12 // DHL Express 9 AM shipping service. CarrierTransitTimeOption_DHL_EXPRESS_9AM CarrierTransitTimeOption = 13 // GEODIS Express shipping service. CarrierTransitTimeOption_GEODIS_EXPRESS CarrierTransitTimeOption = 14 // GEODIS Pack 30 shipping service. CarrierTransitTimeOption_GEODIS_PACK_30 CarrierTransitTimeOption = 15 // GEODIS Same Day shipping service. CarrierTransitTimeOption_GEODIS_SAME_DAY CarrierTransitTimeOption = 16 // GEODIS Top 24 shipping service. CarrierTransitTimeOption_GEODIS_TOP_24 CarrierTransitTimeOption = 17 // TNT Essentiel 24H shipping service. CarrierTransitTimeOption_TNT_ESSENTIEL_24H CarrierTransitTimeOption = 18 // TNT Essentiel Flexibilite shipping service. CarrierTransitTimeOption_TNT_ESSENTIEL_FLEXIBILITE CarrierTransitTimeOption = 19 // FedEx Ground shipping service. CarrierTransitTimeOption_FEDEX_GROUND CarrierTransitTimeOption = 20 // FedEx Home Delivery shipping service. CarrierTransitTimeOption_FEDEX_HOME_DELIVERY CarrierTransitTimeOption = 21 // FedEx Express Saver shipping service. CarrierTransitTimeOption_FEDEX_EXPRESS_SAVER CarrierTransitTimeOption = 22 // FedEx First Overnight shipping service. CarrierTransitTimeOption_FEDEX_FIRST_OVERNIGHT CarrierTransitTimeOption = 23 // FedEx Priority Overnight shipping service. CarrierTransitTimeOption_FEDEX_PRIORITY_OVERNIGHT CarrierTransitTimeOption = 24 // FedEx Standard Overnight shipping service. CarrierTransitTimeOption_FEDEX_STANDARD_OVERNIGHT CarrierTransitTimeOption = 25 // FedEx 2Day shipping service. CarrierTransitTimeOption_FEDEX_2DAY CarrierTransitTimeOption = 26 // UPS 2nd Day Air shipping service. CarrierTransitTimeOption_UPS_2ND_DAY_AIR CarrierTransitTimeOption = 27 // UPS 2nd Day AM shipping service. CarrierTransitTimeOption_UPS_2ND_DAY_AM CarrierTransitTimeOption = 28 // UPS 3 Day Select shipping service. CarrierTransitTimeOption_UPS_3_DAY_SELECT CarrierTransitTimeOption = 29 // UPS Ground shipping service. CarrierTransitTimeOption_UPS_GROUND CarrierTransitTimeOption = 30 // UPS Next Day Air shipping service. CarrierTransitTimeOption_UPS_NEXT_DAY_AIR CarrierTransitTimeOption = 31 // UPS Next Day Air Early AM shipping service. CarrierTransitTimeOption_UPS_NEXT_DAY_AIR_EARLY_AM CarrierTransitTimeOption = 32 // UPS Next Day Air Saver shipping service. CarrierTransitTimeOption_UPS_NEXT_DAY_AIR_SAVER CarrierTransitTimeOption = 33 // USPS Priority Mail Express shipping service. CarrierTransitTimeOption_USPS_PRIORITY_MAIL_EXPRESS CarrierTransitTimeOption = 34 // USPS Media Mail shipping service. CarrierTransitTimeOption_USPS_MEDIA_MAIL CarrierTransitTimeOption = 35 // USPS Ground Advantage Retail shipping service. CarrierTransitTimeOption_USPS_GROUND_ADVANTAGE_RETAIL CarrierTransitTimeOption = 36 // USPS Priority Mail shipping service. CarrierTransitTimeOption_USPS_PRIORITY_MAIL CarrierTransitTimeOption = 37 // USPS Ground Advantage Commercial shipping service. CarrierTransitTimeOption_USPS_GROUND_ADVANTAGE_COMMERCIAL CarrierTransitTimeOption = 38 // USPS First Class Mail shipping service. CarrierTransitTimeOption_USPS_FIRST_CLASS_MAIL CarrierTransitTimeOption = 39 )
func (CarrierTransitTimeOption) Descriptor ¶ added in v1.2.0
func (CarrierTransitTimeOption) Descriptor() protoreflect.EnumDescriptor
func (CarrierTransitTimeOption) Enum ¶ added in v1.2.0
func (x CarrierTransitTimeOption) Enum() *CarrierTransitTimeOption
func (CarrierTransitTimeOption) EnumDescriptor
deprecated
added in
v1.2.0
func (CarrierTransitTimeOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use CarrierTransitTimeOption.Descriptor instead.
func (CarrierTransitTimeOption) Number ¶ added in v1.2.0
func (x CarrierTransitTimeOption) Number() protoreflect.EnumNumber
func (CarrierTransitTimeOption) String ¶ added in v1.2.0
func (x CarrierTransitTimeOption) String() string
func (CarrierTransitTimeOption) Type ¶ added in v1.2.0
func (CarrierTransitTimeOption) Type() protoreflect.EnumType
type CertificationAuthority ¶
type CertificationAuthority int32
The certification authority.
const ( // Certification authority is not specified. CertificationAuthority_CERTIFICATION_AUTHORITY_UNSPECIFIED CertificationAuthority = 0 // For the French CO2 emissions class for vehicles. CertificationAuthority_ADEME CertificationAuthority = 1 // For the German CO2 emissions classes for vehicles. CertificationAuthority_BMWK CertificationAuthority = 2 // Environment Protection Agency. CertificationAuthority_EPA CertificationAuthority = 3 // European Commission for energy labels in the EU. CertificationAuthority_EC CertificationAuthority = 4 )
func (CertificationAuthority) Descriptor ¶
func (CertificationAuthority) Descriptor() protoreflect.EnumDescriptor
func (CertificationAuthority) Enum ¶
func (x CertificationAuthority) Enum() *CertificationAuthority
func (CertificationAuthority) EnumDescriptor
deprecated
func (CertificationAuthority) EnumDescriptor() ([]byte, []int)
Deprecated: Use CertificationAuthority.Descriptor instead.
func (CertificationAuthority) Number ¶
func (x CertificationAuthority) Number() protoreflect.EnumNumber
func (CertificationAuthority) String ¶
func (x CertificationAuthority) String() string
func (CertificationAuthority) Type ¶
func (CertificationAuthority) Type() protoreflect.EnumType
type CertificationName ¶
type CertificationName int32
The name of the certification.
const ( // Certification name is not specified. CertificationName_CERTIFICATION_NAME_UNSPECIFIED CertificationName = 0 // Energy Star. CertificationName_ENERGY_STAR CertificationName = 1 // Energy Star Most Efficient. CertificationName_ENERGY_STAR_MOST_EFFICIENT CertificationName = 2 // Represents energy efficiency certifications in the EU European // Registry for Energy Labeling (EPREL) database. CertificationName_EPREL CertificationName = 3 // EU Ecolabel. CertificationName_EU_ECOLABEL CertificationName = 4 // The overall CO2 class of a vehicle CertificationName_VEHICLE_ENERGY_EFFICIENCY CertificationName = 5 // For the CO2 class of a vehicle with a discharged battery. CertificationName_VEHICLE_ENERGY_EFFICIENCY_DISCHARGED_BATTERY CertificationName = 6 )
func (CertificationName) Descriptor ¶
func (CertificationName) Descriptor() protoreflect.EnumDescriptor
func (CertificationName) Enum ¶
func (x CertificationName) Enum() *CertificationName
func (CertificationName) EnumDescriptor
deprecated
func (CertificationName) EnumDescriptor() ([]byte, []int)
Deprecated: Use CertificationName.Descriptor instead.
func (CertificationName) Number ¶
func (x CertificationName) Number() protoreflect.EnumNumber
func (CertificationName) String ¶
func (x CertificationName) String() string
func (CertificationName) Type ¶
func (CertificationName) Type() protoreflect.EnumType
type CloudExportAdditionalProperties ¶
type CloudExportAdditionalProperties struct { // Name of the given property. For example, // "Screen-Resolution" for a TV product. Maximum string size is 256 // characters. PropertyName *string `protobuf:"bytes,1,opt,name=property_name,json=propertyName,proto3,oneof" json:"property_name,omitempty"` // Text value of the given property. For example, // "8K(UHD)" could be a text value for a TV product. Maximum // repeatedness of this value is 400. Values are stored in an arbitrary but // consistent order. Maximum string size is 256 characters. TextValue []string `protobuf:"bytes,2,rep,name=text_value,json=textValue,proto3" json:"text_value,omitempty"` // Boolean value of the given property. For example for a TV product, // "True" or "False" if the screen is UHD. BoolValue *bool `protobuf:"varint,3,opt,name=bool_value,json=boolValue,proto3,oneof" json:"bool_value,omitempty"` // Integer values of the given property. For example, 1080 for a TV // product's Screen Resolution. Maximum repeatedness of this value // is 400. Values are stored in an arbitrary but consistent order. IntValue []int64 `protobuf:"varint,4,rep,packed,name=int_value,json=intValue,proto3" json:"int_value,omitempty"` // Float values of the given property. For example for a TV product // 1.2345. Maximum repeatedness of this value is 400. Values // are stored in an arbitrary but consistent order. FloatValue []float32 `protobuf:"fixed32,5,rep,packed,name=float_value,json=floatValue,proto3" json:"float_value,omitempty"` // Minimum float value of the given property. For example for a TV // product 1.00. MinValue *float32 `protobuf:"fixed32,6,opt,name=min_value,json=minValue,proto3,oneof" json:"min_value,omitempty"` // Maximum float value of the given property. For example for a TV // product 100.00. MaxValue *float32 `protobuf:"fixed32,7,opt,name=max_value,json=maxValue,proto3,oneof" json:"max_value,omitempty"` // Unit of the given property. For example, "Pixels" for a TV product. Maximum // string size is 256B. UnitCode *string `protobuf:"bytes,8,opt,name=unit_code,json=unitCode,proto3,oneof" json:"unit_code,omitempty"` // contains filtered or unexported fields }
Product property for the Cloud Retail API. For example, properties for a TV product could be "Screen-Resolution" or "Screen-Size".
func (*CloudExportAdditionalProperties) Descriptor
deprecated
func (*CloudExportAdditionalProperties) Descriptor() ([]byte, []int)
Deprecated: Use CloudExportAdditionalProperties.ProtoReflect.Descriptor instead.
func (*CloudExportAdditionalProperties) GetBoolValue ¶
func (x *CloudExportAdditionalProperties) GetBoolValue() bool
func (*CloudExportAdditionalProperties) GetFloatValue ¶
func (x *CloudExportAdditionalProperties) GetFloatValue() []float32
func (*CloudExportAdditionalProperties) GetIntValue ¶
func (x *CloudExportAdditionalProperties) GetIntValue() []int64
func (*CloudExportAdditionalProperties) GetMaxValue ¶
func (x *CloudExportAdditionalProperties) GetMaxValue() float32
func (*CloudExportAdditionalProperties) GetMinValue ¶
func (x *CloudExportAdditionalProperties) GetMinValue() float32
func (*CloudExportAdditionalProperties) GetPropertyName ¶
func (x *CloudExportAdditionalProperties) GetPropertyName() string
func (*CloudExportAdditionalProperties) GetTextValue ¶
func (x *CloudExportAdditionalProperties) GetTextValue() []string
func (*CloudExportAdditionalProperties) GetUnitCode ¶
func (x *CloudExportAdditionalProperties) GetUnitCode() string
func (*CloudExportAdditionalProperties) ProtoMessage ¶
func (*CloudExportAdditionalProperties) ProtoMessage()
func (*CloudExportAdditionalProperties) ProtoReflect ¶
func (x *CloudExportAdditionalProperties) ProtoReflect() protoreflect.Message
func (*CloudExportAdditionalProperties) Reset ¶
func (x *CloudExportAdditionalProperties) Reset()
func (*CloudExportAdditionalProperties) String ¶
func (x *CloudExportAdditionalProperties) String() string
type Condition ¶
type Condition int32
Condition(https://support.google.com/merchants/answer/6324469) or state of the item.
const ( // Default value. This value is unused. Condition_CONDITION_UNSPECIFIED Condition = 0 // Brand new, original, unopened packaging. Condition_NEW Condition = 1 // Previously used, original packaging opened or missing. Condition_USED Condition = 2 // Professionally restored to working order, comes with a warranty, may or // may not have the original packaging. Condition_REFURBISHED Condition = 3 )
func (Condition) Descriptor ¶
func (Condition) Descriptor() protoreflect.EnumDescriptor
func (Condition) EnumDescriptor
deprecated
func (Condition) Number ¶
func (x Condition) Number() protoreflect.EnumNumber
func (Condition) Type ¶
func (Condition) Type() protoreflect.EnumType
type CreditType ¶
type CreditType int32
Type of installment payments.
const ( // Default value. This value is unused. CreditType_CREDIT_TYPE_UNSPECIFIED CreditType = 0 // Finance. CreditType_FINANCE CreditType = 1 // Lease. CreditType_LEASE CreditType = 2 )
func (CreditType) Descriptor ¶
func (CreditType) Descriptor() protoreflect.EnumDescriptor
func (CreditType) Enum ¶
func (x CreditType) Enum() *CreditType
func (CreditType) EnumDescriptor
deprecated
func (CreditType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CreditType.Descriptor instead.
func (CreditType) Number ¶
func (x CreditType) Number() protoreflect.EnumNumber
func (CreditType) String ¶
func (x CreditType) String() string
func (CreditType) Type ¶
func (CreditType) Type() protoreflect.EnumType
type DeleteProductInputRequest ¶
type DeleteProductInputRequest struct { // Required. The name of the product input resource to delete. // Format: `accounts/{account}/productInputs/{product}` // where the last section `product` consists of: // `content_language~feed_label~offer_id` // example for product name is // `accounts/123/productInputs/en~US~sku123`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The primary or supplemental data source from which the product // input should be deleted. Format: // `accounts/{account}/dataSources/{datasource}`. For example, // `accounts/123456/dataSources/104628`. DataSource string `protobuf:"bytes,2,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` // contains filtered or unexported fields }
Request message for the DeleteProductInput method.
func (*DeleteProductInputRequest) Descriptor
deprecated
func (*DeleteProductInputRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProductInputRequest.ProtoReflect.Descriptor instead.
func (*DeleteProductInputRequest) GetDataSource ¶
func (x *DeleteProductInputRequest) GetDataSource() string
func (*DeleteProductInputRequest) GetName ¶
func (x *DeleteProductInputRequest) GetName() string
func (*DeleteProductInputRequest) ProtoMessage ¶
func (*DeleteProductInputRequest) ProtoMessage()
func (*DeleteProductInputRequest) ProtoReflect ¶
func (x *DeleteProductInputRequest) ProtoReflect() protoreflect.Message
func (*DeleteProductInputRequest) Reset ¶
func (x *DeleteProductInputRequest) Reset()
func (*DeleteProductInputRequest) String ¶
func (x *DeleteProductInputRequest) String() string
type DigitalSourceType ¶
type DigitalSourceType int32
The digital source type. Following [IPTC](https://cv.iptc.org/newscodes/digitalsourcetype).
const ( // Digital source type is unspecified. DigitalSourceType_DIGITAL_SOURCE_TYPE_UNSPECIFIED DigitalSourceType = 0 // Text created algorithmically using a model derived from sampled // content. DigitalSourceType_TRAINED_ALGORITHMIC_MEDIA DigitalSourceType = 1 // Text NOT created algorithmically using a model derived from sampled // content (the default) DigitalSourceType_DEFAULT DigitalSourceType = 2 )
func (DigitalSourceType) Descriptor ¶
func (DigitalSourceType) Descriptor() protoreflect.EnumDescriptor
func (DigitalSourceType) Enum ¶
func (x DigitalSourceType) Enum() *DigitalSourceType
func (DigitalSourceType) EnumDescriptor
deprecated
func (DigitalSourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DigitalSourceType.Descriptor instead.
func (DigitalSourceType) Number ¶
func (x DigitalSourceType) Number() protoreflect.EnumNumber
func (DigitalSourceType) String ¶
func (x DigitalSourceType) String() string
func (DigitalSourceType) Type ¶
func (DigitalSourceType) Type() protoreflect.EnumType
type EnergyEfficiencyClass ¶
type EnergyEfficiencyClass int32
The [energy efficiency class](https://support.google.com/merchants/answer/7562785) as defined in EU directive 2010/30/EU.
const ( // The energy efficiency class is unspecified. EnergyEfficiencyClass_ENERGY_EFFICIENCY_CLASS_UNSPECIFIED EnergyEfficiencyClass = 0 // A+++. EnergyEfficiencyClass_APPP EnergyEfficiencyClass = 1 // A++. EnergyEfficiencyClass_APP EnergyEfficiencyClass = 2 // A+. EnergyEfficiencyClass_AP EnergyEfficiencyClass = 3 // A. EnergyEfficiencyClass_A EnergyEfficiencyClass = 4 // B. EnergyEfficiencyClass_B EnergyEfficiencyClass = 5 // C. EnergyEfficiencyClass_C EnergyEfficiencyClass = 6 // D. EnergyEfficiencyClass_D EnergyEfficiencyClass = 7 // E. EnergyEfficiencyClass_E EnergyEfficiencyClass = 8 // F. EnergyEfficiencyClass_F EnergyEfficiencyClass = 9 // G. EnergyEfficiencyClass_G EnergyEfficiencyClass = 10 )
func (EnergyEfficiencyClass) Descriptor ¶
func (EnergyEfficiencyClass) Descriptor() protoreflect.EnumDescriptor
func (EnergyEfficiencyClass) Enum ¶
func (x EnergyEfficiencyClass) Enum() *EnergyEfficiencyClass
func (EnergyEfficiencyClass) EnumDescriptor
deprecated
func (EnergyEfficiencyClass) EnumDescriptor() ([]byte, []int)
Deprecated: Use EnergyEfficiencyClass.Descriptor instead.
func (EnergyEfficiencyClass) Number ¶
func (x EnergyEfficiencyClass) Number() protoreflect.EnumNumber
func (EnergyEfficiencyClass) String ¶
func (x EnergyEfficiencyClass) String() string
func (EnergyEfficiencyClass) Type ¶
func (EnergyEfficiencyClass) Type() protoreflect.EnumType
type FreeShippingThreshold ¶
type FreeShippingThreshold struct { // The [CLDR territory // code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) // of the country to which an item will ship. Country *string `protobuf:"bytes,1,opt,name=country,proto3,oneof" json:"country,omitempty"` // The minimum product price for the shipping cost to become free. Represented // as a number. PriceThreshold *typepb.Price `protobuf:"bytes,2,opt,name=price_threshold,json=priceThreshold,proto3,oneof" json:"price_threshold,omitempty"` // contains filtered or unexported fields }
Conditions to be met for a product to have free shipping.
func (*FreeShippingThreshold) Descriptor
deprecated
func (*FreeShippingThreshold) Descriptor() ([]byte, []int)
Deprecated: Use FreeShippingThreshold.ProtoReflect.Descriptor instead.
func (*FreeShippingThreshold) GetCountry ¶
func (x *FreeShippingThreshold) GetCountry() string
func (*FreeShippingThreshold) GetPriceThreshold ¶
func (x *FreeShippingThreshold) GetPriceThreshold() *typepb.Price
func (*FreeShippingThreshold) ProtoMessage ¶
func (*FreeShippingThreshold) ProtoMessage()
func (*FreeShippingThreshold) ProtoReflect ¶
func (x *FreeShippingThreshold) ProtoReflect() protoreflect.Message
func (*FreeShippingThreshold) Reset ¶
func (x *FreeShippingThreshold) Reset()
func (*FreeShippingThreshold) String ¶
func (x *FreeShippingThreshold) String() string
type Gender ¶
type Gender int32
Target [gender](https://support.google.com/merchants/answer/6324479) of the item.
func (Gender) Descriptor ¶
func (Gender) Descriptor() protoreflect.EnumDescriptor
func (Gender) EnumDescriptor
deprecated
func (Gender) Number ¶
func (x Gender) Number() protoreflect.EnumNumber
func (Gender) Type ¶
func (Gender) Type() protoreflect.EnumType
type GetProductRequest ¶
type GetProductRequest struct { // Required. The name of the product to retrieve. // Format: // `accounts/{account}/products/{product}` where the last // section `product` consists of: // `content_language~feed_label~offer_id` // example for product name is `accounts/123/products/en~US~sku123`. A legacy // local product name would be `accounts/123/products/local~en~US~sku123`. // Note: For calls to the v1beta version, the `product` section consists // of: `channel~content_language~feed_label~offer_id`, for example: // `accounts/123/products/online~en~US~sku123`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the GetProduct method.
func (*GetProductRequest) Descriptor
deprecated
func (*GetProductRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProductRequest.ProtoReflect.Descriptor instead.
func (*GetProductRequest) GetName ¶
func (x *GetProductRequest) GetName() string
func (*GetProductRequest) ProtoMessage ¶
func (*GetProductRequest) ProtoMessage()
func (*GetProductRequest) ProtoReflect ¶
func (x *GetProductRequest) ProtoReflect() protoreflect.Message
func (*GetProductRequest) Reset ¶
func (x *GetProductRequest) Reset()
func (*GetProductRequest) String ¶
func (x *GetProductRequest) String() string
type InsertProductInputRequest ¶
type InsertProductInputRequest struct { // Required. The account where this product will be inserted. // Format: `accounts/{account}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The product input to insert. ProductInput *ProductInput `protobuf:"bytes,2,opt,name=product_input,json=productInput,proto3" json:"product_input,omitempty"` // Required. The primary or supplemental product data source name. If the // product already exists and data source provided is different, then the // product will be moved to a new data source. For more information, see // [Overview of Data sources // sub-API](/merchant/api/guides/data-sources/overview). // // Only API data sources are supported. // // Format: `accounts/{account}/dataSources/{datasource}`. For example, // `accounts/123456/dataSources/104628`. DataSource string `protobuf:"bytes,3,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` // contains filtered or unexported fields }
Request message for the InsertProductInput method.
func (*InsertProductInputRequest) Descriptor
deprecated
func (*InsertProductInputRequest) Descriptor() ([]byte, []int)
Deprecated: Use InsertProductInputRequest.ProtoReflect.Descriptor instead.
func (*InsertProductInputRequest) GetDataSource ¶
func (x *InsertProductInputRequest) GetDataSource() string
func (*InsertProductInputRequest) GetParent ¶
func (x *InsertProductInputRequest) GetParent() string
func (*InsertProductInputRequest) GetProductInput ¶
func (x *InsertProductInputRequest) GetProductInput() *ProductInput
func (*InsertProductInputRequest) ProtoMessage ¶
func (*InsertProductInputRequest) ProtoMessage()
func (*InsertProductInputRequest) ProtoReflect ¶
func (x *InsertProductInputRequest) ProtoReflect() protoreflect.Message
func (*InsertProductInputRequest) Reset ¶
func (x *InsertProductInputRequest) Reset()
func (*InsertProductInputRequest) String ¶
func (x *InsertProductInputRequest) String() string
type ListProductsRequest ¶
type ListProductsRequest struct { // Required. The account to list processed products for. // Format: `accounts/{account}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of products to return. The service may return fewer than // this value. // The maximum value is 1000; values above 1000 will be coerced to 1000. // If unspecified, the default page size of 25 products will be returned. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListProducts` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListProducts` must // match the call that provided the page token. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for the ListProducts method.
func (*ListProductsRequest) Descriptor
deprecated
func (*ListProductsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProductsRequest.ProtoReflect.Descriptor instead.
func (*ListProductsRequest) GetPageSize ¶
func (x *ListProductsRequest) GetPageSize() int32
func (*ListProductsRequest) GetPageToken ¶
func (x *ListProductsRequest) GetPageToken() string
func (*ListProductsRequest) GetParent ¶
func (x *ListProductsRequest) GetParent() string
func (*ListProductsRequest) ProtoMessage ¶
func (*ListProductsRequest) ProtoMessage()
func (*ListProductsRequest) ProtoReflect ¶
func (x *ListProductsRequest) ProtoReflect() protoreflect.Message
func (*ListProductsRequest) Reset ¶
func (x *ListProductsRequest) Reset()
func (*ListProductsRequest) String ¶
func (x *ListProductsRequest) String() string
type ListProductsResponse ¶
type ListProductsResponse struct { // The processed products from the specified account. These are your processed // products after applying rules and supplemental data sources. Products []*Product `protobuf:"bytes,1,rep,name=products,proto3" json:"products,omitempty"` // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for the ListProducts method.
func (*ListProductsResponse) Descriptor
deprecated
func (*ListProductsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProductsResponse.ProtoReflect.Descriptor instead.
func (*ListProductsResponse) GetNextPageToken ¶
func (x *ListProductsResponse) GetNextPageToken() string
func (*ListProductsResponse) GetProducts ¶
func (x *ListProductsResponse) GetProducts() []*Product
func (*ListProductsResponse) ProtoMessage ¶
func (*ListProductsResponse) ProtoMessage()
func (*ListProductsResponse) ProtoReflect ¶
func (x *ListProductsResponse) ProtoReflect() protoreflect.Message
func (*ListProductsResponse) Reset ¶
func (x *ListProductsResponse) Reset()
func (*ListProductsResponse) String ¶
func (x *ListProductsResponse) String() string
type LoyaltyPoints ¶
type LoyaltyPoints struct { // Name of loyalty points program. It is recommended to limit the name to // 12 full-width characters or 24 Roman characters. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The retailer's loyalty points in absolute value. PointsValue int64 `protobuf:"varint,2,opt,name=points_value,json=pointsValue,proto3" json:"points_value,omitempty"` // The ratio of a point when converted to currency. Google assumes currency // based on Merchant Center settings. If ratio is left out, it defaults to // 1.0. Ratio float64 `protobuf:"fixed64,3,opt,name=ratio,proto3" json:"ratio,omitempty"` // contains filtered or unexported fields }
A message that represents loyalty points.
func (*LoyaltyPoints) Descriptor
deprecated
func (*LoyaltyPoints) Descriptor() ([]byte, []int)
Deprecated: Use LoyaltyPoints.ProtoReflect.Descriptor instead.
func (*LoyaltyPoints) GetName ¶
func (x *LoyaltyPoints) GetName() string
func (*LoyaltyPoints) GetPointsValue ¶
func (x *LoyaltyPoints) GetPointsValue() int64
func (*LoyaltyPoints) GetRatio ¶
func (x *LoyaltyPoints) GetRatio() float64
func (*LoyaltyPoints) ProtoMessage ¶
func (*LoyaltyPoints) ProtoMessage()
func (*LoyaltyPoints) ProtoReflect ¶
func (x *LoyaltyPoints) ProtoReflect() protoreflect.Message
func (*LoyaltyPoints) Reset ¶
func (x *LoyaltyPoints) Reset()
func (*LoyaltyPoints) String ¶
func (x *LoyaltyPoints) String() string
type LoyaltyProgram ¶
type LoyaltyProgram struct { // The label of the loyalty program. This is an internal label that uniquely // identifies the relationship between a business entity and a loyalty // program entity. The label must be provided so that the system can associate // the assets below (for example, price and points) with a business. The // corresponding program must be linked to the Merchant Center account. ProgramLabel *string `protobuf:"bytes,1,opt,name=program_label,json=programLabel,proto3,oneof" json:"program_label,omitempty"` // The label of the tier within the loyalty program. // Must match one of the labels within the program. TierLabel *string `protobuf:"bytes,2,opt,name=tier_label,json=tierLabel,proto3,oneof" json:"tier_label,omitempty"` // The price for members of the given tier, that is, the instant discount // price. Must be smaller or equal to the regular price. Price *typepb.Price `protobuf:"bytes,3,opt,name=price,proto3,oneof" json:"price,omitempty"` // The cashback that can be used for future purchases. CashbackForFutureUse *typepb.Price `` /* 131-byte string literal not displayed */ // The amount of loyalty points earned on a purchase. LoyaltyPoints *int64 `protobuf:"varint,5,opt,name=loyalty_points,json=loyaltyPoints,proto3,oneof" json:"loyalty_points,omitempty"` // A date range during which the item is eligible for member price. If not // specified, the member price is always applicable. The date range is // represented by a pair of ISO 8601 dates separated by a space, // comma, or slash. MemberPriceEffectiveDate *interval.Interval `` /* 143-byte string literal not displayed */ // The label of the shipping benefit. If the field has value, this offer has // loyalty shipping benefit. If the field value isn't provided, the item is // not eligible for loyalty shipping for the given loyalty tier. ShippingLabel *string `protobuf:"bytes,7,opt,name=shipping_label,json=shippingLabel,proto3,oneof" json:"shipping_label,omitempty"` // contains filtered or unexported fields }
A message that represents loyalty program.
func (*LoyaltyProgram) Descriptor
deprecated
func (*LoyaltyProgram) Descriptor() ([]byte, []int)
Deprecated: Use LoyaltyProgram.ProtoReflect.Descriptor instead.
func (*LoyaltyProgram) GetCashbackForFutureUse ¶
func (x *LoyaltyProgram) GetCashbackForFutureUse() *typepb.Price
func (*LoyaltyProgram) GetLoyaltyPoints ¶
func (x *LoyaltyProgram) GetLoyaltyPoints() int64
func (*LoyaltyProgram) GetMemberPriceEffectiveDate ¶
func (x *LoyaltyProgram) GetMemberPriceEffectiveDate() *interval.Interval
func (*LoyaltyProgram) GetPrice ¶
func (x *LoyaltyProgram) GetPrice() *typepb.Price
func (*LoyaltyProgram) GetProgramLabel ¶
func (x *LoyaltyProgram) GetProgramLabel() string
func (*LoyaltyProgram) GetShippingLabel ¶
func (x *LoyaltyProgram) GetShippingLabel() string
func (*LoyaltyProgram) GetTierLabel ¶
func (x *LoyaltyProgram) GetTierLabel() string
func (*LoyaltyProgram) ProtoMessage ¶
func (*LoyaltyProgram) ProtoMessage()
func (*LoyaltyProgram) ProtoReflect ¶
func (x *LoyaltyProgram) ProtoReflect() protoreflect.Message
func (*LoyaltyProgram) Reset ¶
func (x *LoyaltyProgram) Reset()
func (*LoyaltyProgram) String ¶
func (x *LoyaltyProgram) String() string
type Pause ¶
type Pause int32
Publication of this item will be temporarily [paused](https://support.google.com/merchants/answer/11909930).
const ( // The pause is unspecified. Pause_PAUSE_UNSPECIFIED Pause = 0 // You’re currently pausing your product for all ads locations (including // Shopping Ads, Display Ads, and local inventory ads). Pause_ADS Pause = 1 // You’re currently pausing your product for all Shopping locations // (including Shopping Ads, Display Ads, local inventory ads, Buy on Google, // and free listings). Pause_ALL Pause = 2 )
func (Pause) Descriptor ¶
func (Pause) Descriptor() protoreflect.EnumDescriptor
func (Pause) EnumDescriptor
deprecated
func (Pause) Number ¶
func (x Pause) Number() protoreflect.EnumNumber
func (Pause) Type ¶
func (Pause) Type() protoreflect.EnumType
type PickupMethod ¶
type PickupMethod int32
The [pickup](https://support.google.com/merchants/answer/14634021) option for the item.
const ( // Pickup method is not specified. PickupMethod_PICKUP_METHOD_UNSPECIFIED PickupMethod = 0 // The item is not available for store pickup. PickupMethod_NOT_SUPPORTED PickupMethod = 1 // The entire transaction occurs online. PickupMethod_BUY PickupMethod = 2 // The item is reserved online and the transaction occurs in-store. PickupMethod_RESERVE PickupMethod = 3 // The item is purchased online and shipped to a local store for the customer // to pick up. PickupMethod_SHIP_TO_STORE PickupMethod = 4 )
func (PickupMethod) Descriptor ¶
func (PickupMethod) Descriptor() protoreflect.EnumDescriptor
func (PickupMethod) Enum ¶
func (x PickupMethod) Enum() *PickupMethod
func (PickupMethod) EnumDescriptor
deprecated
func (PickupMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use PickupMethod.Descriptor instead.
func (PickupMethod) Number ¶
func (x PickupMethod) Number() protoreflect.EnumNumber
func (PickupMethod) String ¶
func (x PickupMethod) String() string
func (PickupMethod) Type ¶
func (PickupMethod) Type() protoreflect.EnumType
type PickupSla ¶
type PickupSla int32
Item store pickup timeline. For more information, see [Pickup SLA](https://support.google.com/merchants/answer/14635400).
const ( // Pickup SLA is not specified. PickupSla_PICKUP_SLA_UNSPECIFIED PickupSla = 0 // Indicates that the product is available for pickup the same day that the // order is placed, subject to cut off times. PickupSla_SAME_DAY PickupSla = 1 // Indicates that the product is available for pickup the following day that // the order is placed. PickupSla_NEXT_DAY PickupSla = 2 // Indicates that the product will be shipped to a store for a customer to // pick up in 2 days. PickupSla_TWO_DAY PickupSla = 3 // Indicates that the product will be shipped to a store for a customer to // pick up in 3 days. PickupSla_THREE_DAY PickupSla = 4 // Indicates that the product will be shipped to a store for a customer to // pick up in 4 days PickupSla_FOUR_DAY PickupSla = 5 // Indicates that the product will be shipped to a store for a customer to // pick up in 5 days. PickupSla_FIVE_DAY PickupSla = 6 // Indicates that the product will be shipped to a store for a customer to // pick up in 6 days. PickupSla_SIX_DAY PickupSla = 7 // Indicates that the product will be shipped to a store for a customer to // pick up in one week or more. PickupSla_MULTI_WEEK PickupSla = 8 )
func (PickupSla) Descriptor ¶
func (PickupSla) Descriptor() protoreflect.EnumDescriptor
func (PickupSla) EnumDescriptor
deprecated
func (PickupSla) Number ¶
func (x PickupSla) Number() protoreflect.EnumNumber
func (PickupSla) Type ¶
func (PickupSla) Type() protoreflect.EnumType
type Product ¶
type Product struct { // The name of the product. // Format: // `accounts/{account}/products/{product}` where the last // section `product` consists of: // `content_language~feed_label~offer_id` // example for product name is `accounts/123/products/en~US~sku123`. A legacy // local product name would be `accounts/123/products/local~en~US~sku123`. // Note: For calls to the v1beta version, the `product` section consists // of: `channel~content_language~feed_label~offer_id`, for example: // `accounts/123/products/online~en~US~sku123`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Determines whether the product is **only** targeting // local destinations and whether the product name should be distinguished // with a `local~` prefix. For example, // `accounts/123/products/local~en~US~sku123`. LegacyLocal bool `protobuf:"varint,11,opt,name=legacy_local,json=legacyLocal,proto3" json:"legacy_local,omitempty"` // Output only. Your unique identifier for the product. This is the same for // the product input and processed product. Leading and trailing whitespaces // are stripped and multiple whitespaces are replaced by a single whitespace // upon submission. See the [product data // specification](https://support.google.com/merchants/answer/188494#id) for // details. OfferId string `protobuf:"bytes,3,opt,name=offer_id,json=offerId,proto3" json:"offer_id,omitempty"` // Output only. The two-letter [ISO // 639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the // product. ContentLanguage string `protobuf:"bytes,4,opt,name=content_language,json=contentLanguage,proto3" json:"content_language,omitempty"` // Output only. The feed label lets you categorize and identify your products. // The maximum allowed characters is 20 and the supported characters are`A-Z`, // `0-9`, hyphen and underscore. The feed label must not include any spaces. // For more information, see [Using feed // labels](//support.google.com/merchants/answer/14994087) FeedLabel string `protobuf:"bytes,5,opt,name=feed_label,json=feedLabel,proto3" json:"feed_label,omitempty"` // Output only. The primary data source of the product. DataSource string `protobuf:"bytes,6,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` // Output only. Represents the existing version (freshness) of the product, // which can be used to preserve the right order when multiple updates are // done at the same time. // // If set, the insertion is prevented when version number is lower than // the current version number of the existing product. Re-insertion (for // example, product refresh after 30 days) can be performed with the current // `version_number`. // // Only supported for insertions into primary data sources. // // If the operation is prevented, the aborted exception will be // thrown. VersionNumber *int64 `protobuf:"varint,7,opt,name=version_number,json=versionNumber,proto3,oneof" json:"version_number,omitempty"` // Output only. A list of strongly-typed product attributes. ProductAttributes *ProductAttributes `protobuf:"bytes,13,opt,name=product_attributes,json=productAttributes,proto3" json:"product_attributes,omitempty"` // Output only. A list of custom (merchant-provided) attributes. It can also // be used to submit any attribute of the data specification in its generic // form (for example, // `{ "name": "size type", "value": "regular" }`). // This is useful for submitting attributes not explicitly exposed by the // API, such as additional attributes used for Buy on Google. CustomAttributes []*typepb.CustomAttribute `protobuf:"bytes,9,rep,name=custom_attributes,json=customAttributes,proto3" json:"custom_attributes,omitempty"` // Output only. The status of a product, data validation issues, that is, // information about a product computed asynchronously. ProductStatus *ProductStatus `protobuf:"bytes,10,opt,name=product_status,json=productStatus,proto3" json:"product_status,omitempty"` // Output only. The automated discounts information for the product. AutomatedDiscounts *AutomatedDiscounts `protobuf:"bytes,12,opt,name=automated_discounts,json=automatedDiscounts,proto3" json:"automated_discounts,omitempty"` // contains filtered or unexported fields }
The processed product, built from multiple [product inputs][google.shopping.merchant.products.v1main.ProductInput] after applying rules and supplemental data sources. This processed product matches what is shown in your Merchant Center account. Each product is built from exactly one primary data source product input, and multiple supplemental data source inputs. After inserting, updating, or deleting a product input, it may take several minutes before the updated processed product can be retrieved.
All fields in the processed product and its sub-messages match the name of their corresponding attribute in the [Product data specification](https://support.google.com/merchants/answer/7052112) with some exceptions.
func (*Product) Descriptor
deprecated
func (*Product) GetAutomatedDiscounts ¶
func (x *Product) GetAutomatedDiscounts() *AutomatedDiscounts
func (*Product) GetContentLanguage ¶
func (*Product) GetCustomAttributes ¶
func (x *Product) GetCustomAttributes() []*typepb.CustomAttribute
func (*Product) GetDataSource ¶
func (*Product) GetFeedLabel ¶
func (*Product) GetLegacyLocal ¶
func (*Product) GetOfferId ¶
func (*Product) GetProductAttributes ¶
func (x *Product) GetProductAttributes() *ProductAttributes
func (*Product) GetProductStatus ¶
func (x *Product) GetProductStatus() *ProductStatus
func (*Product) GetVersionNumber ¶
func (*Product) ProtoMessage ¶
func (*Product) ProtoMessage()
func (*Product) ProtoReflect ¶
func (x *Product) ProtoReflect() protoreflect.Message
type ProductAttributes ¶
type ProductAttributes struct { // Set this value to false when the item does not have unique product // identifiers appropriate to its category, such as GTIN, MPN, and brand. // Defaults to true, if not provided. IdentifierExists *bool `protobuf:"varint,4,opt,name=identifier_exists,json=identifierExists,proto3,oneof" json:"identifier_exists,omitempty"` // Whether the item is a business-defined sub-API. A [sub-API] // (https://support.google.com/merchants/answer/6324449) is a custom // grouping of different products sold by a business for a single price. IsBundle *bool `protobuf:"varint,5,opt,name=is_bundle,json=isBundle,proto3,oneof" json:"is_bundle,omitempty"` // Title of the item. Title *string `protobuf:"bytes,6,opt,name=title,proto3,oneof" json:"title,omitempty"` // Description of the item. Description *string `protobuf:"bytes,7,opt,name=description,proto3,oneof" json:"description,omitempty"` // URL directly linking to your item's page on your online store. Link *string `protobuf:"bytes,8,opt,name=link,proto3,oneof" json:"link,omitempty"` // URL for the mobile-optimized version of your item's landing page. MobileLink *string `protobuf:"bytes,9,opt,name=mobile_link,json=mobileLink,proto3,oneof" json:"mobile_link,omitempty"` // URL for the canonical version of your item's landing page. CanonicalLink *string `protobuf:"bytes,10,opt,name=canonical_link,json=canonicalLink,proto3,oneof" json:"canonical_link,omitempty"` // URL of an image of the item. ImageLink *string `protobuf:"bytes,11,opt,name=image_link,json=imageLink,proto3,oneof" json:"image_link,omitempty"` // Additional URLs of images of the item. AdditionalImageLinks []string `protobuf:"bytes,12,rep,name=additional_image_links,json=additionalImageLinks,proto3" json:"additional_image_links,omitempty"` // Date on which the item should expire, as specified upon insertion, in // [ISO // 8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual // expiration date is exposed in `productstatuses` as // [googleExpirationDate](https://support.google.com/merchants/answer/6324499) // and might be earlier if `expirationDate` is too far in the future. ExpirationDate *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty"` // The date time when an offer becomes visible in search results across // Google’s YouTube surfaces, in [ISO // 8601](http://en.wikipedia.org/wiki/ISO_8601) format. // See [Disclosure date](https://support.google.com/merchants/answer/13034208) // for more information. DisclosureDate *timestamppb.Timestamp `protobuf:"bytes,79,opt,name=disclosure_date,json=disclosureDate,proto3" json:"disclosure_date,omitempty"` // Set to true if the item is targeted towards adults. Adult *bool `protobuf:"varint,17,opt,name=adult,proto3,oneof" json:"adult,omitempty"` // Target [age group](https://support.google.com/merchants/answer/6324463) of // the item. AgeGroup *AgeGroup `` /* 144-byte string literal not displayed */ // [Availability](https://support.google.com/merchants/answer/6324448) status // of the item. Availability *Availability `` /* 140-byte string literal not displayed */ // The day a pre-ordered product becomes available for delivery, in [ISO // 8601](http://en.wikipedia.org/wiki/ISO_8601) format. AvailabilityDate *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=availability_date,json=availabilityDate,proto3" json:"availability_date,omitempty"` // [Brand](https://support.google.com/merchants/answer/6324351) of the item. // For example, "Google". Brand *string `protobuf:"bytes,21,opt,name=brand,proto3,oneof" json:"brand,omitempty"` // [Color](https://support.google.com/merchants/answer/6324487) of the item. // For example, "red". Color *string `protobuf:"bytes,22,opt,name=color,proto3,oneof" json:"color,omitempty"` // [Condition](https://support.google.com/merchants/answer/6324469) or state // of the item. Condition *Condition `` /* 131-byte string literal not displayed */ // Target [gender](https://support.google.com/merchants/answer/6324479) of the // item. Gender *Gender `protobuf:"varint,24,opt,name=gender,proto3,enum=google.shopping.merchant.products.v1.Gender,oneof" json:"gender,omitempty"` // Google's category of the item (see [Google product // taxonomy](https://support.google.com/merchants/answer/1705911)). When // querying products, this field will contain the user provided value. There // is currently no way to get back the auto assigned google product // categories through the API. GoogleProductCategory *string `` /* 133-byte string literal not displayed */ // Global Trade Item Numbers // ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the // item. // You can provide up to 10 GTINs. Gtins []string `protobuf:"bytes,140,rep,name=gtins,proto3" json:"gtins,omitempty"` // Shared identifier for all variants of the same product. ItemGroupId *string `protobuf:"bytes,27,opt,name=item_group_id,json=itemGroupId,proto3,oneof" json:"item_group_id,omitempty"` // The [material](https://support.google.com/merchants/answer/6324410) of // which the item is made. For example, "Leather" or "Cotton". Material *string `protobuf:"bytes,28,opt,name=material,proto3,oneof" json:"material,omitempty"` // Manufacturer Part Number // ([MPN](https://support.google.com/merchants/answer/188494#mpn)) of the // item. Mpn *string `protobuf:"bytes,29,opt,name=mpn,proto3,oneof" json:"mpn,omitempty"` // The item's [pattern](https://support.google.com/merchants/answer/6324483). // For example, polka dots. Pattern *string `protobuf:"bytes,30,opt,name=pattern,proto3,oneof" json:"pattern,omitempty"` // Price of the item. Price *typepb.Price `protobuf:"bytes,31,opt,name=price,proto3" json:"price,omitempty"` // Maximum retail price (MRP) of the item. Applicable to India only. MaximumRetailPrice *typepb.Price `protobuf:"bytes,139,opt,name=maximum_retail_price,json=maximumRetailPrice,proto3" json:"maximum_retail_price,omitempty"` // Number and amount of installments to pay for an item. Installment *ProductInstallment `protobuf:"bytes,32,opt,name=installment,proto3" json:"installment,omitempty"` // Number of periods (months or years) and amount of payment per period // for an item with an associated subscription contract. SubscriptionCost *SubscriptionCost `protobuf:"bytes,33,opt,name=subscription_cost,json=subscriptionCost,proto3" json:"subscription_cost,omitempty"` // Loyalty points that users receive after purchasing the item. Japan only. LoyaltyPoints *LoyaltyPoints `protobuf:"bytes,34,opt,name=loyalty_points,json=loyaltyPoints,proto3" json:"loyalty_points,omitempty"` // A list of loyalty program information that is used to surface loyalty // benefits (for example, better pricing, points, etc) to the user of this // item. LoyaltyPrograms []*LoyaltyProgram `protobuf:"bytes,136,rep,name=loyalty_programs,json=loyaltyPrograms,proto3" json:"loyalty_programs,omitempty"` // Categories of the item (formatted as in [product data // specification](https://support.google.com/merchants/answer/7052112#product_category)). ProductTypes []string `protobuf:"bytes,35,rep,name=product_types,json=productTypes,proto3" json:"product_types,omitempty"` // Advertised sale price of the item. SalePrice *typepb.Price `protobuf:"bytes,36,opt,name=sale_price,json=salePrice,proto3" json:"sale_price,omitempty"` // Date range during which the item is on sale, see [product data // specification](https://support.google.com/merchants/answer/7052112#price_and_availability). SalePriceEffectiveDate *interval.Interval `` /* 132-byte string literal not displayed */ // The quantity of the product that is available for selling on Google. // Supported only for online products. SellOnGoogleQuantity *int64 `` /* 133-byte string literal not displayed */ // The height of the product in the units provided. The value must be // between // 0 (exclusive) and 3000 (inclusive). ProductHeight *ProductDimension `protobuf:"bytes,119,opt,name=product_height,json=productHeight,proto3" json:"product_height,omitempty"` // The length of the product in the units provided. The value must be // between 0 (exclusive) and 3000 (inclusive). ProductLength *ProductDimension `protobuf:"bytes,120,opt,name=product_length,json=productLength,proto3" json:"product_length,omitempty"` // The width of the product in the units provided. The value must be between // 0 (exclusive) and 3000 (inclusive). ProductWidth *ProductDimension `protobuf:"bytes,121,opt,name=product_width,json=productWidth,proto3" json:"product_width,omitempty"` // The weight of the product in the units provided. The value must be // between 0 (exclusive) and 2000 (inclusive). ProductWeight *ProductWeight `protobuf:"bytes,122,opt,name=product_weight,json=productWeight,proto3" json:"product_weight,omitempty"` // Shipping rules. Shipping []*Shipping `protobuf:"bytes,39,rep,name=shipping,proto3" json:"shipping,omitempty"` // Rules for carrier-based shipping. CarrierShipping []*ProductAttributes_CarrierShipping `protobuf:"bytes,142,rep,name=carrier_shipping,json=carrierShipping,proto3" json:"carrier_shipping,omitempty"` // Conditions to be met for a product to have free shipping. FreeShippingThreshold []*FreeShippingThreshold `` /* 128-byte string literal not displayed */ // Weight of the item for shipping. ShippingWeight *ShippingWeight `protobuf:"bytes,40,opt,name=shipping_weight,json=shippingWeight,proto3" json:"shipping_weight,omitempty"` // Length of the item for shipping. ShippingLength *ShippingDimension `protobuf:"bytes,41,opt,name=shipping_length,json=shippingLength,proto3" json:"shipping_length,omitempty"` // Width of the item for shipping. ShippingWidth *ShippingDimension `protobuf:"bytes,42,opt,name=shipping_width,json=shippingWidth,proto3" json:"shipping_width,omitempty"` // Height of the item for shipping. ShippingHeight *ShippingDimension `protobuf:"bytes,43,opt,name=shipping_height,json=shippingHeight,proto3" json:"shipping_height,omitempty"` // Maximal product handling time (in business days). MaxHandlingTime *int64 `protobuf:"varint,44,opt,name=max_handling_time,json=maxHandlingTime,proto3,oneof" json:"max_handling_time,omitempty"` // Minimal product handling time (in business days). MinHandlingTime *int64 `protobuf:"varint,45,opt,name=min_handling_time,json=minHandlingTime,proto3,oneof" json:"min_handling_time,omitempty"` // The shipping label of the product, used to group product in account-level // shipping rules. ShippingLabel *string `protobuf:"bytes,46,opt,name=shipping_label,json=shippingLabel,proto3,oneof" json:"shipping_label,omitempty"` // The transit time label of the product, used to group product in // account-level transit time tables. TransitTimeLabel *string `protobuf:"bytes,47,opt,name=transit_time_label,json=transitTimeLabel,proto3,oneof" json:"transit_time_label,omitempty"` // Size of the item. Only one value is allowed. For variants with different // sizes, insert a separate product for each size with the same // `itemGroupId` value, see // [Size](https://support.google.com/merchants/answer/6324492). Size *string `protobuf:"bytes,48,opt,name=size,proto3,oneof" json:"size,omitempty"` // System in which the size is specified. Recommended for apparel items. // For more information, see // [Size system](https://support.google.com/merchants/answer/6324502). SizeSystem *SizeSystem `` /* 152-byte string literal not displayed */ // The cut of the item. It can be used to represent combined size types for // apparel items. Maximum two of size types can be provided, see // [Size type](https://support.google.com/merchants/answer/6324497). SizeTypes []SizeType `` /* 148-byte string literal not displayed */ // The [energy efficiency // class](https://support.google.com/merchants/answer/7562785) as defined in // EU directive 2010/30/EU. EnergyEfficiencyClass *EnergyEfficiencyClass `` /* 198-byte string literal not displayed */ // The [energy efficiency // class](https://support.google.com/merchants/answer/7562785) as defined in // EU directive 2010/30/EU. MinEnergyEfficiencyClass *EnergyEfficiencyClass `` /* 209-byte string literal not displayed */ // The [energy efficiency // class](https://support.google.com/merchants/answer/7562785) as defined in // EU directive 2010/30/EU. MaxEnergyEfficiencyClass *EnergyEfficiencyClass `` /* 209-byte string literal not displayed */ // The measure and dimension of an item. UnitPricingMeasure *UnitPricingMeasure `protobuf:"bytes,56,opt,name=unit_pricing_measure,json=unitPricingMeasure,proto3" json:"unit_pricing_measure,omitempty"` // The preference of the denominator of the unit price. UnitPricingBaseMeasure *UnitPricingBaseMeasure `` /* 132-byte string literal not displayed */ // The number of identical products in a business-defined multipack. Multipack *int64 `protobuf:"varint,58,opt,name=multipack,proto3,oneof" json:"multipack,omitempty"` // Used to group items in an arbitrary way. Only for CPA%, discouraged // otherwise. For more information, see // [Display ads // attribute](https://support.google.com/merchants/answer/6069387). AdsGrouping *string `protobuf:"bytes,59,opt,name=ads_grouping,json=adsGrouping,proto3,oneof" json:"ads_grouping,omitempty"` // Similar to ads_grouping, but only works on CPC. AdsLabels []string `protobuf:"bytes,60,rep,name=ads_labels,json=adsLabels,proto3" json:"ads_labels,omitempty"` // Allows advertisers to override the item URL when the product is shown // within the context of Product ads. AdsRedirect *string `protobuf:"bytes,61,opt,name=ads_redirect,json=adsRedirect,proto3,oneof" json:"ads_redirect,omitempty"` // Cost of goods sold. Used for gross profit reporting. CostOfGoodsSold *typepb.Price `protobuf:"bytes,62,opt,name=cost_of_goods_sold,json=costOfGoodsSold,proto3" json:"cost_of_goods_sold,omitempty"` // Technical specification or additional product details. ProductDetails []*ProductDetail `protobuf:"bytes,63,rep,name=product_details,json=productDetails,proto3" json:"product_details,omitempty"` // Bullet points describing the most relevant [product // highlights](https://support.google.com/merchants/answer/9216100). ProductHighlights []string `protobuf:"bytes,64,rep,name=product_highlights,json=productHighlights,proto3" json:"product_highlights,omitempty"` // An identifier for an item for dynamic remarketing campaigns. DisplayAdsId *string `protobuf:"bytes,65,opt,name=display_ads_id,json=displayAdsId,proto3,oneof" json:"display_ads_id,omitempty"` // Advertiser-specified recommendations. For more information, see // [Display ads attribute // specification](https://support.google.com/merchants/answer/6069387). DisplayAdsSimilarIds []string `` /* 126-byte string literal not displayed */ // Title of an item for dynamic remarketing campaigns. DisplayAdsTitle *string `protobuf:"bytes,67,opt,name=display_ads_title,json=displayAdsTitle,proto3,oneof" json:"display_ads_title,omitempty"` // URL directly to your item's landing page for dynamic remarketing // campaigns. DisplayAdsLink *string `protobuf:"bytes,68,opt,name=display_ads_link,json=displayAdsLink,proto3,oneof" json:"display_ads_link,omitempty"` // Offer margin for dynamic remarketing campaigns. For more information, see // [Display ads // attribute](https://support.google.com/merchants/answer/6069387). DisplayAdsValue *float64 `protobuf:"fixed64,69,opt,name=display_ads_value,json=displayAdsValue,proto3,oneof" json:"display_ads_value,omitempty"` // The unique ID of a promotion. PromotionIds []string `protobuf:"bytes,70,rep,name=promotion_ids,json=promotionIds,proto3" json:"promotion_ids,omitempty"` // The [pickup](https://support.google.com/merchants/answer/14634021) option // for the item. PickupMethod *PickupMethod `` /* 160-byte string literal not displayed */ // Item store pickup timeline. For more information, see // [Pickup SLA](https://support.google.com/merchants/answer/14635400). PickupSla *PickupSla `` /* 148-byte string literal not displayed */ // [Link template](https://support.google.com/merchants/answer/13871172) for // business hosted local storefront. LinkTemplate *string `protobuf:"bytes,82,opt,name=link_template,json=linkTemplate,proto3,oneof" json:"link_template,omitempty"` // [Link template](https://support.google.com/merchants/answer/13870216) for // business hosted local storefront optimized for mobile // devices. MobileLinkTemplate *string `protobuf:"bytes,83,opt,name=mobile_link_template,json=mobileLinkTemplate,proto3,oneof" json:"mobile_link_template,omitempty"` // [Custom label 0](https://support.google.com/merchants/answer/6324473) for // custom grouping of items in a Shopping campaign. CustomLabel_0 *string `protobuf:"bytes,71,opt,name=custom_label_0,json=customLabel0,proto3,oneof" json:"custom_label_0,omitempty"` // [Custom label 1](https://support.google.com/merchants/answer/6324473) // for custom grouping of items in a Shopping campaign. CustomLabel_1 *string `protobuf:"bytes,72,opt,name=custom_label_1,json=customLabel1,proto3,oneof" json:"custom_label_1,omitempty"` // [Custom label 2](https://support.google.com/merchants/answer/6324473) // for custom grouping of items in a Shopping campaign. CustomLabel_2 *string `protobuf:"bytes,73,opt,name=custom_label_2,json=customLabel2,proto3,oneof" json:"custom_label_2,omitempty"` // [Custom label 3](https://support.google.com/merchants/answer/6324473) // for custom grouping of items in a Shopping campaign. CustomLabel_3 *string `protobuf:"bytes,74,opt,name=custom_label_3,json=customLabel3,proto3,oneof" json:"custom_label_3,omitempty"` // [Custom label 4](https://support.google.com/merchants/answer/6324473) for // custom grouping of items in a Shopping campaign. CustomLabel_4 *string `protobuf:"bytes,75,opt,name=custom_label_4,json=customLabel4,proto3,oneof" json:"custom_label_4,omitempty"` // The list of destinations to include for this target (corresponds to // checked check boxes in Merchant Center). Default destinations are always // included unless provided in `excludedDestinations`. // // For more information, see // [Included // destination](https://support.google.com/merchants/answer/7501026). // // Note: We recommend setting destinations on datasources level for most use // cases. Use this field within products to only setup exceptions. IncludedDestinations []typepb.Destination_DestinationEnum `` /* 184-byte string literal not displayed */ // The list of destinations to exclude for this target (corresponds to // unchecked check boxes in Merchant Center). // // For more information, see // [Excluded // destination](https://support.google.com/merchants/answer/6324486). // // Note: We recommend setting destinations on datasources level for most use // cases. Use this field within products to only setup exceptions. ExcludedDestinations []typepb.Destination_DestinationEnum `` /* 184-byte string literal not displayed */ // List of country codes [(ISO 3166-1 // alpha-2)](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) to exclude the // offer from Shopping Ads destination. Countries from this list are removed // from countries configured in data source settings. ShoppingAdsExcludedCountries []string `` /* 150-byte string literal not displayed */ // Required for multi-seller accounts. Use this attribute if you're a // marketplace uploading products for various sellers to your multi-seller // account. ExternalSellerId *string `protobuf:"bytes,1,opt,name=external_seller_id,json=externalSellerId,proto3,oneof" json:"external_seller_id,omitempty"` // Publication of this item will be temporarily // [paused](https://support.google.com/merchants/answer/11909930). Pause *Pause `protobuf:"varint,13,opt,name=pause,proto3,enum=google.shopping.merchant.products.v1.Pause,oneof" json:"pause,omitempty"` // Additional URLs of lifestyle images of the item, used to explicitly // identify images that showcase your item in a real-world context. See the // [Help Center article](https://support.google.com/merchants/answer/9103186) // for more information. LifestyleImageLinks []string `protobuf:"bytes,14,rep,name=lifestyle_image_links,json=lifestyleImageLinks,proto3" json:"lifestyle_image_links,omitempty"` // Extra fields to export to the Cloud Retail program. CloudExportAdditionalProperties []*CloudExportAdditionalProperties `` /* 159-byte string literal not displayed */ // URL of the 3D image of the item. See the // [Help Center article](https://support.google.com/merchants/answer/13674896) // for more information. VirtualModelLink *string `protobuf:"bytes,130,opt,name=virtual_model_link,json=virtualModelLink,proto3,oneof" json:"virtual_model_link,omitempty"` // Product Certifications, for example for energy efficiency labeling of // products recorded in the [EU EPREL](https://eprel.ec.europa.eu/screen/home) // database. See the [Help // Center](https://support.google.com/merchants/answer/13528839) // article for more information. Certifications []*ProductCertification `protobuf:"bytes,123,rep,name=certifications,proto3" json:"certifications,omitempty"` // Structured title, for algorithmically (AI)-generated titles. StructuredTitle *StructuredTitle `protobuf:"bytes,132,opt,name=structured_title,json=structuredTitle,proto3,oneof" json:"structured_title,omitempty"` // Structured description, for algorithmically (AI)-generated descriptions. StructuredDescription *StructuredDescription `` /* 132-byte string literal not displayed */ // A safeguard in the [automated discounts] // (https://support.google.com/merchants/answer/10295759) and // "Dynamic Promotions" // (https://support.google.com/merchants/answer/13949249) projects, // ensuring that discounts on business offers do not fall below this value, // thereby preserving the offer's value and profitability. AutoPricingMinPrice *typepb.Price `protobuf:"bytes,124,opt,name=auto_pricing_min_price,json=autoPricingMinPrice,proto3" json:"auto_pricing_min_price,omitempty"` // The list of sustainability incentive programs. SustainabilityIncentives []*ProductSustainabilityIncentive `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
Product attributes.
func (*ProductAttributes) Descriptor
deprecated
func (*ProductAttributes) Descriptor() ([]byte, []int)
Deprecated: Use ProductAttributes.ProtoReflect.Descriptor instead.
func (*ProductAttributes) GetAdditionalImageLinks ¶
func (x *ProductAttributes) GetAdditionalImageLinks() []string
func (*ProductAttributes) GetAdsGrouping ¶
func (x *ProductAttributes) GetAdsGrouping() string
func (*ProductAttributes) GetAdsLabels ¶
func (x *ProductAttributes) GetAdsLabels() []string
func (*ProductAttributes) GetAdsRedirect ¶
func (x *ProductAttributes) GetAdsRedirect() string
func (*ProductAttributes) GetAdult ¶
func (x *ProductAttributes) GetAdult() bool
func (*ProductAttributes) GetAgeGroup ¶
func (x *ProductAttributes) GetAgeGroup() AgeGroup
func (*ProductAttributes) GetAutoPricingMinPrice ¶
func (x *ProductAttributes) GetAutoPricingMinPrice() *typepb.Price
func (*ProductAttributes) GetAvailability ¶
func (x *ProductAttributes) GetAvailability() Availability
func (*ProductAttributes) GetAvailabilityDate ¶
func (x *ProductAttributes) GetAvailabilityDate() *timestamppb.Timestamp
func (*ProductAttributes) GetBrand ¶
func (x *ProductAttributes) GetBrand() string
func (*ProductAttributes) GetCanonicalLink ¶
func (x *ProductAttributes) GetCanonicalLink() string
func (*ProductAttributes) GetCarrierShipping ¶ added in v1.2.0
func (x *ProductAttributes) GetCarrierShipping() []*ProductAttributes_CarrierShipping
func (*ProductAttributes) GetCertifications ¶
func (x *ProductAttributes) GetCertifications() []*ProductCertification
func (*ProductAttributes) GetCloudExportAdditionalProperties ¶
func (x *ProductAttributes) GetCloudExportAdditionalProperties() []*CloudExportAdditionalProperties
func (*ProductAttributes) GetColor ¶
func (x *ProductAttributes) GetColor() string
func (*ProductAttributes) GetCondition ¶
func (x *ProductAttributes) GetCondition() Condition
func (*ProductAttributes) GetCostOfGoodsSold ¶
func (x *ProductAttributes) GetCostOfGoodsSold() *typepb.Price
func (*ProductAttributes) GetCustomLabel_0 ¶
func (x *ProductAttributes) GetCustomLabel_0() string
func (*ProductAttributes) GetCustomLabel_1 ¶
func (x *ProductAttributes) GetCustomLabel_1() string
func (*ProductAttributes) GetCustomLabel_2 ¶
func (x *ProductAttributes) GetCustomLabel_2() string
func (*ProductAttributes) GetCustomLabel_3 ¶
func (x *ProductAttributes) GetCustomLabel_3() string
func (*ProductAttributes) GetCustomLabel_4 ¶
func (x *ProductAttributes) GetCustomLabel_4() string
func (*ProductAttributes) GetDescription ¶
func (x *ProductAttributes) GetDescription() string
func (*ProductAttributes) GetDisclosureDate ¶
func (x *ProductAttributes) GetDisclosureDate() *timestamppb.Timestamp
func (*ProductAttributes) GetDisplayAdsId ¶
func (x *ProductAttributes) GetDisplayAdsId() string
func (*ProductAttributes) GetDisplayAdsLink ¶
func (x *ProductAttributes) GetDisplayAdsLink() string
func (*ProductAttributes) GetDisplayAdsSimilarIds ¶
func (x *ProductAttributes) GetDisplayAdsSimilarIds() []string
func (*ProductAttributes) GetDisplayAdsTitle ¶
func (x *ProductAttributes) GetDisplayAdsTitle() string
func (*ProductAttributes) GetDisplayAdsValue ¶
func (x *ProductAttributes) GetDisplayAdsValue() float64
func (*ProductAttributes) GetEnergyEfficiencyClass ¶
func (x *ProductAttributes) GetEnergyEfficiencyClass() EnergyEfficiencyClass
func (*ProductAttributes) GetExcludedDestinations ¶
func (x *ProductAttributes) GetExcludedDestinations() []typepb.Destination_DestinationEnum
func (*ProductAttributes) GetExpirationDate ¶
func (x *ProductAttributes) GetExpirationDate() *timestamppb.Timestamp
func (*ProductAttributes) GetExternalSellerId ¶
func (x *ProductAttributes) GetExternalSellerId() string
func (*ProductAttributes) GetFreeShippingThreshold ¶
func (x *ProductAttributes) GetFreeShippingThreshold() []*FreeShippingThreshold
func (*ProductAttributes) GetGender ¶
func (x *ProductAttributes) GetGender() Gender
func (*ProductAttributes) GetGoogleProductCategory ¶
func (x *ProductAttributes) GetGoogleProductCategory() string
func (*ProductAttributes) GetGtins ¶
func (x *ProductAttributes) GetGtins() []string
func (*ProductAttributes) GetIdentifierExists ¶
func (x *ProductAttributes) GetIdentifierExists() bool
func (*ProductAttributes) GetImageLink ¶
func (x *ProductAttributes) GetImageLink() string
func (*ProductAttributes) GetIncludedDestinations ¶
func (x *ProductAttributes) GetIncludedDestinations() []typepb.Destination_DestinationEnum
func (*ProductAttributes) GetInstallment ¶
func (x *ProductAttributes) GetInstallment() *ProductInstallment
func (*ProductAttributes) GetIsBundle ¶
func (x *ProductAttributes) GetIsBundle() bool
func (*ProductAttributes) GetItemGroupId ¶
func (x *ProductAttributes) GetItemGroupId() string
func (*ProductAttributes) GetLifestyleImageLinks ¶
func (x *ProductAttributes) GetLifestyleImageLinks() []string
func (*ProductAttributes) GetLink ¶
func (x *ProductAttributes) GetLink() string
func (*ProductAttributes) GetLinkTemplate ¶
func (x *ProductAttributes) GetLinkTemplate() string
func (*ProductAttributes) GetLoyaltyPoints ¶
func (x *ProductAttributes) GetLoyaltyPoints() *LoyaltyPoints
func (*ProductAttributes) GetLoyaltyPrograms ¶
func (x *ProductAttributes) GetLoyaltyPrograms() []*LoyaltyProgram
func (*ProductAttributes) GetMaterial ¶
func (x *ProductAttributes) GetMaterial() string
func (*ProductAttributes) GetMaxEnergyEfficiencyClass ¶
func (x *ProductAttributes) GetMaxEnergyEfficiencyClass() EnergyEfficiencyClass
func (*ProductAttributes) GetMaxHandlingTime ¶
func (x *ProductAttributes) GetMaxHandlingTime() int64
func (*ProductAttributes) GetMaximumRetailPrice ¶
func (x *ProductAttributes) GetMaximumRetailPrice() *typepb.Price
func (*ProductAttributes) GetMinEnergyEfficiencyClass ¶
func (x *ProductAttributes) GetMinEnergyEfficiencyClass() EnergyEfficiencyClass
func (*ProductAttributes) GetMinHandlingTime ¶
func (x *ProductAttributes) GetMinHandlingTime() int64
func (*ProductAttributes) GetMobileLink ¶
func (x *ProductAttributes) GetMobileLink() string
func (*ProductAttributes) GetMobileLinkTemplate ¶
func (x *ProductAttributes) GetMobileLinkTemplate() string
func (*ProductAttributes) GetMpn ¶
func (x *ProductAttributes) GetMpn() string
func (*ProductAttributes) GetMultipack ¶
func (x *ProductAttributes) GetMultipack() int64
func (*ProductAttributes) GetPattern ¶
func (x *ProductAttributes) GetPattern() string
func (*ProductAttributes) GetPause ¶
func (x *ProductAttributes) GetPause() Pause
func (*ProductAttributes) GetPickupMethod ¶
func (x *ProductAttributes) GetPickupMethod() PickupMethod
func (*ProductAttributes) GetPickupSla ¶
func (x *ProductAttributes) GetPickupSla() PickupSla
func (*ProductAttributes) GetPrice ¶
func (x *ProductAttributes) GetPrice() *typepb.Price
func (*ProductAttributes) GetProductDetails ¶
func (x *ProductAttributes) GetProductDetails() []*ProductDetail
func (*ProductAttributes) GetProductHeight ¶
func (x *ProductAttributes) GetProductHeight() *ProductDimension
func (*ProductAttributes) GetProductHighlights ¶
func (x *ProductAttributes) GetProductHighlights() []string
func (*ProductAttributes) GetProductLength ¶
func (x *ProductAttributes) GetProductLength() *ProductDimension
func (*ProductAttributes) GetProductTypes ¶
func (x *ProductAttributes) GetProductTypes() []string
func (*ProductAttributes) GetProductWeight ¶
func (x *ProductAttributes) GetProductWeight() *ProductWeight
func (*ProductAttributes) GetProductWidth ¶
func (x *ProductAttributes) GetProductWidth() *ProductDimension
func (*ProductAttributes) GetPromotionIds ¶
func (x *ProductAttributes) GetPromotionIds() []string
func (*ProductAttributes) GetSalePrice ¶
func (x *ProductAttributes) GetSalePrice() *typepb.Price
func (*ProductAttributes) GetSalePriceEffectiveDate ¶
func (x *ProductAttributes) GetSalePriceEffectiveDate() *interval.Interval
func (*ProductAttributes) GetSellOnGoogleQuantity ¶
func (x *ProductAttributes) GetSellOnGoogleQuantity() int64
func (*ProductAttributes) GetShipping ¶
func (x *ProductAttributes) GetShipping() []*Shipping
func (*ProductAttributes) GetShippingHeight ¶
func (x *ProductAttributes) GetShippingHeight() *ShippingDimension
func (*ProductAttributes) GetShippingLabel ¶
func (x *ProductAttributes) GetShippingLabel() string
func (*ProductAttributes) GetShippingLength ¶
func (x *ProductAttributes) GetShippingLength() *ShippingDimension
func (*ProductAttributes) GetShippingWeight ¶
func (x *ProductAttributes) GetShippingWeight() *ShippingWeight
func (*ProductAttributes) GetShippingWidth ¶
func (x *ProductAttributes) GetShippingWidth() *ShippingDimension
func (*ProductAttributes) GetShoppingAdsExcludedCountries ¶
func (x *ProductAttributes) GetShoppingAdsExcludedCountries() []string
func (*ProductAttributes) GetSize ¶
func (x *ProductAttributes) GetSize() string
func (*ProductAttributes) GetSizeSystem ¶
func (x *ProductAttributes) GetSizeSystem() SizeSystem
func (*ProductAttributes) GetSizeTypes ¶
func (x *ProductAttributes) GetSizeTypes() []SizeType
func (*ProductAttributes) GetStructuredDescription ¶
func (x *ProductAttributes) GetStructuredDescription() *StructuredDescription
func (*ProductAttributes) GetStructuredTitle ¶
func (x *ProductAttributes) GetStructuredTitle() *StructuredTitle
func (*ProductAttributes) GetSubscriptionCost ¶
func (x *ProductAttributes) GetSubscriptionCost() *SubscriptionCost
func (*ProductAttributes) GetSustainabilityIncentives ¶
func (x *ProductAttributes) GetSustainabilityIncentives() []*ProductSustainabilityIncentive
func (*ProductAttributes) GetTitle ¶
func (x *ProductAttributes) GetTitle() string
func (*ProductAttributes) GetTransitTimeLabel ¶
func (x *ProductAttributes) GetTransitTimeLabel() string
func (*ProductAttributes) GetUnitPricingBaseMeasure ¶
func (x *ProductAttributes) GetUnitPricingBaseMeasure() *UnitPricingBaseMeasure
func (*ProductAttributes) GetUnitPricingMeasure ¶
func (x *ProductAttributes) GetUnitPricingMeasure() *UnitPricingMeasure
func (*ProductAttributes) GetVirtualModelLink ¶
func (x *ProductAttributes) GetVirtualModelLink() string
func (*ProductAttributes) ProtoMessage ¶
func (*ProductAttributes) ProtoMessage()
func (*ProductAttributes) ProtoReflect ¶
func (x *ProductAttributes) ProtoReflect() protoreflect.Message
func (*ProductAttributes) Reset ¶
func (x *ProductAttributes) Reset()
func (*ProductAttributes) String ¶
func (x *ProductAttributes) String() string
type ProductAttributes_CarrierPriceOption ¶ added in v1.2.0
type ProductAttributes_CarrierPriceOption int32
Possible carrier where price is coming from.
const ( // Carrier price option is unspecified. ProductAttributes_CARRIER_PRICE_OPTION_UNSPECIFIED ProductAttributes_CarrierPriceOption = 0 // Australia Post Regular shipping service. ProductAttributes_AUSTRALIA_POST_REGULAR ProductAttributes_CarrierPriceOption = 1 // Australia Post Express shipping service. ProductAttributes_AUSTRALIA_POST_EXPRESS ProductAttributes_CarrierPriceOption = 2 // Australia Post Regular Small shipping service. ProductAttributes_AUSTRALIA_POST_REGULAR_S ProductAttributes_CarrierPriceOption = 3 // Australia Post Regular Medium shipping service. ProductAttributes_AUSTRALIA_POST_REGULAR_M ProductAttributes_CarrierPriceOption = 4 // Australia Post Regular Large shipping service. ProductAttributes_AUSTRALIA_POST_REGULAR_L ProductAttributes_CarrierPriceOption = 5 // Australia Post Regular XL shipping service. ProductAttributes_AUSTRALIA_POST_REGULAR_XL ProductAttributes_CarrierPriceOption = 6 // Australia Post Express Small shipping service. ProductAttributes_AUSTRALIA_POST_EXPRESS_S ProductAttributes_CarrierPriceOption = 7 // Australia Post Express Medium shipping service. ProductAttributes_AUSTRALIA_POST_EXPRESS_M ProductAttributes_CarrierPriceOption = 8 // Australia Post Express Large shipping service. ProductAttributes_AUSTRALIA_POST_EXPRESS_L ProductAttributes_CarrierPriceOption = 9 // Australia Post Express XL shipping service. ProductAttributes_AUSTRALIA_POST_EXPRESS_XL ProductAttributes_CarrierPriceOption = 10 // TNT Road Express shipping service. ProductAttributes_TNT_ROAD_EXPRESS ProductAttributes_CarrierPriceOption = 11 // TNT Overnight Express shipping service. ProductAttributes_TNT_OVERNIGHT_EXPRESS ProductAttributes_CarrierPriceOption = 12 // Toll Road Delivery shipping service. ProductAttributes_TOLL_ROAD_DELIVERY ProductAttributes_CarrierPriceOption = 13 // Toll Overnight Priority shipping service. ProductAttributes_TOLL_OVERNIGHT_PRIORITY ProductAttributes_CarrierPriceOption = 14 // DHL Paket shipping service. ProductAttributes_DHL_PAKET ProductAttributes_CarrierPriceOption = 15 // DHL Packchen shipping service. ProductAttributes_DHL_PACKCHEN ProductAttributes_CarrierPriceOption = 16 // DPD Express 12 shipping service. ProductAttributes_DPD_EXPRESS_12 ProductAttributes_CarrierPriceOption = 17 // DPD Express shipping service. ProductAttributes_DPD_EXPRESS ProductAttributes_CarrierPriceOption = 18 // DPD Classic Parcel shipping service. ProductAttributes_DPD_CLASSIC_PARCEL ProductAttributes_CarrierPriceOption = 19 // Hermes Packchen shipping service. ProductAttributes_HERMES_PACKCHEN ProductAttributes_CarrierPriceOption = 20 // Hermes Paketklasse S shipping service. ProductAttributes_HERMES_PAKETKLASSE_S ProductAttributes_CarrierPriceOption = 21 // Hermes Paketklasse M shipping service. ProductAttributes_HERMES_PAKETKLASSE_M ProductAttributes_CarrierPriceOption = 22 // Hermes Paketklasse L shipping service. ProductAttributes_HERMES_PAKETKLASSE_L ProductAttributes_CarrierPriceOption = 23 // UPS Express shipping service. ProductAttributes_UPS_EXPRESS ProductAttributes_CarrierPriceOption = 24 // UPS Express Saver shipping service. ProductAttributes_UPS_EXPRESS_SAVER ProductAttributes_CarrierPriceOption = 25 // UPS Express Standard shipping service. ProductAttributes_UPS_EXPRESS_STANDARD ProductAttributes_CarrierPriceOption = 26 // DHL Express shipping service. ProductAttributes_DHL_EXPRESS ProductAttributes_CarrierPriceOption = 27 // DHL Express 12 shipping service. ProductAttributes_DHL_EXPRESS_12 ProductAttributes_CarrierPriceOption = 28 // DPD Next Day shipping service. ProductAttributes_DPD_NEXT_DAY ProductAttributes_CarrierPriceOption = 29 // DPD Standard Next Day shipping service. ProductAttributes_DPD_STANDARD_NEXT_DAY ProductAttributes_CarrierPriceOption = 30 // DPD Standard Two Day shipping service. ProductAttributes_DPD_STANDARD_TWO_DAY ProductAttributes_CarrierPriceOption = 31 // RMG 1st Class Small shipping service. ProductAttributes_RMG_1ST_CLASS_SMALL ProductAttributes_CarrierPriceOption = 32 // RMG 1st Class Medium shipping service. ProductAttributes_RMG_1ST_CLASS_MEDIUM ProductAttributes_CarrierPriceOption = 33 // RMG 2nd Class Small shipping service. ProductAttributes_RMG_2ND_CLASS_SMALL ProductAttributes_CarrierPriceOption = 34 // RMG 2nd Class Medium shipping service. ProductAttributes_RMG_2ND_CLASS_MEDIUM ProductAttributes_CarrierPriceOption = 35 // TNT Express shipping service. ProductAttributes_TNT_EXPRESS ProductAttributes_CarrierPriceOption = 36 // TNT Express 10 shipping service. ProductAttributes_TNT_EXPRESS_10 ProductAttributes_CarrierPriceOption = 37 // TNT Express 12 shipping service. ProductAttributes_TNT_EXPRESS_12 ProductAttributes_CarrierPriceOption = 38 // Yodel B2C 48HR shipping service. ProductAttributes_YODEL_B2C_48HR ProductAttributes_CarrierPriceOption = 39 // Yodel B2C 72HR shipping service. ProductAttributes_YODEL_B2C_72HR ProductAttributes_CarrierPriceOption = 40 // Yodel B2C Packet shipping service. ProductAttributes_YODEL_B2C_PACKET ProductAttributes_CarrierPriceOption = 41 // FedEx Ground shipping service. ProductAttributes_FEDEX_GROUND ProductAttributes_CarrierPriceOption = 42 // FedEx Home Delivery shipping service. ProductAttributes_FEDEX_HOME_DELIVERY ProductAttributes_CarrierPriceOption = 43 // FedEx Express Saver shipping service. ProductAttributes_FEDEX_EXPRESS_SAVER ProductAttributes_CarrierPriceOption = 44 // FedEx First Overnight shipping service. ProductAttributes_FEDEX_FIRST_OVERNIGHT ProductAttributes_CarrierPriceOption = 45 // FedEx Priority Overnight shipping service. ProductAttributes_FEDEX_PRIORITY_OVERNIGHT ProductAttributes_CarrierPriceOption = 46 // FedEx Standard Overnight shipping service. ProductAttributes_FEDEX_STANDARD_OVERNIGHT ProductAttributes_CarrierPriceOption = 47 // FedEx 2Day shipping service. ProductAttributes_FEDEX_2DAY ProductAttributes_CarrierPriceOption = 48 // UPS Standard shipping service. ProductAttributes_UPS_STANDARD ProductAttributes_CarrierPriceOption = 49 // UPS 2nd Day Air shipping service. ProductAttributes_UPS_2ND_DAY_AIR ProductAttributes_CarrierPriceOption = 50 // UPS 2nd Day AM shipping service. ProductAttributes_UPS_2ND_DAY_AM ProductAttributes_CarrierPriceOption = 51 // UPS 3 Day Select shipping service. ProductAttributes_UPS_3_DAY_SELECT ProductAttributes_CarrierPriceOption = 52 // UPS Ground shipping service. ProductAttributes_UPS_GROUND ProductAttributes_CarrierPriceOption = 53 // UPS Next Day Air shipping service. ProductAttributes_UPS_NEXT_DAY_AIR ProductAttributes_CarrierPriceOption = 54 // UPS Next Day Air Early AM shipping service. ProductAttributes_UPS_NEXT_DAY_AIR_EARLY_AM ProductAttributes_CarrierPriceOption = 55 // UPS Next Day Air Saver shipping service. ProductAttributes_UPS_NEXT_DAY_AIR_SAVER ProductAttributes_CarrierPriceOption = 56 // USPS Priority Mail Express shipping service. ProductAttributes_USPS_PRIORITY_MAIL_EXPRESS ProductAttributes_CarrierPriceOption = 57 // USPS Media Mail shipping service. ProductAttributes_USPS_MEDIA_MAIL ProductAttributes_CarrierPriceOption = 58 // USPS Ground Advantage Retail shipping service. ProductAttributes_USPS_GROUND_ADVANTAGE_RETAIL ProductAttributes_CarrierPriceOption = 59 // USPS Priority Mail shipping service. ProductAttributes_USPS_PRIORITY_MAIL ProductAttributes_CarrierPriceOption = 60 // USPS Ground Advantage Commercial shipping service. ProductAttributes_USPS_GROUND_ADVANTAGE_COMMERCIAL ProductAttributes_CarrierPriceOption = 61 )
func (ProductAttributes_CarrierPriceOption) Descriptor ¶ added in v1.2.0
func (ProductAttributes_CarrierPriceOption) Descriptor() protoreflect.EnumDescriptor
func (ProductAttributes_CarrierPriceOption) Enum ¶ added in v1.2.0
func (x ProductAttributes_CarrierPriceOption) Enum() *ProductAttributes_CarrierPriceOption
func (ProductAttributes_CarrierPriceOption) EnumDescriptor
deprecated
added in
v1.2.0
func (ProductAttributes_CarrierPriceOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProductAttributes_CarrierPriceOption.Descriptor instead.
func (ProductAttributes_CarrierPriceOption) Number ¶ added in v1.2.0
func (x ProductAttributes_CarrierPriceOption) Number() protoreflect.EnumNumber
func (ProductAttributes_CarrierPriceOption) String ¶ added in v1.2.0
func (x ProductAttributes_CarrierPriceOption) String() string
func (ProductAttributes_CarrierPriceOption) Type ¶ added in v1.2.0
func (ProductAttributes_CarrierPriceOption) Type() protoreflect.EnumType
type ProductAttributes_CarrierShipping ¶ added in v1.2.0
type ProductAttributes_CarrierShipping struct { // The [CLDR territory // code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) // of the country to which an item will ship. Country *string `protobuf:"bytes,1,opt,name=country,proto3,oneof" json:"country,omitempty"` // The geographic region to which a shipping rate applies. // See [region](https://support.google.com/merchants/answer/6324484) for // more information. Region *string `protobuf:"bytes,2,opt,name=region,proto3,oneof" json:"region,omitempty"` // The postal code range that the shipping rate applies to, represented by // a postal code (eg. `94043`), a postal code prefix followed by a * // wildcard (eg. `94*`), a range between two postal codes (eg. // `94043-98033`) or two postal code prefixes of equal length (eg. // `94*-98*`). PostalCode *string `protobuf:"bytes,3,opt,name=postal_code,json=postalCode,proto3,oneof" json:"postal_code,omitempty"` // The source location postal code from which this offer ships. Represented // only by a full-length postal code. OriginPostalCode *string `protobuf:"bytes,4,opt,name=origin_postal_code,json=originPostalCode,proto3,oneof" json:"origin_postal_code,omitempty"` // Fixed shipping price, represented as a number with currency. Cannot be // set together with // [carrierPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price] // or its adjustments // ([carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment], // [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment]). FlatPrice *typepb.Price `protobuf:"bytes,5,opt,name=flat_price,json=flatPrice,proto3,oneof" json:"flat_price,omitempty"` // Selected carrier to calculate the shipping price from. Select a carrier // from the [available carriers // list](https://support.google.com/merchants/answer/15449142#Supported), // for example `AUSTRALIA_POST_REGULAR`. Price will be calculated by this // selected carrier, the location expressed in // [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code], // along with the user location to determine the accurate shipping price. // Carrier is represented by a carrier service name or a carrier service ID. // Cannot be set together with // [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]. CarrierPrice *ProductAttributes_CarrierPriceOption `` /* 183-byte string literal not displayed */ // A flat adjustment on the carrier price. Can be either positive or // negative. Cannot be zero. Requires `carrier_price` to be present. Cannot // be set together with // [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price] // and // [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment]. CarrierPriceFlatAdjustment *typepb.Price `` /* 149-byte string literal not displayed */ // A percentual adjustment on the carrier price. Can be either positive or // negative. Cannot be zero. Requires `carrier_price` to be present. Cannot // be set together with // [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price] // and // [carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment]. CarrierPricePercentageAdjustment *float64 `` /* 169-byte string literal not displayed */ // Minimum handling time (inclusive) between when the order is received and // shipped in business days. 0 means that the order is shipped on the same // day as it is received if it happens before the cut-off time. // [minHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.min_handling_time] // can only be set if // [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time] // is also set. MinHandlingTime *int64 `protobuf:"varint,9,opt,name=min_handling_time,json=minHandlingTime,proto3,oneof" json:"min_handling_time,omitempty"` // Maximum handling time (inclusive) between when the order is received and // shipped in business days. 0 means that the order is shipped on the same // day as it is received if it happens before the cut-off time. Both // [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time] // and // [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time] // or // [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time] // are required if providing shipping speeds. MaxHandlingTime *int64 `protobuf:"varint,10,opt,name=max_handling_time,json=maxHandlingTime,proto3,oneof" json:"max_handling_time,omitempty"` // Minimum transit time (inclusive) between when the order has shipped and // when it is delivered in business days. 0 means that the order is // delivered on the same day as it ships. // [fixedMinTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_min_transit_time] // can only be set if // [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time] // is set. Cannot be set if // [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time] // is present. FixedMinTransitTime *int64 `` /* 130-byte string literal not displayed */ // Maximum transit time (inclusive) between when the order has shipped and // when it is delivered in business days. 0 means that the order is // delivered on the same day as it ships. Needs to be provided together with // [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time]. // Cannot be set if // [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time] // is present. FixedMaxTransitTime *int64 `` /* 130-byte string literal not displayed */ // Selected carrier to calculate the shipping speed from. Select a carrier // from the [available carriers // list](https://support.google.com/merchants/answer/15449142#Supported), // for example `AUSTRALIA_POST_REGULAR`. Speed will be calculated by this // selected carrier, the location expressed in // [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code], // along with the user location to determine the accurate delivery speed. // Carrier is represented by a carrier service name or a carrier service ID. // Cannot be set together with // [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time] // or // [fixedMinTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_min_transit_time]. CarrierTransitTime *CarrierTransitTimeOption `` /* 192-byte string literal not displayed */ // contains filtered or unexported fields }
Carrier-based shipping configuration. Allows for setting shipping speed or shipping cost based on a carrier's provided info.
func (*ProductAttributes_CarrierShipping) Descriptor
deprecated
added in
v1.2.0
func (*ProductAttributes_CarrierShipping) Descriptor() ([]byte, []int)
Deprecated: Use ProductAttributes_CarrierShipping.ProtoReflect.Descriptor instead.
func (*ProductAttributes_CarrierShipping) GetCarrierPrice ¶ added in v1.2.0
func (x *ProductAttributes_CarrierShipping) GetCarrierPrice() ProductAttributes_CarrierPriceOption
func (*ProductAttributes_CarrierShipping) GetCarrierPriceFlatAdjustment ¶ added in v1.2.0
func (x *ProductAttributes_CarrierShipping) GetCarrierPriceFlatAdjustment() *typepb.Price
func (*ProductAttributes_CarrierShipping) GetCarrierPricePercentageAdjustment ¶ added in v1.2.0
func (x *ProductAttributes_CarrierShipping) GetCarrierPricePercentageAdjustment() float64
func (*ProductAttributes_CarrierShipping) GetCarrierTransitTime ¶ added in v1.2.0
func (x *ProductAttributes_CarrierShipping) GetCarrierTransitTime() CarrierTransitTimeOption
func (*ProductAttributes_CarrierShipping) GetCountry ¶ added in v1.2.0
func (x *ProductAttributes_CarrierShipping) GetCountry() string
func (*ProductAttributes_CarrierShipping) GetFixedMaxTransitTime ¶ added in v1.2.0
func (x *ProductAttributes_CarrierShipping) GetFixedMaxTransitTime() int64
func (*ProductAttributes_CarrierShipping) GetFixedMinTransitTime ¶ added in v1.2.0
func (x *ProductAttributes_CarrierShipping) GetFixedMinTransitTime() int64
func (*ProductAttributes_CarrierShipping) GetFlatPrice ¶ added in v1.2.0
func (x *ProductAttributes_CarrierShipping) GetFlatPrice() *typepb.Price
func (*ProductAttributes_CarrierShipping) GetMaxHandlingTime ¶ added in v1.2.0
func (x *ProductAttributes_CarrierShipping) GetMaxHandlingTime() int64
func (*ProductAttributes_CarrierShipping) GetMinHandlingTime ¶ added in v1.2.0
func (x *ProductAttributes_CarrierShipping) GetMinHandlingTime() int64
func (*ProductAttributes_CarrierShipping) GetOriginPostalCode ¶ added in v1.2.0
func (x *ProductAttributes_CarrierShipping) GetOriginPostalCode() string
func (*ProductAttributes_CarrierShipping) GetPostalCode ¶ added in v1.2.0
func (x *ProductAttributes_CarrierShipping) GetPostalCode() string
func (*ProductAttributes_CarrierShipping) GetRegion ¶ added in v1.2.0
func (x *ProductAttributes_CarrierShipping) GetRegion() string
func (*ProductAttributes_CarrierShipping) ProtoMessage ¶ added in v1.2.0
func (*ProductAttributes_CarrierShipping) ProtoMessage()
func (*ProductAttributes_CarrierShipping) ProtoReflect ¶ added in v1.2.0
func (x *ProductAttributes_CarrierShipping) ProtoReflect() protoreflect.Message
func (*ProductAttributes_CarrierShipping) Reset ¶ added in v1.2.0
func (x *ProductAttributes_CarrierShipping) Reset()
func (*ProductAttributes_CarrierShipping) String ¶ added in v1.2.0
func (x *ProductAttributes_CarrierShipping) String() string
type ProductCertification ¶
type ProductCertification struct { // The certification authority. CertificationAuthority *CertificationAuthority `` /* 199-byte string literal not displayed */ // The name of the certification. CertificationName *CertificationName `` /* 179-byte string literal not displayed */ // The certification code. // Maximum length is 2000 characters. CertificationCode *string `protobuf:"bytes,3,opt,name=certification_code,json=certificationCode,proto3,oneof" json:"certification_code,omitempty"` // The certification value (also known as class, level or grade), for // example "A+", "C", "gold". Maximum length is 2000 characters. CertificationValue *string `protobuf:"bytes,4,opt,name=certification_value,json=certificationValue,proto3,oneof" json:"certification_value,omitempty"` // contains filtered or unexported fields }
Product [certification](https://support.google.com/merchants/answer/13528839), initially introduced for EU energy efficiency labeling compliance using the EU EPREL database.
func (*ProductCertification) Descriptor
deprecated
func (*ProductCertification) Descriptor() ([]byte, []int)
Deprecated: Use ProductCertification.ProtoReflect.Descriptor instead.
func (*ProductCertification) GetCertificationAuthority ¶
func (x *ProductCertification) GetCertificationAuthority() CertificationAuthority
func (*ProductCertification) GetCertificationCode ¶
func (x *ProductCertification) GetCertificationCode() string
func (*ProductCertification) GetCertificationName ¶
func (x *ProductCertification) GetCertificationName() CertificationName
func (*ProductCertification) GetCertificationValue ¶
func (x *ProductCertification) GetCertificationValue() string
func (*ProductCertification) ProtoMessage ¶
func (*ProductCertification) ProtoMessage()
func (*ProductCertification) ProtoReflect ¶
func (x *ProductCertification) ProtoReflect() protoreflect.Message
func (*ProductCertification) Reset ¶
func (x *ProductCertification) Reset()
func (*ProductCertification) String ¶
func (x *ProductCertification) String() string
type ProductDetail ¶
type ProductDetail struct { // The section header used to group a set of product details. SectionName string `protobuf:"bytes,1,opt,name=section_name,json=sectionName,proto3" json:"section_name,omitempty"` // The name of the product detail. AttributeName string `protobuf:"bytes,2,opt,name=attribute_name,json=attributeName,proto3" json:"attribute_name,omitempty"` // The value of the product detail. AttributeValue string `protobuf:"bytes,3,opt,name=attribute_value,json=attributeValue,proto3" json:"attribute_value,omitempty"` // contains filtered or unexported fields }
The product details.
func (*ProductDetail) Descriptor
deprecated
func (*ProductDetail) Descriptor() ([]byte, []int)
Deprecated: Use ProductDetail.ProtoReflect.Descriptor instead.
func (*ProductDetail) GetAttributeName ¶
func (x *ProductDetail) GetAttributeName() string
func (*ProductDetail) GetAttributeValue ¶
func (x *ProductDetail) GetAttributeValue() string
func (*ProductDetail) GetSectionName ¶
func (x *ProductDetail) GetSectionName() string
func (*ProductDetail) ProtoMessage ¶
func (*ProductDetail) ProtoMessage()
func (*ProductDetail) ProtoReflect ¶
func (x *ProductDetail) ProtoReflect() protoreflect.Message
func (*ProductDetail) Reset ¶
func (x *ProductDetail) Reset()
func (*ProductDetail) String ¶
func (x *ProductDetail) String() string
type ProductDimension ¶
type ProductDimension struct { // Required. The dimension value represented as a number. The value can have a // maximum precision of four decimal places. Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` // Required. The dimension units. // Acceptable values are: // - "`in`" // - "`cm`" Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"` // contains filtered or unexported fields }
The dimension of the product.
func (*ProductDimension) Descriptor
deprecated
func (*ProductDimension) Descriptor() ([]byte, []int)
Deprecated: Use ProductDimension.ProtoReflect.Descriptor instead.
func (*ProductDimension) GetUnit ¶
func (x *ProductDimension) GetUnit() string
func (*ProductDimension) GetValue ¶
func (x *ProductDimension) GetValue() float64
func (*ProductDimension) ProtoMessage ¶
func (*ProductDimension) ProtoMessage()
func (*ProductDimension) ProtoReflect ¶
func (x *ProductDimension) ProtoReflect() protoreflect.Message
func (*ProductDimension) Reset ¶
func (x *ProductDimension) Reset()
func (*ProductDimension) String ¶
func (x *ProductDimension) String() string
type ProductInput ¶
type ProductInput struct { // Identifier. The name of the product input. // Format: `accounts/{account}/productInputs/{productinput}` // where the last section `productinput` consists of: // `content_language~feed_label~offer_id` // example for product input name is // `accounts/123/productInputs/en~US~sku123`. A legacy local product input // name would be `accounts/123/productInputs/local~en~US~sku123`. // Note: For calls to the v1beta version, the `productInput` section consists // of: `channel~content_language~feed_label~offer_id`, for example: // `accounts/123/productInputs/online~en~US~sku123`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The name of the processed product. // Format: `accounts/{account}/products/{product}` Product string `protobuf:"bytes,2,opt,name=product,proto3" json:"product,omitempty"` // Immutable. Determines whether the product is **only** targeting // local destinations and whether the product name should be distinguished // with a `local~` prefix. For example, // `accounts/123/productInputs/local~en~US~sku123`. If a product that is not // `legacy_local` is already targeting local destinations, // creating a `legacy_local` product with an otherwise matching name will // fail. LegacyLocal bool `protobuf:"varint,10,opt,name=legacy_local,json=legacyLocal,proto3" json:"legacy_local,omitempty"` // Required. Immutable. Your unique identifier for the product. This is the // same for the product input and processed product. Leading and trailing // whitespaces are stripped and multiple whitespaces are replaced by a single // whitespace upon submission. See the [products data // specification](https://support.google.com/merchants/answer/188494#id) for // details. OfferId string `protobuf:"bytes,4,opt,name=offer_id,json=offerId,proto3" json:"offer_id,omitempty"` // Required. Immutable. The two-letter [ISO // 639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the // product. ContentLanguage string `protobuf:"bytes,5,opt,name=content_language,json=contentLanguage,proto3" json:"content_language,omitempty"` // Required. Immutable. The feed label that lets you categorize and identify // your products. The maximum allowed characters are 20, and the supported // characters are `A-Z`, `0-9`, hyphen, and underscore. The feed label must // not include any spaces. For more information, see [Using feed // labels](//support.google.com/merchants/answer/14994087). FeedLabel string `protobuf:"bytes,6,opt,name=feed_label,json=feedLabel,proto3" json:"feed_label,omitempty"` // Optional. Immutable. Represents the existing version (freshness) of the // product, which can be used to preserve the right order when multiple // updates are done at the same time. // // If set, the insertion is prevented when version number is lower than // the current version number of the existing product. Re-insertion (for // example, product refresh after 30 days) can be performed with the current // `version_number`. // // Only supported for insertions into primary data sources. // Do not set this field for updates. // Do not set this field for insertions into supplemental data sources. // // If the operation is prevented, the aborted exception will be // thrown. VersionNumber *int64 `protobuf:"varint,7,opt,name=version_number,json=versionNumber,proto3,oneof" json:"version_number,omitempty"` // Optional. A list of strongly-typed product attributes. ProductAttributes *ProductAttributes `protobuf:"bytes,11,opt,name=product_attributes,json=productAttributes,proto3" json:"product_attributes,omitempty"` // Optional. A list of custom (merchant-provided) attributes. It can also be // used for submitting any attribute of the data specification in its generic // form (for example, // `{ "name": "size type", "value": "regular" }`). // This is useful for submitting attributes not explicitly exposed by the // API. // Maximum allowed number of characters for each // custom attribute is 10240 (represents sum of characters for name and // value). Maximum 2500 custom attributes can be set per product, with total // size of 102.4kB. Underscores in custom attribute names are replaced by // spaces upon insertion. CustomAttributes []*typepb.CustomAttribute `protobuf:"bytes,9,rep,name=custom_attributes,json=customAttributes,proto3" json:"custom_attributes,omitempty"` // contains filtered or unexported fields }
This resource represents input data you submit for a product, not the
processed product that you see in Merchant Center, in Shopping ads, or across Google surfaces. Product inputs, rules and supplemental data source data are combined to create the processed [Product][google.shopping.merchant.products.v1.Product]. For more information, see [Manage products](/merchant/api/guides/products/overview). Required product input attributes to pass data validation checks are primarily defined in the [Products Data Specification](https://support.google.com/merchants/answer/188494). The following attributes are required: [feedLabel][google.shopping.merchant.products.v1.Product.feed_label], [contentLanguage][google.shopping.merchant.products.v1.Product.content_language] and [offerId][google.shopping.merchant.products.v1.Product.offer_id]. After inserting, updating, or deleting a product input, it may take several minutes before the processed product can be retrieved. All fields in the product input and its sub-messages match the English name of their corresponding attribute in the [Products Data Specification](https://support.google.com/merchants/answer/188494) with [some exceptions](https://support.google.com/merchants/answer/7052112). The following reference documentation lists the field names in the **camelCase** casing style while the Products Data Specification lists the names in the **snake_case** casing style.
func (*ProductInput) Descriptor
deprecated
func (*ProductInput) Descriptor() ([]byte, []int)
Deprecated: Use ProductInput.ProtoReflect.Descriptor instead.
func (*ProductInput) GetContentLanguage ¶
func (x *ProductInput) GetContentLanguage() string
func (*ProductInput) GetCustomAttributes ¶
func (x *ProductInput) GetCustomAttributes() []*typepb.CustomAttribute
func (*ProductInput) GetFeedLabel ¶
func (x *ProductInput) GetFeedLabel() string
func (*ProductInput) GetLegacyLocal ¶
func (x *ProductInput) GetLegacyLocal() bool
func (*ProductInput) GetName ¶
func (x *ProductInput) GetName() string
func (*ProductInput) GetOfferId ¶
func (x *ProductInput) GetOfferId() string
func (*ProductInput) GetProduct ¶
func (x *ProductInput) GetProduct() string
func (*ProductInput) GetProductAttributes ¶
func (x *ProductInput) GetProductAttributes() *ProductAttributes
func (*ProductInput) GetVersionNumber ¶
func (x *ProductInput) GetVersionNumber() int64
func (*ProductInput) ProtoMessage ¶
func (*ProductInput) ProtoMessage()
func (*ProductInput) ProtoReflect ¶
func (x *ProductInput) ProtoReflect() protoreflect.Message
func (*ProductInput) Reset ¶
func (x *ProductInput) Reset()
func (*ProductInput) String ¶
func (x *ProductInput) String() string
type ProductInputsServiceClient ¶
type ProductInputsServiceClient interface { // [Uploads a product input to your Merchant Center // account](/merchant/api/guides/products/overview#upload-product-input). You // must have a products [data // source](/merchant/api/guides/data-sources/overview) to be able to insert a // product. The unique identifier of the data source is passed as a query // parameter in the request URL. // // If a product input with the same contentLanguage, offerId, and dataSource // already exists, then the product input inserted by this method replaces // that entry. // // After inserting, updating, or deleting a product input, it may take several // minutes before the processed product can be retrieved. InsertProductInput(ctx context.Context, in *InsertProductInputRequest, opts ...grpc.CallOption) (*ProductInput, error) // Updates the existing product input in your Merchant Center account. // // After inserting, updating, or deleting a product input, it may take several // minutes before the processed product can be retrieved. UpdateProductInput(ctx context.Context, in *UpdateProductInputRequest, opts ...grpc.CallOption) (*ProductInput, error) // Deletes a product input from your Merchant Center account. // // After inserting, updating, or deleting a product input, it may take several // minutes before the processed product can be retrieved. DeleteProductInput(ctx context.Context, in *DeleteProductInputRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
ProductInputsServiceClient is the client API for ProductInputsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewProductInputsServiceClient ¶
func NewProductInputsServiceClient(cc grpc.ClientConnInterface) ProductInputsServiceClient
type ProductInputsServiceServer ¶
type ProductInputsServiceServer interface { // [Uploads a product input to your Merchant Center // account](/merchant/api/guides/products/overview#upload-product-input). You // must have a products [data // source](/merchant/api/guides/data-sources/overview) to be able to insert a // product. The unique identifier of the data source is passed as a query // parameter in the request URL. // // If a product input with the same contentLanguage, offerId, and dataSource // already exists, then the product input inserted by this method replaces // that entry. // // After inserting, updating, or deleting a product input, it may take several // minutes before the processed product can be retrieved. InsertProductInput(context.Context, *InsertProductInputRequest) (*ProductInput, error) // Updates the existing product input in your Merchant Center account. // // After inserting, updating, or deleting a product input, it may take several // minutes before the processed product can be retrieved. UpdateProductInput(context.Context, *UpdateProductInputRequest) (*ProductInput, error) // Deletes a product input from your Merchant Center account. // // After inserting, updating, or deleting a product input, it may take several // minutes before the processed product can be retrieved. DeleteProductInput(context.Context, *DeleteProductInputRequest) (*emptypb.Empty, error) }
ProductInputsServiceServer is the server API for ProductInputsService service.
type ProductInstallment ¶
type ProductInstallment struct { // The number of installments the buyer has to pay. Months int64 `protobuf:"varint,1,opt,name=months,proto3" json:"months,omitempty"` // The amount the buyer has to pay per month. Amount *typepb.Price `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` // The up-front down payment amount the buyer has to pay. Downpayment *typepb.Price `protobuf:"bytes,3,opt,name=downpayment,proto3,oneof" json:"downpayment,omitempty"` // Type of installment payments. CreditType *CreditType `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
A message that represents installment.
func (*ProductInstallment) Descriptor
deprecated
func (*ProductInstallment) Descriptor() ([]byte, []int)
Deprecated: Use ProductInstallment.ProtoReflect.Descriptor instead.
func (*ProductInstallment) GetAmount ¶
func (x *ProductInstallment) GetAmount() *typepb.Price
func (*ProductInstallment) GetCreditType ¶
func (x *ProductInstallment) GetCreditType() CreditType
func (*ProductInstallment) GetDownpayment ¶
func (x *ProductInstallment) GetDownpayment() *typepb.Price
func (*ProductInstallment) GetMonths ¶
func (x *ProductInstallment) GetMonths() int64
func (*ProductInstallment) ProtoMessage ¶
func (*ProductInstallment) ProtoMessage()
func (*ProductInstallment) ProtoReflect ¶
func (x *ProductInstallment) ProtoReflect() protoreflect.Message
func (*ProductInstallment) Reset ¶
func (x *ProductInstallment) Reset()
func (*ProductInstallment) String ¶
func (x *ProductInstallment) String() string
type ProductStatus ¶
type ProductStatus struct { // The intended destinations for the product. DestinationStatuses []*ProductStatus_DestinationStatus `protobuf:"bytes,3,rep,name=destination_statuses,json=destinationStatuses,proto3" json:"destination_statuses,omitempty"` // A list of all issues associated with the product. ItemLevelIssues []*ProductStatus_ItemLevelIssue `protobuf:"bytes,4,rep,name=item_level_issues,json=itemLevelIssues,proto3" json:"item_level_issues,omitempty"` // Date on which the item has been created, in [ISO // 8601](http://en.wikipedia.org/wiki/ISO_8601) format. CreationDate *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` // Date on which the item has been last updated, in [ISO // 8601](http://en.wikipedia.org/wiki/ISO_8601) format. LastUpdateDate *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_update_date,json=lastUpdateDate,proto3" json:"last_update_date,omitempty"` // Date on which the item expires, in [ISO // 8601](http://en.wikipedia.org/wiki/ISO_8601) format. GoogleExpirationDate *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=google_expiration_date,json=googleExpirationDate,proto3" json:"google_expiration_date,omitempty"` // contains filtered or unexported fields }
The status of a product, data validation issues, that is, information about a product computed asynchronously.
func (*ProductStatus) Descriptor
deprecated
func (*ProductStatus) Descriptor() ([]byte, []int)
Deprecated: Use ProductStatus.ProtoReflect.Descriptor instead.
func (*ProductStatus) GetCreationDate ¶
func (x *ProductStatus) GetCreationDate() *timestamppb.Timestamp
func (*ProductStatus) GetDestinationStatuses ¶
func (x *ProductStatus) GetDestinationStatuses() []*ProductStatus_DestinationStatus
func (*ProductStatus) GetGoogleExpirationDate ¶
func (x *ProductStatus) GetGoogleExpirationDate() *timestamppb.Timestamp
func (*ProductStatus) GetItemLevelIssues ¶
func (x *ProductStatus) GetItemLevelIssues() []*ProductStatus_ItemLevelIssue
func (*ProductStatus) GetLastUpdateDate ¶
func (x *ProductStatus) GetLastUpdateDate() *timestamppb.Timestamp
func (*ProductStatus) ProtoMessage ¶
func (*ProductStatus) ProtoMessage()
func (*ProductStatus) ProtoReflect ¶
func (x *ProductStatus) ProtoReflect() protoreflect.Message
func (*ProductStatus) Reset ¶
func (x *ProductStatus) Reset()
func (*ProductStatus) String ¶
func (x *ProductStatus) String() string
type ProductStatus_DestinationStatus ¶
type ProductStatus_DestinationStatus struct { // The name of the reporting context. ReportingContext typepb.ReportingContext_ReportingContextEnum `` /* 174-byte string literal not displayed */ // List of country codes (ISO 3166-1 alpha-2) where the offer is approved. ApprovedCountries []string `protobuf:"bytes,2,rep,name=approved_countries,json=approvedCountries,proto3" json:"approved_countries,omitempty"` // List of country codes (ISO 3166-1 alpha-2) where the offer is pending // approval. PendingCountries []string `protobuf:"bytes,3,rep,name=pending_countries,json=pendingCountries,proto3" json:"pending_countries,omitempty"` // List of country codes (ISO 3166-1 alpha-2) where the offer is // disapproved. DisapprovedCountries []string `protobuf:"bytes,4,rep,name=disapproved_countries,json=disapprovedCountries,proto3" json:"disapproved_countries,omitempty"` // contains filtered or unexported fields }
The destination status of the product status.
func (*ProductStatus_DestinationStatus) Descriptor
deprecated
func (*ProductStatus_DestinationStatus) Descriptor() ([]byte, []int)
Deprecated: Use ProductStatus_DestinationStatus.ProtoReflect.Descriptor instead.
func (*ProductStatus_DestinationStatus) GetApprovedCountries ¶
func (x *ProductStatus_DestinationStatus) GetApprovedCountries() []string
func (*ProductStatus_DestinationStatus) GetDisapprovedCountries ¶
func (x *ProductStatus_DestinationStatus) GetDisapprovedCountries() []string
func (*ProductStatus_DestinationStatus) GetPendingCountries ¶
func (x *ProductStatus_DestinationStatus) GetPendingCountries() []string
func (*ProductStatus_DestinationStatus) GetReportingContext ¶
func (x *ProductStatus_DestinationStatus) GetReportingContext() typepb.ReportingContext_ReportingContextEnum
func (*ProductStatus_DestinationStatus) ProtoMessage ¶
func (*ProductStatus_DestinationStatus) ProtoMessage()
func (*ProductStatus_DestinationStatus) ProtoReflect ¶
func (x *ProductStatus_DestinationStatus) ProtoReflect() protoreflect.Message
func (*ProductStatus_DestinationStatus) Reset ¶
func (x *ProductStatus_DestinationStatus) Reset()
func (*ProductStatus_DestinationStatus) String ¶
func (x *ProductStatus_DestinationStatus) String() string
type ProductStatus_ItemLevelIssue ¶
type ProductStatus_ItemLevelIssue struct { // The error code of the issue. Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` // How this issue affects serving of the offer. Severity ProductStatus_ItemLevelIssue_Severity `` /* 150-byte string literal not displayed */ // Whether the issue can be resolved by the business. Resolution string `protobuf:"bytes,3,opt,name=resolution,proto3" json:"resolution,omitempty"` // The attribute's name, if the issue is caused by a single attribute. Attribute string `protobuf:"bytes,4,opt,name=attribute,proto3" json:"attribute,omitempty"` // The reporting context the issue applies to. ReportingContext typepb.ReportingContext_ReportingContextEnum `` /* 174-byte string literal not displayed */ // A short issue description in English. Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // A detailed issue description in English. Detail string `protobuf:"bytes,7,opt,name=detail,proto3" json:"detail,omitempty"` // The URL of a web page to help with resolving this issue. Documentation string `protobuf:"bytes,8,opt,name=documentation,proto3" json:"documentation,omitempty"` // List of country codes (ISO 3166-1 alpha-2) where issue applies to the // offer. ApplicableCountries []string `protobuf:"bytes,9,rep,name=applicable_countries,json=applicableCountries,proto3" json:"applicable_countries,omitempty"` // contains filtered or unexported fields }
The ItemLevelIssue of the product status.
func (*ProductStatus_ItemLevelIssue) Descriptor
deprecated
func (*ProductStatus_ItemLevelIssue) Descriptor() ([]byte, []int)
Deprecated: Use ProductStatus_ItemLevelIssue.ProtoReflect.Descriptor instead.
func (*ProductStatus_ItemLevelIssue) GetApplicableCountries ¶
func (x *ProductStatus_ItemLevelIssue) GetApplicableCountries() []string
func (*ProductStatus_ItemLevelIssue) GetAttribute ¶
func (x *ProductStatus_ItemLevelIssue) GetAttribute() string
func (*ProductStatus_ItemLevelIssue) GetCode ¶
func (x *ProductStatus_ItemLevelIssue) GetCode() string
func (*ProductStatus_ItemLevelIssue) GetDescription ¶
func (x *ProductStatus_ItemLevelIssue) GetDescription() string
func (*ProductStatus_ItemLevelIssue) GetDetail ¶
func (x *ProductStatus_ItemLevelIssue) GetDetail() string
func (*ProductStatus_ItemLevelIssue) GetDocumentation ¶
func (x *ProductStatus_ItemLevelIssue) GetDocumentation() string
func (*ProductStatus_ItemLevelIssue) GetReportingContext ¶
func (x *ProductStatus_ItemLevelIssue) GetReportingContext() typepb.ReportingContext_ReportingContextEnum
func (*ProductStatus_ItemLevelIssue) GetResolution ¶
func (x *ProductStatus_ItemLevelIssue) GetResolution() string
func (*ProductStatus_ItemLevelIssue) GetSeverity ¶
func (x *ProductStatus_ItemLevelIssue) GetSeverity() ProductStatus_ItemLevelIssue_Severity
func (*ProductStatus_ItemLevelIssue) ProtoMessage ¶
func (*ProductStatus_ItemLevelIssue) ProtoMessage()
func (*ProductStatus_ItemLevelIssue) ProtoReflect ¶
func (x *ProductStatus_ItemLevelIssue) ProtoReflect() protoreflect.Message
func (*ProductStatus_ItemLevelIssue) Reset ¶
func (x *ProductStatus_ItemLevelIssue) Reset()
func (*ProductStatus_ItemLevelIssue) String ¶
func (x *ProductStatus_ItemLevelIssue) String() string
type ProductStatus_ItemLevelIssue_Severity ¶
type ProductStatus_ItemLevelIssue_Severity int32
How the issue affects the serving of the product.
const ( // Not specified. ProductStatus_ItemLevelIssue_SEVERITY_UNSPECIFIED ProductStatus_ItemLevelIssue_Severity = 0 // This issue represents a warning and does not have a direct affect // on the product. ProductStatus_ItemLevelIssue_NOT_IMPACTED ProductStatus_ItemLevelIssue_Severity = 1 // The product is demoted and most likely have limited performance // in search results ProductStatus_ItemLevelIssue_DEMOTED ProductStatus_ItemLevelIssue_Severity = 2 // Issue disapproves the product. ProductStatus_ItemLevelIssue_DISAPPROVED ProductStatus_ItemLevelIssue_Severity = 3 )
func (ProductStatus_ItemLevelIssue_Severity) Descriptor ¶
func (ProductStatus_ItemLevelIssue_Severity) Descriptor() protoreflect.EnumDescriptor
func (ProductStatus_ItemLevelIssue_Severity) EnumDescriptor
deprecated
func (ProductStatus_ItemLevelIssue_Severity) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProductStatus_ItemLevelIssue_Severity.Descriptor instead.
func (ProductStatus_ItemLevelIssue_Severity) Number ¶
func (x ProductStatus_ItemLevelIssue_Severity) Number() protoreflect.EnumNumber
func (ProductStatus_ItemLevelIssue_Severity) String ¶
func (x ProductStatus_ItemLevelIssue_Severity) String() string
func (ProductStatus_ItemLevelIssue_Severity) Type ¶
func (ProductStatus_ItemLevelIssue_Severity) Type() protoreflect.EnumType
type ProductSustainabilityIncentive ¶
type ProductSustainabilityIncentive struct { // Sustainability incentive value. // // Types that are assignable to Value: // // *ProductSustainabilityIncentive_Amount // *ProductSustainabilityIncentive_Percentage Value isProductSustainabilityIncentive_Value `protobuf_oneof:"value"` // Sustainability incentive program. Type *ProductSustainabilityIncentive_Type `` /* 146-byte string literal not displayed */ // contains filtered or unexported fields }
Information regarding sustainability-related incentive programs such as rebates or tax relief.
func (*ProductSustainabilityIncentive) Descriptor
deprecated
func (*ProductSustainabilityIncentive) Descriptor() ([]byte, []int)
Deprecated: Use ProductSustainabilityIncentive.ProtoReflect.Descriptor instead.
func (*ProductSustainabilityIncentive) GetAmount ¶
func (x *ProductSustainabilityIncentive) GetAmount() *typepb.Price
func (*ProductSustainabilityIncentive) GetPercentage ¶
func (x *ProductSustainabilityIncentive) GetPercentage() float64
func (*ProductSustainabilityIncentive) GetType ¶
func (x *ProductSustainabilityIncentive) GetType() ProductSustainabilityIncentive_Type
func (*ProductSustainabilityIncentive) GetValue ¶
func (m *ProductSustainabilityIncentive) GetValue() isProductSustainabilityIncentive_Value
func (*ProductSustainabilityIncentive) ProtoMessage ¶
func (*ProductSustainabilityIncentive) ProtoMessage()
func (*ProductSustainabilityIncentive) ProtoReflect ¶
func (x *ProductSustainabilityIncentive) ProtoReflect() protoreflect.Message
func (*ProductSustainabilityIncentive) Reset ¶
func (x *ProductSustainabilityIncentive) Reset()
func (*ProductSustainabilityIncentive) String ¶
func (x *ProductSustainabilityIncentive) String() string
type ProductSustainabilityIncentive_Percentage ¶
type ProductSustainabilityIncentive_Percentage struct { // The percentage of the sale price that the incentive is applied to. Percentage float64 `protobuf:"fixed64,3,opt,name=percentage,proto3,oneof"` }
type ProductSustainabilityIncentive_Type ¶
type ProductSustainabilityIncentive_Type int32
Types of supported sustainability incentive programs.
const ( // Unspecified or unknown sustainability incentive type. ProductSustainabilityIncentive_TYPE_UNSPECIFIED ProductSustainabilityIncentive_Type = 0 // Program offering tax liability reductions for electric vehicles and, in // some countries, plug-in hybrids. These reductions can be based on a // specific amount or a percentage of the sale price. ProductSustainabilityIncentive_EV_TAX_CREDIT ProductSustainabilityIncentive_Type = 1 // A subsidy program, often called an environmental bonus, provides a // purchase grant for electric vehicles and, in some countries, plug-in // hybrids. The grant amount may be a fixed sum or a percentage of the sale // price. ProductSustainabilityIncentive_EV_PRICE_DISCOUNT ProductSustainabilityIncentive_Type = 2 )
func (ProductSustainabilityIncentive_Type) Descriptor ¶
func (ProductSustainabilityIncentive_Type) Descriptor() protoreflect.EnumDescriptor
func (ProductSustainabilityIncentive_Type) Enum ¶
func (x ProductSustainabilityIncentive_Type) Enum() *ProductSustainabilityIncentive_Type
func (ProductSustainabilityIncentive_Type) EnumDescriptor
deprecated
func (ProductSustainabilityIncentive_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProductSustainabilityIncentive_Type.Descriptor instead.
func (ProductSustainabilityIncentive_Type) Number ¶
func (x ProductSustainabilityIncentive_Type) Number() protoreflect.EnumNumber
func (ProductSustainabilityIncentive_Type) String ¶
func (x ProductSustainabilityIncentive_Type) String() string
func (ProductSustainabilityIncentive_Type) Type ¶
func (ProductSustainabilityIncentive_Type) Type() protoreflect.EnumType
type ProductWeight ¶
type ProductWeight struct { // Required. The weight represented as a number. The weight can have a maximum // precision of four decimal places. Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` // Required. The weight unit. // Acceptable values are: // - "`g`" // - "`kg`" // - "`oz`" // - "`lb`" Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"` // contains filtered or unexported fields }
The weight of the product.
func (*ProductWeight) Descriptor
deprecated
func (*ProductWeight) Descriptor() ([]byte, []int)
Deprecated: Use ProductWeight.ProtoReflect.Descriptor instead.
func (*ProductWeight) GetUnit ¶
func (x *ProductWeight) GetUnit() string
func (*ProductWeight) GetValue ¶
func (x *ProductWeight) GetValue() float64
func (*ProductWeight) ProtoMessage ¶
func (*ProductWeight) ProtoMessage()
func (*ProductWeight) ProtoReflect ¶
func (x *ProductWeight) ProtoReflect() protoreflect.Message
func (*ProductWeight) Reset ¶
func (x *ProductWeight) Reset()
func (*ProductWeight) String ¶
func (x *ProductWeight) String() string
type ProductsServiceClient ¶
type ProductsServiceClient interface { // Retrieves the processed product from your Merchant Center account. // // After inserting, updating, or deleting a product input, it may take several // minutes before the updated final product can be retrieved. GetProduct(ctx context.Context, in *GetProductRequest, opts ...grpc.CallOption) (*Product, error) // Lists the processed products in your Merchant Center account. The response // might contain fewer items than specified by `pageSize`. Rely on `pageToken` // to determine if there are more items to be requested. // // After inserting, updating, or deleting a product input, it may take several // minutes before the updated processed product can be retrieved. ListProducts(ctx context.Context, in *ListProductsRequest, opts ...grpc.CallOption) (*ListProductsResponse, error) }
ProductsServiceClient is the client API for ProductsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewProductsServiceClient ¶
func NewProductsServiceClient(cc grpc.ClientConnInterface) ProductsServiceClient
type ProductsServiceServer ¶
type ProductsServiceServer interface { // Retrieves the processed product from your Merchant Center account. // // After inserting, updating, or deleting a product input, it may take several // minutes before the updated final product can be retrieved. GetProduct(context.Context, *GetProductRequest) (*Product, error) // Lists the processed products in your Merchant Center account. The response // might contain fewer items than specified by `pageSize`. Rely on `pageToken` // to determine if there are more items to be requested. // // After inserting, updating, or deleting a product input, it may take several // minutes before the updated processed product can be retrieved. ListProducts(context.Context, *ListProductsRequest) (*ListProductsResponse, error) }
ProductsServiceServer is the server API for ProductsService service.
type Shipping ¶
type Shipping struct { // Fixed shipping price, represented as a number. Price *typepb.Price `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"` // The [CLDR territory // code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) // of the country to which an item will ship. Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"` // The geographic region to which a shipping rate applies. // See [region](https://support.google.com/merchants/answer/6324484) for more // information. Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` // A free-form description of the service class or delivery speed. Service string `protobuf:"bytes,4,opt,name=service,proto3" json:"service,omitempty"` // The numeric ID of a location that the shipping rate applies to as // defined in the [AdWords // API](https://developers.google.com/adwords/api/docs/appendix/geotargeting). LocationId int64 `protobuf:"varint,5,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // The location where the shipping is applicable, represented by a // location group name. LocationGroupName string `protobuf:"bytes,6,opt,name=location_group_name,json=locationGroupName,proto3" json:"location_group_name,omitempty"` // The postal code range that the shipping rate applies to, represented by // a postal code, a postal code prefix followed by a * wildcard, a range // between two postal codes or two postal code prefixes of equal length. PostalCode string `protobuf:"bytes,7,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` // Minimum handling time (inclusive) between when the order is received and // shipped in business days. 0 means that the order is shipped on the same // day as it is received if it happens before the cut-off time. // [minHandlingTime][google.shopping.merchant.products.v1.Shipping.min_handling_time] // can only be present together with // [maxHandlingTime][google.shopping.merchant.products.v1.Shipping.max_handling_time]; // but it is not required if // [maxHandlingTime][google.shopping.merchant.products.v1.Shipping.max_handling_time] // is present. MinHandlingTime *int64 `protobuf:"varint,8,opt,name=min_handling_time,json=minHandlingTime,proto3,oneof" json:"min_handling_time,omitempty"` // Maximum handling time (inclusive) between when the order is received and // shipped in business days. 0 means that the order is shipped on the same // day as it is received if it happens before the cut-off time. Both // [maxHandlingTime][google.shopping.merchant.products.v1.Shipping.max_handling_time] // and // [maxTransitTime][google.shopping.merchant.products.v1.Shipping.max_transit_time] // are required if providing shipping speeds. // [minHandlingTime][google.shopping.merchant.products.v1.Shipping.min_handling_time] // is optional if // [maxHandlingTime][google.shopping.merchant.products.v1.Shipping.max_handling_time] // is present. MaxHandlingTime *int64 `protobuf:"varint,9,opt,name=max_handling_time,json=maxHandlingTime,proto3,oneof" json:"max_handling_time,omitempty"` // Minimum transit time (inclusive) between when the order has shipped and // when it is delivered in business days. 0 means that the order is // delivered on the same day as it ships. // [minTransitTime][google.shopping.merchant.products.v1.Shipping.min_transit_time] // can only be present together with // [maxTransitTime][google.shopping.merchant.products.v1.Shipping.max_transit_time]; // but it is not required if // [maxTransitTime][google.shopping.merchant.products.v1.Shipping.max_transit_time] // is present. MinTransitTime *int64 `protobuf:"varint,10,opt,name=min_transit_time,json=minTransitTime,proto3,oneof" json:"min_transit_time,omitempty"` // Maximum transit time (inclusive) between when the order has shipped and // when it is delivered in business days. 0 means that the order is // delivered on the same day as it ships. Both // [maxHandlingTime][google.shopping.merchant.products.v1.Shipping.max_handling_time] // and // [maxTransitTime][google.shopping.merchant.products.v1.Shipping.max_transit_time] // are required if providing shipping speeds. // [minTransitTime][google.shopping.merchant.products.v1.Shipping.min_transit_time] // is optional if // [maxTransitTime][google.shopping.merchant.products.v1.Shipping.max_transit_time] // is present. MaxTransitTime *int64 `protobuf:"varint,11,opt,name=max_transit_time,json=maxTransitTime,proto3,oneof" json:"max_transit_time,omitempty"` // contains filtered or unexported fields }
The Shipping of the product.
func (*Shipping) Descriptor
deprecated
func (*Shipping) GetCountry ¶
func (*Shipping) GetLocationGroupName ¶
func (*Shipping) GetLocationId ¶
func (*Shipping) GetMaxHandlingTime ¶
func (*Shipping) GetMaxTransitTime ¶
func (*Shipping) GetMinHandlingTime ¶
func (*Shipping) GetMinTransitTime ¶
func (*Shipping) GetPostalCode ¶
func (*Shipping) GetService ¶
func (*Shipping) ProtoMessage ¶
func (*Shipping) ProtoMessage()
func (*Shipping) ProtoReflect ¶
func (x *Shipping) ProtoReflect() protoreflect.Message
type ShippingDimension ¶
type ShippingDimension struct { // The dimension of the product used to calculate the shipping cost of the // item. Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` // The unit of value. Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"` // contains filtered or unexported fields }
The ShippingDimension of the product.
func (*ShippingDimension) Descriptor
deprecated
func (*ShippingDimension) Descriptor() ([]byte, []int)
Deprecated: Use ShippingDimension.ProtoReflect.Descriptor instead.
func (*ShippingDimension) GetUnit ¶
func (x *ShippingDimension) GetUnit() string
func (*ShippingDimension) GetValue ¶
func (x *ShippingDimension) GetValue() float64
func (*ShippingDimension) ProtoMessage ¶
func (*ShippingDimension) ProtoMessage()
func (*ShippingDimension) ProtoReflect ¶
func (x *ShippingDimension) ProtoReflect() protoreflect.Message
func (*ShippingDimension) Reset ¶
func (x *ShippingDimension) Reset()
func (*ShippingDimension) String ¶
func (x *ShippingDimension) String() string
type ShippingWeight ¶
type ShippingWeight struct { // The weight of the product used to calculate the shipping cost of the // item. Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` // The unit of value. Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"` // contains filtered or unexported fields }
The ShippingWeight of the product.
func (*ShippingWeight) Descriptor
deprecated
func (*ShippingWeight) Descriptor() ([]byte, []int)
Deprecated: Use ShippingWeight.ProtoReflect.Descriptor instead.
func (*ShippingWeight) GetUnit ¶
func (x *ShippingWeight) GetUnit() string
func (*ShippingWeight) GetValue ¶
func (x *ShippingWeight) GetValue() float64
func (*ShippingWeight) ProtoMessage ¶
func (*ShippingWeight) ProtoMessage()
func (*ShippingWeight) ProtoReflect ¶
func (x *ShippingWeight) ProtoReflect() protoreflect.Message
func (*ShippingWeight) Reset ¶
func (x *ShippingWeight) Reset()
func (*ShippingWeight) String ¶
func (x *ShippingWeight) String() string
type SizeSystem ¶
type SizeSystem int32
System in which the size is specified. Recommended for apparel items. For more information, see [Size system](https://support.google.com/merchants/answer/6324502).
const ( // Unspecified size system. SizeSystem_SIZE_SYSTEM_UNSPECIFIED SizeSystem = 0 // AU. SizeSystem_AU SizeSystem = 1 // BR. SizeSystem_BR SizeSystem = 2 // CN. SizeSystem_CN SizeSystem = 3 // DE. SizeSystem_DE SizeSystem = 4 // EU. SizeSystem_EU SizeSystem = 5 // FR. SizeSystem_FR SizeSystem = 6 // IT. SizeSystem_IT SizeSystem = 7 // JP. SizeSystem_JP SizeSystem = 8 // MEX. SizeSystem_MEX SizeSystem = 9 // UK. SizeSystem_UK SizeSystem = 10 // US. SizeSystem_US SizeSystem = 11 )
func (SizeSystem) Descriptor ¶
func (SizeSystem) Descriptor() protoreflect.EnumDescriptor
func (SizeSystem) Enum ¶
func (x SizeSystem) Enum() *SizeSystem
func (SizeSystem) EnumDescriptor
deprecated
func (SizeSystem) EnumDescriptor() ([]byte, []int)
Deprecated: Use SizeSystem.Descriptor instead.
func (SizeSystem) Number ¶
func (x SizeSystem) Number() protoreflect.EnumNumber
func (SizeSystem) String ¶
func (x SizeSystem) String() string
func (SizeSystem) Type ¶
func (SizeSystem) Type() protoreflect.EnumType
type SizeType ¶
type SizeType int32
The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided, see [Size type](https://support.google.com/merchants/answer/6324497).
const ( // The size type is not specified. SizeType_SIZE_TYPE_UNSPECIFIED SizeType = 0 // Regular size. SizeType_REGULAR SizeType = 1 // Petite size. SizeType_PETITE SizeType = 2 // Maternity size. SizeType_MATERNITY SizeType = 3 // Big size. SizeType_BIG SizeType = 4 // Tall size. SizeType_TALL SizeType = 5 // Plus size. SizeType_PLUS SizeType = 6 )
func (SizeType) Descriptor ¶
func (SizeType) Descriptor() protoreflect.EnumDescriptor
func (SizeType) EnumDescriptor
deprecated
func (SizeType) Number ¶
func (x SizeType) Number() protoreflect.EnumNumber
func (SizeType) Type ¶
func (SizeType) Type() protoreflect.EnumType
type StructuredDescription ¶
type StructuredDescription struct { // The digital source type. // Following [IPTC](https://cv.iptc.org/newscodes/digitalsourcetype). DigitalSourceType *DigitalSourceType `` /* 181-byte string literal not displayed */ // The description text // Maximum length is 5000 characters Content *string `protobuf:"bytes,2,opt,name=content,proto3,oneof" json:"content,omitempty"` // contains filtered or unexported fields }
Structured description, for algorithmically (AI)-generated descriptions.
func (*StructuredDescription) Descriptor
deprecated
func (*StructuredDescription) Descriptor() ([]byte, []int)
Deprecated: Use StructuredDescription.ProtoReflect.Descriptor instead.
func (*StructuredDescription) GetContent ¶
func (x *StructuredDescription) GetContent() string
func (*StructuredDescription) GetDigitalSourceType ¶
func (x *StructuredDescription) GetDigitalSourceType() DigitalSourceType
func (*StructuredDescription) ProtoMessage ¶
func (*StructuredDescription) ProtoMessage()
func (*StructuredDescription) ProtoReflect ¶
func (x *StructuredDescription) ProtoReflect() protoreflect.Message
func (*StructuredDescription) Reset ¶
func (x *StructuredDescription) Reset()
func (*StructuredDescription) String ¶
func (x *StructuredDescription) String() string
type StructuredTitle ¶
type StructuredTitle struct { // The digital source type. // Following [IPTC](https://cv.iptc.org/newscodes/digitalsourcetype). DigitalSourceType *DigitalSourceType `` /* 181-byte string literal not displayed */ // The title text // Maximum length is 150 characters Content *string `protobuf:"bytes,2,opt,name=content,proto3,oneof" json:"content,omitempty"` // contains filtered or unexported fields }
Structured title, for algorithmically (AI)-generated titles.
func (*StructuredTitle) Descriptor
deprecated
func (*StructuredTitle) Descriptor() ([]byte, []int)
Deprecated: Use StructuredTitle.ProtoReflect.Descriptor instead.
func (*StructuredTitle) GetContent ¶
func (x *StructuredTitle) GetContent() string
func (*StructuredTitle) GetDigitalSourceType ¶
func (x *StructuredTitle) GetDigitalSourceType() DigitalSourceType
func (*StructuredTitle) ProtoMessage ¶
func (*StructuredTitle) ProtoMessage()
func (*StructuredTitle) ProtoReflect ¶
func (x *StructuredTitle) ProtoReflect() protoreflect.Message
func (*StructuredTitle) Reset ¶
func (x *StructuredTitle) Reset()
func (*StructuredTitle) String ¶
func (x *StructuredTitle) String() string
type SubscriptionCost ¶
type SubscriptionCost struct { // The type of subscription period. // Supported values are: // - "`month`" // - "`year`" Period SubscriptionPeriod `` /* 127-byte string literal not displayed */ // The number of subscription periods the buyer has to pay. PeriodLength int64 `protobuf:"varint,2,opt,name=period_length,json=periodLength,proto3" json:"period_length,omitempty"` // The amount the buyer has to pay per subscription period. Amount *typepb.Price `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
The SubscriptionCost of the product.
func (*SubscriptionCost) Descriptor
deprecated
func (*SubscriptionCost) Descriptor() ([]byte, []int)
Deprecated: Use SubscriptionCost.ProtoReflect.Descriptor instead.
func (*SubscriptionCost) GetAmount ¶
func (x *SubscriptionCost) GetAmount() *typepb.Price
func (*SubscriptionCost) GetPeriod ¶
func (x *SubscriptionCost) GetPeriod() SubscriptionPeriod
func (*SubscriptionCost) GetPeriodLength ¶
func (x *SubscriptionCost) GetPeriodLength() int64
func (*SubscriptionCost) ProtoMessage ¶
func (*SubscriptionCost) ProtoMessage()
func (*SubscriptionCost) ProtoReflect ¶
func (x *SubscriptionCost) ProtoReflect() protoreflect.Message
func (*SubscriptionCost) Reset ¶
func (x *SubscriptionCost) Reset()
func (*SubscriptionCost) String ¶
func (x *SubscriptionCost) String() string
type SubscriptionPeriod ¶
type SubscriptionPeriod int32
The subscription period of the product.
const ( // Indicates that the subscription period is unspecified. SubscriptionPeriod_SUBSCRIPTION_PERIOD_UNSPECIFIED SubscriptionPeriod = 0 // Indicates that the subscription period is month. SubscriptionPeriod_MONTH SubscriptionPeriod = 1 // Indicates that the subscription period is year. SubscriptionPeriod_YEAR SubscriptionPeriod = 2 )
func (SubscriptionPeriod) Descriptor ¶
func (SubscriptionPeriod) Descriptor() protoreflect.EnumDescriptor
func (SubscriptionPeriod) Enum ¶
func (x SubscriptionPeriod) Enum() *SubscriptionPeriod
func (SubscriptionPeriod) EnumDescriptor
deprecated
func (SubscriptionPeriod) EnumDescriptor() ([]byte, []int)
Deprecated: Use SubscriptionPeriod.Descriptor instead.
func (SubscriptionPeriod) Number ¶
func (x SubscriptionPeriod) Number() protoreflect.EnumNumber
func (SubscriptionPeriod) String ¶
func (x SubscriptionPeriod) String() string
func (SubscriptionPeriod) Type ¶
func (SubscriptionPeriod) Type() protoreflect.EnumType
type UnimplementedProductInputsServiceServer ¶
type UnimplementedProductInputsServiceServer struct { }
UnimplementedProductInputsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedProductInputsServiceServer) DeleteProductInput ¶
func (*UnimplementedProductInputsServiceServer) DeleteProductInput(context.Context, *DeleteProductInputRequest) (*emptypb.Empty, error)
func (*UnimplementedProductInputsServiceServer) InsertProductInput ¶
func (*UnimplementedProductInputsServiceServer) InsertProductInput(context.Context, *InsertProductInputRequest) (*ProductInput, error)
func (*UnimplementedProductInputsServiceServer) UpdateProductInput ¶
func (*UnimplementedProductInputsServiceServer) UpdateProductInput(context.Context, *UpdateProductInputRequest) (*ProductInput, error)
type UnimplementedProductsServiceServer ¶
type UnimplementedProductsServiceServer struct { }
UnimplementedProductsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedProductsServiceServer) GetProduct ¶
func (*UnimplementedProductsServiceServer) GetProduct(context.Context, *GetProductRequest) (*Product, error)
func (*UnimplementedProductsServiceServer) ListProducts ¶
func (*UnimplementedProductsServiceServer) ListProducts(context.Context, *ListProductsRequest) (*ListProductsResponse, error)
type UnitPricingBaseMeasure ¶
type UnitPricingBaseMeasure struct { // The denominator of the unit price. Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // The unit of the denominator. Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"` // contains filtered or unexported fields }
The UnitPricingBaseMeasure of the product.
func (*UnitPricingBaseMeasure) Descriptor
deprecated
func (*UnitPricingBaseMeasure) Descriptor() ([]byte, []int)
Deprecated: Use UnitPricingBaseMeasure.ProtoReflect.Descriptor instead.
func (*UnitPricingBaseMeasure) GetUnit ¶
func (x *UnitPricingBaseMeasure) GetUnit() string
func (*UnitPricingBaseMeasure) GetValue ¶
func (x *UnitPricingBaseMeasure) GetValue() int64
func (*UnitPricingBaseMeasure) ProtoMessage ¶
func (*UnitPricingBaseMeasure) ProtoMessage()
func (*UnitPricingBaseMeasure) ProtoReflect ¶
func (x *UnitPricingBaseMeasure) ProtoReflect() protoreflect.Message
func (*UnitPricingBaseMeasure) Reset ¶
func (x *UnitPricingBaseMeasure) Reset()
func (*UnitPricingBaseMeasure) String ¶
func (x *UnitPricingBaseMeasure) String() string
type UnitPricingMeasure ¶
type UnitPricingMeasure struct { // The measure of an item. Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` // The unit of the measure. Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"` // contains filtered or unexported fields }
The UnitPricingMeasure of the product.
func (*UnitPricingMeasure) Descriptor
deprecated
func (*UnitPricingMeasure) Descriptor() ([]byte, []int)
Deprecated: Use UnitPricingMeasure.ProtoReflect.Descriptor instead.
func (*UnitPricingMeasure) GetUnit ¶
func (x *UnitPricingMeasure) GetUnit() string
func (*UnitPricingMeasure) GetValue ¶
func (x *UnitPricingMeasure) GetValue() float64
func (*UnitPricingMeasure) ProtoMessage ¶
func (*UnitPricingMeasure) ProtoMessage()
func (*UnitPricingMeasure) ProtoReflect ¶
func (x *UnitPricingMeasure) ProtoReflect() protoreflect.Message
func (*UnitPricingMeasure) Reset ¶
func (x *UnitPricingMeasure) Reset()
func (*UnitPricingMeasure) String ¶
func (x *UnitPricingMeasure) String() string
type UpdateProductInputRequest ¶
type UpdateProductInputRequest struct { // Required. The product input resource to update. Information you submit will // be applied to the processed product as well. ProductInput *ProductInput `protobuf:"bytes,1,opt,name=product_input,json=productInput,proto3" json:"product_input,omitempty"` // Optional. The list of product attributes to be updated. // // If the update mask is omitted, then it is treated as implied field mask // equivalent to all fields that are populated (have a non-empty value). // // Attributes specified in the update mask without a value specified in the // body will be deleted from the product. // // Update mask can only be specified for top level fields in // attributes and custom attributes. // // To specify the update mask for custom attributes you need to add the // `custom_attribute.` prefix. // // Providing special "*" value for full product replacement is not supported. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The primary or supplemental product data source where // `data_source` name identifies the product input to be updated. // // Only API data sources are supported. // // Format: `accounts/{account}/dataSources/{datasource}`. For example, // `accounts/123456/dataSources/104628`. DataSource string `protobuf:"bytes,3,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` // contains filtered or unexported fields }
Request message for the UpdateProductInput method. The product (primary input) must exist for the update to succeed. If the update is for a primary product input, the existing primary product input must be from the same data source.
func (*UpdateProductInputRequest) Descriptor
deprecated
func (*UpdateProductInputRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProductInputRequest.ProtoReflect.Descriptor instead.
func (*UpdateProductInputRequest) GetDataSource ¶
func (x *UpdateProductInputRequest) GetDataSource() string
func (*UpdateProductInputRequest) GetProductInput ¶
func (x *UpdateProductInputRequest) GetProductInput() *ProductInput
func (*UpdateProductInputRequest) GetUpdateMask ¶
func (x *UpdateProductInputRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateProductInputRequest) ProtoMessage ¶
func (*UpdateProductInputRequest) ProtoMessage()
func (*UpdateProductInputRequest) ProtoReflect ¶
func (x *UpdateProductInputRequest) ProtoReflect() protoreflect.Message
func (*UpdateProductInputRequest) Reset ¶
func (x *UpdateProductInputRequest) Reset()
func (*UpdateProductInputRequest) String ¶
func (x *UpdateProductInputRequest) String() string