Constants
ProductInputsService_InsertProductInput_FullMethodName, ProductInputsService_UpdateProductInput_FullMethodName, ProductInputsService_DeleteProductInput_FullMethodName
const (
ProductInputsService_InsertProductInput_FullMethodName = "/google.shopping.merchant.products.v1.ProductInputsService/InsertProductInput"
ProductInputsService_UpdateProductInput_FullMethodName = "/google.shopping.merchant.products.v1.ProductInputsService/UpdateProductInput"
ProductInputsService_DeleteProductInput_FullMethodName = "/google.shopping.merchant.products.v1.ProductInputsService/DeleteProductInput"
)ProductsService_GetProduct_FullMethodName, ProductsService_ListProducts_FullMethodName
const (
ProductsService_GetProduct_FullMethodName = "/google.shopping.merchant.products.v1.ProductsService/GetProduct"
ProductsService_ListProducts_FullMethodName = "/google.shopping.merchant.products.v1.ProductsService/ListProducts"
)Variables
SubscriptionPeriod_name, SubscriptionPeriod_value
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.
AgeGroup_name, AgeGroup_value
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.
Availability_name, Availability_value
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.
Condition_name, Condition_value
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.
Gender_name, Gender_value
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.
CreditType_name, CreditType_value
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.
SizeSystem_name, SizeSystem_value
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.
SizeType_name, SizeType_value
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.
EnergyEfficiencyClass_name, EnergyEfficiencyClass_value
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.
PickupMethod_name, PickupMethod_value
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.
PickupSla_name, PickupSla_value
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.
Pause_name, Pause_value
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.
CertificationAuthority_name, CertificationAuthority_value
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.
CertificationName_name, CertificationName_value
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.
DigitalSourceType_name, DigitalSourceType_value
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.
CarrierTransitTimeOption_name, CarrierTransitTimeOption_value
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.
ProductAttributes_CarrierPriceOption_name, ProductAttributes_CarrierPriceOption_value
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.
ProductStatus_ItemLevelIssue_Severity_name, ProductStatus_ItemLevelIssue_Severity_value
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.
ProductSustainabilityIncentive_Type_name, ProductSustainabilityIncentive_Type_value
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.
File_google_shopping_merchant_products_v1_productinputs_proto
var File_google_shopping_merchant_products_v1_productinputs_proto protoreflect.FileDescriptorFile_google_shopping_merchant_products_v1_products_common_proto
var File_google_shopping_merchant_products_v1_products_common_proto protoreflect.FileDescriptorFile_google_shopping_merchant_products_v1_products_proto
var File_google_shopping_merchant_products_v1_products_proto protoreflect.FileDescriptorProductInputsService_ServiceDesc
var ProductInputsService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.shopping.merchant.products.v1.ProductInputsService",
HandlerType: (*ProductInputsServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "InsertProductInput",
Handler: _ProductInputsService_InsertProductInput_Handler,
},
{
MethodName: "UpdateProductInput",
Handler: _ProductInputsService_UpdateProductInput_Handler,
},
{
MethodName: "DeleteProductInput",
Handler: _ProductInputsService_DeleteProductInput_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/shopping/merchant/products/v1/productinputs.proto",
}ProductInputsService_ServiceDesc is the grpc.ServiceDesc for ProductInputsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
ProductsService_ServiceDesc
var ProductsService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.shopping.merchant.products.v1.ProductsService",
HandlerType: (*ProductsServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "GetProduct",
Handler: _ProductsService_GetProduct_Handler,
},
{
MethodName: "ListProducts",
Handler: _ProductsService_ListProducts_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/shopping/merchant/products/v1/products.proto",
}ProductsService_ServiceDesc is the grpc.ServiceDesc for ProductsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions
func RegisterProductInputsServiceServer
func RegisterProductInputsServiceServer(s grpc.ServiceRegistrar, srv ProductInputsServiceServer)func RegisterProductsServiceServer
func RegisterProductsServiceServer(s grpc.ServiceRegistrar, srv ProductsServiceServer)AgeGroup
type AgeGroup int32Target age group of the item.
AgeGroup_AGE_GROUP_UNSPECIFIED, AgeGroup_ADULT, AgeGroup_KIDS, AgeGroup_TODDLER, AgeGroup_INFANT, AgeGroup_NEWBORN
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.EnumDescriptorfunc (AgeGroup) Enum
func (AgeGroup) EnumDescriptor
Deprecated: Use AgeGroup.Descriptor instead.
func (AgeGroup) Number
func (x AgeGroup) Number() protoreflect.EnumNumberfunc (AgeGroup) String
func (AgeGroup) Type
func (AgeGroup) Type() protoreflect.EnumTypeAutomatedDiscounts
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 `protobuf:"bytes,2,opt,name=prior_price_progressive,json=priorPriceProgressive,proto3" json:"prior_price_progressive,omitempty"`
// 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
func (*AutomatedDiscounts) Descriptor() ([]byte, []int)Deprecated: Use AutomatedDiscounts.ProtoReflect.Descriptor instead.
func (*AutomatedDiscounts) GetGadPrice
func (x *AutomatedDiscounts) GetGadPrice() *typepb.Pricefunc (*AutomatedDiscounts) GetPriorPrice
func (x *AutomatedDiscounts) GetPriorPrice() *typepb.Pricefunc (*AutomatedDiscounts) GetPriorPriceProgressive
func (x *AutomatedDiscounts) GetPriorPriceProgressive() *typepb.Pricefunc (*AutomatedDiscounts) ProtoMessage
func (*AutomatedDiscounts) ProtoMessage()func (*AutomatedDiscounts) ProtoReflect
func (x *AutomatedDiscounts) ProtoReflect() protoreflect.Messagefunc (*AutomatedDiscounts) Reset
func (x *AutomatedDiscounts) Reset()func (*AutomatedDiscounts) String
func (x *AutomatedDiscounts) String() stringAvailability
type Availability int32Availability status of the item.
Availability_AVAILABILITY_UNSPECIFIED, Availability_IN_STOCK, Availability_OUT_OF_STOCK, Availability_PREORDER, Availability_LIMITED_AVAILABILITY, Availability_BACKORDER
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.EnumDescriptorfunc (Availability) Enum
func (x Availability) Enum() *Availabilityfunc (Availability) EnumDescriptor
func (Availability) EnumDescriptor() ([]byte, []int)Deprecated: Use Availability.Descriptor instead.
func (Availability) Number
func (x Availability) Number() protoreflect.EnumNumberfunc (Availability) String
func (x Availability) String() stringfunc (Availability) Type
func (Availability) Type() protoreflect.EnumTypeCarrierTransitTimeOption
type CarrierTransitTimeOption int32Possible carrier where transit time is coming from.
CarrierTransitTimeOption_CARRIER_TRANSIT_TIME_OPTION_UNSPECIFIED, CarrierTransitTimeOption_DHL_PAKET, CarrierTransitTimeOption_DHL_PACKCHEN, CarrierTransitTimeOption_DHL_EXPRESSEASY, CarrierTransitTimeOption_DPD_EXPRESS, CarrierTransitTimeOption_DPD_CLASSIC_PARCEL, CarrierTransitTimeOption_HERMES_HAUSTUR, CarrierTransitTimeOption_HERMES_PAKETSHOP, CarrierTransitTimeOption_GLS_BUSINESS, CarrierTransitTimeOption_GLS_EXPRESS, CarrierTransitTimeOption_GLS_PRIVATE, CarrierTransitTimeOption_COLISSIMO_DOMICILE, CarrierTransitTimeOption_DHL_EXPRESS_12AM, CarrierTransitTimeOption_DHL_EXPRESS_9AM, CarrierTransitTimeOption_GEODIS_EXPRESS, CarrierTransitTimeOption_GEODIS_PACK_30, CarrierTransitTimeOption_GEODIS_SAME_DAY, CarrierTransitTimeOption_GEODIS_TOP_24, CarrierTransitTimeOption_TNT_ESSENTIEL_24H, CarrierTransitTimeOption_TNT_ESSENTIEL_FLEXIBILITE, CarrierTransitTimeOption_FEDEX_GROUND, CarrierTransitTimeOption_FEDEX_HOME_DELIVERY, CarrierTransitTimeOption_FEDEX_EXPRESS_SAVER, CarrierTransitTimeOption_FEDEX_FIRST_OVERNIGHT, CarrierTransitTimeOption_FEDEX_PRIORITY_OVERNIGHT, CarrierTransitTimeOption_FEDEX_STANDARD_OVERNIGHT, CarrierTransitTimeOption_FEDEX_2DAY, CarrierTransitTimeOption_UPS_2ND_DAY_AIR, CarrierTransitTimeOption_UPS_2ND_DAY_AM, CarrierTransitTimeOption_UPS_3_DAY_SELECT, CarrierTransitTimeOption_UPS_GROUND, CarrierTransitTimeOption_UPS_NEXT_DAY_AIR, CarrierTransitTimeOption_UPS_NEXT_DAY_AIR_EARLY_AM, CarrierTransitTimeOption_UPS_NEXT_DAY_AIR_SAVER, CarrierTransitTimeOption_USPS_PRIORITY_MAIL_EXPRESS, CarrierTransitTimeOption_USPS_MEDIA_MAIL, CarrierTransitTimeOption_USPS_GROUND_ADVANTAGE_RETAIL, CarrierTransitTimeOption_USPS_PRIORITY_MAIL, CarrierTransitTimeOption_USPS_GROUND_ADVANTAGE_COMMERCIAL, CarrierTransitTimeOption_USPS_FIRST_CLASS_MAIL
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
func (CarrierTransitTimeOption) Descriptor() protoreflect.EnumDescriptorfunc (CarrierTransitTimeOption) Enum
func (x CarrierTransitTimeOption) Enum() *CarrierTransitTimeOptionfunc (CarrierTransitTimeOption) EnumDescriptor
func (CarrierTransitTimeOption) EnumDescriptor() ([]byte, []int)Deprecated: Use CarrierTransitTimeOption.Descriptor instead.
func (CarrierTransitTimeOption) Number
func (x CarrierTransitTimeOption) Number() protoreflect.EnumNumberfunc (CarrierTransitTimeOption) String
func (x CarrierTransitTimeOption) String() stringfunc (CarrierTransitTimeOption) Type
func (CarrierTransitTimeOption) Type() protoreflect.EnumTypeCertificationAuthority
type CertificationAuthority int32The certification authority.
CertificationAuthority_CERTIFICATION_AUTHORITY_UNSPECIFIED, CertificationAuthority_ADEME, CertificationAuthority_BMWK, CertificationAuthority_EPA, CertificationAuthority_EC
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.EnumDescriptorfunc (CertificationAuthority) Enum
func (x CertificationAuthority) Enum() *CertificationAuthorityfunc (CertificationAuthority) EnumDescriptor
func (CertificationAuthority) EnumDescriptor() ([]byte, []int)Deprecated: Use CertificationAuthority.Descriptor instead.
func (CertificationAuthority) Number
func (x CertificationAuthority) Number() protoreflect.EnumNumberfunc (CertificationAuthority) String
func (x CertificationAuthority) String() stringfunc (CertificationAuthority) Type
func (CertificationAuthority) Type() protoreflect.EnumTypeCertificationName
type CertificationName int32The name of the certification.
CertificationName_CERTIFICATION_NAME_UNSPECIFIED, CertificationName_ENERGY_STAR, CertificationName_ENERGY_STAR_MOST_EFFICIENT, CertificationName_EPREL, CertificationName_EU_ECOLABEL, CertificationName_VEHICLE_ENERGY_EFFICIENCY, CertificationName_VEHICLE_ENERGY_EFFICIENCY_DISCHARGED_BATTERY
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.EnumDescriptorfunc (CertificationName) Enum
func (x CertificationName) Enum() *CertificationNamefunc (CertificationName) EnumDescriptor
func (CertificationName) EnumDescriptor() ([]byte, []int)Deprecated: Use CertificationName.Descriptor instead.
func (CertificationName) Number
func (x CertificationName) Number() protoreflect.EnumNumberfunc (CertificationName) String
func (x CertificationName) String() stringfunc (CertificationName) Type
func (CertificationName) Type() protoreflect.EnumTypeCloudExportAdditionalProperties
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
func (*CloudExportAdditionalProperties) Descriptor() ([]byte, []int)Deprecated: Use CloudExportAdditionalProperties.ProtoReflect.Descriptor instead.
func (*CloudExportAdditionalProperties) GetBoolValue
func (x *CloudExportAdditionalProperties) GetBoolValue() boolfunc (*CloudExportAdditionalProperties) GetFloatValue
func (x *CloudExportAdditionalProperties) GetFloatValue() []float32func (*CloudExportAdditionalProperties) GetIntValue
func (x *CloudExportAdditionalProperties) GetIntValue() []int64func (*CloudExportAdditionalProperties) GetMaxValue
func (x *CloudExportAdditionalProperties) GetMaxValue() float32func (*CloudExportAdditionalProperties) GetMinValue
func (x *CloudExportAdditionalProperties) GetMinValue() float32func (*CloudExportAdditionalProperties) GetPropertyName
func (x *CloudExportAdditionalProperties) GetPropertyName() stringfunc (*CloudExportAdditionalProperties) GetTextValue
func (x *CloudExportAdditionalProperties) GetTextValue() []stringfunc (*CloudExportAdditionalProperties) GetUnitCode
func (x *CloudExportAdditionalProperties) GetUnitCode() stringfunc (*CloudExportAdditionalProperties) ProtoMessage
func (*CloudExportAdditionalProperties) ProtoMessage()func (*CloudExportAdditionalProperties) ProtoReflect
func (x *CloudExportAdditionalProperties) ProtoReflect() protoreflect.Messagefunc (*CloudExportAdditionalProperties) Reset
func (x *CloudExportAdditionalProperties) Reset()func (*CloudExportAdditionalProperties) String
func (x *CloudExportAdditionalProperties) String() stringCondition
type Condition int32Condition or state of the item.
Condition_CONDITION_UNSPECIFIED, Condition_NEW, Condition_USED, Condition_REFURBISHED
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.EnumDescriptorfunc (Condition) Enum
func (Condition) EnumDescriptor
Deprecated: Use Condition.Descriptor instead.
func (Condition) Number
func (x Condition) Number() protoreflect.EnumNumberfunc (Condition) String
func (Condition) Type
func (Condition) Type() protoreflect.EnumTypeCreditType
type CreditType int32Type of installment payments.
CreditType_CREDIT_TYPE_UNSPECIFIED, CreditType_FINANCE, CreditType_LEASE
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.EnumDescriptorfunc (CreditType) Enum
func (x CreditType) Enum() *CreditTypefunc (CreditType) EnumDescriptor
func (CreditType) EnumDescriptor() ([]byte, []int)Deprecated: Use CreditType.Descriptor instead.
func (CreditType) Number
func (x CreditType) Number() protoreflect.EnumNumberfunc (CreditType) String
func (x CreditType) String() stringfunc (CreditType) Type
func (CreditType) Type() protoreflect.EnumTypeDeleteProductInputRequest
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
func (*DeleteProductInputRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteProductInputRequest.ProtoReflect.Descriptor instead.
func (*DeleteProductInputRequest) GetDataSource
func (x *DeleteProductInputRequest) GetDataSource() stringfunc (*DeleteProductInputRequest) GetName
func (x *DeleteProductInputRequest) GetName() stringfunc (*DeleteProductInputRequest) ProtoMessage
func (*DeleteProductInputRequest) ProtoMessage()func (*DeleteProductInputRequest) ProtoReflect
func (x *DeleteProductInputRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteProductInputRequest) Reset
func (x *DeleteProductInputRequest) Reset()func (*DeleteProductInputRequest) String
func (x *DeleteProductInputRequest) String() stringDigitalSourceType
type DigitalSourceType int32The digital source type. Following IPTC.
DigitalSourceType_DIGITAL_SOURCE_TYPE_UNSPECIFIED, DigitalSourceType_TRAINED_ALGORITHMIC_MEDIA, DigitalSourceType_DEFAULT
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.EnumDescriptorfunc (DigitalSourceType) Enum
func (x DigitalSourceType) Enum() *DigitalSourceTypefunc (DigitalSourceType) EnumDescriptor
func (DigitalSourceType) EnumDescriptor() ([]byte, []int)Deprecated: Use DigitalSourceType.Descriptor instead.
func (DigitalSourceType) Number
func (x DigitalSourceType) Number() protoreflect.EnumNumberfunc (DigitalSourceType) String
func (x DigitalSourceType) String() stringfunc (DigitalSourceType) Type
func (DigitalSourceType) Type() protoreflect.EnumTypeEnergyEfficiencyClass
type EnergyEfficiencyClass int32The energy efficiency class as defined in EU directive 2010/30/EU.
EnergyEfficiencyClass_ENERGY_EFFICIENCY_CLASS_UNSPECIFIED, EnergyEfficiencyClass_APPP, EnergyEfficiencyClass_APP, EnergyEfficiencyClass_AP, EnergyEfficiencyClass_A, EnergyEfficiencyClass_B, EnergyEfficiencyClass_C, EnergyEfficiencyClass_D, EnergyEfficiencyClass_E, EnergyEfficiencyClass_F, EnergyEfficiencyClass_G
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.EnumDescriptorfunc (EnergyEfficiencyClass) Enum
func (x EnergyEfficiencyClass) Enum() *EnergyEfficiencyClassfunc (EnergyEfficiencyClass) EnumDescriptor
func (EnergyEfficiencyClass) EnumDescriptor() ([]byte, []int)Deprecated: Use EnergyEfficiencyClass.Descriptor instead.
func (EnergyEfficiencyClass) Number
func (x EnergyEfficiencyClass) Number() protoreflect.EnumNumberfunc (EnergyEfficiencyClass) String
func (x EnergyEfficiencyClass) String() stringfunc (EnergyEfficiencyClass) Type
func (EnergyEfficiencyClass) Type() protoreflect.EnumTypeFreeShippingThreshold
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
func (*FreeShippingThreshold) Descriptor() ([]byte, []int)Deprecated: Use FreeShippingThreshold.ProtoReflect.Descriptor instead.
func (*FreeShippingThreshold) GetCountry
func (x *FreeShippingThreshold) GetCountry() stringfunc (*FreeShippingThreshold) GetPriceThreshold
func (x *FreeShippingThreshold) GetPriceThreshold() *typepb.Pricefunc (*FreeShippingThreshold) ProtoMessage
func (*FreeShippingThreshold) ProtoMessage()func (*FreeShippingThreshold) ProtoReflect
func (x *FreeShippingThreshold) ProtoReflect() protoreflect.Messagefunc (*FreeShippingThreshold) Reset
func (x *FreeShippingThreshold) Reset()func (*FreeShippingThreshold) String
func (x *FreeShippingThreshold) String() stringGender
type Gender int32Target gender of the item.
Gender_GENDER_UNSPECIFIED, Gender_MALE, Gender_FEMALE, Gender_UNISEX
const (
// Gender is not specified.
Gender_GENDER_UNSPECIFIED Gender = 0
// Male.
Gender_MALE Gender = 1
// Female.
Gender_FEMALE Gender = 2
// Unisex.
Gender_UNISEX Gender = 3
)func (Gender) Descriptor
func (Gender) Descriptor() protoreflect.EnumDescriptorfunc (Gender) Enum
func (Gender) EnumDescriptor
Deprecated: Use Gender.Descriptor instead.
func (Gender) Number
func (x Gender) Number() protoreflect.EnumNumberfunc (Gender) String
func (Gender) Type
func (Gender) Type() protoreflect.EnumTypeGetProductRequest
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
func (*GetProductRequest) Descriptor() ([]byte, []int)Deprecated: Use GetProductRequest.ProtoReflect.Descriptor instead.
func (*GetProductRequest) GetName
func (x *GetProductRequest) GetName() stringfunc (*GetProductRequest) ProtoMessage
func (*GetProductRequest) ProtoMessage()func (*GetProductRequest) ProtoReflect
func (x *GetProductRequest) ProtoReflect() protoreflect.Messagefunc (*GetProductRequest) Reset
func (x *GetProductRequest) Reset()func (*GetProductRequest) String
func (x *GetProductRequest) String() stringInsertProductInputRequest
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
func (*InsertProductInputRequest) Descriptor() ([]byte, []int)Deprecated: Use InsertProductInputRequest.ProtoReflect.Descriptor instead.
func (*InsertProductInputRequest) GetDataSource
func (x *InsertProductInputRequest) GetDataSource() stringfunc (*InsertProductInputRequest) GetParent
func (x *InsertProductInputRequest) GetParent() stringfunc (*InsertProductInputRequest) GetProductInput
func (x *InsertProductInputRequest) GetProductInput() *ProductInputfunc (*InsertProductInputRequest) ProtoMessage
func (*InsertProductInputRequest) ProtoMessage()func (*InsertProductInputRequest) ProtoReflect
func (x *InsertProductInputRequest) ProtoReflect() protoreflect.Messagefunc (*InsertProductInputRequest) Reset
func (x *InsertProductInputRequest) Reset()func (*InsertProductInputRequest) String
func (x *InsertProductInputRequest) String() stringListProductsRequest
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
func (*ListProductsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListProductsRequest.ProtoReflect.Descriptor instead.
func (*ListProductsRequest) GetPageSize
func (x *ListProductsRequest) GetPageSize() int32func (*ListProductsRequest) GetPageToken
func (x *ListProductsRequest) GetPageToken() stringfunc (*ListProductsRequest) GetParent
func (x *ListProductsRequest) GetParent() stringfunc (*ListProductsRequest) ProtoMessage
func (*ListProductsRequest) ProtoMessage()func (*ListProductsRequest) ProtoReflect
func (x *ListProductsRequest) ProtoReflect() protoreflect.Messagefunc (*ListProductsRequest) Reset
func (x *ListProductsRequest) Reset()func (*ListProductsRequest) String
func (x *ListProductsRequest) String() stringListProductsResponse
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
func (*ListProductsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListProductsResponse.ProtoReflect.Descriptor instead.
func (*ListProductsResponse) GetNextPageToken
func (x *ListProductsResponse) GetNextPageToken() stringfunc (*ListProductsResponse) GetProducts
func (x *ListProductsResponse) GetProducts() []*Productfunc (*ListProductsResponse) ProtoMessage
func (*ListProductsResponse) ProtoMessage()func (*ListProductsResponse) ProtoReflect
func (x *ListProductsResponse) ProtoReflect() protoreflect.Messagefunc (*ListProductsResponse) Reset
func (x *ListProductsResponse) Reset()func (*ListProductsResponse) String
func (x *ListProductsResponse) String() stringLoyaltyPoints
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
func (*LoyaltyPoints) Descriptor() ([]byte, []int)Deprecated: Use LoyaltyPoints.ProtoReflect.Descriptor instead.
func (*LoyaltyPoints) GetName
func (x *LoyaltyPoints) GetName() stringfunc (*LoyaltyPoints) GetPointsValue
func (x *LoyaltyPoints) GetPointsValue() int64func (*LoyaltyPoints) GetRatio
func (x *LoyaltyPoints) GetRatio() float64func (*LoyaltyPoints) ProtoMessage
func (*LoyaltyPoints) ProtoMessage()func (*LoyaltyPoints) ProtoReflect
func (x *LoyaltyPoints) ProtoReflect() protoreflect.Messagefunc (*LoyaltyPoints) Reset
func (x *LoyaltyPoints) Reset()func (*LoyaltyPoints) String
func (x *LoyaltyPoints) String() stringLoyaltyProgram
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 `protobuf:"bytes,4,opt,name=cashback_for_future_use,json=cashbackForFutureUse,proto3,oneof" json:"cashback_for_future_use,omitempty"`
// 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 `protobuf:"bytes,6,opt,name=member_price_effective_date,json=memberPriceEffectiveDate,proto3,oneof" json:"member_price_effective_date,omitempty"`
// 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
func (*LoyaltyProgram) Descriptor() ([]byte, []int)Deprecated: Use LoyaltyProgram.ProtoReflect.Descriptor instead.
func (*LoyaltyProgram) GetCashbackForFutureUse
func (x *LoyaltyProgram) GetCashbackForFutureUse() *typepb.Pricefunc (*LoyaltyProgram) GetLoyaltyPoints
func (x *LoyaltyProgram) GetLoyaltyPoints() int64func (*LoyaltyProgram) GetMemberPriceEffectiveDate
func (x *LoyaltyProgram) GetMemberPriceEffectiveDate() *interval.Intervalfunc (*LoyaltyProgram) GetPrice
func (x *LoyaltyProgram) GetPrice() *typepb.Pricefunc (*LoyaltyProgram) GetProgramLabel
func (x *LoyaltyProgram) GetProgramLabel() stringfunc (*LoyaltyProgram) GetShippingLabel
func (x *LoyaltyProgram) GetShippingLabel() stringfunc (*LoyaltyProgram) GetTierLabel
func (x *LoyaltyProgram) GetTierLabel() stringfunc (*LoyaltyProgram) ProtoMessage
func (*LoyaltyProgram) ProtoMessage()func (*LoyaltyProgram) ProtoReflect
func (x *LoyaltyProgram) ProtoReflect() protoreflect.Messagefunc (*LoyaltyProgram) Reset
func (x *LoyaltyProgram) Reset()func (*LoyaltyProgram) String
func (x *LoyaltyProgram) String() stringPause
type Pause int32Publication of this item will be temporarily paused.
Pause_PAUSE_UNSPECIFIED, Pause_ADS, Pause_ALL
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.EnumDescriptorfunc (Pause) Enum
func (Pause) EnumDescriptor
Deprecated: Use Pause.Descriptor instead.
func (Pause) Number
func (x Pause) Number() protoreflect.EnumNumberfunc (Pause) String
func (Pause) Type
func (Pause) Type() protoreflect.EnumTypePickupMethod
type PickupMethod int32The pickup option for the item.
PickupMethod_PICKUP_METHOD_UNSPECIFIED, PickupMethod_NOT_SUPPORTED, PickupMethod_BUY, PickupMethod_RESERVE, PickupMethod_SHIP_TO_STORE
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.EnumDescriptorfunc (PickupMethod) Enum
func (x PickupMethod) Enum() *PickupMethodfunc (PickupMethod) EnumDescriptor
func (PickupMethod) EnumDescriptor() ([]byte, []int)Deprecated: Use PickupMethod.Descriptor instead.
func (PickupMethod) Number
func (x PickupMethod) Number() protoreflect.EnumNumberfunc (PickupMethod) String
func (x PickupMethod) String() stringfunc (PickupMethod) Type
func (PickupMethod) Type() protoreflect.EnumTypePickupSla
type PickupSla int32Item store pickup timeline. For more information, see Pickup SLA.
PickupSla_PICKUP_SLA_UNSPECIFIED, PickupSla_SAME_DAY, PickupSla_NEXT_DAY, PickupSla_TWO_DAY, PickupSla_THREE_DAY, PickupSla_FOUR_DAY, PickupSla_FIVE_DAY, PickupSla_SIX_DAY, PickupSla_MULTI_WEEK
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.EnumDescriptorfunc (PickupSla) Enum
func (PickupSla) EnumDescriptor
Deprecated: Use PickupSla.Descriptor instead.
func (PickupSla) Number
func (x PickupSla) Number() protoreflect.EnumNumberfunc (PickupSla) String
func (PickupSla) Type
func (PickupSla) Type() protoreflect.EnumTypeProduct
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 with some exceptions.
func (*Product) Descriptor
Deprecated: Use Product.ProtoReflect.Descriptor instead.
func (*Product) GetAutomatedDiscounts
func (x *Product) GetAutomatedDiscounts() *AutomatedDiscountsfunc (*Product) GetContentLanguage
func (*Product) GetCustomAttributes
func (x *Product) GetCustomAttributes() []*typepb.CustomAttributefunc (*Product) GetDataSource
func (*Product) GetFeedLabel
func (*Product) GetLegacyLocal
func (*Product) GetName
func (*Product) GetOfferId
func (*Product) GetProductAttributes
func (x *Product) GetProductAttributes() *ProductAttributesfunc (*Product) GetProductStatus
func (x *Product) GetProductStatus() *ProductStatusfunc (*Product) GetVersionNumber
func (*Product) ProtoMessage
func (*Product) ProtoMessage()func (*Product) ProtoReflect
func (x *Product) ProtoReflect() protoreflect.Messagefunc (*Product) Reset
func (x *Product) Reset()func (*Product) String
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 `protobuf:"varint,18,opt,name=age_group,json=ageGroup,proto3,enum=google.shopping.merchant.products.v1.AgeGroup,oneof" json:"age_group,omitempty"`
// [Availability](https://support.google.com/merchants/answer/6324448) status
// of the item.
Availability *Availability `protobuf:"varint,19,opt,name=availability,proto3,enum=google.shopping.merchant.products.v1.Availability,oneof" json:"availability,omitempty"`
// 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 `protobuf:"varint,23,opt,name=condition,proto3,enum=google.shopping.merchant.products.v1.Condition,oneof" json:"condition,omitempty"`
// 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 `protobuf:"bytes,25,opt,name=google_product_category,json=googleProductCategory,proto3,oneof" json:"google_product_category,omitempty"`
// 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 `protobuf:"bytes,37,opt,name=sale_price_effective_date,json=salePriceEffectiveDate,proto3" json:"sale_price_effective_date,omitempty"`
// The quantity of the product that is available for selling on Google.
// Supported only for online products.
SellOnGoogleQuantity *int64 `protobuf:"varint,38,opt,name=sell_on_google_quantity,json=sellOnGoogleQuantity,proto3,oneof" json:"sell_on_google_quantity,omitempty"`
// 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 `protobuf:"bytes,135,rep,name=free_shipping_threshold,json=freeShippingThreshold,proto3" json:"free_shipping_threshold,omitempty"`
// 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 `protobuf:"varint,49,opt,name=size_system,json=sizeSystem,proto3,enum=google.shopping.merchant.products.v1.SizeSystem,oneof" json:"size_system,omitempty"`
// 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 `protobuf:"varint,50,rep,packed,name=size_types,json=sizeTypes,proto3,enum=google.shopping.merchant.products.v1.SizeType" json:"size_types,omitempty"`
// The [energy efficiency
// class](https://support.google.com/merchants/answer/7562785) as defined in
// EU directive 2010/30/EU.
EnergyEfficiencyClass *EnergyEfficiencyClass `protobuf:"varint,53,opt,name=energy_efficiency_class,json=energyEfficiencyClass,proto3,enum=google.shopping.merchant.products.v1.EnergyEfficiencyClass,oneof" json:"energy_efficiency_class,omitempty"`
// The [energy efficiency
// class](https://support.google.com/merchants/answer/7562785) as defined in
// EU directive 2010/30/EU.
MinEnergyEfficiencyClass *EnergyEfficiencyClass `protobuf:"varint,54,opt,name=min_energy_efficiency_class,json=minEnergyEfficiencyClass,proto3,enum=google.shopping.merchant.products.v1.EnergyEfficiencyClass,oneof" json:"min_energy_efficiency_class,omitempty"`
// The [energy efficiency
// class](https://support.google.com/merchants/answer/7562785) as defined in
// EU directive 2010/30/EU.
MaxEnergyEfficiencyClass *EnergyEfficiencyClass `protobuf:"varint,55,opt,name=max_energy_efficiency_class,json=maxEnergyEfficiencyClass,proto3,enum=google.shopping.merchant.products.v1.EnergyEfficiencyClass,oneof" json:"max_energy_efficiency_class,omitempty"`
// 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 `protobuf:"bytes,57,opt,name=unit_pricing_base_measure,json=unitPricingBaseMeasure,proto3" json:"unit_pricing_base_measure,omitempty"`
// 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 `protobuf:"bytes,66,rep,name=display_ads_similar_ids,json=displayAdsSimilarIds,proto3" json:"display_ads_similar_ids,omitempty"`
// 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 `protobuf:"varint,80,opt,name=pickup_method,json=pickupMethod,proto3,enum=google.shopping.merchant.products.v1.PickupMethod,oneof" json:"pickup_method,omitempty"`
// Item store pickup timeline. For more information, see
// [Pickup SLA](https://support.google.com/merchants/answer/14635400).
PickupSla *PickupSla `protobuf:"varint,81,opt,name=pickup_sla,json=pickupSla,proto3,enum=google.shopping.merchant.products.v1.PickupSla,oneof" json:"pickup_sla,omitempty"`
// [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 `protobuf:"varint,76,rep,packed,name=included_destinations,json=includedDestinations,proto3,enum=google.shopping.type.Destination_DestinationEnum" json:"included_destinations,omitempty"`
// 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 `protobuf:"varint,77,rep,packed,name=excluded_destinations,json=excludedDestinations,proto3,enum=google.shopping.type.Destination_DestinationEnum" json:"excluded_destinations,omitempty"`
// 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 `protobuf:"bytes,78,rep,name=shopping_ads_excluded_countries,json=shoppingAdsExcludedCountries,proto3" json:"shopping_ads_excluded_countries,omitempty"`
// 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 `protobuf:"bytes,84,rep,name=cloud_export_additional_properties,json=cloudExportAdditionalProperties,proto3" json:"cloud_export_additional_properties,omitempty"`
// 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 `protobuf:"bytes,133,opt,name=structured_description,json=structuredDescription,proto3,oneof" json:"structured_description,omitempty"`
// 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 `protobuf:"bytes,138,rep,name=sustainability_incentives,json=sustainabilityIncentives,proto3" json:"sustainability_incentives,omitempty"`
// contains filtered or unexported fields
}Product attributes.
func (*ProductAttributes) Descriptor
func (*ProductAttributes) Descriptor() ([]byte, []int)Deprecated: Use ProductAttributes.ProtoReflect.Descriptor instead.
func (*ProductAttributes) GetAdditionalImageLinks
func (x *ProductAttributes) GetAdditionalImageLinks() []stringfunc (*ProductAttributes) GetAdsGrouping
func (x *ProductAttributes) GetAdsGrouping() stringfunc (*ProductAttributes) GetAdsLabels
func (x *ProductAttributes) GetAdsLabels() []stringfunc (*ProductAttributes) GetAdsRedirect
func (x *ProductAttributes) GetAdsRedirect() stringfunc (*ProductAttributes) GetAdult
func (x *ProductAttributes) GetAdult() boolfunc (*ProductAttributes) GetAgeGroup
func (x *ProductAttributes) GetAgeGroup() AgeGroupfunc (*ProductAttributes) GetAutoPricingMinPrice
func (x *ProductAttributes) GetAutoPricingMinPrice() *typepb.Pricefunc (*ProductAttributes) GetAvailability
func (x *ProductAttributes) GetAvailability() Availabilityfunc (*ProductAttributes) GetAvailabilityDate
func (x *ProductAttributes) GetAvailabilityDate() *timestamppb.Timestampfunc (*ProductAttributes) GetBrand
func (x *ProductAttributes) GetBrand() stringfunc (*ProductAttributes) GetCanonicalLink
func (x *ProductAttributes) GetCanonicalLink() stringfunc (*ProductAttributes) GetCarrierShipping
func (x *ProductAttributes) GetCarrierShipping() []*ProductAttributes_CarrierShippingfunc (*ProductAttributes) GetCertifications
func (x *ProductAttributes) GetCertifications() []*ProductCertificationfunc (*ProductAttributes) GetCloudExportAdditionalProperties
func (x *ProductAttributes) GetCloudExportAdditionalProperties() []*CloudExportAdditionalPropertiesfunc (*ProductAttributes) GetColor
func (x *ProductAttributes) GetColor() stringfunc (*ProductAttributes) GetCondition
func (x *ProductAttributes) GetCondition() Conditionfunc (*ProductAttributes) GetCostOfGoodsSold
func (x *ProductAttributes) GetCostOfGoodsSold() *typepb.Pricefunc (*ProductAttributes) GetCustomLabel_0
func (x *ProductAttributes) GetCustomLabel_0() stringfunc (*ProductAttributes) GetCustomLabel_1
func (x *ProductAttributes) GetCustomLabel_1() stringfunc (*ProductAttributes) GetCustomLabel_2
func (x *ProductAttributes) GetCustomLabel_2() stringfunc (*ProductAttributes) GetCustomLabel_3
func (x *ProductAttributes) GetCustomLabel_3() stringfunc (*ProductAttributes) GetCustomLabel_4
func (x *ProductAttributes) GetCustomLabel_4() stringfunc (*ProductAttributes) GetDescription
func (x *ProductAttributes) GetDescription() stringfunc (*ProductAttributes) GetDisclosureDate
func (x *ProductAttributes) GetDisclosureDate() *timestamppb.Timestampfunc (*ProductAttributes) GetDisplayAdsId
func (x *ProductAttributes) GetDisplayAdsId() stringfunc (*ProductAttributes) GetDisplayAdsLink
func (x *ProductAttributes) GetDisplayAdsLink() stringfunc (*ProductAttributes) GetDisplayAdsSimilarIds
func (x *ProductAttributes) GetDisplayAdsSimilarIds() []stringfunc (*ProductAttributes) GetDisplayAdsTitle
func (x *ProductAttributes) GetDisplayAdsTitle() stringfunc (*ProductAttributes) GetDisplayAdsValue
func (x *ProductAttributes) GetDisplayAdsValue() float64func (*ProductAttributes) GetEnergyEfficiencyClass
func (x *ProductAttributes) GetEnergyEfficiencyClass() EnergyEfficiencyClassfunc (*ProductAttributes) GetExcludedDestinations
func (x *ProductAttributes) GetExcludedDestinations() []typepb.Destination_DestinationEnumfunc (*ProductAttributes) GetExpirationDate
func (x *ProductAttributes) GetExpirationDate() *timestamppb.Timestampfunc (*ProductAttributes) GetExternalSellerId
func (x *ProductAttributes) GetExternalSellerId() stringfunc (*ProductAttributes) GetFreeShippingThreshold
func (x *ProductAttributes) GetFreeShippingThreshold() []*FreeShippingThresholdfunc (*ProductAttributes) GetGender
func (x *ProductAttributes) GetGender() Genderfunc (*ProductAttributes) GetGoogleProductCategory
func (x *ProductAttributes) GetGoogleProductCategory() stringfunc (*ProductAttributes) GetGtins
func (x *ProductAttributes) GetGtins() []stringfunc (*ProductAttributes) GetIdentifierExists
func (x *ProductAttributes) GetIdentifierExists() boolfunc (*ProductAttributes) GetImageLink
func (x *ProductAttributes) GetImageLink() stringfunc (*ProductAttributes) GetIncludedDestinations
func (x *ProductAttributes) GetIncludedDestinations() []typepb.Destination_DestinationEnumfunc (*ProductAttributes) GetInstallment
func (x *ProductAttributes) GetInstallment() *ProductInstallmentfunc (*ProductAttributes) GetIsBundle
func (x *ProductAttributes) GetIsBundle() boolfunc (*ProductAttributes) GetItemGroupId
func (x *ProductAttributes) GetItemGroupId() stringfunc (*ProductAttributes) GetLifestyleImageLinks
func (x *ProductAttributes) GetLifestyleImageLinks() []stringfunc (*ProductAttributes) GetLink
func (x *ProductAttributes) GetLink() stringfunc (*ProductAttributes) GetLinkTemplate
func (x *ProductAttributes) GetLinkTemplate() stringfunc (*ProductAttributes) GetLoyaltyPoints
func (x *ProductAttributes) GetLoyaltyPoints() *LoyaltyPointsfunc (*ProductAttributes) GetLoyaltyPrograms
func (x *ProductAttributes) GetLoyaltyPrograms() []*LoyaltyProgramfunc (*ProductAttributes) GetMaterial
func (x *ProductAttributes) GetMaterial() stringfunc (*ProductAttributes) GetMaxEnergyEfficiencyClass
func (x *ProductAttributes) GetMaxEnergyEfficiencyClass() EnergyEfficiencyClassfunc (*ProductAttributes) GetMaxHandlingTime
func (x *ProductAttributes) GetMaxHandlingTime() int64func (*ProductAttributes) GetMaximumRetailPrice
func (x *ProductAttributes) GetMaximumRetailPrice() *typepb.Pricefunc (*ProductAttributes) GetMinEnergyEfficiencyClass
func (x *ProductAttributes) GetMinEnergyEfficiencyClass() EnergyEfficiencyClassfunc (*ProductAttributes) GetMinHandlingTime
func (x *ProductAttributes) GetMinHandlingTime() int64func (*ProductAttributes) GetMobileLink
func (x *ProductAttributes) GetMobileLink() stringfunc (*ProductAttributes) GetMobileLinkTemplate
func (x *ProductAttributes) GetMobileLinkTemplate() stringfunc (*ProductAttributes) GetMpn
func (x *ProductAttributes) GetMpn() stringfunc (*ProductAttributes) GetMultipack
func (x *ProductAttributes) GetMultipack() int64func (*ProductAttributes) GetPattern
func (x *ProductAttributes) GetPattern() stringfunc (*ProductAttributes) GetPause
func (x *ProductAttributes) GetPause() Pausefunc (*ProductAttributes) GetPickupMethod
func (x *ProductAttributes) GetPickupMethod() PickupMethodfunc (*ProductAttributes) GetPickupSla
func (x *ProductAttributes) GetPickupSla() PickupSlafunc (*ProductAttributes) GetPrice
func (x *ProductAttributes) GetPrice() *typepb.Pricefunc (*ProductAttributes) GetProductDetails
func (x *ProductAttributes) GetProductDetails() []*ProductDetailfunc (*ProductAttributes) GetProductHeight
func (x *ProductAttributes) GetProductHeight() *ProductDimensionfunc (*ProductAttributes) GetProductHighlights
func (x *ProductAttributes) GetProductHighlights() []stringfunc (*ProductAttributes) GetProductLength
func (x *ProductAttributes) GetProductLength() *ProductDimensionfunc (*ProductAttributes) GetProductTypes
func (x *ProductAttributes) GetProductTypes() []stringfunc (*ProductAttributes) GetProductWeight
func (x *ProductAttributes) GetProductWeight() *ProductWeightfunc (*ProductAttributes) GetProductWidth
func (x *ProductAttributes) GetProductWidth() *ProductDimensionfunc (*ProductAttributes) GetPromotionIds
func (x *ProductAttributes) GetPromotionIds() []stringfunc (*ProductAttributes) GetSalePrice
func (x *ProductAttributes) GetSalePrice() *typepb.Pricefunc (*ProductAttributes) GetSalePriceEffectiveDate
func (x *ProductAttributes) GetSalePriceEffectiveDate() *interval.Intervalfunc (*ProductAttributes) GetSellOnGoogleQuantity
func (x *ProductAttributes) GetSellOnGoogleQuantity() int64func (*ProductAttributes) GetShipping
func (x *ProductAttributes) GetShipping() []*Shippingfunc (*ProductAttributes) GetShippingHeight
func (x *ProductAttributes) GetShippingHeight() *ShippingDimensionfunc (*ProductAttributes) GetShippingLabel
func (x *ProductAttributes) GetShippingLabel() stringfunc (*ProductAttributes) GetShippingLength
func (x *ProductAttributes) GetShippingLength() *ShippingDimensionfunc (*ProductAttributes) GetShippingWeight
func (x *ProductAttributes) GetShippingWeight() *ShippingWeightfunc (*ProductAttributes) GetShippingWidth
func (x *ProductAttributes) GetShippingWidth() *ShippingDimensionfunc (*ProductAttributes) GetShoppingAdsExcludedCountries
func (x *ProductAttributes) GetShoppingAdsExcludedCountries() []stringfunc (*ProductAttributes) GetSize
func (x *ProductAttributes) GetSize() stringfunc (*ProductAttributes) GetSizeSystem
func (x *ProductAttributes) GetSizeSystem() SizeSystemfunc (*ProductAttributes) GetSizeTypes
func (x *ProductAttributes) GetSizeTypes() []SizeTypefunc (*ProductAttributes) GetStructuredDescription
func (x *ProductAttributes) GetStructuredDescription() *StructuredDescriptionfunc (*ProductAttributes) GetStructuredTitle
func (x *ProductAttributes) GetStructuredTitle() *StructuredTitlefunc (*ProductAttributes) GetSubscriptionCost
func (x *ProductAttributes) GetSubscriptionCost() *SubscriptionCostfunc (*ProductAttributes) GetSustainabilityIncentives
func (x *ProductAttributes) GetSustainabilityIncentives() []*ProductSustainabilityIncentivefunc (*ProductAttributes) GetTitle
func (x *ProductAttributes) GetTitle() stringfunc (*ProductAttributes) GetTransitTimeLabel
func (x *ProductAttributes) GetTransitTimeLabel() stringfunc (*ProductAttributes) GetUnitPricingBaseMeasure
func (x *ProductAttributes) GetUnitPricingBaseMeasure() *UnitPricingBaseMeasurefunc (*ProductAttributes) GetUnitPricingMeasure
func (x *ProductAttributes) GetUnitPricingMeasure() *UnitPricingMeasurefunc (*ProductAttributes) GetVirtualModelLink
func (x *ProductAttributes) GetVirtualModelLink() stringfunc (*ProductAttributes) ProtoMessage
func (*ProductAttributes) ProtoMessage()func (*ProductAttributes) ProtoReflect
func (x *ProductAttributes) ProtoReflect() protoreflect.Messagefunc (*ProductAttributes) Reset
func (x *ProductAttributes) Reset()func (*ProductAttributes) String
func (x *ProductAttributes) String() stringProductAttributes_CarrierPriceOption
type ProductAttributes_CarrierPriceOption int32Possible carrier where price is coming from.
ProductAttributes_CARRIER_PRICE_OPTION_UNSPECIFIED, ProductAttributes_AUSTRALIA_POST_REGULAR, ProductAttributes_AUSTRALIA_POST_EXPRESS, ProductAttributes_AUSTRALIA_POST_REGULAR_S, ProductAttributes_AUSTRALIA_POST_REGULAR_M, ProductAttributes_AUSTRALIA_POST_REGULAR_L, ProductAttributes_AUSTRALIA_POST_REGULAR_XL, ProductAttributes_AUSTRALIA_POST_EXPRESS_S, ProductAttributes_AUSTRALIA_POST_EXPRESS_M, ProductAttributes_AUSTRALIA_POST_EXPRESS_L, ProductAttributes_AUSTRALIA_POST_EXPRESS_XL, ProductAttributes_TNT_ROAD_EXPRESS, ProductAttributes_TNT_OVERNIGHT_EXPRESS, ProductAttributes_TOLL_ROAD_DELIVERY, ProductAttributes_TOLL_OVERNIGHT_PRIORITY, ProductAttributes_DHL_PAKET, ProductAttributes_DHL_PACKCHEN, ProductAttributes_DPD_EXPRESS_12, ProductAttributes_DPD_EXPRESS, ProductAttributes_DPD_CLASSIC_PARCEL, ProductAttributes_HERMES_PACKCHEN, ProductAttributes_HERMES_PAKETKLASSE_S, ProductAttributes_HERMES_PAKETKLASSE_M, ProductAttributes_HERMES_PAKETKLASSE_L, ProductAttributes_UPS_EXPRESS, ProductAttributes_UPS_EXPRESS_SAVER, ProductAttributes_UPS_EXPRESS_STANDARD, ProductAttributes_DHL_EXPRESS, ProductAttributes_DHL_EXPRESS_12, ProductAttributes_DPD_NEXT_DAY, ProductAttributes_DPD_STANDARD_NEXT_DAY, ProductAttributes_DPD_STANDARD_TWO_DAY, ProductAttributes_RMG_1ST_CLASS_SMALL, ProductAttributes_RMG_1ST_CLASS_MEDIUM, ProductAttributes_RMG_2ND_CLASS_SMALL, ProductAttributes_RMG_2ND_CLASS_MEDIUM, ProductAttributes_TNT_EXPRESS, ProductAttributes_TNT_EXPRESS_10, ProductAttributes_TNT_EXPRESS_12, ProductAttributes_YODEL_B2C_48HR, ProductAttributes_YODEL_B2C_72HR, ProductAttributes_YODEL_B2C_PACKET, ProductAttributes_FEDEX_GROUND, ProductAttributes_FEDEX_HOME_DELIVERY, ProductAttributes_FEDEX_EXPRESS_SAVER, ProductAttributes_FEDEX_FIRST_OVERNIGHT, ProductAttributes_FEDEX_PRIORITY_OVERNIGHT, ProductAttributes_FEDEX_STANDARD_OVERNIGHT, ProductAttributes_FEDEX_2DAY, ProductAttributes_UPS_STANDARD, ProductAttributes_UPS_2ND_DAY_AIR, ProductAttributes_UPS_2ND_DAY_AM, ProductAttributes_UPS_3_DAY_SELECT, ProductAttributes_UPS_GROUND, ProductAttributes_UPS_NEXT_DAY_AIR, ProductAttributes_UPS_NEXT_DAY_AIR_EARLY_AM, ProductAttributes_UPS_NEXT_DAY_AIR_SAVER, ProductAttributes_USPS_PRIORITY_MAIL_EXPRESS, ProductAttributes_USPS_MEDIA_MAIL, ProductAttributes_USPS_GROUND_ADVANTAGE_RETAIL, ProductAttributes_USPS_PRIORITY_MAIL, ProductAttributes_USPS_GROUND_ADVANTAGE_COMMERCIAL
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
func (ProductAttributes_CarrierPriceOption) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_CarrierPriceOption) Enum
func (x ProductAttributes_CarrierPriceOption) Enum() *ProductAttributes_CarrierPriceOptionfunc (ProductAttributes_CarrierPriceOption) EnumDescriptor
func (ProductAttributes_CarrierPriceOption) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_CarrierPriceOption.Descriptor instead.
func (ProductAttributes_CarrierPriceOption) Number
func (x ProductAttributes_CarrierPriceOption) Number() protoreflect.EnumNumberfunc (ProductAttributes_CarrierPriceOption) String
func (x ProductAttributes_CarrierPriceOption) String() stringfunc (ProductAttributes_CarrierPriceOption) Type
func (ProductAttributes_CarrierPriceOption) Type() protoreflect.EnumTypeProductAttributes_CarrierShipping
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 `protobuf:"varint,6,opt,name=carrier_price,json=carrierPrice,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_CarrierPriceOption,oneof" json:"carrier_price,omitempty"`
// 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 `protobuf:"bytes,7,opt,name=carrier_price_flat_adjustment,json=carrierPriceFlatAdjustment,proto3,oneof" json:"carrier_price_flat_adjustment,omitempty"`
// 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 `protobuf:"fixed64,8,opt,name=carrier_price_percentage_adjustment,json=carrierPricePercentageAdjustment,proto3,oneof" json:"carrier_price_percentage_adjustment,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.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 `protobuf:"varint,11,opt,name=fixed_min_transit_time,json=fixedMinTransitTime,proto3,oneof" json:"fixed_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. 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 `protobuf:"varint,12,opt,name=fixed_max_transit_time,json=fixedMaxTransitTime,proto3,oneof" json:"fixed_max_transit_time,omitempty"`
// 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 `protobuf:"varint,13,opt,name=carrier_transit_time,json=carrierTransitTime,proto3,enum=google.shopping.merchant.products.v1.CarrierTransitTimeOption,oneof" json:"carrier_transit_time,omitempty"`
// 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
func (*ProductAttributes_CarrierShipping) Descriptor() ([]byte, []int)Deprecated: Use ProductAttributes_CarrierShipping.ProtoReflect.Descriptor instead.
func (*ProductAttributes_CarrierShipping) GetCarrierPrice
func (x *ProductAttributes_CarrierShipping) GetCarrierPrice() ProductAttributes_CarrierPriceOptionfunc (*ProductAttributes_CarrierShipping) GetCarrierPriceFlatAdjustment
func (x *ProductAttributes_CarrierShipping) GetCarrierPriceFlatAdjustment() *typepb.Pricefunc (*ProductAttributes_CarrierShipping) GetCarrierPricePercentageAdjustment
func (x *ProductAttributes_CarrierShipping) GetCarrierPricePercentageAdjustment() float64func (*ProductAttributes_CarrierShipping) GetCarrierTransitTime
func (x *ProductAttributes_CarrierShipping) GetCarrierTransitTime() CarrierTransitTimeOptionfunc (*ProductAttributes_CarrierShipping) GetCountry
func (x *ProductAttributes_CarrierShipping) GetCountry() stringfunc (*ProductAttributes_CarrierShipping) GetFixedMaxTransitTime
func (x *ProductAttributes_CarrierShipping) GetFixedMaxTransitTime() int64func (*ProductAttributes_CarrierShipping) GetFixedMinTransitTime
func (x *ProductAttributes_CarrierShipping) GetFixedMinTransitTime() int64func (*ProductAttributes_CarrierShipping) GetFlatPrice
func (x *ProductAttributes_CarrierShipping) GetFlatPrice() *typepb.Pricefunc (*ProductAttributes_CarrierShipping) GetMaxHandlingTime
func (x *ProductAttributes_CarrierShipping) GetMaxHandlingTime() int64func (*ProductAttributes_CarrierShipping) GetMinHandlingTime
func (x *ProductAttributes_CarrierShipping) GetMinHandlingTime() int64func (*ProductAttributes_CarrierShipping) GetOriginPostalCode
func (x *ProductAttributes_CarrierShipping) GetOriginPostalCode() stringfunc (*ProductAttributes_CarrierShipping) GetPostalCode
func (x *ProductAttributes_CarrierShipping) GetPostalCode() stringfunc (*ProductAttributes_CarrierShipping) GetRegion
func (x *ProductAttributes_CarrierShipping) GetRegion() stringfunc (*ProductAttributes_CarrierShipping) ProtoMessage
func (*ProductAttributes_CarrierShipping) ProtoMessage()func (*ProductAttributes_CarrierShipping) ProtoReflect
func (x *ProductAttributes_CarrierShipping) ProtoReflect() protoreflect.Messagefunc (*ProductAttributes_CarrierShipping) Reset
func (x *ProductAttributes_CarrierShipping) Reset()func (*ProductAttributes_CarrierShipping) String
func (x *ProductAttributes_CarrierShipping) String() stringProductCertification
type ProductCertification struct {
// The certification authority.
CertificationAuthority *CertificationAuthority `protobuf:"varint,1,opt,name=certification_authority,json=certificationAuthority,proto3,enum=google.shopping.merchant.products.v1.CertificationAuthority,oneof" json:"certification_authority,omitempty"`
// The name of the certification.
CertificationName *CertificationName `protobuf:"varint,2,opt,name=certification_name,json=certificationName,proto3,enum=google.shopping.merchant.products.v1.CertificationName,oneof" json:"certification_name,omitempty"`
// 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, initially introduced for EU energy efficiency labeling compliance using the EU EPREL database.
func (*ProductCertification) Descriptor
func (*ProductCertification) Descriptor() ([]byte, []int)Deprecated: Use ProductCertification.ProtoReflect.Descriptor instead.
func (*ProductCertification) GetCertificationAuthority
func (x *ProductCertification) GetCertificationAuthority() CertificationAuthorityfunc (*ProductCertification) GetCertificationCode
func (x *ProductCertification) GetCertificationCode() stringfunc (*ProductCertification) GetCertificationName
func (x *ProductCertification) GetCertificationName() CertificationNamefunc (*ProductCertification) GetCertificationValue
func (x *ProductCertification) GetCertificationValue() stringfunc (*ProductCertification) ProtoMessage
func (*ProductCertification) ProtoMessage()func (*ProductCertification) ProtoReflect
func (x *ProductCertification) ProtoReflect() protoreflect.Messagefunc (*ProductCertification) Reset
func (x *ProductCertification) Reset()func (*ProductCertification) String
func (x *ProductCertification) String() stringProductDetail
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
func (*ProductDetail) Descriptor() ([]byte, []int)Deprecated: Use ProductDetail.ProtoReflect.Descriptor instead.
func (*ProductDetail) GetAttributeName
func (x *ProductDetail) GetAttributeName() stringfunc (*ProductDetail) GetAttributeValue
func (x *ProductDetail) GetAttributeValue() stringfunc (*ProductDetail) GetSectionName
func (x *ProductDetail) GetSectionName() stringfunc (*ProductDetail) ProtoMessage
func (*ProductDetail) ProtoMessage()func (*ProductDetail) ProtoReflect
func (x *ProductDetail) ProtoReflect() protoreflect.Messagefunc (*ProductDetail) Reset
func (x *ProductDetail) Reset()func (*ProductDetail) String
func (x *ProductDetail) String() stringProductDimension
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
func (*ProductDimension) Descriptor() ([]byte, []int)Deprecated: Use ProductDimension.ProtoReflect.Descriptor instead.
func (*ProductDimension) GetUnit
func (x *ProductDimension) GetUnit() stringfunc (*ProductDimension) GetValue
func (x *ProductDimension) GetValue() float64func (*ProductDimension) ProtoMessage
func (*ProductDimension) ProtoMessage()func (*ProductDimension) ProtoReflect
func (x *ProductDimension) ProtoReflect() protoreflect.Messagefunc (*ProductDimension) Reset
func (x *ProductDimension) Reset()func (*ProductDimension) String
func (x *ProductDimension) String() stringProductInput
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
func (*ProductInput) Descriptor() ([]byte, []int)Deprecated: Use ProductInput.ProtoReflect.Descriptor instead.
func (*ProductInput) GetContentLanguage
func (x *ProductInput) GetContentLanguage() stringfunc (*ProductInput) GetCustomAttributes
func (x *ProductInput) GetCustomAttributes() []*typepb.CustomAttributefunc (*ProductInput) GetFeedLabel
func (x *ProductInput) GetFeedLabel() stringfunc (*ProductInput) GetLegacyLocal
func (x *ProductInput) GetLegacyLocal() boolfunc (*ProductInput) GetName
func (x *ProductInput) GetName() stringfunc (*ProductInput) GetOfferId
func (x *ProductInput) GetOfferId() stringfunc (*ProductInput) GetProduct
func (x *ProductInput) GetProduct() stringfunc (*ProductInput) GetProductAttributes
func (x *ProductInput) GetProductAttributes() *ProductAttributesfunc (*ProductInput) GetVersionNumber
func (x *ProductInput) GetVersionNumber() int64func (*ProductInput) ProtoMessage
func (*ProductInput) ProtoMessage()func (*ProductInput) ProtoReflect
func (x *ProductInput) ProtoReflect() protoreflect.Messagefunc (*ProductInput) Reset
func (x *ProductInput) Reset()func (*ProductInput) String
func (x *ProductInput) String() stringProductInputsServiceClient
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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewProductInputsServiceClient
func NewProductInputsServiceClient(cc grpc.ClientConnInterface) ProductInputsServiceClientProductInputsServiceServer
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. All implementations should embed UnimplementedProductInputsServiceServer for forward compatibility
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 `protobuf:"varint,4,opt,name=credit_type,json=creditType,proto3,enum=google.shopping.merchant.products.v1.CreditType,oneof" json:"credit_type,omitempty"`
// contains filtered or unexported fields
}A message that represents installment.
func (*ProductInstallment) Descriptor
func (*ProductInstallment) Descriptor() ([]byte, []int)Deprecated: Use ProductInstallment.ProtoReflect.Descriptor instead.
func (*ProductInstallment) GetAmount
func (x *ProductInstallment) GetAmount() *typepb.Pricefunc (*ProductInstallment) GetCreditType
func (x *ProductInstallment) GetCreditType() CreditTypefunc (*ProductInstallment) GetDownpayment
func (x *ProductInstallment) GetDownpayment() *typepb.Pricefunc (*ProductInstallment) GetMonths
func (x *ProductInstallment) GetMonths() int64func (*ProductInstallment) ProtoMessage
func (*ProductInstallment) ProtoMessage()func (*ProductInstallment) ProtoReflect
func (x *ProductInstallment) ProtoReflect() protoreflect.Messagefunc (*ProductInstallment) Reset
func (x *ProductInstallment) Reset()func (*ProductInstallment) String
func (x *ProductInstallment) String() stringProductStatus
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
func (*ProductStatus) Descriptor() ([]byte, []int)Deprecated: Use ProductStatus.ProtoReflect.Descriptor instead.
func (*ProductStatus) GetCreationDate
func (x *ProductStatus) GetCreationDate() *timestamppb.Timestampfunc (*ProductStatus) GetDestinationStatuses
func (x *ProductStatus) GetDestinationStatuses() []*ProductStatus_DestinationStatusfunc (*ProductStatus) GetGoogleExpirationDate
func (x *ProductStatus) GetGoogleExpirationDate() *timestamppb.Timestampfunc (*ProductStatus) GetItemLevelIssues
func (x *ProductStatus) GetItemLevelIssues() []*ProductStatus_ItemLevelIssuefunc (*ProductStatus) GetLastUpdateDate
func (x *ProductStatus) GetLastUpdateDate() *timestamppb.Timestampfunc (*ProductStatus) ProtoMessage
func (*ProductStatus) ProtoMessage()func (*ProductStatus) ProtoReflect
func (x *ProductStatus) ProtoReflect() protoreflect.Messagefunc (*ProductStatus) Reset
func (x *ProductStatus) Reset()func (*ProductStatus) String
func (x *ProductStatus) String() stringProductStatus_DestinationStatus
type ProductStatus_DestinationStatus struct {
// The name of the reporting context.
ReportingContext typepb.ReportingContext_ReportingContextEnum `protobuf:"varint,1,opt,name=reporting_context,json=reportingContext,proto3,enum=google.shopping.type.ReportingContext_ReportingContextEnum" json:"reporting_context,omitempty"`
// 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
func (*ProductStatus_DestinationStatus) Descriptor() ([]byte, []int)Deprecated: Use ProductStatus_DestinationStatus.ProtoReflect.Descriptor instead.
func (*ProductStatus_DestinationStatus) GetApprovedCountries
func (x *ProductStatus_DestinationStatus) GetApprovedCountries() []stringfunc (*ProductStatus_DestinationStatus) GetDisapprovedCountries
func (x *ProductStatus_DestinationStatus) GetDisapprovedCountries() []stringfunc (*ProductStatus_DestinationStatus) GetPendingCountries
func (x *ProductStatus_DestinationStatus) GetPendingCountries() []stringfunc (*ProductStatus_DestinationStatus) GetReportingContext
func (x *ProductStatus_DestinationStatus) GetReportingContext() typepb.ReportingContext_ReportingContextEnumfunc (*ProductStatus_DestinationStatus) ProtoMessage
func (*ProductStatus_DestinationStatus) ProtoMessage()func (*ProductStatus_DestinationStatus) ProtoReflect
func (x *ProductStatus_DestinationStatus) ProtoReflect() protoreflect.Messagefunc (*ProductStatus_DestinationStatus) Reset
func (x *ProductStatus_DestinationStatus) Reset()func (*ProductStatus_DestinationStatus) String
func (x *ProductStatus_DestinationStatus) String() stringProductStatus_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 `protobuf:"varint,2,opt,name=severity,proto3,enum=google.shopping.merchant.products.v1.ProductStatus_ItemLevelIssue_Severity" json:"severity,omitempty"`
// 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 `protobuf:"varint,5,opt,name=reporting_context,json=reportingContext,proto3,enum=google.shopping.type.ReportingContext_ReportingContextEnum" json:"reporting_context,omitempty"`
// 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
func (*ProductStatus_ItemLevelIssue) Descriptor() ([]byte, []int)Deprecated: Use ProductStatus_ItemLevelIssue.ProtoReflect.Descriptor instead.
func (*ProductStatus_ItemLevelIssue) GetApplicableCountries
func (x *ProductStatus_ItemLevelIssue) GetApplicableCountries() []stringfunc (*ProductStatus_ItemLevelIssue) GetAttribute
func (x *ProductStatus_ItemLevelIssue) GetAttribute() stringfunc (*ProductStatus_ItemLevelIssue) GetCode
func (x *ProductStatus_ItemLevelIssue) GetCode() stringfunc (*ProductStatus_ItemLevelIssue) GetDescription
func (x *ProductStatus_ItemLevelIssue) GetDescription() stringfunc (*ProductStatus_ItemLevelIssue) GetDetail
func (x *ProductStatus_ItemLevelIssue) GetDetail() stringfunc (*ProductStatus_ItemLevelIssue) GetDocumentation
func (x *ProductStatus_ItemLevelIssue) GetDocumentation() stringfunc (*ProductStatus_ItemLevelIssue) GetReportingContext
func (x *ProductStatus_ItemLevelIssue) GetReportingContext() typepb.ReportingContext_ReportingContextEnumfunc (*ProductStatus_ItemLevelIssue) GetResolution
func (x *ProductStatus_ItemLevelIssue) GetResolution() stringfunc (*ProductStatus_ItemLevelIssue) GetSeverity
func (x *ProductStatus_ItemLevelIssue) GetSeverity() ProductStatus_ItemLevelIssue_Severityfunc (*ProductStatus_ItemLevelIssue) ProtoMessage
func (*ProductStatus_ItemLevelIssue) ProtoMessage()func (*ProductStatus_ItemLevelIssue) ProtoReflect
func (x *ProductStatus_ItemLevelIssue) ProtoReflect() protoreflect.Messagefunc (*ProductStatus_ItemLevelIssue) Reset
func (x *ProductStatus_ItemLevelIssue) Reset()func (*ProductStatus_ItemLevelIssue) String
func (x *ProductStatus_ItemLevelIssue) String() stringProductStatus_ItemLevelIssue_Severity
type ProductStatus_ItemLevelIssue_Severity int32How the issue affects the serving of the product.
ProductStatus_ItemLevelIssue_SEVERITY_UNSPECIFIED, ProductStatus_ItemLevelIssue_NOT_IMPACTED, ProductStatus_ItemLevelIssue_DEMOTED, ProductStatus_ItemLevelIssue_DISAPPROVED
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.EnumDescriptorfunc (ProductStatus_ItemLevelIssue_Severity) Enum
func (ProductStatus_ItemLevelIssue_Severity) EnumDescriptor
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.EnumNumberfunc (ProductStatus_ItemLevelIssue_Severity) String
func (x ProductStatus_ItemLevelIssue_Severity) String() stringfunc (ProductStatus_ItemLevelIssue_Severity) Type
func (ProductStatus_ItemLevelIssue_Severity) Type() protoreflect.EnumTypeProductSustainabilityIncentive
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 `protobuf:"varint,1,opt,name=type,proto3,enum=google.shopping.merchant.products.v1.ProductSustainabilityIncentive_Type,oneof" json:"type,omitempty"`
// contains filtered or unexported fields
}Information regarding sustainability-related incentive programs such as rebates or tax relief.
func (*ProductSustainabilityIncentive) Descriptor
func (*ProductSustainabilityIncentive) Descriptor() ([]byte, []int)Deprecated: Use ProductSustainabilityIncentive.ProtoReflect.Descriptor instead.
func (*ProductSustainabilityIncentive) GetAmount
func (x *ProductSustainabilityIncentive) GetAmount() *typepb.Pricefunc (*ProductSustainabilityIncentive) GetPercentage
func (x *ProductSustainabilityIncentive) GetPercentage() float64func (*ProductSustainabilityIncentive) GetType
func (x *ProductSustainabilityIncentive) GetType() ProductSustainabilityIncentive_Typefunc (*ProductSustainabilityIncentive) GetValue
func (m *ProductSustainabilityIncentive) GetValue() isProductSustainabilityIncentive_Valuefunc (*ProductSustainabilityIncentive) ProtoMessage
func (*ProductSustainabilityIncentive) ProtoMessage()func (*ProductSustainabilityIncentive) ProtoReflect
func (x *ProductSustainabilityIncentive) ProtoReflect() protoreflect.Messagefunc (*ProductSustainabilityIncentive) Reset
func (x *ProductSustainabilityIncentive) Reset()func (*ProductSustainabilityIncentive) String
func (x *ProductSustainabilityIncentive) String() stringProductSustainabilityIncentive_Amount
type ProductSustainabilityIncentive_Amount struct {
// The fixed amount of the incentive.
Amount *typepb.Price `protobuf:"bytes,2,opt,name=amount,proto3,oneof"`
}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"`
}ProductSustainabilityIncentive_Type
type ProductSustainabilityIncentive_Type int32Types of supported sustainability incentive programs.
ProductSustainabilityIncentive_TYPE_UNSPECIFIED, ProductSustainabilityIncentive_EV_TAX_CREDIT, ProductSustainabilityIncentive_EV_PRICE_DISCOUNT
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.EnumDescriptorfunc (ProductSustainabilityIncentive_Type) Enum
func (x ProductSustainabilityIncentive_Type) Enum() *ProductSustainabilityIncentive_Typefunc (ProductSustainabilityIncentive_Type) EnumDescriptor
func (ProductSustainabilityIncentive_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductSustainabilityIncentive_Type.Descriptor instead.
func (ProductSustainabilityIncentive_Type) Number
func (x ProductSustainabilityIncentive_Type) Number() protoreflect.EnumNumberfunc (ProductSustainabilityIncentive_Type) String
func (x ProductSustainabilityIncentive_Type) String() stringfunc (ProductSustainabilityIncentive_Type) Type
func (ProductSustainabilityIncentive_Type) Type() protoreflect.EnumTypeProductWeight
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
func (*ProductWeight) Descriptor() ([]byte, []int)Deprecated: Use ProductWeight.ProtoReflect.Descriptor instead.
func (*ProductWeight) GetUnit
func (x *ProductWeight) GetUnit() stringfunc (*ProductWeight) GetValue
func (x *ProductWeight) GetValue() float64func (*ProductWeight) ProtoMessage
func (*ProductWeight) ProtoMessage()func (*ProductWeight) ProtoReflect
func (x *ProductWeight) ProtoReflect() protoreflect.Messagefunc (*ProductWeight) Reset
func (x *ProductWeight) Reset()func (*ProductWeight) String
func (x *ProductWeight) String() stringProductsServiceClient
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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewProductsServiceClient
func NewProductsServiceClient(cc grpc.ClientConnInterface) ProductsServiceClientProductsServiceServer
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. All implementations should embed UnimplementedProductsServiceServer for forward compatibility
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: Use Shipping.ProtoReflect.Descriptor instead.
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) GetPrice
func (*Shipping) GetRegion
func (*Shipping) GetService
func (*Shipping) ProtoMessage
func (*Shipping) ProtoMessage()func (*Shipping) ProtoReflect
func (x *Shipping) ProtoReflect() protoreflect.Messagefunc (*Shipping) Reset
func (x *Shipping) Reset()func (*Shipping) String
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
func (*ShippingDimension) Descriptor() ([]byte, []int)Deprecated: Use ShippingDimension.ProtoReflect.Descriptor instead.
func (*ShippingDimension) GetUnit
func (x *ShippingDimension) GetUnit() stringfunc (*ShippingDimension) GetValue
func (x *ShippingDimension) GetValue() float64func (*ShippingDimension) ProtoMessage
func (*ShippingDimension) ProtoMessage()func (*ShippingDimension) ProtoReflect
func (x *ShippingDimension) ProtoReflect() protoreflect.Messagefunc (*ShippingDimension) Reset
func (x *ShippingDimension) Reset()func (*ShippingDimension) String
func (x *ShippingDimension) String() stringShippingWeight
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
func (*ShippingWeight) Descriptor() ([]byte, []int)Deprecated: Use ShippingWeight.ProtoReflect.Descriptor instead.
func (*ShippingWeight) GetUnit
func (x *ShippingWeight) GetUnit() stringfunc (*ShippingWeight) GetValue
func (x *ShippingWeight) GetValue() float64func (*ShippingWeight) ProtoMessage
func (*ShippingWeight) ProtoMessage()func (*ShippingWeight) ProtoReflect
func (x *ShippingWeight) ProtoReflect() protoreflect.Messagefunc (*ShippingWeight) Reset
func (x *ShippingWeight) Reset()func (*ShippingWeight) String
func (x *ShippingWeight) String() stringSizeSystem
type SizeSystem int32System in which the size is specified. Recommended for apparel items. For more information, see Size system.
SizeSystem_SIZE_SYSTEM_UNSPECIFIED, SizeSystem_AU, SizeSystem_BR, SizeSystem_CN, SizeSystem_DE, SizeSystem_EU, SizeSystem_FR, SizeSystem_IT, SizeSystem_JP, SizeSystem_MEX, SizeSystem_UK, SizeSystem_US
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.EnumDescriptorfunc (SizeSystem) Enum
func (x SizeSystem) Enum() *SizeSystemfunc (SizeSystem) EnumDescriptor
func (SizeSystem) EnumDescriptor() ([]byte, []int)Deprecated: Use SizeSystem.Descriptor instead.
func (SizeSystem) Number
func (x SizeSystem) Number() protoreflect.EnumNumberfunc (SizeSystem) String
func (x SizeSystem) String() stringfunc (SizeSystem) Type
func (SizeSystem) Type() protoreflect.EnumTypeSizeType
type SizeType int32The 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.
SizeType_SIZE_TYPE_UNSPECIFIED, SizeType_REGULAR, SizeType_PETITE, SizeType_MATERNITY, SizeType_BIG, SizeType_TALL, SizeType_PLUS
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.EnumDescriptorfunc (SizeType) Enum
func (SizeType) EnumDescriptor
Deprecated: Use SizeType.Descriptor instead.
func (SizeType) Number
func (x SizeType) Number() protoreflect.EnumNumberfunc (SizeType) String
func (SizeType) Type
func (SizeType) Type() protoreflect.EnumTypeStructuredDescription
type StructuredDescription struct {
// The digital source type.
// Following [IPTC](https://cv.iptc.org/newscodes/digitalsourcetype).
DigitalSourceType *DigitalSourceType `protobuf:"varint,1,opt,name=digital_source_type,json=digitalSourceType,proto3,enum=google.shopping.merchant.products.v1.DigitalSourceType,oneof" json:"digital_source_type,omitempty"`
// 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
func (*StructuredDescription) Descriptor() ([]byte, []int)Deprecated: Use StructuredDescription.ProtoReflect.Descriptor instead.
func (*StructuredDescription) GetContent
func (x *StructuredDescription) GetContent() stringfunc (*StructuredDescription) GetDigitalSourceType
func (x *StructuredDescription) GetDigitalSourceType() DigitalSourceTypefunc (*StructuredDescription) ProtoMessage
func (*StructuredDescription) ProtoMessage()func (*StructuredDescription) ProtoReflect
func (x *StructuredDescription) ProtoReflect() protoreflect.Messagefunc (*StructuredDescription) Reset
func (x *StructuredDescription) Reset()func (*StructuredDescription) String
func (x *StructuredDescription) String() stringStructuredTitle
type StructuredTitle struct {
// The digital source type.
// Following [IPTC](https://cv.iptc.org/newscodes/digitalsourcetype).
DigitalSourceType *DigitalSourceType `protobuf:"varint,1,opt,name=digital_source_type,json=digitalSourceType,proto3,enum=google.shopping.merchant.products.v1.DigitalSourceType,oneof" json:"digital_source_type,omitempty"`
// 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
func (*StructuredTitle) Descriptor() ([]byte, []int)Deprecated: Use StructuredTitle.ProtoReflect.Descriptor instead.
func (*StructuredTitle) GetContent
func (x *StructuredTitle) GetContent() stringfunc (*StructuredTitle) GetDigitalSourceType
func (x *StructuredTitle) GetDigitalSourceType() DigitalSourceTypefunc (*StructuredTitle) ProtoMessage
func (*StructuredTitle) ProtoMessage()func (*StructuredTitle) ProtoReflect
func (x *StructuredTitle) ProtoReflect() protoreflect.Messagefunc (*StructuredTitle) Reset
func (x *StructuredTitle) Reset()func (*StructuredTitle) String
func (x *StructuredTitle) String() stringSubscriptionCost
type SubscriptionCost struct {
// The type of subscription period.
// Supported values are:
// - "`month`"
// - "`year`"
Period SubscriptionPeriod `protobuf:"varint,1,opt,name=period,proto3,enum=google.shopping.merchant.products.v1.SubscriptionPeriod" json:"period,omitempty"`
// 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
func (*SubscriptionCost) Descriptor() ([]byte, []int)Deprecated: Use SubscriptionCost.ProtoReflect.Descriptor instead.
func (*SubscriptionCost) GetAmount
func (x *SubscriptionCost) GetAmount() *typepb.Pricefunc (*SubscriptionCost) GetPeriod
func (x *SubscriptionCost) GetPeriod() SubscriptionPeriodfunc (*SubscriptionCost) GetPeriodLength
func (x *SubscriptionCost) GetPeriodLength() int64func (*SubscriptionCost) ProtoMessage
func (*SubscriptionCost) ProtoMessage()func (*SubscriptionCost) ProtoReflect
func (x *SubscriptionCost) ProtoReflect() protoreflect.Messagefunc (*SubscriptionCost) Reset
func (x *SubscriptionCost) Reset()func (*SubscriptionCost) String
func (x *SubscriptionCost) String() stringSubscriptionPeriod
type SubscriptionPeriod int32The subscription period of the product.
SubscriptionPeriod_SUBSCRIPTION_PERIOD_UNSPECIFIED, SubscriptionPeriod_MONTH, SubscriptionPeriod_YEAR
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.EnumDescriptorfunc (SubscriptionPeriod) Enum
func (x SubscriptionPeriod) Enum() *SubscriptionPeriodfunc (SubscriptionPeriod) EnumDescriptor
func (SubscriptionPeriod) EnumDescriptor() ([]byte, []int)Deprecated: Use SubscriptionPeriod.Descriptor instead.
func (SubscriptionPeriod) Number
func (x SubscriptionPeriod) Number() protoreflect.EnumNumberfunc (SubscriptionPeriod) String
func (x SubscriptionPeriod) String() stringfunc (SubscriptionPeriod) Type
func (SubscriptionPeriod) Type() protoreflect.EnumTypeUnimplementedProductInputsServiceServer
type UnimplementedProductInputsServiceServer struct {
}UnimplementedProductInputsServiceServer should 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)UnimplementedProductsServiceServer
type UnimplementedProductsServiceServer struct {
}UnimplementedProductsServiceServer should 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)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
func (*UnitPricingBaseMeasure) Descriptor() ([]byte, []int)Deprecated: Use UnitPricingBaseMeasure.ProtoReflect.Descriptor instead.
func (*UnitPricingBaseMeasure) GetUnit
func (x *UnitPricingBaseMeasure) GetUnit() stringfunc (*UnitPricingBaseMeasure) GetValue
func (x *UnitPricingBaseMeasure) GetValue() int64func (*UnitPricingBaseMeasure) ProtoMessage
func (*UnitPricingBaseMeasure) ProtoMessage()func (*UnitPricingBaseMeasure) ProtoReflect
func (x *UnitPricingBaseMeasure) ProtoReflect() protoreflect.Messagefunc (*UnitPricingBaseMeasure) Reset
func (x *UnitPricingBaseMeasure) Reset()func (*UnitPricingBaseMeasure) String
func (x *UnitPricingBaseMeasure) String() stringUnitPricingMeasure
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
func (*UnitPricingMeasure) Descriptor() ([]byte, []int)Deprecated: Use UnitPricingMeasure.ProtoReflect.Descriptor instead.
func (*UnitPricingMeasure) GetUnit
func (x *UnitPricingMeasure) GetUnit() stringfunc (*UnitPricingMeasure) GetValue
func (x *UnitPricingMeasure) GetValue() float64func (*UnitPricingMeasure) ProtoMessage
func (*UnitPricingMeasure) ProtoMessage()func (*UnitPricingMeasure) ProtoReflect
func (x *UnitPricingMeasure) ProtoReflect() protoreflect.Messagefunc (*UnitPricingMeasure) Reset
func (x *UnitPricingMeasure) Reset()func (*UnitPricingMeasure) String
func (x *UnitPricingMeasure) String() stringUnsafeProductInputsServiceServer
type UnsafeProductInputsServiceServer interface {
// contains filtered or unexported methods
}UnsafeProductInputsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProductInputsServiceServer will result in compilation errors.
UnsafeProductsServiceServer
type UnsafeProductsServiceServer interface {
// contains filtered or unexported methods
}UnsafeProductsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProductsServiceServer will result in compilation errors.
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
func (*UpdateProductInputRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateProductInputRequest.ProtoReflect.Descriptor instead.
func (*UpdateProductInputRequest) GetDataSource
func (x *UpdateProductInputRequest) GetDataSource() stringfunc (*UpdateProductInputRequest) GetProductInput
func (x *UpdateProductInputRequest) GetProductInput() *ProductInputfunc (*UpdateProductInputRequest) GetUpdateMask
func (x *UpdateProductInputRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateProductInputRequest) ProtoMessage
func (*UpdateProductInputRequest) ProtoMessage()func (*UpdateProductInputRequest) ProtoReflect
func (x *UpdateProductInputRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateProductInputRequest) Reset
func (x *UpdateProductInputRequest) Reset()func (*UpdateProductInputRequest) String
func (x *UpdateProductInputRequest) String() string