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",
3: "WEEK",
}
SubscriptionPeriod_value = map[string]int32{
"SUBSCRIPTION_PERIOD_UNSPECIFIED": 0,
"MONTH": 1,
"YEAR": 2,
"WEEK": 3,
}
)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.
ProductAttributes_VehicleBodyStyle_name, ProductAttributes_VehicleBodyStyle_value
var (
ProductAttributes_VehicleBodyStyle_name = map[int32]string{
0: "VEHICLE_BODY_STYLE_UNSPECIFIED",
1: "ATV_SPORT",
2: "ATV_TOURING",
3: "ATV_UTILITY",
4: "ATV_YOUTH",
5: "CITY_CAR",
6: "CLASS_A_MOTORHOME",
7: "CLASS_B_MOTORHOME",
8: "CLASS_C_MOTORHOME",
9: "COMPACT_SUV",
10: "CONVERTIBLE",
11: "COUPE",
12: "CROSSOVER",
13: "FIFTH_WHEEL",
14: "FULL_SIZE_VAN",
15: "HATCHBACK",
16: "LIMOUSINE",
17: "MINIVAN",
18: "NOTCHBACK",
19: "POP_UP_CAMPER",
20: "SEDAN",
21: "SIDE_BY_SIDE",
22: "STATION_WAGON",
23: "SUV",
24: "TRAVEL_TRAILER",
25: "TRUCK",
26: "TRUCK_CAMPER",
27: "UTE",
28: "UTV_RECREATIONAL_UTILITY",
29: "UTV_SPORT",
30: "UTV_UTILITY",
31: "UTV_YOUTH",
}
ProductAttributes_VehicleBodyStyle_value = map[string]int32{
"VEHICLE_BODY_STYLE_UNSPECIFIED": 0,
"ATV_SPORT": 1,
"ATV_TOURING": 2,
"ATV_UTILITY": 3,
"ATV_YOUTH": 4,
"CITY_CAR": 5,
"CLASS_A_MOTORHOME": 6,
"CLASS_B_MOTORHOME": 7,
"CLASS_C_MOTORHOME": 8,
"COMPACT_SUV": 9,
"CONVERTIBLE": 10,
"COUPE": 11,
"CROSSOVER": 12,
"FIFTH_WHEEL": 13,
"FULL_SIZE_VAN": 14,
"HATCHBACK": 15,
"LIMOUSINE": 16,
"MINIVAN": 17,
"NOTCHBACK": 18,
"POP_UP_CAMPER": 19,
"SEDAN": 20,
"SIDE_BY_SIDE": 21,
"STATION_WAGON": 22,
"SUV": 23,
"TRAVEL_TRAILER": 24,
"TRUCK": 25,
"TRUCK_CAMPER": 26,
"UTE": 27,
"UTV_RECREATIONAL_UTILITY": 28,
"UTV_SPORT": 29,
"UTV_UTILITY": 30,
"UTV_YOUTH": 31,
}
)Enum value maps for ProductAttributes_VehicleBodyStyle.
ProductAttributes_EngineType_name, ProductAttributes_EngineType_value
var (
ProductAttributes_EngineType_name = map[int32]string{
0: "ENGINE_TYPE_UNSPECIFIED",
1: "GASOLINE",
2: "DIESEL",
3: "ELECTRIC",
4: "HYBRID",
5: "PLUG_IN_HYBRID",
6: "NATURAL_GAS",
7: "LPG",
8: "METHANE",
9: "OTHER",
}
ProductAttributes_EngineType_value = map[string]int32{
"ENGINE_TYPE_UNSPECIFIED": 0,
"GASOLINE": 1,
"DIESEL": 2,
"ELECTRIC": 3,
"HYBRID": 4,
"PLUG_IN_HYBRID": 5,
"NATURAL_GAS": 6,
"LPG": 7,
"METHANE": 8,
"OTHER": 9,
}
)Enum value maps for ProductAttributes_EngineType.
ProductAttributes_EmissionsStandard_name, ProductAttributes_EmissionsStandard_value
var (
ProductAttributes_EmissionsStandard_name = map[int32]string{
0: "EMISSIONS_STANDARD_UNSPECIFIED",
1: "ZERO_EMISSIONS",
2: "EURO1",
3: "EURO2",
4: "EURO3",
5: "EURO4",
6: "EURO5",
7: "EURO5B",
8: "EURO6",
9: "EURO6C",
10: "EURO6D",
11: "EURO6D_TEMP",
12: "EURO6E",
}
ProductAttributes_EmissionsStandard_value = map[string]int32{
"EMISSIONS_STANDARD_UNSPECIFIED": 0,
"ZERO_EMISSIONS": 1,
"EURO1": 2,
"EURO2": 3,
"EURO3": 4,
"EURO4": 5,
"EURO5": 6,
"EURO5B": 7,
"EURO6": 8,
"EURO6C": 9,
"EURO6D": 10,
"EURO6D_TEMP": 11,
"EURO6E": 12,
}
)Enum value maps for ProductAttributes_EmissionsStandard.
ProductAttributes_VehiclePriceType_name, ProductAttributes_VehiclePriceType_value
var (
ProductAttributes_VehiclePriceType_name = map[int32]string{
0: "VEHICLE_PRICE_TYPE_UNSPECIFIED",
1: "ALL_IN_PRICE",
2: "DRIVE_AWAY_PRICE",
3: "ESTIMATED_DRIVE_AWAY_PRICE",
4: "EXCLUDING_GOVERNMENT_CHARGES_PRICE",
5: "VEHICLE_BASE_PRICE",
}
ProductAttributes_VehiclePriceType_value = map[string]int32{
"VEHICLE_PRICE_TYPE_UNSPECIFIED": 0,
"ALL_IN_PRICE": 1,
"DRIVE_AWAY_PRICE": 2,
"ESTIMATED_DRIVE_AWAY_PRICE": 3,
"EXCLUDING_GOVERNMENT_CHARGES_PRICE": 4,
"VEHICLE_BASE_PRICE": 5,
}
)Enum value maps for ProductAttributes_VehiclePriceType.
ProductAttributes_PropertyType_name, ProductAttributes_PropertyType_value
var (
ProductAttributes_PropertyType_name = map[int32]string{
0: "PROPERTY_TYPE_UNSPECIFIED",
1: "APARTMENT",
2: "CONDO",
3: "LOFT",
4: "MULTI_FAMILY_HOME",
5: "PENTHOUSE",
6: "ROOM",
7: "SINGLE_FAMILY_HOME",
8: "STUDIO",
9: "TOWNHOUSE",
}
ProductAttributes_PropertyType_value = map[string]int32{
"PROPERTY_TYPE_UNSPECIFIED": 0,
"APARTMENT": 1,
"CONDO": 2,
"LOFT": 3,
"MULTI_FAMILY_HOME": 4,
"PENTHOUSE": 5,
"ROOM": 6,
"SINGLE_FAMILY_HOME": 7,
"STUDIO": 8,
"TOWNHOUSE": 9,
}
)Enum value maps for ProductAttributes_PropertyType.
ProductAttributes_AmenityFeature_name, ProductAttributes_AmenityFeature_value
var (
ProductAttributes_AmenityFeature_name = map[int32]string{
0: "AMENITY_FEATURE_UNSPECIFIED",
1: "BALCONY",
2: "BASEMENT",
3: "BASKETBALL_COURT",
4: "BIKE_STORAGE",
5: "CENTRAL_AC",
6: "DISHWASHER",
7: "DOG_PARK",
8: "ELEVATOR",
9: "EV_CHARGING",
10: "FENCED_LOT",
11: "FIREPLACE",
12: "FITNESS_CENTER",
13: "FORCED_AIR_HEATING",
14: "FULLY_FURNISHED",
15: "GARAGE",
16: "GATED_COMMUNITY",
17: "HARDWOOD_FLOORS",
18: "HIGH_SPEED_INTERNET",
19: "INTERCOM",
20: "IN_UNIT_WASHER_DRYER",
21: "KITCHEN",
22: "LARGE_CLOSETS",
23: "MULTISPORT_COURT",
24: "ONSITE_LAUNDRY",
25: "OUTDOOR_LOUNGE",
26: "PARKING",
27: "PATIO",
28: "PICKLEBALL_COURT",
29: "POOL",
30: "REFRIGERATOR",
31: "SOCCER_FIELD",
32: "TENNIS_COURT",
33: "WALK_IN_CLOSETS",
34: "WHEELCHAIR_ACCESS",
}
ProductAttributes_AmenityFeature_value = map[string]int32{
"AMENITY_FEATURE_UNSPECIFIED": 0,
"BALCONY": 1,
"BASEMENT": 2,
"BASKETBALL_COURT": 3,
"BIKE_STORAGE": 4,
"CENTRAL_AC": 5,
"DISHWASHER": 6,
"DOG_PARK": 7,
"ELEVATOR": 8,
"EV_CHARGING": 9,
"FENCED_LOT": 10,
"FIREPLACE": 11,
"FITNESS_CENTER": 12,
"FORCED_AIR_HEATING": 13,
"FULLY_FURNISHED": 14,
"GARAGE": 15,
"GATED_COMMUNITY": 16,
"HARDWOOD_FLOORS": 17,
"HIGH_SPEED_INTERNET": 18,
"INTERCOM": 19,
"IN_UNIT_WASHER_DRYER": 20,
"KITCHEN": 21,
"LARGE_CLOSETS": 22,
"MULTISPORT_COURT": 23,
"ONSITE_LAUNDRY": 24,
"OUTDOOR_LOUNGE": 25,
"PARKING": 26,
"PATIO": 27,
"PICKLEBALL_COURT": 28,
"POOL": 29,
"REFRIGERATOR": 30,
"SOCCER_FIELD": 31,
"TENNIS_COURT": 32,
"WALK_IN_CLOSETS": 33,
"WHEELCHAIR_ACCESS": 34,
}
)Enum value maps for ProductAttributes_AmenityFeature.
ProductAttributes_UtilitiesIncluded_name, ProductAttributes_UtilitiesIncluded_value
var (
ProductAttributes_UtilitiesIncluded_name = map[int32]string{
0: "UTILITIES_INCLUDED_UNSPECIFIED",
1: "ELECTRICITY",
2: "GAS",
3: "INTERNET",
4: "TRASH",
5: "WATER",
}
ProductAttributes_UtilitiesIncluded_value = map[string]int32{
"UTILITIES_INCLUDED_UNSPECIFIED": 0,
"ELECTRICITY": 1,
"GAS": 2,
"INTERNET": 3,
"TRASH": 4,
"WATER": 5,
}
)Enum value maps for ProductAttributes_UtilitiesIncluded.
ProductAttributes_SpecialtyHousingType_name, ProductAttributes_SpecialtyHousingType_value
var (
ProductAttributes_SpecialtyHousingType_name = map[int32]string{
0: "SPECIALTY_HOUSING_TYPE_UNSPECIFIED",
1: "CORPORATE",
2: "LOW_INCOME",
3: "MILITARY",
4: "SENIOR",
5: "SHORT_TERM",
6: "STUDENT",
}
ProductAttributes_SpecialtyHousingType_value = map[string]int32{
"SPECIALTY_HOUSING_TYPE_UNSPECIFIED": 0,
"CORPORATE": 1,
"LOW_INCOME": 2,
"MILITARY": 3,
"SENIOR": 4,
"SHORT_TERM": 5,
"STUDENT": 6,
}
)Enum value maps for ProductAttributes_SpecialtyHousingType.
ProductAttributes_Mileage_Unit_name, ProductAttributes_Mileage_Unit_value
var (
ProductAttributes_Mileage_Unit_name = map[int32]string{
0: "UNIT_UNSPECIFIED",
1: "MILES",
2: "KM",
}
ProductAttributes_Mileage_Unit_value = map[string]int32{
"UNIT_UNSPECIFIED": 0,
"MILES": 1,
"KM": 2,
}
)Enum value maps for ProductAttributes_Mileage_Unit.
ProductAttributes_FuelConsumption_Unit_name, ProductAttributes_FuelConsumption_Unit_value
var (
ProductAttributes_FuelConsumption_Unit_name = map[int32]string{
0: "UNIT_UNSPECIFIED",
1: "LPER100KM",
2: "KGPER100KM",
}
ProductAttributes_FuelConsumption_Unit_value = map[string]int32{
"UNIT_UNSPECIFIED": 0,
"LPER100KM": 1,
"KGPER100KM": 2,
}
)Enum value maps for ProductAttributes_FuelConsumption_Unit.
ProductAttributes_EnergyConsumption_Unit_name, ProductAttributes_EnergyConsumption_Unit_value
var (
ProductAttributes_EnergyConsumption_Unit_name = map[int32]string{
0: "UNIT_UNSPECIFIED",
1: "KWHPER100KM",
}
ProductAttributes_EnergyConsumption_Unit_value = map[string]int32{
"UNIT_UNSPECIFIED": 0,
"KWHPER100KM": 1,
}
)Enum value maps for ProductAttributes_EnergyConsumption_Unit.
ProductAttributes_Co2Emissions_Unit_name, ProductAttributes_Co2Emissions_Unit_value
var (
ProductAttributes_Co2Emissions_Unit_name = map[int32]string{
0: "UNIT_UNSPECIFIED",
1: "GPERKM",
}
ProductAttributes_Co2Emissions_Unit_value = map[string]int32{
"UNIT_UNSPECIFIED": 0,
"GPERKM": 1,
}
)Enum value maps for ProductAttributes_Co2Emissions_Unit.
ProductAttributes_Warranty_WarrantyDurationUnit_name, ProductAttributes_Warranty_WarrantyDurationUnit_value
var (
ProductAttributes_Warranty_WarrantyDurationUnit_name = map[int32]string{
0: "WARRANTY_DURATION_UNIT_UNSPECIFIED",
1: "MONTH",
2: "YEAR",
}
ProductAttributes_Warranty_WarrantyDurationUnit_value = map[string]int32{
"WARRANTY_DURATION_UNIT_UNSPECIFIED": 0,
"MONTH": 1,
"YEAR": 2,
}
)Enum value maps for ProductAttributes_Warranty_WarrantyDurationUnit.
ProductAttributes_ProductFee_FeeType_name, ProductAttributes_ProductFee_FeeType_value
var (
ProductAttributes_ProductFee_FeeType_name = map[int32]string{
0: "FEE_TYPE_UNSPECIFIED",
1: "ADMIN_FEE",
2: "APPLICATION_FEE",
3: "SECURITY_DEPOSIT",
}
ProductAttributes_ProductFee_FeeType_value = map[string]int32{
"FEE_TYPE_UNSPECIFIED": 0,
"ADMIN_FEE": 1,
"APPLICATION_FEE": 2,
"SECURITY_DEPOSIT": 3,
}
)Enum value maps for ProductAttributes_ProductFee_FeeType.
ProductAttributes_UnitArea_Unit_name, ProductAttributes_UnitArea_Unit_value
var (
ProductAttributes_UnitArea_Unit_name = map[int32]string{
0: "UNIT_UNSPECIFIED",
1: "SQM",
2: "SQFT",
}
ProductAttributes_UnitArea_Unit_value = map[string]int32{
"UNIT_UNSPECIFIED": 0,
"SQM": 1,
"SQFT": 2,
}
)Enum value maps for ProductAttributes_UnitArea_Unit.
ProductAttributes_PetPolicy_PetType_name, ProductAttributes_PetPolicy_PetType_value
var (
ProductAttributes_PetPolicy_PetType_name = map[int32]string{
0: "PET_TYPE_UNSPECIFIED",
1: "CATS",
2: "LARGE_DOGS",
3: "SMALL_DOGS",
}
ProductAttributes_PetPolicy_PetType_value = map[string]int32{
"PET_TYPE_UNSPECIFIED": 0,
"CATS": 1,
"LARGE_DOGS": 2,
"SMALL_DOGS": 3,
}
)Enum value maps for ProductAttributes_PetPolicy_PetType.
ProductAttributes_LeaseTerm_LeaseTermType_name, ProductAttributes_LeaseTerm_LeaseTermType_value
var (
ProductAttributes_LeaseTerm_LeaseTermType_name = map[int32]string{
0: "LEASE_TERM_TYPE_UNSPECIFIED",
1: "FIXED_TERM",
}
ProductAttributes_LeaseTerm_LeaseTermType_value = map[string]int32{
"LEASE_TERM_TYPE_UNSPECIFIED": 0,
"FIXED_TERM": 1,
}
)Enum value maps for ProductAttributes_LeaseTerm_LeaseTermType.
ProductAttributes_LeaseTerm_DurationUnit_name, ProductAttributes_LeaseTerm_DurationUnit_value
var (
ProductAttributes_LeaseTerm_DurationUnit_name = map[int32]string{
0: "DURATION_UNIT_UNSPECIFIED",
1: "MONTHS",
2: "WEEKS",
}
ProductAttributes_LeaseTerm_DurationUnit_value = map[string]int32{
"DURATION_UNIT_UNSPECIFIED": 0,
"MONTHS": 1,
"WEEKS": 2,
}
)Enum value maps for ProductAttributes_LeaseTerm_DurationUnit.
ProductAttributes_Returns_ReturnWindowType_name, ProductAttributes_Returns_ReturnWindowType_value
var (
ProductAttributes_Returns_ReturnWindowType_name = map[int32]string{
0: "RETURN_WINDOW_TYPE_UNSPECIFIED",
1: "FINITE_RETURN_WINDOW",
2: "NO_RETURNS",
3: "LIFETIME",
}
ProductAttributes_Returns_ReturnWindowType_value = map[string]int32{
"RETURN_WINDOW_TYPE_UNSPECIFIED": 0,
"FINITE_RETURN_WINDOW": 1,
"NO_RETURNS": 2,
"LIFETIME": 3,
}
)Enum value maps for ProductAttributes_Returns_ReturnWindowType.
ProductAttributes_Returns_ReturnMethod_name, ProductAttributes_Returns_ReturnMethod_value
var (
ProductAttributes_Returns_ReturnMethod_name = map[int32]string{
0: "RETURN_METHOD_UNSPECIFIED",
1: "BY_MAIL",
2: "IN_STORE",
3: "AT_A_KIOSK",
4: "DROP_OFF_LOCATION",
}
ProductAttributes_Returns_ReturnMethod_value = map[string]int32{
"RETURN_METHOD_UNSPECIFIED": 0,
"BY_MAIL": 1,
"IN_STORE": 2,
"AT_A_KIOSK": 3,
"DROP_OFF_LOCATION": 4,
}
)Enum value maps for ProductAttributes_Returns_ReturnMethod.
ProductAttributes_Returns_ItemCondition_name, ProductAttributes_Returns_ItemCondition_value
var (
ProductAttributes_Returns_ItemCondition_name = map[int32]string{
0: "ITEM_CONDITION_UNSPECIFIED",
1: "NEW",
2: "LIKE_NEW",
3: "USED",
4: "DEFECTIVE_ONLY",
}
ProductAttributes_Returns_ItemCondition_value = map[string]int32{
"ITEM_CONDITION_UNSPECIFIED": 0,
"NEW": 1,
"LIKE_NEW": 2,
"USED": 3,
"DEFECTIVE_ONLY": 4,
}
)Enum value maps for ProductAttributes_Returns_ItemCondition.
ProductAttributes_Returns_ReturnOutcome_name, ProductAttributes_Returns_ReturnOutcome_value
var (
ProductAttributes_Returns_ReturnOutcome_name = map[int32]string{
0: "RETURN_OUTCOME_UNSPECIFIED",
1: "REFUND",
2: "EXCHANGE",
3: "STORE_CREDIT",
}
ProductAttributes_Returns_ReturnOutcome_value = map[string]int32{
"RETURN_OUTCOME_UNSPECIFIED": 0,
"REFUND": 1,
"EXCHANGE": 2,
"STORE_CREDIT": 3,
}
)Enum value maps for ProductAttributes_Returns_ReturnOutcome.
ProductAttributes_Returns_ReturnShippingFeeType_name, ProductAttributes_Returns_ReturnShippingFeeType_value
var (
ProductAttributes_Returns_ReturnShippingFeeType_name = map[int32]string{
0: "RETURN_SHIPPING_FEE_TYPE_UNSPECIFIED",
1: "CUSTOMER_RESPONSIBILITY",
2: "DEDUCTED_FROM_REFUND",
}
ProductAttributes_Returns_ReturnShippingFeeType_value = map[string]int32{
"RETURN_SHIPPING_FEE_TYPE_UNSPECIFIED": 0,
"CUSTOMER_RESPONSIBILITY": 1,
"DEDUCTED_FROM_REFUND": 2,
}
)Enum value maps for ProductAttributes_Returns_ReturnShippingFeeType.
ProductAttributes_RelatedProduct_RelationshipType_name, ProductAttributes_RelatedProduct_RelationshipType_value
var (
ProductAttributes_RelatedProduct_RelationshipType_name = map[int32]string{
0: "RELATIONSHIP_TYPE_UNSPECIFIED",
1: "PART_OF_SET",
2: "REQUIRED_PART",
3: "OFTEN_BOUGHT_WITH",
4: "SUBSTITUTE",
5: "DIFFERENT_BRAND",
6: "ACCESSORY",
}
ProductAttributes_RelatedProduct_RelationshipType_value = map[string]int32{
"RELATIONSHIP_TYPE_UNSPECIFIED": 0,
"PART_OF_SET": 1,
"REQUIRED_PART": 2,
"OFTEN_BOUGHT_WITH": 3,
"SUBSTITUTE": 4,
"DIFFERENT_BRAND": 5,
"ACCESSORY": 6,
}
)Enum value maps for ProductAttributes_RelatedProduct_RelationshipType.
ProductAttributes_RelatedProduct_IdType_name, ProductAttributes_RelatedProduct_IdType_value
var (
ProductAttributes_RelatedProduct_IdType_name = map[int32]string{
0: "ID_TYPE_UNSPECIFIED",
1: "GTIN",
2: "ID",
}
ProductAttributes_RelatedProduct_IdType_value = map[string]int32{
"ID_TYPE_UNSPECIFIED": 0,
"GTIN": 1,
"ID": 2,
}
)Enum value maps for ProductAttributes_RelatedProduct_IdType.
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.
ProductMinimumOrderValue_Surface_name, ProductMinimumOrderValue_Surface_value
var (
ProductMinimumOrderValue_Surface_name = map[int32]string{
0: "SURFACE_UNSPECIFIED",
1: "ONLINE",
2: "LOCAL",
3: "ONLINE_LOCAL",
}
ProductMinimumOrderValue_Surface_value = map[string]int32{
"SURFACE_UNSPECIFIED": 0,
"ONLINE": 1,
"LOCAL": 2,
"ONLINE_LOCAL": 3,
}
)Enum value maps for ProductMinimumOrderValue_Surface.
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 to delete.
// Format: `accounts/{account}/productInputs/{productInput}`
//
// The {productInput} segment is a unique identifier for the product.
// This identifier must be unique within a merchant account and generally
// follows the structure: `content_language~feed_label~offer_id`. Example:
// `en~US~sku123` For legacy local products, the structure is:
// `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123`
//
// The format of the {productInput} segment in the URL is automatically
// detected by the server, supporting two options:
//
// 1. **Encoded Format**: The `{productInput}` segment is an unpadded
// base64url
//
// encoded string (RFC 4648 Section 5). The decoded string must result
// in the `content_language~feed_label~offer_id` structure. This encoding
// MUST be used if any part of the product identifier (like `offer_id`)
// contains characters such as `/`, `%`, or `~`.
// * Example: To represent the product ID `en~US~sku/123`, the
// `{productInput}` segment must be the unpadded base64url encoding of
// this string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name
// for the product would be
// `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`.
//
// 2. **Plain Format**: The `{productInput}` segment is the tilde-separated
// string
//
// `content_language~feed_label~offer_id`. This format is suitable only
// when `content_language`, `feed_label`, and `offer_id` do not contain
// URL-problematic characters like `/`, `%`, or `~`.
//
// We recommend using the **Encoded Format** for all product IDs to ensure
// correct parsing, especially those containing special characters. The
// presence of tilde (`~`) characters in the `{productInput}` segment is used
// to differentiate between the two formats.
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.
// Format: `accounts/{account}/products/{product}`
//
// The `{product}` segment is a unique identifier for the product.
// This identifier must be unique within a merchant account and generally
// follows the structure: `content_language~feed_label~offer_id`. Example:
// `en~US~sku123` For legacy local products, the structure is:
// `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123`
//
// The format of the `{product}` segment in the URL is automatically detected
// by the server, supporting two options:
//
// 1. **Encoded Format**: The `{product}` segment is an unpadded base64url
// encoded string (RFC 4648 Section 5). The decoded string must result
// in the `content_language~feed_label~offer_id` structure. This encoding
// MUST be used if any part of the product identifier (like `offer_id`)
// contains characters such as `/`, `%`, or `~`.
// * Example: To represent the product ID `en~US~sku/123`, the
// `{product}` segment must be the unpadded base64url encoding of this
// string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name
// for the product would be
// `accounts/123/products/ZW5-VVN-c2t1LzEyMw`.
//
// 2. **Plain Format**: The `{product}` segment is the tilde-separated string
// `content_language~feed_label~offer_id`. This format is suitable only
// when `content_language`, `feed_label`, and `offer_id` do not contain
// URL-problematic characters like `/`, `%`, or `~`.
//
// We recommend using the **Encoded Format** for all product IDs to ensure
// correct parsing, especially those containing special characters. The
// presence of tilde (`~`) characters in the `{product}` segment is used to
// differentiate between the two formats.
//
// Note: For calls to the v1beta version, the plain format is
//
// `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() stringHandlingCutoffTime
type HandlingCutoffTime struct {
// The [CLDR territory
// code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
// of the country to which the handling cutoff time applies.
Country *string `protobuf:"bytes,1,opt,name=country,proto3,oneof" json:"country,omitempty"`
// The handling cutoff time until which an order has to be placed to be
// processed in the same day. This is a string in format of HHMM (e.g. `1530`)
// for 3:30 PM.
// If not configured, the cutoff time will be defaulted to 8AM PST.
CutoffTime *string `protobuf:"bytes,2,opt,name=cutoff_time,json=cutoffTime,proto3,oneof" json:"cutoff_time,omitempty"`
// [Timezone
// identifier](https://developers.google.com/adwords/api/docs/appendix/codes-formats#timezone-ids)
// For example 'Europe/Zurich'. If not set, the shipping destination
// timezone will be used.
CutoffTimezone *string `protobuf:"bytes,3,opt,name=cutoff_timezone,json=cutoffTimezone,proto3,oneof" json:"cutoff_timezone,omitempty"`
// This field only applies to same-day delivery. If true, prevents next-day
// delivery from being shown for this offer after the cutoff time. This field
// only applies to same-day delivery offers, for merchants who want to
// explicitly disable it.
DisableDeliveryAfterCutoff *bool `protobuf:"varint,4,opt,name=disable_delivery_after_cutoff,json=disableDeliveryAfterCutoff,proto3,oneof" json:"disable_delivery_after_cutoff,omitempty"`
// contains filtered or unexported fields
}Configuration for offer or offer-country level shipping handling cutoff time.
func (*HandlingCutoffTime) Descriptor
func (*HandlingCutoffTime) Descriptor() ([]byte, []int)Deprecated: Use HandlingCutoffTime.ProtoReflect.Descriptor instead.
func (*HandlingCutoffTime) GetCountry
func (x *HandlingCutoffTime) GetCountry() stringfunc (*HandlingCutoffTime) GetCutoffTime
func (x *HandlingCutoffTime) GetCutoffTime() stringfunc (*HandlingCutoffTime) GetCutoffTimezone
func (x *HandlingCutoffTime) GetCutoffTimezone() stringfunc (*HandlingCutoffTime) GetDisableDeliveryAfterCutoff
func (x *HandlingCutoffTime) GetDisableDeliveryAfterCutoff() boolfunc (*HandlingCutoffTime) ProtoMessage
func (*HandlingCutoffTime) ProtoMessage()func (*HandlingCutoffTime) ProtoReflect
func (x *HandlingCutoffTime) ProtoReflect() protoreflect.Messagefunc (*HandlingCutoffTime) Reset
func (x *HandlingCutoffTime) Reset()func (*HandlingCutoffTime) String
func (x *HandlingCutoffTime) 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
// [Create a primary data
// source](/merchant/api/guides/data-sources/api-sources#create-primary-data-source).
//
// 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.
For more information on loyalty programs, see Overview of loyalty programs.
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.EnumTypePickupCost
type PickupCost struct {
// Required. The flat rate pickup cost of the item.
FlatRate *typepb.Price `protobuf:"bytes,1,opt,name=flat_rate,json=flatRate,proto3,oneof" json:"flat_rate,omitempty"`
// Optional. The price threshold above which pickup is free of charge.
FreeThreshold *typepb.Price `protobuf:"bytes,2,opt,name=free_threshold,json=freeThreshold,proto3,oneof" json:"free_threshold,omitempty"`
// contains filtered or unexported fields
}The pickup cost of the item.
func (*PickupCost) Descriptor
func (*PickupCost) Descriptor() ([]byte, []int)Deprecated: Use PickupCost.ProtoReflect.Descriptor instead.
func (*PickupCost) GetFlatRate
func (x *PickupCost) GetFlatRate() *typepb.Pricefunc (*PickupCost) GetFreeThreshold
func (x *PickupCost) GetFreeThreshold() *typepb.Pricefunc (*PickupCost) ProtoMessage
func (*PickupCost) ProtoMessage()func (*PickupCost) ProtoReflect
func (x *PickupCost) ProtoReflect() protoreflect.Messagefunc (*PickupCost) Reset
func (x *PickupCost) Reset()func (*PickupCost) String
func (x *PickupCost) String() stringPickupMethod
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. The **unpadded base64url encoded name** of the product.
// Format:
// `accounts/{account}/products/{product}` where the last
// section `product` is the unpadded base64url encoding of the
// `content_language~feed_label~offer_id` name.
// Example: `accounts/123/products/ZW5-VVN-c2t1LzEyMw` for the decoded product
// name `accounts/123/products/en~US~sku/123`. This field can be used directly
// as input to the API methods that require the product name to be encoded if
// it contains special characters, for example
// [`GetProduct`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.products/get).
Base64EncodedName string `protobuf:"bytes,15,opt,name=base64_encoded_name,json=base64EncodedName,proto3" json:"base64_encoded_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"`
// Output only. Determines whether the product is
// [archived](https://support.google.com/merchants/answer/11909930).
//
// To archive or restore your product, visit Merchant Center products page.
// Learn also more about [offer
// visibility](https://support.google.com/merchants/answer/12488713).
Archived bool `protobuf:"varint,14,opt,name=archived,proto3" json:"archived,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) GetArchived
func (*Product) GetAutomatedDiscounts
func (x *Product) GetAutomatedDiscounts() *AutomatedDiscountsfunc (*Product) GetBase64EncodedName
func (*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/6324461)) 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/6324482)) 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 (weeks, 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 business days during which orders can be handled. If not provided,
// Monday to Friday business days will be assumed.
ShippingHandlingBusinessDays []*ProductAttributes_ShippingBusinessDaysConfig `protobuf:"bytes,143,rep,name=shipping_handling_business_days,json=shippingHandlingBusinessDays,proto3" json:"shipping_handling_business_days,omitempty"`
// The business days during which orders are in transit.
// If not provided, Monday to Friday business days will be assumed.
ShippingTransitBusinessDays []*ProductAttributes_ShippingBusinessDaysConfig `protobuf:"bytes,144,rep,name=shipping_transit_business_days,json=shippingTransitBusinessDays,proto3" json:"shipping_transit_business_days,omitempty"`
// The handling cutoff times for shipping.
HandlingCutoffTimes []*HandlingCutoffTime `protobuf:"bytes,141,rep,name=handling_cutoff_times,json=handlingCutoffTimes,proto3" json:"handling_cutoff_times,omitempty"`
// The shipping label of the product, used to group products in account-level
// shipping rules. Max. 100 characters. For more information, see
// [Shipping label](https://support.google.com/merchants/answer/6324504).
ShippingLabel *string `protobuf:"bytes,46,opt,name=shipping_label,json=shippingLabel,proto3,oneof" json:"shipping_label,omitempty"`
// The return label of the product, used to group products in account-level
// return policies. Max. 100 characters. For more information, see
// [Return policy label](https://support.google.com/merchants/answer/9445425).
ReturnPolicyLabel *string `protobuf:"bytes,170,opt,name=return_policy_label,json=returnPolicyLabel,proto3,oneof" json:"return_policy_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"`
// Optional. The [pickup
// cost](https://support.google.com/merchants/answer/16988704) for an item
// when a customer buys it online and picks it up at a store.
PickupCost *PickupCost `protobuf:"bytes,172,opt,name=pickup_cost,json=pickupCost,proto3,oneof" json:"pickup_cost,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. For more information, see
// [Certification](https://support.google.com/merchants/answer/13528839).
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"`
// Optional. A list of video URLs for the item. Use this attribute to provide
// more visuals for your product beyond your image attributes. See the [Help
// Center article](https://support.google.com/merchants/answer/15216925) for
// more information.
VideoLinks []string `protobuf:"bytes,169,rep,name=video_links,json=videoLinks,proto3" json:"video_links,omitempty"`
// The [minimum value](https://support.google.com/merchants/answer/16989009)
// in the cart before a customer can initiate checkout. Supports multiple
// minimum order values. Different minimum order values can be specified per
// country, service and surface. Maximum entries: 100.
MinimumOrderValues []*ProductMinimumOrderValue `protobuf:"bytes,146,rep,name=minimum_order_values,json=minimumOrderValues,proto3" json:"minimum_order_values,omitempty"`
// The [warranty](https://support.google.com/merchants/answer/15957626) of
// the product.
Warranty *ProductAttributes_Warranty `protobuf:"bytes,168,opt,name=warranty,proto3" json:"warranty,omitempty"`
// The [Vehicle Identification Number
// (VIN)](https://support.google.com/google-ads/answer/14154510) of the
// vehicle.
Vin string `protobuf:"bytes,147,opt,name=vin,proto3" json:"vin,omitempty"`
// The [Model](https://support.google.com/google-ads/answer/14154511) of the
// vehicle, such as `LX`, `EX`, and others.
Model string `protobuf:"bytes,148,opt,name=model,proto3" json:"model,omitempty"`
// The [Trim](https://support.google.com/google-ads/answer/14154176) of the
// vehicle model, such as `S`, `SV`, `SL` and others.
Trim string `protobuf:"bytes,149,opt,name=trim,proto3" json:"trim,omitempty"`
// The [body style](https://support.google.com/google-ads/answer/14157085) of
// the vehicle.
BodyStyle ProductAttributes_VehicleBodyStyle `protobuf:"varint,150,opt,name=body_style,json=bodyStyle,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_VehicleBodyStyle" json:"body_style,omitempty"`
// The [Year](https://support.google.com/google-ads/answer/14152816) of the
// vehicle model.
Year int64 `protobuf:"varint,151,opt,name=year,proto3" json:"year,omitempty"`
// The number of miles/kms on the vehicle. See the
// [Mileage](https://support.google.com/google-ads/answer/14156166) for more
// information.
Mileage *ProductAttributes_Mileage `protobuf:"bytes,152,opt,name=mileage,proto3" json:"mileage,omitempty"`
// The [electric range](https://support.google.com/google-ads/answer/15162232)
// of the vehicle in miles/kms.
ElectricRange *ProductAttributes_Mileage `protobuf:"bytes,153,opt,name=electric_range,json=electricRange,proto3" json:"electric_range,omitempty"`
// The [fuel
// consumption](https://support.google.com/google-ads/answer/14543580) of the
// vehicle.
FuelConsumption *ProductAttributes_FuelConsumption `protobuf:"bytes,154,opt,name=fuel_consumption,json=fuelConsumption,proto3" json:"fuel_consumption,omitempty"`
// The fuel consumption of the vehicle when the hybrid battery is discharged.
// See the [Help Center
// article](https://support.google.com/google-ads/answer/15162033) for more
// information.
FuelConsumptionDischargedBattery *ProductAttributes_FuelConsumption `protobuf:"bytes,155,opt,name=fuel_consumption_discharged_battery,json=fuelConsumptionDischargedBattery,proto3" json:"fuel_consumption_discharged_battery,omitempty"`
// The [energy
// consumption](https://support.google.com/google-ads/answer/14546149) of the
// vehicle.
EnergyConsumption *ProductAttributes_EnergyConsumption `protobuf:"bytes,156,opt,name=energy_consumption,json=energyConsumption,proto3" json:"energy_consumption,omitempty"`
// The [co2 emission](https://support.google.com/google-ads/answer/14546146)
// of the vehicle.
Co2Emissions *ProductAttributes_Co2Emissions `protobuf:"bytes,157,opt,name=co2_emissions,json=co2Emissions,proto3" json:"co2_emissions,omitempty"`
// The date the vehicle was first registered. Format: `YYYY-MM`. See the
// [Date first
// registered](https://support.google.com/google-ads/answer/14546138) for more
// information.
DateFirstRegistered string `protobuf:"bytes,158,opt,name=date_first_registered,json=dateFirstRegistered,proto3" json:"date_first_registered,omitempty"`
// The [engine](https://support.google.com/google-ads/answer/14156068) type of
// the vehicle.
Engine ProductAttributes_EngineType `protobuf:"varint,159,opt,name=engine,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_EngineType" json:"engine,omitempty"`
// The [emission
// standard](https://support.google.com/google-ads/answer/14869021) of the
// vehicle.
EmissionsStandard ProductAttributes_EmissionsStandard `protobuf:"varint,160,opt,name=emissions_standard,json=emissionsStandard,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_EmissionsStandard" json:"emissions_standard,omitempty"`
// Whether the vehicle is OEM [certified
// pre-owned](https://support.google.com/google-ads/answer/14156475).
CertifiedPreOwned bool `protobuf:"varint,161,opt,name=certified_pre_owned,json=certifiedPreOwned,proto3" json:"certified_pre_owned,omitempty"`
// The MSRP (Manufacturer Suggested Retail Price) for the vehicle in its
// current configuration. See the [Vehicle
// MSRP](https://support.google.com/google-ads/answer/14154171) for more
// information.
VehicleMsrp *typepb.Price `protobuf:"bytes,162,opt,name=vehicle_msrp,json=vehicleMsrp,proto3" json:"vehicle_msrp,omitempty"`
// The all-in advertised price for a vehicle, which includes costs for the
// following – any accessories attached to the vehicle, environmental levies,
// extra warranty, fuel, freight, pre-delivery inspection (PDI), dealer fees
// for handling licensing, provincial regulatory fees, miscellaneous dealer
// charges for security etching and nitrogen tire fill, and
// factory-to-customer or dealer-to-customer discounts or incentives. See the
// [Vehicle all-in
// price](https://support.google.com/google-ads/answer/14156981) for more
// information.
VehicleAllInPrice *typepb.Price `protobuf:"bytes,163,opt,name=vehicle_all_in_price,json=vehicleAllInPrice,proto3" json:"vehicle_all_in_price,omitempty"`
// The [price type](https://support.google.com/google-ads/answer/14592783) of
// the vehicle.
VehiclePriceType ProductAttributes_VehiclePriceType `protobuf:"varint,164,opt,name=vehicle_price_type,json=vehiclePriceType,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_VehiclePriceType" json:"vehicle_price_type,omitempty"`
// Whether the vehicle is sold with mandatory inspection and maintenance
// performed before delivery. See the [Vehicle mandatory inspection
// included](https://support.google.com/google-ads/answer/15956630) for more
// information.`
VehicleMandatoryInspectionIncluded bool `protobuf:"varint,166,opt,name=vehicle_mandatory_inspection_included,json=vehicleMandatoryInspectionIncluded,proto3" json:"vehicle_mandatory_inspection_included,omitempty"`
// The miscellaneous expenses like insurance and registration fees of the
// vehicle. See the [Vehicle
// expenses](https://support.google.com/google-ads/answer/15957154) for more
// information.
VehicleExpenses *typepb.Price `protobuf:"bytes,167,opt,name=vehicle_expenses,json=vehicleExpenses,proto3" json:"vehicle_expenses,omitempty"`
// Optional. [Return
// rules](https://support.google.com/merchants/answer/17081382) for the
// product.
Returns []*ProductAttributes_Returns `protobuf:"bytes,171,rep,name=returns,proto3" json:"returns,omitempty"`
// The display address of the property.
DisplayAddress *ProductAttributes_DisplayAddress `protobuf:"bytes,179,opt,name=display_address,json=displayAddress,proto3" json:"display_address,omitempty"`
// The latitude of the property. The value must be between -90 (inclusive) and
// 90 (inclusive), up to 6 decimal places.
Latitude *float64 `protobuf:"fixed64,180,opt,name=latitude,proto3,oneof" json:"latitude,omitempty"`
// The longitude of the property. The value must be between -180 (inclusive)
// and 180 (inclusive), up to 6 decimal places.
Longitude *float64 `protobuf:"fixed64,181,opt,name=longitude,proto3,oneof" json:"longitude,omitempty"`
// The neighborhood (locality) of the property, such as `Wallingford`,
// `Greenwood`, etc.
Neighborhood string `protobuf:"bytes,182,opt,name=neighborhood,proto3" json:"neighborhood,omitempty"`
// The unit area of the property, such as `1000 sqft`.
UnitArea *ProductAttributes_UnitArea `protobuf:"bytes,183,opt,name=unit_area,json=unitArea,proto3" json:"unit_area,omitempty"`
// The number of units available for a specific floor plan of the property.
// The value must be greater than 0.
NumberOfUnits *int64 `protobuf:"varint,184,opt,name=number_of_units,json=numberOfUnits,proto3,oneof" json:"number_of_units,omitempty"`
// The name of the property.
PropertyName string `protobuf:"bytes,185,opt,name=property_name,json=propertyName,proto3" json:"property_name,omitempty"`
// The number of bedrooms in the property. The value must be greater than or
// equal to 0 and a multiple of 1.0.
NumberOfBedrooms *float64 `protobuf:"fixed64,186,opt,name=number_of_bedrooms,json=numberOfBedrooms,proto3,oneof" json:"number_of_bedrooms,omitempty"`
// The number of bathrooms in the property. The value must be greater than 0
// and a multiple of 0.5.
NumberOfBathrooms *float64 `protobuf:"fixed64,187,opt,name=number_of_bathrooms,json=numberOfBathrooms,proto3,oneof" json:"number_of_bathrooms,omitempty"`
// The type of property.
PropertyType ProductAttributes_PropertyType `protobuf:"varint,188,opt,name=property_type,json=propertyType,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_PropertyType" json:"property_type,omitempty"`
// The amenity features for the property.
AmenityFeature []ProductAttributes_AmenityFeature `protobuf:"varint,189,rep,packed,name=amenity_feature,json=amenityFeature,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_AmenityFeature" json:"amenity_feature,omitempty"`
// The utilities included for the property.
UtilitiesIncluded []ProductAttributes_UtilitiesIncluded `protobuf:"varint,190,rep,packed,name=utilities_included,json=utilitiesIncluded,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_UtilitiesIncluded" json:"utilities_included,omitempty"`
// The pet policy for the property.
PetPolicy *ProductAttributes_PetPolicy `protobuf:"bytes,191,opt,name=pet_policy,json=petPolicy,proto3" json:"pet_policy,omitempty"`
// The specialty housing type for the property.
SpecialtyHousingType ProductAttributes_SpecialtyHousingType `protobuf:"varint,192,opt,name=specialty_housing_type,json=specialtyHousingType,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_SpecialtyHousingType" json:"specialty_housing_type,omitempty"`
// The product fee for the property.
ProductFee []*ProductAttributes_ProductFee `protobuf:"bytes,193,rep,name=product_fee,json=productFee,proto3" json:"product_fee,omitempty"`
// The short title of the item.
ShortTitle *string `protobuf:"bytes,194,opt,name=short_title,json=shortTitle,proto3,oneof" json:"short_title,omitempty"`
// The lease term of the property.
LeaseTerm *ProductAttributes_LeaseTerm `protobuf:"bytes,195,opt,name=lease_term,json=leaseTerm,proto3" json:"lease_term,omitempty"`
// Optional. Contains user-, merchant-, and manufacturer-authored [questions
// and answers](https://support.google.com/merchants/answer/17085211) about
// the product. Max 30 question and answer pairs. Max 10000 characters total.
// Each question can have max 1000 characters. Each answer can have max 1000
// characters.
QuestionsAndAnswers []*ProductAttributes_QuestionAndAnswer `protobuf:"bytes,173,rep,name=questions_and_answers,json=questionsAndAnswers,proto3" json:"questions_and_answers,omitempty"`
// Optional. Indicates the
// [popularity](https://support.google.com/merchants/answer/17085297) of the
// product in a merchant's inventory. Using a scale of 0.0 (lowest) to 100.0
// (highest).
PopularityRank float32 `protobuf:"fixed32,174,opt,name=popularity_rank,json=popularityRank,proto3" json:"popularity_rank,omitempty"`
// Optional. Represents the [title of the product
// group](https://support.google.com/merchants/answer/17085146) to which
// this variant product belongs. This can be used along with the [item group
// id](https://support.google.com/merchants/answer/6324507) attribute.
// It lets you perform better grouping of variant products, and helps
// identifying common product characteristics more efficiently.
ItemGroupTitle string `protobuf:"bytes,175,opt,name=item_group_title,json=itemGroupTitle,proto3" json:"item_group_title,omitempty"`
// Optional. Contains a list of PDF [document
// URLs](https://support.google.com/merchants/answer/17084656) for the
// product. Examples are training manuals, user guides, assembly instructions,
// package inserts, etc. Must start with "http://" or "https://"), ASCII
// characters only, and RFC 3986 compliant.
DocumentLinks []string `protobuf:"bytes,176,rep,name=document_links,json=documentLinks,proto3" json:"document_links,omitempty"`
// Optional. Contains the [list of all variant-identifying
// options](https://support.google.com/merchants/answer/17085214) of this
// product.
VariantOptions []*ProductAttributes_VariantOption `protobuf:"bytes,177,rep,name=variant_options,json=variantOptions,proto3" json:"variant_options,omitempty"`
// Optional. Specifies how other [products are
// related](https://support.google.com/merchants/answer/17085213) to this
// product.
RelatedProducts []*ProductAttributes_RelatedProduct `protobuf:"bytes,178,rep,name=related_products,json=relatedProducts,proto3" json:"related_products,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) GetAmenityFeature
func (x *ProductAttributes) GetAmenityFeature() []ProductAttributes_AmenityFeaturefunc (*ProductAttributes) GetAutoPricingMinPrice
func (x *ProductAttributes) GetAutoPricingMinPrice() *typepb.Pricefunc (*ProductAttributes) GetAvailability
func (x *ProductAttributes) GetAvailability() Availabilityfunc (*ProductAttributes) GetAvailabilityDate
func (x *ProductAttributes) GetAvailabilityDate() *timestamppb.Timestampfunc (*ProductAttributes) GetBodyStyle
func (x *ProductAttributes) GetBodyStyle() ProductAttributes_VehicleBodyStylefunc (*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) GetCertifiedPreOwned
func (x *ProductAttributes) GetCertifiedPreOwned() boolfunc (*ProductAttributes) GetCloudExportAdditionalProperties
func (x *ProductAttributes) GetCloudExportAdditionalProperties() []*CloudExportAdditionalPropertiesfunc (*ProductAttributes) GetCo2Emissions
func (x *ProductAttributes) GetCo2Emissions() *ProductAttributes_Co2Emissionsfunc (*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) GetDateFirstRegistered
func (x *ProductAttributes) GetDateFirstRegistered() stringfunc (*ProductAttributes) GetDescription
func (x *ProductAttributes) GetDescription() stringfunc (*ProductAttributes) GetDisclosureDate
func (x *ProductAttributes) GetDisclosureDate() *timestamppb.Timestampfunc (*ProductAttributes) GetDisplayAddress
func (x *ProductAttributes) GetDisplayAddress() *ProductAttributes_DisplayAddressfunc (*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) GetDocumentLinks
func (x *ProductAttributes) GetDocumentLinks() []stringfunc (*ProductAttributes) GetElectricRange
func (x *ProductAttributes) GetElectricRange() *ProductAttributes_Mileagefunc (*ProductAttributes) GetEmissionsStandard
func (x *ProductAttributes) GetEmissionsStandard() ProductAttributes_EmissionsStandardfunc (*ProductAttributes) GetEnergyConsumption
func (x *ProductAttributes) GetEnergyConsumption() *ProductAttributes_EnergyConsumptionfunc (*ProductAttributes) GetEnergyEfficiencyClass
func (x *ProductAttributes) GetEnergyEfficiencyClass() EnergyEfficiencyClassfunc (*ProductAttributes) GetEngine
func (x *ProductAttributes) GetEngine() ProductAttributes_EngineTypefunc (*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) GetFuelConsumption
func (x *ProductAttributes) GetFuelConsumption() *ProductAttributes_FuelConsumptionfunc (*ProductAttributes) GetFuelConsumptionDischargedBattery
func (x *ProductAttributes) GetFuelConsumptionDischargedBattery() *ProductAttributes_FuelConsumptionfunc (*ProductAttributes) GetGender
func (x *ProductAttributes) GetGender() Genderfunc (*ProductAttributes) GetGoogleProductCategory
func (x *ProductAttributes) GetGoogleProductCategory() stringfunc (*ProductAttributes) GetGtins
func (x *ProductAttributes) GetGtins() []stringfunc (*ProductAttributes) GetHandlingCutoffTimes
func (x *ProductAttributes) GetHandlingCutoffTimes() []*HandlingCutoffTimefunc (*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) GetItemGroupTitle
func (x *ProductAttributes) GetItemGroupTitle() stringfunc (*ProductAttributes) GetLatitude
func (x *ProductAttributes) GetLatitude() float64func (*ProductAttributes) GetLeaseTerm
func (x *ProductAttributes) GetLeaseTerm() *ProductAttributes_LeaseTermfunc (*ProductAttributes) GetLifestyleImageLinks
func (x *ProductAttributes) GetLifestyleImageLinks() []stringfunc (*ProductAttributes) GetLink
func (x *ProductAttributes) GetLink() stringfunc (*ProductAttributes) GetLinkTemplate
func (x *ProductAttributes) GetLinkTemplate() stringfunc (*ProductAttributes) GetLongitude
func (x *ProductAttributes) GetLongitude() float64func (*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) GetMileage
func (x *ProductAttributes) GetMileage() *ProductAttributes_Mileagefunc (*ProductAttributes) GetMinEnergyEfficiencyClass
func (x *ProductAttributes) GetMinEnergyEfficiencyClass() EnergyEfficiencyClassfunc (*ProductAttributes) GetMinHandlingTime
func (x *ProductAttributes) GetMinHandlingTime() int64func (*ProductAttributes) GetMinimumOrderValues
func (x *ProductAttributes) GetMinimumOrderValues() []*ProductMinimumOrderValuefunc (*ProductAttributes) GetMobileLink
func (x *ProductAttributes) GetMobileLink() stringfunc (*ProductAttributes) GetMobileLinkTemplate
func (x *ProductAttributes) GetMobileLinkTemplate() stringfunc (*ProductAttributes) GetModel
func (x *ProductAttributes) GetModel() stringfunc (*ProductAttributes) GetMpn
func (x *ProductAttributes) GetMpn() stringfunc (*ProductAttributes) GetMultipack
func (x *ProductAttributes) GetMultipack() int64func (*ProductAttributes) GetNeighborhood
func (x *ProductAttributes) GetNeighborhood() stringfunc (*ProductAttributes) GetNumberOfBathrooms
func (x *ProductAttributes) GetNumberOfBathrooms() float64func (*ProductAttributes) GetNumberOfBedrooms
func (x *ProductAttributes) GetNumberOfBedrooms() float64func (*ProductAttributes) GetNumberOfUnits
func (x *ProductAttributes) GetNumberOfUnits() int64func (*ProductAttributes) GetPattern
func (x *ProductAttributes) GetPattern() stringfunc (*ProductAttributes) GetPause
func (x *ProductAttributes) GetPause() Pausefunc (*ProductAttributes) GetPetPolicy
func (x *ProductAttributes) GetPetPolicy() *ProductAttributes_PetPolicyfunc (*ProductAttributes) GetPickupCost
func (x *ProductAttributes) GetPickupCost() *PickupCostfunc (*ProductAttributes) GetPickupMethod
func (x *ProductAttributes) GetPickupMethod() PickupMethodfunc (*ProductAttributes) GetPickupSla
func (x *ProductAttributes) GetPickupSla() PickupSlafunc (*ProductAttributes) GetPopularityRank
func (x *ProductAttributes) GetPopularityRank() float32func (*ProductAttributes) GetPrice
func (x *ProductAttributes) GetPrice() *typepb.Pricefunc (*ProductAttributes) GetProductDetails
func (x *ProductAttributes) GetProductDetails() []*ProductDetailfunc (*ProductAttributes) GetProductFee
func (x *ProductAttributes) GetProductFee() []*ProductAttributes_ProductFeefunc (*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) GetPropertyName
func (x *ProductAttributes) GetPropertyName() stringfunc (*ProductAttributes) GetPropertyType
func (x *ProductAttributes) GetPropertyType() ProductAttributes_PropertyTypefunc (*ProductAttributes) GetQuestionsAndAnswers
func (x *ProductAttributes) GetQuestionsAndAnswers() []*ProductAttributes_QuestionAndAnswerfunc (*ProductAttributes) GetRelatedProducts
func (x *ProductAttributes) GetRelatedProducts() []*ProductAttributes_RelatedProductfunc (*ProductAttributes) GetReturnPolicyLabel
func (x *ProductAttributes) GetReturnPolicyLabel() stringfunc (*ProductAttributes) GetReturns
func (x *ProductAttributes) GetReturns() []*ProductAttributes_Returnsfunc (*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) GetShippingHandlingBusinessDays
func (x *ProductAttributes) GetShippingHandlingBusinessDays() []*ProductAttributes_ShippingBusinessDaysConfigfunc (*ProductAttributes) GetShippingHeight
func (x *ProductAttributes) GetShippingHeight() *ShippingDimensionfunc (*ProductAttributes) GetShippingLabel
func (x *ProductAttributes) GetShippingLabel() stringfunc (*ProductAttributes) GetShippingLength
func (x *ProductAttributes) GetShippingLength() *ShippingDimensionfunc (*ProductAttributes) GetShippingTransitBusinessDays
func (x *ProductAttributes) GetShippingTransitBusinessDays() []*ProductAttributes_ShippingBusinessDaysConfigfunc (*ProductAttributes) GetShippingWeight
func (x *ProductAttributes) GetShippingWeight() *ShippingWeightfunc (*ProductAttributes) GetShippingWidth
func (x *ProductAttributes) GetShippingWidth() *ShippingDimensionfunc (*ProductAttributes) GetShoppingAdsExcludedCountries
func (x *ProductAttributes) GetShoppingAdsExcludedCountries() []stringfunc (*ProductAttributes) GetShortTitle
func (x *ProductAttributes) GetShortTitle() stringfunc (*ProductAttributes) GetSize
func (x *ProductAttributes) GetSize() stringfunc (*ProductAttributes) GetSizeSystem
func (x *ProductAttributes) GetSizeSystem() SizeSystemfunc (*ProductAttributes) GetSizeTypes
func (x *ProductAttributes) GetSizeTypes() []SizeTypefunc (*ProductAttributes) GetSpecialtyHousingType
func (x *ProductAttributes) GetSpecialtyHousingType() ProductAttributes_SpecialtyHousingTypefunc (*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) GetTrim
func (x *ProductAttributes) GetTrim() stringfunc (*ProductAttributes) GetUnitArea
func (x *ProductAttributes) GetUnitArea() *ProductAttributes_UnitAreafunc (*ProductAttributes) GetUnitPricingBaseMeasure
func (x *ProductAttributes) GetUnitPricingBaseMeasure() *UnitPricingBaseMeasurefunc (*ProductAttributes) GetUnitPricingMeasure
func (x *ProductAttributes) GetUnitPricingMeasure() *UnitPricingMeasurefunc (*ProductAttributes) GetUtilitiesIncluded
func (x *ProductAttributes) GetUtilitiesIncluded() []ProductAttributes_UtilitiesIncludedfunc (*ProductAttributes) GetVariantOptions
func (x *ProductAttributes) GetVariantOptions() []*ProductAttributes_VariantOptionfunc (*ProductAttributes) GetVehicleAllInPrice
func (x *ProductAttributes) GetVehicleAllInPrice() *typepb.Pricefunc (*ProductAttributes) GetVehicleExpenses
func (x *ProductAttributes) GetVehicleExpenses() *typepb.Pricefunc (*ProductAttributes) GetVehicleMandatoryInspectionIncluded
func (x *ProductAttributes) GetVehicleMandatoryInspectionIncluded() boolfunc (*ProductAttributes) GetVehicleMsrp
func (x *ProductAttributes) GetVehicleMsrp() *typepb.Pricefunc (*ProductAttributes) GetVehiclePriceType
func (x *ProductAttributes) GetVehiclePriceType() ProductAttributes_VehiclePriceTypefunc (*ProductAttributes) GetVideoLinks
func (x *ProductAttributes) GetVideoLinks() []stringfunc (*ProductAttributes) GetVin
func (x *ProductAttributes) GetVin() stringfunc (*ProductAttributes) GetVirtualModelLink
func (x *ProductAttributes) GetVirtualModelLink() stringfunc (*ProductAttributes) GetWarranty
func (x *ProductAttributes) GetWarranty() *ProductAttributes_Warrantyfunc (*ProductAttributes) GetYear
func (x *ProductAttributes) GetYear() int64func (*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_AmenityFeature
type ProductAttributes_AmenityFeature int32The amenity features for the property.
ProductAttributes_AMENITY_FEATURE_UNSPECIFIED, ProductAttributes_BALCONY, ProductAttributes_BASEMENT, ProductAttributes_BASKETBALL_COURT, ProductAttributes_BIKE_STORAGE, ProductAttributes_CENTRAL_AC, ProductAttributes_DISHWASHER, ProductAttributes_DOG_PARK, ProductAttributes_ELEVATOR, ProductAttributes_EV_CHARGING, ProductAttributes_FENCED_LOT, ProductAttributes_FIREPLACE, ProductAttributes_FITNESS_CENTER, ProductAttributes_FORCED_AIR_HEATING, ProductAttributes_FULLY_FURNISHED, ProductAttributes_GARAGE, ProductAttributes_GATED_COMMUNITY, ProductAttributes_HARDWOOD_FLOORS, ProductAttributes_HIGH_SPEED_INTERNET, ProductAttributes_INTERCOM, ProductAttributes_IN_UNIT_WASHER_DRYER, ProductAttributes_KITCHEN, ProductAttributes_LARGE_CLOSETS, ProductAttributes_MULTISPORT_COURT, ProductAttributes_ONSITE_LAUNDRY, ProductAttributes_OUTDOOR_LOUNGE, ProductAttributes_PARKING, ProductAttributes_PATIO, ProductAttributes_PICKLEBALL_COURT, ProductAttributes_POOL, ProductAttributes_REFRIGERATOR, ProductAttributes_SOCCER_FIELD, ProductAttributes_TENNIS_COURT, ProductAttributes_WALK_IN_CLOSETS, ProductAttributes_WHEELCHAIR_ACCESS
const (
// Unspecified amenity feature.
ProductAttributes_AMENITY_FEATURE_UNSPECIFIED ProductAttributes_AmenityFeature = 0
// Balcony.
ProductAttributes_BALCONY ProductAttributes_AmenityFeature = 1
// Basement.
ProductAttributes_BASEMENT ProductAttributes_AmenityFeature = 2
// Basketball court.
ProductAttributes_BASKETBALL_COURT ProductAttributes_AmenityFeature = 3
// Bike storage.
ProductAttributes_BIKE_STORAGE ProductAttributes_AmenityFeature = 4
// Central air conditioning.
ProductAttributes_CENTRAL_AC ProductAttributes_AmenityFeature = 5
// Dishwasher.
ProductAttributes_DISHWASHER ProductAttributes_AmenityFeature = 6
// Dog park.
ProductAttributes_DOG_PARK ProductAttributes_AmenityFeature = 7
// Elevator.
ProductAttributes_ELEVATOR ProductAttributes_AmenityFeature = 8
// EV charging.
ProductAttributes_EV_CHARGING ProductAttributes_AmenityFeature = 9
// Fenced lot.
ProductAttributes_FENCED_LOT ProductAttributes_AmenityFeature = 10
// Fireplace.
ProductAttributes_FIREPLACE ProductAttributes_AmenityFeature = 11
// Fitness center.
ProductAttributes_FITNESS_CENTER ProductAttributes_AmenityFeature = 12
// Forced air heating.
ProductAttributes_FORCED_AIR_HEATING ProductAttributes_AmenityFeature = 13
// Fully furnished.
ProductAttributes_FULLY_FURNISHED ProductAttributes_AmenityFeature = 14
// Garage.
ProductAttributes_GARAGE ProductAttributes_AmenityFeature = 15
// Gated community.
ProductAttributes_GATED_COMMUNITY ProductAttributes_AmenityFeature = 16
// Hardwood floors.
ProductAttributes_HARDWOOD_FLOORS ProductAttributes_AmenityFeature = 17
// High speed internet.
ProductAttributes_HIGH_SPEED_INTERNET ProductAttributes_AmenityFeature = 18
// Intercom.
ProductAttributes_INTERCOM ProductAttributes_AmenityFeature = 19
// In-unit washer and dryer.
ProductAttributes_IN_UNIT_WASHER_DRYER ProductAttributes_AmenityFeature = 20
// Kitchen.
ProductAttributes_KITCHEN ProductAttributes_AmenityFeature = 21
// Large closets.
ProductAttributes_LARGE_CLOSETS ProductAttributes_AmenityFeature = 22
// Multisport court.
ProductAttributes_MULTISPORT_COURT ProductAttributes_AmenityFeature = 23
// Onsite laundry.
ProductAttributes_ONSITE_LAUNDRY ProductAttributes_AmenityFeature = 24
// Outdoor lounge.
ProductAttributes_OUTDOOR_LOUNGE ProductAttributes_AmenityFeature = 25
// Parking.
ProductAttributes_PARKING ProductAttributes_AmenityFeature = 26
// Patio.
ProductAttributes_PATIO ProductAttributes_AmenityFeature = 27
// Pickleball court.
ProductAttributes_PICKLEBALL_COURT ProductAttributes_AmenityFeature = 28
// Pool.
ProductAttributes_POOL ProductAttributes_AmenityFeature = 29
// Refrigerator.
ProductAttributes_REFRIGERATOR ProductAttributes_AmenityFeature = 30
// Soccer field.
ProductAttributes_SOCCER_FIELD ProductAttributes_AmenityFeature = 31
// Tennis court.
ProductAttributes_TENNIS_COURT ProductAttributes_AmenityFeature = 32
// Walk-in closets.
ProductAttributes_WALK_IN_CLOSETS ProductAttributes_AmenityFeature = 33
// Wheelchair accessibility.
ProductAttributes_WHEELCHAIR_ACCESS ProductAttributes_AmenityFeature = 34
)func (ProductAttributes_AmenityFeature) Descriptor
func (ProductAttributes_AmenityFeature) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_AmenityFeature) Enum
func (x ProductAttributes_AmenityFeature) Enum() *ProductAttributes_AmenityFeaturefunc (ProductAttributes_AmenityFeature) EnumDescriptor
func (ProductAttributes_AmenityFeature) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_AmenityFeature.Descriptor instead.
func (ProductAttributes_AmenityFeature) Number
func (x ProductAttributes_AmenityFeature) Number() protoreflect.EnumNumberfunc (ProductAttributes_AmenityFeature) String
func (x ProductAttributes_AmenityFeature) String() stringfunc (ProductAttributes_AmenityFeature) Type
func (ProductAttributes_AmenityFeature) Type() protoreflect.EnumTypeProductAttributes_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() stringProductAttributes_Co2Emissions
type ProductAttributes_Co2Emissions struct {
// The co2 emission value.
Value *int64 `protobuf:"varint,1,opt,name=value,proto3,oneof" json:"value,omitempty"`
// The unit of the co2 emission.
Unit ProductAttributes_Co2Emissions_Unit `protobuf:"varint,2,opt,name=unit,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_Co2Emissions_Unit" json:"unit,omitempty"`
// contains filtered or unexported fields
}The co2 emission of the vehicle.
func (*ProductAttributes_Co2Emissions) Descriptor
func (*ProductAttributes_Co2Emissions) Descriptor() ([]byte, []int)Deprecated: Use ProductAttributes_Co2Emissions.ProtoReflect.Descriptor instead.
func (*ProductAttributes_Co2Emissions) GetUnit
func (x *ProductAttributes_Co2Emissions) GetUnit() ProductAttributes_Co2Emissions_Unitfunc (*ProductAttributes_Co2Emissions) GetValue
func (x *ProductAttributes_Co2Emissions) GetValue() int64func (*ProductAttributes_Co2Emissions) ProtoMessage
func (*ProductAttributes_Co2Emissions) ProtoMessage()func (*ProductAttributes_Co2Emissions) ProtoReflect
func (x *ProductAttributes_Co2Emissions) ProtoReflect() protoreflect.Messagefunc (*ProductAttributes_Co2Emissions) Reset
func (x *ProductAttributes_Co2Emissions) Reset()func (*ProductAttributes_Co2Emissions) String
func (x *ProductAttributes_Co2Emissions) String() stringProductAttributes_Co2Emissions_Unit
type ProductAttributes_Co2Emissions_Unit int32The unit of the co2 emission.
ProductAttributes_Co2Emissions_UNIT_UNSPECIFIED, ProductAttributes_Co2Emissions_GPERKM
const (
// Unspecified unit.
ProductAttributes_Co2Emissions_UNIT_UNSPECIFIED ProductAttributes_Co2Emissions_Unit = 0
// Grams per kilometer.
ProductAttributes_Co2Emissions_GPERKM ProductAttributes_Co2Emissions_Unit = 1
)func (ProductAttributes_Co2Emissions_Unit) Descriptor
func (ProductAttributes_Co2Emissions_Unit) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_Co2Emissions_Unit) Enum
func (x ProductAttributes_Co2Emissions_Unit) Enum() *ProductAttributes_Co2Emissions_Unitfunc (ProductAttributes_Co2Emissions_Unit) EnumDescriptor
func (ProductAttributes_Co2Emissions_Unit) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_Co2Emissions_Unit.Descriptor instead.
func (ProductAttributes_Co2Emissions_Unit) Number
func (x ProductAttributes_Co2Emissions_Unit) Number() protoreflect.EnumNumberfunc (ProductAttributes_Co2Emissions_Unit) String
func (x ProductAttributes_Co2Emissions_Unit) String() stringfunc (ProductAttributes_Co2Emissions_Unit) Type
func (ProductAttributes_Co2Emissions_Unit) Type() protoreflect.EnumTypeProductAttributes_DisplayAddress
type ProductAttributes_DisplayAddress struct {
// The street number.
StreetNumber string `protobuf:"bytes,1,opt,name=street_number,json=streetNumber,proto3" json:"street_number,omitempty"`
// The street name.
StreetName string `protobuf:"bytes,2,opt,name=street_name,json=streetName,proto3" json:"street_name,omitempty"`
// The city such as Seattle, New York, etc.
City string `protobuf:"bytes,3,opt,name=city,proto3" json:"city,omitempty"`
// The region(state), such as WA, OH, etc.
Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"`
// The postal code, such as 94043.
PostalCode string `protobuf:"bytes,5,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"`
// contains filtered or unexported fields
}The display address of the property.
func (*ProductAttributes_DisplayAddress) Descriptor
func (*ProductAttributes_DisplayAddress) Descriptor() ([]byte, []int)Deprecated: Use ProductAttributes_DisplayAddress.ProtoReflect.Descriptor instead.
func (*ProductAttributes_DisplayAddress) GetCity
func (x *ProductAttributes_DisplayAddress) GetCity() stringfunc (*ProductAttributes_DisplayAddress) GetPostalCode
func (x *ProductAttributes_DisplayAddress) GetPostalCode() stringfunc (*ProductAttributes_DisplayAddress) GetRegion
func (x *ProductAttributes_DisplayAddress) GetRegion() stringfunc (*ProductAttributes_DisplayAddress) GetStreetName
func (x *ProductAttributes_DisplayAddress) GetStreetName() stringfunc (*ProductAttributes_DisplayAddress) GetStreetNumber
func (x *ProductAttributes_DisplayAddress) GetStreetNumber() stringfunc (*ProductAttributes_DisplayAddress) ProtoMessage
func (*ProductAttributes_DisplayAddress) ProtoMessage()func (*ProductAttributes_DisplayAddress) ProtoReflect
func (x *ProductAttributes_DisplayAddress) ProtoReflect() protoreflect.Messagefunc (*ProductAttributes_DisplayAddress) Reset
func (x *ProductAttributes_DisplayAddress) Reset()func (*ProductAttributes_DisplayAddress) String
func (x *ProductAttributes_DisplayAddress) String() stringProductAttributes_EmissionsStandard
type ProductAttributes_EmissionsStandard int32The emission standard of the vehicle.
ProductAttributes_EMISSIONS_STANDARD_UNSPECIFIED, ProductAttributes_ZERO_EMISSIONS, ProductAttributes_EURO1, ProductAttributes_EURO2, ProductAttributes_EURO3, ProductAttributes_EURO4, ProductAttributes_EURO5, ProductAttributes_EURO5B, ProductAttributes_EURO6, ProductAttributes_EURO6C, ProductAttributes_EURO6D, ProductAttributes_EURO6D_TEMP, ProductAttributes_EURO6E
const (
// Unspecified emission standard.
ProductAttributes_EMISSIONS_STANDARD_UNSPECIFIED ProductAttributes_EmissionsStandard = 0
// Zero emissions.
ProductAttributes_ZERO_EMISSIONS ProductAttributes_EmissionsStandard = 1
// Euro 1.
ProductAttributes_EURO1 ProductAttributes_EmissionsStandard = 2
// Euro 2.
ProductAttributes_EURO2 ProductAttributes_EmissionsStandard = 3
// Euro 3.
ProductAttributes_EURO3 ProductAttributes_EmissionsStandard = 4
// Euro 4.
ProductAttributes_EURO4 ProductAttributes_EmissionsStandard = 5
// Euro 5.
ProductAttributes_EURO5 ProductAttributes_EmissionsStandard = 6
// Euro 5b.
ProductAttributes_EURO5B ProductAttributes_EmissionsStandard = 7
// Euro 6.
ProductAttributes_EURO6 ProductAttributes_EmissionsStandard = 8
// Euro 6c.
ProductAttributes_EURO6C ProductAttributes_EmissionsStandard = 9
// Euro 6d.
ProductAttributes_EURO6D ProductAttributes_EmissionsStandard = 10
// Euro 6d-TEMP.
ProductAttributes_EURO6D_TEMP ProductAttributes_EmissionsStandard = 11
// Euro 6e.
ProductAttributes_EURO6E ProductAttributes_EmissionsStandard = 12
)func (ProductAttributes_EmissionsStandard) Descriptor
func (ProductAttributes_EmissionsStandard) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_EmissionsStandard) Enum
func (x ProductAttributes_EmissionsStandard) Enum() *ProductAttributes_EmissionsStandardfunc (ProductAttributes_EmissionsStandard) EnumDescriptor
func (ProductAttributes_EmissionsStandard) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_EmissionsStandard.Descriptor instead.
func (ProductAttributes_EmissionsStandard) Number
func (x ProductAttributes_EmissionsStandard) Number() protoreflect.EnumNumberfunc (ProductAttributes_EmissionsStandard) String
func (x ProductAttributes_EmissionsStandard) String() stringfunc (ProductAttributes_EmissionsStandard) Type
func (ProductAttributes_EmissionsStandard) Type() protoreflect.EnumTypeProductAttributes_EnergyConsumption
type ProductAttributes_EnergyConsumption struct {
// The energy consumption value.
Value *float64 `protobuf:"fixed64,1,opt,name=value,proto3,oneof" json:"value,omitempty"`
// The unit of the energy consumption.
Unit ProductAttributes_EnergyConsumption_Unit `protobuf:"varint,2,opt,name=unit,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_EnergyConsumption_Unit" json:"unit,omitempty"`
// contains filtered or unexported fields
}The energy consumption of the vehicle.
func (*ProductAttributes_EnergyConsumption) Descriptor
func (*ProductAttributes_EnergyConsumption) Descriptor() ([]byte, []int)Deprecated: Use ProductAttributes_EnergyConsumption.ProtoReflect.Descriptor instead.
func (*ProductAttributes_EnergyConsumption) GetUnit
func (x *ProductAttributes_EnergyConsumption) GetUnit() ProductAttributes_EnergyConsumption_Unitfunc (*ProductAttributes_EnergyConsumption) GetValue
func (x *ProductAttributes_EnergyConsumption) GetValue() float64func (*ProductAttributes_EnergyConsumption) ProtoMessage
func (*ProductAttributes_EnergyConsumption) ProtoMessage()func (*ProductAttributes_EnergyConsumption) ProtoReflect
func (x *ProductAttributes_EnergyConsumption) ProtoReflect() protoreflect.Messagefunc (*ProductAttributes_EnergyConsumption) Reset
func (x *ProductAttributes_EnergyConsumption) Reset()func (*ProductAttributes_EnergyConsumption) String
func (x *ProductAttributes_EnergyConsumption) String() stringProductAttributes_EnergyConsumption_Unit
type ProductAttributes_EnergyConsumption_Unit int32The unit of the energy consumption.
ProductAttributes_EnergyConsumption_UNIT_UNSPECIFIED, ProductAttributes_EnergyConsumption_KWHPER100KM
const (
// Unspecified unit.
ProductAttributes_EnergyConsumption_UNIT_UNSPECIFIED ProductAttributes_EnergyConsumption_Unit = 0
// Kilowatt hours per 100 kilometers.
ProductAttributes_EnergyConsumption_KWHPER100KM ProductAttributes_EnergyConsumption_Unit = 1
)func (ProductAttributes_EnergyConsumption_Unit) Descriptor
func (ProductAttributes_EnergyConsumption_Unit) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_EnergyConsumption_Unit) Enum
func (ProductAttributes_EnergyConsumption_Unit) EnumDescriptor
func (ProductAttributes_EnergyConsumption_Unit) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_EnergyConsumption_Unit.Descriptor instead.
func (ProductAttributes_EnergyConsumption_Unit) Number
func (x ProductAttributes_EnergyConsumption_Unit) Number() protoreflect.EnumNumberfunc (ProductAttributes_EnergyConsumption_Unit) String
func (x ProductAttributes_EnergyConsumption_Unit) String() stringfunc (ProductAttributes_EnergyConsumption_Unit) Type
func (ProductAttributes_EnergyConsumption_Unit) Type() protoreflect.EnumTypeProductAttributes_EngineType
type ProductAttributes_EngineType int32The engine type of the vehicle.
ProductAttributes_ENGINE_TYPE_UNSPECIFIED, ProductAttributes_GASOLINE, ProductAttributes_DIESEL, ProductAttributes_ELECTRIC, ProductAttributes_HYBRID, ProductAttributes_PLUG_IN_HYBRID, ProductAttributes_NATURAL_GAS, ProductAttributes_LPG, ProductAttributes_METHANE, ProductAttributes_OTHER
const (
// Unspecified engine type.
ProductAttributes_ENGINE_TYPE_UNSPECIFIED ProductAttributes_EngineType = 0
// Gasoline.
ProductAttributes_GASOLINE ProductAttributes_EngineType = 1
// Diesel.
ProductAttributes_DIESEL ProductAttributes_EngineType = 2
// Electric.
ProductAttributes_ELECTRIC ProductAttributes_EngineType = 3
// Hybrid.
ProductAttributes_HYBRID ProductAttributes_EngineType = 4
// Plug-in hybrid.
ProductAttributes_PLUG_IN_HYBRID ProductAttributes_EngineType = 5
// Natural gas.
ProductAttributes_NATURAL_GAS ProductAttributes_EngineType = 6
// LPG.
ProductAttributes_LPG ProductAttributes_EngineType = 7
// Methane.
ProductAttributes_METHANE ProductAttributes_EngineType = 8
// Other.
ProductAttributes_OTHER ProductAttributes_EngineType = 9
)func (ProductAttributes_EngineType) Descriptor
func (ProductAttributes_EngineType) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_EngineType) Enum
func (x ProductAttributes_EngineType) Enum() *ProductAttributes_EngineTypefunc (ProductAttributes_EngineType) EnumDescriptor
func (ProductAttributes_EngineType) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_EngineType.Descriptor instead.
func (ProductAttributes_EngineType) Number
func (x ProductAttributes_EngineType) Number() protoreflect.EnumNumberfunc (ProductAttributes_EngineType) String
func (x ProductAttributes_EngineType) String() stringfunc (ProductAttributes_EngineType) Type
func (ProductAttributes_EngineType) Type() protoreflect.EnumTypeProductAttributes_FuelConsumption
type ProductAttributes_FuelConsumption struct {
// The fuel consumption value.
Value *float64 `protobuf:"fixed64,1,opt,name=value,proto3,oneof" json:"value,omitempty"`
// The unit of the fuel consumption.
Unit ProductAttributes_FuelConsumption_Unit `protobuf:"varint,2,opt,name=unit,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_FuelConsumption_Unit" json:"unit,omitempty"`
// contains filtered or unexported fields
}The fuel consumption of the vehicle.
func (*ProductAttributes_FuelConsumption) Descriptor
func (*ProductAttributes_FuelConsumption) Descriptor() ([]byte, []int)Deprecated: Use ProductAttributes_FuelConsumption.ProtoReflect.Descriptor instead.
func (*ProductAttributes_FuelConsumption) GetUnit
func (x *ProductAttributes_FuelConsumption) GetUnit() ProductAttributes_FuelConsumption_Unitfunc (*ProductAttributes_FuelConsumption) GetValue
func (x *ProductAttributes_FuelConsumption) GetValue() float64func (*ProductAttributes_FuelConsumption) ProtoMessage
func (*ProductAttributes_FuelConsumption) ProtoMessage()func (*ProductAttributes_FuelConsumption) ProtoReflect
func (x *ProductAttributes_FuelConsumption) ProtoReflect() protoreflect.Messagefunc (*ProductAttributes_FuelConsumption) Reset
func (x *ProductAttributes_FuelConsumption) Reset()func (*ProductAttributes_FuelConsumption) String
func (x *ProductAttributes_FuelConsumption) String() stringProductAttributes_FuelConsumption_Unit
type ProductAttributes_FuelConsumption_Unit int32The unit of the fuel consumption.
ProductAttributes_FuelConsumption_UNIT_UNSPECIFIED, ProductAttributes_FuelConsumption_LPER100KM, ProductAttributes_FuelConsumption_KGPER100KM
const (
// Unspecified unit.
ProductAttributes_FuelConsumption_UNIT_UNSPECIFIED ProductAttributes_FuelConsumption_Unit = 0
// Liter per 100 kilometers.
ProductAttributes_FuelConsumption_LPER100KM ProductAttributes_FuelConsumption_Unit = 1
// Kilograms per 100 kilometers.
ProductAttributes_FuelConsumption_KGPER100KM ProductAttributes_FuelConsumption_Unit = 2
)func (ProductAttributes_FuelConsumption_Unit) Descriptor
func (ProductAttributes_FuelConsumption_Unit) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_FuelConsumption_Unit) Enum
func (ProductAttributes_FuelConsumption_Unit) EnumDescriptor
func (ProductAttributes_FuelConsumption_Unit) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_FuelConsumption_Unit.Descriptor instead.
func (ProductAttributes_FuelConsumption_Unit) Number
func (x ProductAttributes_FuelConsumption_Unit) Number() protoreflect.EnumNumberfunc (ProductAttributes_FuelConsumption_Unit) String
func (x ProductAttributes_FuelConsumption_Unit) String() stringfunc (ProductAttributes_FuelConsumption_Unit) Type
func (ProductAttributes_FuelConsumption_Unit) Type() protoreflect.EnumTypeProductAttributes_LeaseTerm
type ProductAttributes_LeaseTerm struct {
// The type of lease term.
Type ProductAttributes_LeaseTerm_LeaseTermType `protobuf:"varint,1,opt,name=type,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_LeaseTerm_LeaseTermType" json:"type,omitempty"`
// The duration value of the lease term.
DurationValue *int64 `protobuf:"varint,2,opt,name=duration_value,json=durationValue,proto3,oneof" json:"duration_value,omitempty"`
// The duration unit of the lease term.
DurationUnit ProductAttributes_LeaseTerm_DurationUnit `protobuf:"varint,3,opt,name=duration_unit,json=durationUnit,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_LeaseTerm_DurationUnit" json:"duration_unit,omitempty"`
// contains filtered or unexported fields
}The lease term of the property.
func (*ProductAttributes_LeaseTerm) Descriptor
func (*ProductAttributes_LeaseTerm) Descriptor() ([]byte, []int)Deprecated: Use ProductAttributes_LeaseTerm.ProtoReflect.Descriptor instead.
func (*ProductAttributes_LeaseTerm) GetDurationUnit
func (x *ProductAttributes_LeaseTerm) GetDurationUnit() ProductAttributes_LeaseTerm_DurationUnitfunc (*ProductAttributes_LeaseTerm) GetDurationValue
func (x *ProductAttributes_LeaseTerm) GetDurationValue() int64func (*ProductAttributes_LeaseTerm) GetType
func (x *ProductAttributes_LeaseTerm) GetType() ProductAttributes_LeaseTerm_LeaseTermTypefunc (*ProductAttributes_LeaseTerm) ProtoMessage
func (*ProductAttributes_LeaseTerm) ProtoMessage()func (*ProductAttributes_LeaseTerm) ProtoReflect
func (x *ProductAttributes_LeaseTerm) ProtoReflect() protoreflect.Messagefunc (*ProductAttributes_LeaseTerm) Reset
func (x *ProductAttributes_LeaseTerm) Reset()func (*ProductAttributes_LeaseTerm) String
func (x *ProductAttributes_LeaseTerm) String() stringProductAttributes_LeaseTerm_DurationUnit
type ProductAttributes_LeaseTerm_DurationUnit int32The unit of duration.
ProductAttributes_LeaseTerm_DURATION_UNIT_UNSPECIFIED, ProductAttributes_LeaseTerm_MONTHS, ProductAttributes_LeaseTerm_WEEKS
const (
// Unspecified duration unit.
ProductAttributes_LeaseTerm_DURATION_UNIT_UNSPECIFIED ProductAttributes_LeaseTerm_DurationUnit = 0
// Month.
ProductAttributes_LeaseTerm_MONTHS ProductAttributes_LeaseTerm_DurationUnit = 1
// Week.
ProductAttributes_LeaseTerm_WEEKS ProductAttributes_LeaseTerm_DurationUnit = 2
)func (ProductAttributes_LeaseTerm_DurationUnit) Descriptor
func (ProductAttributes_LeaseTerm_DurationUnit) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_LeaseTerm_DurationUnit) Enum
func (ProductAttributes_LeaseTerm_DurationUnit) EnumDescriptor
func (ProductAttributes_LeaseTerm_DurationUnit) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_LeaseTerm_DurationUnit.Descriptor instead.
func (ProductAttributes_LeaseTerm_DurationUnit) Number
func (x ProductAttributes_LeaseTerm_DurationUnit) Number() protoreflect.EnumNumberfunc (ProductAttributes_LeaseTerm_DurationUnit) String
func (x ProductAttributes_LeaseTerm_DurationUnit) String() stringfunc (ProductAttributes_LeaseTerm_DurationUnit) Type
func (ProductAttributes_LeaseTerm_DurationUnit) Type() protoreflect.EnumTypeProductAttributes_LeaseTerm_LeaseTermType
type ProductAttributes_LeaseTerm_LeaseTermType int32The type of lease term.
ProductAttributes_LeaseTerm_LEASE_TERM_TYPE_UNSPECIFIED, ProductAttributes_LeaseTerm_FIXED_TERM
const (
// Unspecified lease term type.
ProductAttributes_LeaseTerm_LEASE_TERM_TYPE_UNSPECIFIED ProductAttributes_LeaseTerm_LeaseTermType = 0
// Fixed term.
ProductAttributes_LeaseTerm_FIXED_TERM ProductAttributes_LeaseTerm_LeaseTermType = 1
)func (ProductAttributes_LeaseTerm_LeaseTermType) Descriptor
func (ProductAttributes_LeaseTerm_LeaseTermType) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_LeaseTerm_LeaseTermType) Enum
func (x ProductAttributes_LeaseTerm_LeaseTermType) Enum() *ProductAttributes_LeaseTerm_LeaseTermTypefunc (ProductAttributes_LeaseTerm_LeaseTermType) EnumDescriptor
func (ProductAttributes_LeaseTerm_LeaseTermType) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_LeaseTerm_LeaseTermType.Descriptor instead.
func (ProductAttributes_LeaseTerm_LeaseTermType) Number
func (x ProductAttributes_LeaseTerm_LeaseTermType) Number() protoreflect.EnumNumberfunc (ProductAttributes_LeaseTerm_LeaseTermType) String
func (x ProductAttributes_LeaseTerm_LeaseTermType) String() stringfunc (ProductAttributes_LeaseTerm_LeaseTermType) Type
func (ProductAttributes_LeaseTerm_LeaseTermType) Type() protoreflect.EnumTypeProductAttributes_Mileage
type ProductAttributes_Mileage struct {
// The distance value.
Value *int64 `protobuf:"varint,1,opt,name=value,proto3,oneof" json:"value,omitempty"`
// The unit of the mileage.
Unit ProductAttributes_Mileage_Unit `protobuf:"varint,2,opt,name=unit,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_Mileage_Unit" json:"unit,omitempty"`
// contains filtered or unexported fields
}The mileage of the vehicle.
func (*ProductAttributes_Mileage) Descriptor
func (*ProductAttributes_Mileage) Descriptor() ([]byte, []int)Deprecated: Use ProductAttributes_Mileage.ProtoReflect.Descriptor instead.
func (*ProductAttributes_Mileage) GetUnit
func (x *ProductAttributes_Mileage) GetUnit() ProductAttributes_Mileage_Unitfunc (*ProductAttributes_Mileage) GetValue
func (x *ProductAttributes_Mileage) GetValue() int64func (*ProductAttributes_Mileage) ProtoMessage
func (*ProductAttributes_Mileage) ProtoMessage()func (*ProductAttributes_Mileage) ProtoReflect
func (x *ProductAttributes_Mileage) ProtoReflect() protoreflect.Messagefunc (*ProductAttributes_Mileage) Reset
func (x *ProductAttributes_Mileage) Reset()func (*ProductAttributes_Mileage) String
func (x *ProductAttributes_Mileage) String() stringProductAttributes_Mileage_Unit
type ProductAttributes_Mileage_Unit int32The unit of the mileage.
ProductAttributes_Mileage_UNIT_UNSPECIFIED, ProductAttributes_Mileage_MILES, ProductAttributes_Mileage_KM
const (
// Unspecified unit.
ProductAttributes_Mileage_UNIT_UNSPECIFIED ProductAttributes_Mileage_Unit = 0
// Miles.
ProductAttributes_Mileage_MILES ProductAttributes_Mileage_Unit = 1
// Kilometers.
ProductAttributes_Mileage_KM ProductAttributes_Mileage_Unit = 2
)func (ProductAttributes_Mileage_Unit) Descriptor
func (ProductAttributes_Mileage_Unit) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_Mileage_Unit) Enum
func (x ProductAttributes_Mileage_Unit) Enum() *ProductAttributes_Mileage_Unitfunc (ProductAttributes_Mileage_Unit) EnumDescriptor
func (ProductAttributes_Mileage_Unit) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_Mileage_Unit.Descriptor instead.
func (ProductAttributes_Mileage_Unit) Number
func (x ProductAttributes_Mileage_Unit) Number() protoreflect.EnumNumberfunc (ProductAttributes_Mileage_Unit) String
func (x ProductAttributes_Mileage_Unit) String() stringfunc (ProductAttributes_Mileage_Unit) Type
func (ProductAttributes_Mileage_Unit) Type() protoreflect.EnumTypeProductAttributes_PetPolicy
type ProductAttributes_PetPolicy struct {
// Whether pets are allowed.
PetsAllowed bool `protobuf:"varint,1,opt,name=pets_allowed,json=petsAllowed,proto3" json:"pets_allowed,omitempty"`
// The pet types allowed.
PetTypes []ProductAttributes_PetPolicy_PetType `protobuf:"varint,2,rep,packed,name=pet_types,json=petTypes,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_PetPolicy_PetType" json:"pet_types,omitempty"`
// contains filtered or unexported fields
}The pet policy of the property.
func (*ProductAttributes_PetPolicy) Descriptor
func (*ProductAttributes_PetPolicy) Descriptor() ([]byte, []int)Deprecated: Use ProductAttributes_PetPolicy.ProtoReflect.Descriptor instead.
func (*ProductAttributes_PetPolicy) GetPetTypes
func (x *ProductAttributes_PetPolicy) GetPetTypes() []ProductAttributes_PetPolicy_PetTypefunc (*ProductAttributes_PetPolicy) GetPetsAllowed
func (x *ProductAttributes_PetPolicy) GetPetsAllowed() boolfunc (*ProductAttributes_PetPolicy) ProtoMessage
func (*ProductAttributes_PetPolicy) ProtoMessage()func (*ProductAttributes_PetPolicy) ProtoReflect
func (x *ProductAttributes_PetPolicy) ProtoReflect() protoreflect.Messagefunc (*ProductAttributes_PetPolicy) Reset
func (x *ProductAttributes_PetPolicy) Reset()func (*ProductAttributes_PetPolicy) String
func (x *ProductAttributes_PetPolicy) String() stringProductAttributes_PetPolicy_PetType
type ProductAttributes_PetPolicy_PetType int32The pet types.
ProductAttributes_PetPolicy_PET_TYPE_UNSPECIFIED, ProductAttributes_PetPolicy_CATS, ProductAttributes_PetPolicy_LARGE_DOGS, ProductAttributes_PetPolicy_SMALL_DOGS
const (
// Unspecified pet type.
ProductAttributes_PetPolicy_PET_TYPE_UNSPECIFIED ProductAttributes_PetPolicy_PetType = 0
// Cats.
ProductAttributes_PetPolicy_CATS ProductAttributes_PetPolicy_PetType = 1
// Large dogs.
ProductAttributes_PetPolicy_LARGE_DOGS ProductAttributes_PetPolicy_PetType = 2
// Small dogs.
ProductAttributes_PetPolicy_SMALL_DOGS ProductAttributes_PetPolicy_PetType = 3
)func (ProductAttributes_PetPolicy_PetType) Descriptor
func (ProductAttributes_PetPolicy_PetType) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_PetPolicy_PetType) Enum
func (x ProductAttributes_PetPolicy_PetType) Enum() *ProductAttributes_PetPolicy_PetTypefunc (ProductAttributes_PetPolicy_PetType) EnumDescriptor
func (ProductAttributes_PetPolicy_PetType) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_PetPolicy_PetType.Descriptor instead.
func (ProductAttributes_PetPolicy_PetType) Number
func (x ProductAttributes_PetPolicy_PetType) Number() protoreflect.EnumNumberfunc (ProductAttributes_PetPolicy_PetType) String
func (x ProductAttributes_PetPolicy_PetType) String() stringfunc (ProductAttributes_PetPolicy_PetType) Type
func (ProductAttributes_PetPolicy_PetType) Type() protoreflect.EnumTypeProductAttributes_ProductFee
type ProductAttributes_ProductFee struct {
// The type of product fee.
Type ProductAttributes_ProductFee_FeeType `protobuf:"varint,1,opt,name=type,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_ProductFee_FeeType" json:"type,omitempty"`
// The amount of product fee.
Amount *typepb.Price `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
// contains filtered or unexported fields
}The product fee attribute containing type and amount.
func (*ProductAttributes_ProductFee) Descriptor
func (*ProductAttributes_ProductFee) Descriptor() ([]byte, []int)Deprecated: Use ProductAttributes_ProductFee.ProtoReflect.Descriptor instead.
func (*ProductAttributes_ProductFee) GetAmount
func (x *ProductAttributes_ProductFee) GetAmount() *typepb.Pricefunc (*ProductAttributes_ProductFee) GetType
func (x *ProductAttributes_ProductFee) GetType() ProductAttributes_ProductFee_FeeTypefunc (*ProductAttributes_ProductFee) ProtoMessage
func (*ProductAttributes_ProductFee) ProtoMessage()func (*ProductAttributes_ProductFee) ProtoReflect
func (x *ProductAttributes_ProductFee) ProtoReflect() protoreflect.Messagefunc (*ProductAttributes_ProductFee) Reset
func (x *ProductAttributes_ProductFee) Reset()func (*ProductAttributes_ProductFee) String
func (x *ProductAttributes_ProductFee) String() stringProductAttributes_ProductFee_FeeType
type ProductAttributes_ProductFee_FeeType int32The type of product fee.
ProductAttributes_ProductFee_FEE_TYPE_UNSPECIFIED, ProductAttributes_ProductFee_ADMIN_FEE, ProductAttributes_ProductFee_APPLICATION_FEE, ProductAttributes_ProductFee_SECURITY_DEPOSIT
const (
// Unspecified fee type.
ProductAttributes_ProductFee_FEE_TYPE_UNSPECIFIED ProductAttributes_ProductFee_FeeType = 0
// Admin fee.
ProductAttributes_ProductFee_ADMIN_FEE ProductAttributes_ProductFee_FeeType = 1
// Application fee.
ProductAttributes_ProductFee_APPLICATION_FEE ProductAttributes_ProductFee_FeeType = 2
// Security deposit.
ProductAttributes_ProductFee_SECURITY_DEPOSIT ProductAttributes_ProductFee_FeeType = 3
)func (ProductAttributes_ProductFee_FeeType) Descriptor
func (ProductAttributes_ProductFee_FeeType) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_ProductFee_FeeType) Enum
func (x ProductAttributes_ProductFee_FeeType) Enum() *ProductAttributes_ProductFee_FeeTypefunc (ProductAttributes_ProductFee_FeeType) EnumDescriptor
func (ProductAttributes_ProductFee_FeeType) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_ProductFee_FeeType.Descriptor instead.
func (ProductAttributes_ProductFee_FeeType) Number
func (x ProductAttributes_ProductFee_FeeType) Number() protoreflect.EnumNumberfunc (ProductAttributes_ProductFee_FeeType) String
func (x ProductAttributes_ProductFee_FeeType) String() stringfunc (ProductAttributes_ProductFee_FeeType) Type
func (ProductAttributes_ProductFee_FeeType) Type() protoreflect.EnumTypeProductAttributes_PropertyType
type ProductAttributes_PropertyType int32The property type.
ProductAttributes_PROPERTY_TYPE_UNSPECIFIED, ProductAttributes_APARTMENT, ProductAttributes_CONDO, ProductAttributes_LOFT, ProductAttributes_MULTI_FAMILY_HOME, ProductAttributes_PENTHOUSE, ProductAttributes_ROOM, ProductAttributes_SINGLE_FAMILY_HOME, ProductAttributes_STUDIO, ProductAttributes_TOWNHOUSE
const (
// Unspecified property type.
ProductAttributes_PROPERTY_TYPE_UNSPECIFIED ProductAttributes_PropertyType = 0
// Apartment.
ProductAttributes_APARTMENT ProductAttributes_PropertyType = 1
// Condo.
ProductAttributes_CONDO ProductAttributes_PropertyType = 2
// Loft.
ProductAttributes_LOFT ProductAttributes_PropertyType = 3
// Multi-family home.
ProductAttributes_MULTI_FAMILY_HOME ProductAttributes_PropertyType = 4
// Penthouse.
ProductAttributes_PENTHOUSE ProductAttributes_PropertyType = 5
// Room.
ProductAttributes_ROOM ProductAttributes_PropertyType = 6
// Single-family home.
ProductAttributes_SINGLE_FAMILY_HOME ProductAttributes_PropertyType = 7
// Studio.
ProductAttributes_STUDIO ProductAttributes_PropertyType = 8
// Townhouse.
ProductAttributes_TOWNHOUSE ProductAttributes_PropertyType = 9
)func (ProductAttributes_PropertyType) Descriptor
func (ProductAttributes_PropertyType) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_PropertyType) Enum
func (x ProductAttributes_PropertyType) Enum() *ProductAttributes_PropertyTypefunc (ProductAttributes_PropertyType) EnumDescriptor
func (ProductAttributes_PropertyType) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_PropertyType.Descriptor instead.
func (ProductAttributes_PropertyType) Number
func (x ProductAttributes_PropertyType) Number() protoreflect.EnumNumberfunc (ProductAttributes_PropertyType) String
func (x ProductAttributes_PropertyType) String() stringfunc (ProductAttributes_PropertyType) Type
func (ProductAttributes_PropertyType) Type() protoreflect.EnumTypeProductAttributes_QuestionAndAnswer
type ProductAttributes_QuestionAndAnswer struct {
// Required. The question text.
Question string `protobuf:"bytes,1,opt,name=question,proto3" json:"question,omitempty"`
// Required. The answer text.
Answer string `protobuf:"bytes,2,opt,name=answer,proto3" json:"answer,omitempty"`
// contains filtered or unexported fields
}The question and answer for the product.
func (*ProductAttributes_QuestionAndAnswer) Descriptor
func (*ProductAttributes_QuestionAndAnswer) Descriptor() ([]byte, []int)Deprecated: Use ProductAttributes_QuestionAndAnswer.ProtoReflect.Descriptor instead.
func (*ProductAttributes_QuestionAndAnswer) GetAnswer
func (x *ProductAttributes_QuestionAndAnswer) GetAnswer() stringfunc (*ProductAttributes_QuestionAndAnswer) GetQuestion
func (x *ProductAttributes_QuestionAndAnswer) GetQuestion() stringfunc (*ProductAttributes_QuestionAndAnswer) ProtoMessage
func (*ProductAttributes_QuestionAndAnswer) ProtoMessage()func (*ProductAttributes_QuestionAndAnswer) ProtoReflect
func (x *ProductAttributes_QuestionAndAnswer) ProtoReflect() protoreflect.Messagefunc (*ProductAttributes_QuestionAndAnswer) Reset
func (x *ProductAttributes_QuestionAndAnswer) Reset()func (*ProductAttributes_QuestionAndAnswer) String
func (x *ProductAttributes_QuestionAndAnswer) String() stringProductAttributes_RelatedProduct
type ProductAttributes_RelatedProduct struct {
// Required. The type of the relationship between this product and the
// related product.
RelationshipType ProductAttributes_RelatedProduct_RelationshipType `protobuf:"varint,1,opt,name=relationship_type,json=relationshipType,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_RelatedProduct_RelationshipType" json:"relationship_type,omitempty"`
// Required. The type of the identifier of the related product.
// For example, [GTIN](https://support.google.com/merchants/answer/6219078)
// or [product ID](https://support.google.com/merchants/answer/6324405).
IdType ProductAttributes_RelatedProduct_IdType `protobuf:"varint,2,opt,name=id_type,json=idType,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_RelatedProduct_IdType" json:"id_type,omitempty"`
// Required. The identifier of the related product.
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}Specifies how other products are related to this product.
func (*ProductAttributes_RelatedProduct) Descriptor
func (*ProductAttributes_RelatedProduct) Descriptor() ([]byte, []int)Deprecated: Use ProductAttributes_RelatedProduct.ProtoReflect.Descriptor instead.
func (*ProductAttributes_RelatedProduct) GetId
func (x *ProductAttributes_RelatedProduct) GetId() stringfunc (*ProductAttributes_RelatedProduct) GetIdType
func (x *ProductAttributes_RelatedProduct) GetIdType() ProductAttributes_RelatedProduct_IdTypefunc (*ProductAttributes_RelatedProduct) GetRelationshipType
func (x *ProductAttributes_RelatedProduct) GetRelationshipType() ProductAttributes_RelatedProduct_RelationshipTypefunc (*ProductAttributes_RelatedProduct) ProtoMessage
func (*ProductAttributes_RelatedProduct) ProtoMessage()func (*ProductAttributes_RelatedProduct) ProtoReflect
func (x *ProductAttributes_RelatedProduct) ProtoReflect() protoreflect.Messagefunc (*ProductAttributes_RelatedProduct) Reset
func (x *ProductAttributes_RelatedProduct) Reset()func (*ProductAttributes_RelatedProduct) String
func (x *ProductAttributes_RelatedProduct) String() stringProductAttributes_RelatedProduct_IdType
type ProductAttributes_RelatedProduct_IdType int32The type of the identifier of the related product.
ProductAttributes_RelatedProduct_ID_TYPE_UNSPECIFIED, ProductAttributes_RelatedProduct_GTIN, ProductAttributes_RelatedProduct_ID
const (
// The identifier type is unspecified.
ProductAttributes_RelatedProduct_ID_TYPE_UNSPECIFIED ProductAttributes_RelatedProduct_IdType = 0
// The identifier is a GTIN.
ProductAttributes_RelatedProduct_GTIN ProductAttributes_RelatedProduct_IdType = 1
// The identifier is a product ID in the feed.
ProductAttributes_RelatedProduct_ID ProductAttributes_RelatedProduct_IdType = 2
)func (ProductAttributes_RelatedProduct_IdType) Descriptor
func (ProductAttributes_RelatedProduct_IdType) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_RelatedProduct_IdType) Enum
func (ProductAttributes_RelatedProduct_IdType) EnumDescriptor
func (ProductAttributes_RelatedProduct_IdType) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_RelatedProduct_IdType.Descriptor instead.
func (ProductAttributes_RelatedProduct_IdType) Number
func (x ProductAttributes_RelatedProduct_IdType) Number() protoreflect.EnumNumberfunc (ProductAttributes_RelatedProduct_IdType) String
func (x ProductAttributes_RelatedProduct_IdType) String() stringfunc (ProductAttributes_RelatedProduct_IdType) Type
func (ProductAttributes_RelatedProduct_IdType) Type() protoreflect.EnumTypeProductAttributes_RelatedProduct_RelationshipType
type ProductAttributes_RelatedProduct_RelationshipType int32The various types of the relationships between this product and the related product.
ProductAttributes_RelatedProduct_RELATIONSHIP_TYPE_UNSPECIFIED, ProductAttributes_RelatedProduct_PART_OF_SET, ProductAttributes_RelatedProduct_REQUIRED_PART, ProductAttributes_RelatedProduct_OFTEN_BOUGHT_WITH, ProductAttributes_RelatedProduct_SUBSTITUTE, ProductAttributes_RelatedProduct_DIFFERENT_BRAND, ProductAttributes_RelatedProduct_ACCESSORY
const (
// The relationship type is unspecified.
ProductAttributes_RelatedProduct_RELATIONSHIP_TYPE_UNSPECIFIED ProductAttributes_RelatedProduct_RelationshipType = 0
// Part of a set of products that are often purchased together.
ProductAttributes_RelatedProduct_PART_OF_SET ProductAttributes_RelatedProduct_RelationshipType = 1
// Part that is necessary for the product to function, for example a
// battery for a battery-operated lamp.
ProductAttributes_RelatedProduct_REQUIRED_PART ProductAttributes_RelatedProduct_RelationshipType = 2
// A product that this product is often purchased together with, for
// example a phone case with a phone.
ProductAttributes_RelatedProduct_OFTEN_BOUGHT_WITH ProductAttributes_RelatedProduct_RelationshipType = 3
// Product that this product can be substituted for. For example a printer
// comparable in function to another printer.
ProductAttributes_RelatedProduct_SUBSTITUTE ProductAttributes_RelatedProduct_RelationshipType = 4
// An identical product sold under a different brand, for example a
// cheaper house brand.
ProductAttributes_RelatedProduct_DIFFERENT_BRAND ProductAttributes_RelatedProduct_RelationshipType = 5
// An accessory to this product, for example a side table that matches the
// style of a couch.
ProductAttributes_RelatedProduct_ACCESSORY ProductAttributes_RelatedProduct_RelationshipType = 6
)func (ProductAttributes_RelatedProduct_RelationshipType) Descriptor
func (ProductAttributes_RelatedProduct_RelationshipType) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_RelatedProduct_RelationshipType) Enum
func (x ProductAttributes_RelatedProduct_RelationshipType) Enum() *ProductAttributes_RelatedProduct_RelationshipTypefunc (ProductAttributes_RelatedProduct_RelationshipType) EnumDescriptor
func (ProductAttributes_RelatedProduct_RelationshipType) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_RelatedProduct_RelationshipType.Descriptor instead.
func (ProductAttributes_RelatedProduct_RelationshipType) Number
func (x ProductAttributes_RelatedProduct_RelationshipType) Number() protoreflect.EnumNumberfunc (ProductAttributes_RelatedProduct_RelationshipType) String
func (x ProductAttributes_RelatedProduct_RelationshipType) String() stringfunc (ProductAttributes_RelatedProduct_RelationshipType) Type
ProductAttributes_Returns
type ProductAttributes_Returns struct {
// The restocking fee charged to the customer.
//
// Types that are valid to be assigned to RestockingFeeOneof:
//
// *ProductAttributes_Returns_RestockingFee
// *ProductAttributes_Returns_RestockingPercentageFee
RestockingFeeOneof isProductAttributes_Returns_RestockingFeeOneof `protobuf_oneof:"restocking_fee_oneof"`
// The [CLDR territory
// code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
// of the countries to which an item can be returned.
Countries []string `protobuf:"bytes,1,rep,name=countries,proto3" json:"countries,omitempty"`
// The duration of the return window in days.
WindowDays *int64 `protobuf:"varint,2,opt,name=window_days,json=windowDays,proto3,oneof" json:"window_days,omitempty"`
// Special return window behavior.
WindowType *ProductAttributes_Returns_ReturnWindowType `protobuf:"varint,3,opt,name=window_type,json=windowType,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_Returns_ReturnWindowType,oneof" json:"window_type,omitempty"`
// The condition the item must be in to be accepted.
ItemConditions []ProductAttributes_Returns_ItemCondition `protobuf:"varint,4,rep,packed,name=item_conditions,json=itemConditions,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_Returns_ItemCondition" json:"item_conditions,omitempty"`
// The physical methods by which the item can be returned.
Methods []ProductAttributes_Returns_ReturnMethod `protobuf:"varint,5,rep,packed,name=methods,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_Returns_ReturnMethod" json:"methods,omitempty"`
// The financial outcomes available for a return.
Outcomes []ProductAttributes_Returns_ReturnOutcome `protobuf:"varint,6,rep,packed,name=outcomes,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_Returns_ReturnOutcome" json:"outcomes,omitempty"`
// The fixed cost out-of-pocket for a customer to return an item.
ShippingFee *typepb.Price `protobuf:"bytes,7,opt,name=shipping_fee,json=shippingFee,proto3,oneof" json:"shipping_fee,omitempty"`
// The type of return shipping fee.
ShippingFeeType *ProductAttributes_Returns_ReturnShippingFeeType `protobuf:"varint,8,opt,name=shipping_fee_type,json=shippingFeeType,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_Returns_ReturnShippingFeeType,oneof" json:"shipping_fee_type,omitempty"`
// The URL of the return policy.
PolicyUrl *string `protobuf:"bytes,11,opt,name=policy_url,json=policyUrl,proto3,oneof" json:"policy_url,omitempty"`
// contains filtered or unexported fields
}The returns of the product.
func (*ProductAttributes_Returns) Descriptor
func (*ProductAttributes_Returns) Descriptor() ([]byte, []int)Deprecated: Use ProductAttributes_Returns.ProtoReflect.Descriptor instead.
func (*ProductAttributes_Returns) GetCountries
func (x *ProductAttributes_Returns) GetCountries() []stringfunc (*ProductAttributes_Returns) GetItemConditions
func (x *ProductAttributes_Returns) GetItemConditions() []ProductAttributes_Returns_ItemConditionfunc (*ProductAttributes_Returns) GetMethods
func (x *ProductAttributes_Returns) GetMethods() []ProductAttributes_Returns_ReturnMethodfunc (*ProductAttributes_Returns) GetOutcomes
func (x *ProductAttributes_Returns) GetOutcomes() []ProductAttributes_Returns_ReturnOutcomefunc (*ProductAttributes_Returns) GetPolicyUrl
func (x *ProductAttributes_Returns) GetPolicyUrl() stringfunc (*ProductAttributes_Returns) GetRestockingFee
func (x *ProductAttributes_Returns) GetRestockingFee() *typepb.Pricefunc (*ProductAttributes_Returns) GetRestockingFeeOneof
func (x *ProductAttributes_Returns) GetRestockingFeeOneof() isProductAttributes_Returns_RestockingFeeOneoffunc (*ProductAttributes_Returns) GetRestockingPercentageFee
func (x *ProductAttributes_Returns) GetRestockingPercentageFee() float64func (*ProductAttributes_Returns) GetShippingFee
func (x *ProductAttributes_Returns) GetShippingFee() *typepb.Pricefunc (*ProductAttributes_Returns) GetShippingFeeType
func (x *ProductAttributes_Returns) GetShippingFeeType() ProductAttributes_Returns_ReturnShippingFeeTypefunc (*ProductAttributes_Returns) GetWindowDays
func (x *ProductAttributes_Returns) GetWindowDays() int64func (*ProductAttributes_Returns) GetWindowType
func (x *ProductAttributes_Returns) GetWindowType() ProductAttributes_Returns_ReturnWindowTypefunc (*ProductAttributes_Returns) ProtoMessage
func (*ProductAttributes_Returns) ProtoMessage()func (*ProductAttributes_Returns) ProtoReflect
func (x *ProductAttributes_Returns) ProtoReflect() protoreflect.Messagefunc (*ProductAttributes_Returns) Reset
func (x *ProductAttributes_Returns) Reset()func (*ProductAttributes_Returns) String
func (x *ProductAttributes_Returns) String() stringProductAttributes_Returns_ItemCondition
type ProductAttributes_Returns_ItemCondition int32The acceptable item condition for a return.
ProductAttributes_Returns_ITEM_CONDITION_UNSPECIFIED, ProductAttributes_Returns_NEW, ProductAttributes_Returns_LIKE_NEW, ProductAttributes_Returns_USED, ProductAttributes_Returns_DEFECTIVE_ONLY
const (
// The item condition is unspecified.
ProductAttributes_Returns_ITEM_CONDITION_UNSPECIFIED ProductAttributes_Returns_ItemCondition = 0
// New condition.
ProductAttributes_Returns_NEW ProductAttributes_Returns_ItemCondition = 1
// Like new condition.
ProductAttributes_Returns_LIKE_NEW ProductAttributes_Returns_ItemCondition = 2
// Used condition.
ProductAttributes_Returns_USED ProductAttributes_Returns_ItemCondition = 3
// Only defective items are accepted.
ProductAttributes_Returns_DEFECTIVE_ONLY ProductAttributes_Returns_ItemCondition = 4
)func (ProductAttributes_Returns_ItemCondition) Descriptor
func (ProductAttributes_Returns_ItemCondition) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_Returns_ItemCondition) Enum
func (ProductAttributes_Returns_ItemCondition) EnumDescriptor
func (ProductAttributes_Returns_ItemCondition) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_Returns_ItemCondition.Descriptor instead.
func (ProductAttributes_Returns_ItemCondition) Number
func (x ProductAttributes_Returns_ItemCondition) Number() protoreflect.EnumNumberfunc (ProductAttributes_Returns_ItemCondition) String
func (x ProductAttributes_Returns_ItemCondition) String() stringfunc (ProductAttributes_Returns_ItemCondition) Type
func (ProductAttributes_Returns_ItemCondition) Type() protoreflect.EnumTypeProductAttributes_Returns_RestockingFee
type ProductAttributes_Returns_RestockingFee struct {
// A flat restocking fee penalty.
RestockingFee *typepb.Price `protobuf:"bytes,9,opt,name=restocking_fee,json=restockingFee,proto3,oneof"`
}ProductAttributes_Returns_RestockingPercentageFee
type ProductAttributes_Returns_RestockingPercentageFee struct {
// A percentage restocking fee penalty.
RestockingPercentageFee float64 `protobuf:"fixed64,10,opt,name=restocking_percentage_fee,json=restockingPercentageFee,proto3,oneof"`
}ProductAttributes_Returns_ReturnMethod
type ProductAttributes_Returns_ReturnMethod int32The physical method by which the item can be returned.
ProductAttributes_Returns_RETURN_METHOD_UNSPECIFIED, ProductAttributes_Returns_BY_MAIL, ProductAttributes_Returns_IN_STORE, ProductAttributes_Returns_AT_A_KIOSK, ProductAttributes_Returns_DROP_OFF_LOCATION
const (
// The return method is unspecified.
ProductAttributes_Returns_RETURN_METHOD_UNSPECIFIED ProductAttributes_Returns_ReturnMethod = 0
// Customer returns the item by mail.
ProductAttributes_Returns_BY_MAIL ProductAttributes_Returns_ReturnMethod = 1
// Customer returns the item in a store.
ProductAttributes_Returns_IN_STORE ProductAttributes_Returns_ReturnMethod = 2
// Customer drops off the item at a kiosk.
ProductAttributes_Returns_AT_A_KIOSK ProductAttributes_Returns_ReturnMethod = 3
// Customer drops off the item at a 3rd party partner location.
ProductAttributes_Returns_DROP_OFF_LOCATION ProductAttributes_Returns_ReturnMethod = 4
)func (ProductAttributes_Returns_ReturnMethod) Descriptor
func (ProductAttributes_Returns_ReturnMethod) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_Returns_ReturnMethod) Enum
func (ProductAttributes_Returns_ReturnMethod) EnumDescriptor
func (ProductAttributes_Returns_ReturnMethod) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_Returns_ReturnMethod.Descriptor instead.
func (ProductAttributes_Returns_ReturnMethod) Number
func (x ProductAttributes_Returns_ReturnMethod) Number() protoreflect.EnumNumberfunc (ProductAttributes_Returns_ReturnMethod) String
func (x ProductAttributes_Returns_ReturnMethod) String() stringfunc (ProductAttributes_Returns_ReturnMethod) Type
func (ProductAttributes_Returns_ReturnMethod) Type() protoreflect.EnumTypeProductAttributes_Returns_ReturnOutcome
type ProductAttributes_Returns_ReturnOutcome int32The financial outcome of a return.
ProductAttributes_Returns_RETURN_OUTCOME_UNSPECIFIED, ProductAttributes_Returns_REFUND, ProductAttributes_Returns_EXCHANGE, ProductAttributes_Returns_STORE_CREDIT
const (
// The return outcome is unspecified.
ProductAttributes_Returns_RETURN_OUTCOME_UNSPECIFIED ProductAttributes_Returns_ReturnOutcome = 0
// Customer receives a refund.
ProductAttributes_Returns_REFUND ProductAttributes_Returns_ReturnOutcome = 1
// Customer receives an exchange.
ProductAttributes_Returns_EXCHANGE ProductAttributes_Returns_ReturnOutcome = 2
// Customer receives store credit.
ProductAttributes_Returns_STORE_CREDIT ProductAttributes_Returns_ReturnOutcome = 3
)func (ProductAttributes_Returns_ReturnOutcome) Descriptor
func (ProductAttributes_Returns_ReturnOutcome) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_Returns_ReturnOutcome) Enum
func (ProductAttributes_Returns_ReturnOutcome) EnumDescriptor
func (ProductAttributes_Returns_ReturnOutcome) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_Returns_ReturnOutcome.Descriptor instead.
func (ProductAttributes_Returns_ReturnOutcome) Number
func (x ProductAttributes_Returns_ReturnOutcome) Number() protoreflect.EnumNumberfunc (ProductAttributes_Returns_ReturnOutcome) String
func (x ProductAttributes_Returns_ReturnOutcome) String() stringfunc (ProductAttributes_Returns_ReturnOutcome) Type
func (ProductAttributes_Returns_ReturnOutcome) Type() protoreflect.EnumTypeProductAttributes_Returns_ReturnShippingFeeType
type ProductAttributes_Returns_ReturnShippingFeeType int32The type of the return shipping fee.
ProductAttributes_Returns_RETURN_SHIPPING_FEE_TYPE_UNSPECIFIED, ProductAttributes_Returns_CUSTOMER_RESPONSIBILITY, ProductAttributes_Returns_DEDUCTED_FROM_REFUND
const (
// The return shipping fee type is unspecified.
ProductAttributes_Returns_RETURN_SHIPPING_FEE_TYPE_UNSPECIFIED ProductAttributes_Returns_ReturnShippingFeeType = 0
// The customer is responsible for shipping costs.
ProductAttributes_Returns_CUSTOMER_RESPONSIBILITY ProductAttributes_Returns_ReturnShippingFeeType = 1
// The shipping cost is deducted from the refund.
ProductAttributes_Returns_DEDUCTED_FROM_REFUND ProductAttributes_Returns_ReturnShippingFeeType = 2
)func (ProductAttributes_Returns_ReturnShippingFeeType) Descriptor
func (ProductAttributes_Returns_ReturnShippingFeeType) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_Returns_ReturnShippingFeeType) Enum
func (x ProductAttributes_Returns_ReturnShippingFeeType) Enum() *ProductAttributes_Returns_ReturnShippingFeeTypefunc (ProductAttributes_Returns_ReturnShippingFeeType) EnumDescriptor
func (ProductAttributes_Returns_ReturnShippingFeeType) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_Returns_ReturnShippingFeeType.Descriptor instead.
func (ProductAttributes_Returns_ReturnShippingFeeType) Number
func (x ProductAttributes_Returns_ReturnShippingFeeType) Number() protoreflect.EnumNumberfunc (ProductAttributes_Returns_ReturnShippingFeeType) String
func (x ProductAttributes_Returns_ReturnShippingFeeType) String() stringfunc (ProductAttributes_Returns_ReturnShippingFeeType) Type
ProductAttributes_Returns_ReturnWindowType
type ProductAttributes_Returns_ReturnWindowType int32Type of return window for the return policy.
ProductAttributes_Returns_RETURN_WINDOW_TYPE_UNSPECIFIED, ProductAttributes_Returns_FINITE_RETURN_WINDOW, ProductAttributes_Returns_NO_RETURNS, ProductAttributes_Returns_LIFETIME
const (
// The return window type is unspecified.
ProductAttributes_Returns_RETURN_WINDOW_TYPE_UNSPECIFIED ProductAttributes_Returns_ReturnWindowType = 0
// Window with a fixed number of days. If this is set, the `window_days`
// field must be set.
ProductAttributes_Returns_FINITE_RETURN_WINDOW ProductAttributes_Returns_ReturnWindowType = 1
// No returns accepted.
ProductAttributes_Returns_NO_RETURNS ProductAttributes_Returns_ReturnWindowType = 2
// Lifetime returns accepted.
ProductAttributes_Returns_LIFETIME ProductAttributes_Returns_ReturnWindowType = 3
)func (ProductAttributes_Returns_ReturnWindowType) Descriptor
func (ProductAttributes_Returns_ReturnWindowType) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_Returns_ReturnWindowType) Enum
func (x ProductAttributes_Returns_ReturnWindowType) Enum() *ProductAttributes_Returns_ReturnWindowTypefunc (ProductAttributes_Returns_ReturnWindowType) EnumDescriptor
func (ProductAttributes_Returns_ReturnWindowType) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_Returns_ReturnWindowType.Descriptor instead.
func (ProductAttributes_Returns_ReturnWindowType) Number
func (x ProductAttributes_Returns_ReturnWindowType) Number() protoreflect.EnumNumberfunc (ProductAttributes_Returns_ReturnWindowType) String
func (x ProductAttributes_Returns_ReturnWindowType) String() stringfunc (ProductAttributes_Returns_ReturnWindowType) Type
func (ProductAttributes_Returns_ReturnWindowType) Type() protoreflect.EnumTypeProductAttributes_ShippingBusinessDaysConfig
type ProductAttributes_ShippingBusinessDaysConfig 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"`
// Effective days of the week considered for the delivery time calculation.
// May not be empty. The more business days included the faster the
// delivery. Can be set through individual days (e.g. `MTWRF`), or day
// ranges (e.g. `Mon-Fri`). For more information about accepted formats,
// see [Shipping handling business
// days](https://support.google.com/merchants/answer/16072859).
BusinessDays *string `protobuf:"bytes,2,opt,name=business_days,json=businessDays,proto3,oneof" json:"business_days,omitempty"`
// contains filtered or unexported fields
}The business days during which orders are on their path to fulfillment. If not provided, Monday to Friday business days will be assumed.
func (*ProductAttributes_ShippingBusinessDaysConfig) Descriptor
func (*ProductAttributes_ShippingBusinessDaysConfig) Descriptor() ([]byte, []int)Deprecated: Use ProductAttributes_ShippingBusinessDaysConfig.ProtoReflect.Descriptor instead.
func (*ProductAttributes_ShippingBusinessDaysConfig) GetBusinessDays
func (x *ProductAttributes_ShippingBusinessDaysConfig) GetBusinessDays() stringfunc (*ProductAttributes_ShippingBusinessDaysConfig) GetCountry
func (x *ProductAttributes_ShippingBusinessDaysConfig) GetCountry() stringfunc (*ProductAttributes_ShippingBusinessDaysConfig) ProtoMessage
func (*ProductAttributes_ShippingBusinessDaysConfig) ProtoMessage()func (*ProductAttributes_ShippingBusinessDaysConfig) ProtoReflect
func (x *ProductAttributes_ShippingBusinessDaysConfig) ProtoReflect() protoreflect.Messagefunc (*ProductAttributes_ShippingBusinessDaysConfig) Reset
func (x *ProductAttributes_ShippingBusinessDaysConfig) Reset()func (*ProductAttributes_ShippingBusinessDaysConfig) String
func (x *ProductAttributes_ShippingBusinessDaysConfig) String() stringProductAttributes_SpecialtyHousingType
type ProductAttributes_SpecialtyHousingType int32The specialty housing type for the property.
ProductAttributes_SPECIALTY_HOUSING_TYPE_UNSPECIFIED, ProductAttributes_CORPORATE, ProductAttributes_LOW_INCOME, ProductAttributes_MILITARY, ProductAttributes_SENIOR, ProductAttributes_SHORT_TERM, ProductAttributes_STUDENT
const (
// Unspecified specialty housing type.
ProductAttributes_SPECIALTY_HOUSING_TYPE_UNSPECIFIED ProductAttributes_SpecialtyHousingType = 0
// Corporate housing.
ProductAttributes_CORPORATE ProductAttributes_SpecialtyHousingType = 1
// Low income housing.
ProductAttributes_LOW_INCOME ProductAttributes_SpecialtyHousingType = 2
// Military housing.
ProductAttributes_MILITARY ProductAttributes_SpecialtyHousingType = 3
// Senior housing.
ProductAttributes_SENIOR ProductAttributes_SpecialtyHousingType = 4
// Short term housing.
ProductAttributes_SHORT_TERM ProductAttributes_SpecialtyHousingType = 5
// Student housing.
ProductAttributes_STUDENT ProductAttributes_SpecialtyHousingType = 6
)func (ProductAttributes_SpecialtyHousingType) Descriptor
func (ProductAttributes_SpecialtyHousingType) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_SpecialtyHousingType) Enum
func (ProductAttributes_SpecialtyHousingType) EnumDescriptor
func (ProductAttributes_SpecialtyHousingType) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_SpecialtyHousingType.Descriptor instead.
func (ProductAttributes_SpecialtyHousingType) Number
func (x ProductAttributes_SpecialtyHousingType) Number() protoreflect.EnumNumberfunc (ProductAttributes_SpecialtyHousingType) String
func (x ProductAttributes_SpecialtyHousingType) String() stringfunc (ProductAttributes_SpecialtyHousingType) Type
func (ProductAttributes_SpecialtyHousingType) Type() protoreflect.EnumTypeProductAttributes_UnitArea
type ProductAttributes_UnitArea struct {
// The area value.
Value *float64 `protobuf:"fixed64,1,opt,name=value,proto3,oneof" json:"value,omitempty"`
// The unit of area.
Unit ProductAttributes_UnitArea_Unit `protobuf:"varint,2,opt,name=unit,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_UnitArea_Unit" json:"unit,omitempty"`
// contains filtered or unexported fields
}The unit area of the property.
func (*ProductAttributes_UnitArea) Descriptor
func (*ProductAttributes_UnitArea) Descriptor() ([]byte, []int)Deprecated: Use ProductAttributes_UnitArea.ProtoReflect.Descriptor instead.
func (*ProductAttributes_UnitArea) GetUnit
func (x *ProductAttributes_UnitArea) GetUnit() ProductAttributes_UnitArea_Unitfunc (*ProductAttributes_UnitArea) GetValue
func (x *ProductAttributes_UnitArea) GetValue() float64func (*ProductAttributes_UnitArea) ProtoMessage
func (*ProductAttributes_UnitArea) ProtoMessage()func (*ProductAttributes_UnitArea) ProtoReflect
func (x *ProductAttributes_UnitArea) ProtoReflect() protoreflect.Messagefunc (*ProductAttributes_UnitArea) Reset
func (x *ProductAttributes_UnitArea) Reset()func (*ProductAttributes_UnitArea) String
func (x *ProductAttributes_UnitArea) String() stringProductAttributes_UnitArea_Unit
type ProductAttributes_UnitArea_Unit int32The unit of area.
ProductAttributes_UnitArea_UNIT_UNSPECIFIED, ProductAttributes_UnitArea_SQM, ProductAttributes_UnitArea_SQFT
const (
// Unspecified unit.
ProductAttributes_UnitArea_UNIT_UNSPECIFIED ProductAttributes_UnitArea_Unit = 0
// Square meters.
ProductAttributes_UnitArea_SQM ProductAttributes_UnitArea_Unit = 1
// Square feet.
ProductAttributes_UnitArea_SQFT ProductAttributes_UnitArea_Unit = 2
)func (ProductAttributes_UnitArea_Unit) Descriptor
func (ProductAttributes_UnitArea_Unit) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_UnitArea_Unit) Enum
func (x ProductAttributes_UnitArea_Unit) Enum() *ProductAttributes_UnitArea_Unitfunc (ProductAttributes_UnitArea_Unit) EnumDescriptor
func (ProductAttributes_UnitArea_Unit) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_UnitArea_Unit.Descriptor instead.
func (ProductAttributes_UnitArea_Unit) Number
func (x ProductAttributes_UnitArea_Unit) Number() protoreflect.EnumNumberfunc (ProductAttributes_UnitArea_Unit) String
func (x ProductAttributes_UnitArea_Unit) String() stringfunc (ProductAttributes_UnitArea_Unit) Type
func (ProductAttributes_UnitArea_Unit) Type() protoreflect.EnumTypeProductAttributes_UtilitiesIncluded
type ProductAttributes_UtilitiesIncluded int32The utilities included for the property.
ProductAttributes_UTILITIES_INCLUDED_UNSPECIFIED, ProductAttributes_ELECTRICITY, ProductAttributes_GAS, ProductAttributes_INTERNET, ProductAttributes_TRASH, ProductAttributes_WATER
const (
// Unspecified utilities included.
ProductAttributes_UTILITIES_INCLUDED_UNSPECIFIED ProductAttributes_UtilitiesIncluded = 0
// Electricity.
ProductAttributes_ELECTRICITY ProductAttributes_UtilitiesIncluded = 1
// Gas.
ProductAttributes_GAS ProductAttributes_UtilitiesIncluded = 2
// Internet.
ProductAttributes_INTERNET ProductAttributes_UtilitiesIncluded = 3
// Trash.
ProductAttributes_TRASH ProductAttributes_UtilitiesIncluded = 4
// Water.
ProductAttributes_WATER ProductAttributes_UtilitiesIncluded = 5
)func (ProductAttributes_UtilitiesIncluded) Descriptor
func (ProductAttributes_UtilitiesIncluded) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_UtilitiesIncluded) Enum
func (x ProductAttributes_UtilitiesIncluded) Enum() *ProductAttributes_UtilitiesIncludedfunc (ProductAttributes_UtilitiesIncluded) EnumDescriptor
func (ProductAttributes_UtilitiesIncluded) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_UtilitiesIncluded.Descriptor instead.
func (ProductAttributes_UtilitiesIncluded) Number
func (x ProductAttributes_UtilitiesIncluded) Number() protoreflect.EnumNumberfunc (ProductAttributes_UtilitiesIncluded) String
func (x ProductAttributes_UtilitiesIncluded) String() stringfunc (ProductAttributes_UtilitiesIncluded) Type
func (ProductAttributes_UtilitiesIncluded) Type() protoreflect.EnumTypeProductAttributes_VariantOption
type ProductAttributes_VariantOption struct {
// Required. The name of the variant. For example, "Color", "Memory",
// "Size", "Length"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The value of the variant. For example, "Red", "128GB", "XL",
// "100cm"
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}Additional product variants for the product.
func (*ProductAttributes_VariantOption) Descriptor
func (*ProductAttributes_VariantOption) Descriptor() ([]byte, []int)Deprecated: Use ProductAttributes_VariantOption.ProtoReflect.Descriptor instead.
func (*ProductAttributes_VariantOption) GetName
func (x *ProductAttributes_VariantOption) GetName() stringfunc (*ProductAttributes_VariantOption) GetValue
func (x *ProductAttributes_VariantOption) GetValue() stringfunc (*ProductAttributes_VariantOption) ProtoMessage
func (*ProductAttributes_VariantOption) ProtoMessage()func (*ProductAttributes_VariantOption) ProtoReflect
func (x *ProductAttributes_VariantOption) ProtoReflect() protoreflect.Messagefunc (*ProductAttributes_VariantOption) Reset
func (x *ProductAttributes_VariantOption) Reset()func (*ProductAttributes_VariantOption) String
func (x *ProductAttributes_VariantOption) String() stringProductAttributes_VehicleBodyStyle
type ProductAttributes_VehicleBodyStyle int32The vehicle body style. See the Body style for more information.
ProductAttributes_VEHICLE_BODY_STYLE_UNSPECIFIED, ProductAttributes_ATV_SPORT, ProductAttributes_ATV_TOURING, ProductAttributes_ATV_UTILITY, ProductAttributes_ATV_YOUTH, ProductAttributes_CITY_CAR, ProductAttributes_CLASS_A_MOTORHOME, ProductAttributes_CLASS_B_MOTORHOME, ProductAttributes_CLASS_C_MOTORHOME, ProductAttributes_COMPACT_SUV, ProductAttributes_CONVERTIBLE, ProductAttributes_COUPE, ProductAttributes_CROSSOVER, ProductAttributes_FIFTH_WHEEL, ProductAttributes_FULL_SIZE_VAN, ProductAttributes_HATCHBACK, ProductAttributes_LIMOUSINE, ProductAttributes_MINIVAN, ProductAttributes_NOTCHBACK, ProductAttributes_POP_UP_CAMPER, ProductAttributes_SEDAN, ProductAttributes_SIDE_BY_SIDE, ProductAttributes_STATION_WAGON, ProductAttributes_SUV, ProductAttributes_TRAVEL_TRAILER, ProductAttributes_TRUCK, ProductAttributes_TRUCK_CAMPER, ProductAttributes_UTE, ProductAttributes_UTV_RECREATIONAL_UTILITY, ProductAttributes_UTV_SPORT, ProductAttributes_UTV_UTILITY, ProductAttributes_UTV_YOUTH
const (
// Unspecified vehicle body style.
ProductAttributes_VEHICLE_BODY_STYLE_UNSPECIFIED ProductAttributes_VehicleBodyStyle = 0
// ATV Sport.
ProductAttributes_ATV_SPORT ProductAttributes_VehicleBodyStyle = 1
// ATV Touring.
ProductAttributes_ATV_TOURING ProductAttributes_VehicleBodyStyle = 2
// ATV Utility.
ProductAttributes_ATV_UTILITY ProductAttributes_VehicleBodyStyle = 3
// ATV Youth.
ProductAttributes_ATV_YOUTH ProductAttributes_VehicleBodyStyle = 4
// City car.
ProductAttributes_CITY_CAR ProductAttributes_VehicleBodyStyle = 5
// Class A motorhome.
ProductAttributes_CLASS_A_MOTORHOME ProductAttributes_VehicleBodyStyle = 6
// Class B motorhome.
ProductAttributes_CLASS_B_MOTORHOME ProductAttributes_VehicleBodyStyle = 7
// Class C motorhome.
ProductAttributes_CLASS_C_MOTORHOME ProductAttributes_VehicleBodyStyle = 8
// Compact SUV.
ProductAttributes_COMPACT_SUV ProductAttributes_VehicleBodyStyle = 9
// Convertible.
ProductAttributes_CONVERTIBLE ProductAttributes_VehicleBodyStyle = 10
// Coupe.
ProductAttributes_COUPE ProductAttributes_VehicleBodyStyle = 11
// Crossover.
ProductAttributes_CROSSOVER ProductAttributes_VehicleBodyStyle = 12
// Fifth wheel.
ProductAttributes_FIFTH_WHEEL ProductAttributes_VehicleBodyStyle = 13
// Full size van.
ProductAttributes_FULL_SIZE_VAN ProductAttributes_VehicleBodyStyle = 14
// Hatchback.
ProductAttributes_HATCHBACK ProductAttributes_VehicleBodyStyle = 15
// Limousine.
ProductAttributes_LIMOUSINE ProductAttributes_VehicleBodyStyle = 16
// Minivan.
ProductAttributes_MINIVAN ProductAttributes_VehicleBodyStyle = 17
// Notchback.
ProductAttributes_NOTCHBACK ProductAttributes_VehicleBodyStyle = 18
// Pop up camper.
ProductAttributes_POP_UP_CAMPER ProductAttributes_VehicleBodyStyle = 19
// Sedan.
ProductAttributes_SEDAN ProductAttributes_VehicleBodyStyle = 20
// Side by side.
ProductAttributes_SIDE_BY_SIDE ProductAttributes_VehicleBodyStyle = 21
// Station wagon.
ProductAttributes_STATION_WAGON ProductAttributes_VehicleBodyStyle = 22
// SUV.
ProductAttributes_SUV ProductAttributes_VehicleBodyStyle = 23
// Travel trailer.
ProductAttributes_TRAVEL_TRAILER ProductAttributes_VehicleBodyStyle = 24
// Truck.
ProductAttributes_TRUCK ProductAttributes_VehicleBodyStyle = 25
// Truck camper.
ProductAttributes_TRUCK_CAMPER ProductAttributes_VehicleBodyStyle = 26
// Ute.
ProductAttributes_UTE ProductAttributes_VehicleBodyStyle = 27
// UTV Recreational utility.
ProductAttributes_UTV_RECREATIONAL_UTILITY ProductAttributes_VehicleBodyStyle = 28
// UTV Sport.
ProductAttributes_UTV_SPORT ProductAttributes_VehicleBodyStyle = 29
// UTV Utility.
ProductAttributes_UTV_UTILITY ProductAttributes_VehicleBodyStyle = 30
// UTV Youth.
ProductAttributes_UTV_YOUTH ProductAttributes_VehicleBodyStyle = 31
)func (ProductAttributes_VehicleBodyStyle) Descriptor
func (ProductAttributes_VehicleBodyStyle) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_VehicleBodyStyle) Enum
func (x ProductAttributes_VehicleBodyStyle) Enum() *ProductAttributes_VehicleBodyStylefunc (ProductAttributes_VehicleBodyStyle) EnumDescriptor
func (ProductAttributes_VehicleBodyStyle) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_VehicleBodyStyle.Descriptor instead.
func (ProductAttributes_VehicleBodyStyle) Number
func (x ProductAttributes_VehicleBodyStyle) Number() protoreflect.EnumNumberfunc (ProductAttributes_VehicleBodyStyle) String
func (x ProductAttributes_VehicleBodyStyle) String() stringfunc (ProductAttributes_VehicleBodyStyle) Type
func (ProductAttributes_VehicleBodyStyle) Type() protoreflect.EnumTypeProductAttributes_VehiclePriceType
type ProductAttributes_VehiclePriceType int32The vehicle price type.
ProductAttributes_VEHICLE_PRICE_TYPE_UNSPECIFIED, ProductAttributes_ALL_IN_PRICE, ProductAttributes_DRIVE_AWAY_PRICE, ProductAttributes_ESTIMATED_DRIVE_AWAY_PRICE, ProductAttributes_EXCLUDING_GOVERNMENT_CHARGES_PRICE, ProductAttributes_VEHICLE_BASE_PRICE
const (
// Unspecified vehicle price type.
ProductAttributes_VEHICLE_PRICE_TYPE_UNSPECIFIED ProductAttributes_VehiclePriceType = 0
// All in price.
ProductAttributes_ALL_IN_PRICE ProductAttributes_VehiclePriceType = 1
// Drive away price.
ProductAttributes_DRIVE_AWAY_PRICE ProductAttributes_VehiclePriceType = 2
// Estimated drive away price.
ProductAttributes_ESTIMATED_DRIVE_AWAY_PRICE ProductAttributes_VehiclePriceType = 3
// Excluding government charges price.
ProductAttributes_EXCLUDING_GOVERNMENT_CHARGES_PRICE ProductAttributes_VehiclePriceType = 4
// Vehicle base price.
ProductAttributes_VEHICLE_BASE_PRICE ProductAttributes_VehiclePriceType = 5
)func (ProductAttributes_VehiclePriceType) Descriptor
func (ProductAttributes_VehiclePriceType) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_VehiclePriceType) Enum
func (x ProductAttributes_VehiclePriceType) Enum() *ProductAttributes_VehiclePriceTypefunc (ProductAttributes_VehiclePriceType) EnumDescriptor
func (ProductAttributes_VehiclePriceType) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_VehiclePriceType.Descriptor instead.
func (ProductAttributes_VehiclePriceType) Number
func (x ProductAttributes_VehiclePriceType) Number() protoreflect.EnumNumberfunc (ProductAttributes_VehiclePriceType) String
func (x ProductAttributes_VehiclePriceType) String() stringfunc (ProductAttributes_VehiclePriceType) Type
func (ProductAttributes_VehiclePriceType) Type() protoreflect.EnumTypeProductAttributes_Warranty
type ProductAttributes_Warranty struct {
// The warranty duration in units. Default is in months, can be overridden
// by the `duration_unit` field.
Duration int64 `protobuf:"varint,1,opt,name=duration,proto3" json:"duration,omitempty"`
// The warranty mileage (only applies to vehicles).
Mileage *ProductAttributes_Mileage `protobuf:"bytes,2,opt,name=mileage,proto3" json:"mileage,omitempty"`
// The unit for the warranty duration. Assumed to be `MONTH` if
// equal to `WARRANTY_DURATION_UNIT_UNSPECIFIED`.
DurationUnit ProductAttributes_Warranty_WarrantyDurationUnit `protobuf:"varint,3,opt,name=duration_unit,json=durationUnit,proto3,enum=google.shopping.merchant.products.v1.ProductAttributes_Warranty_WarrantyDurationUnit" json:"duration_unit,omitempty"`
// contains filtered or unexported fields
}The warranty of the vehicle.
func (*ProductAttributes_Warranty) Descriptor
func (*ProductAttributes_Warranty) Descriptor() ([]byte, []int)Deprecated: Use ProductAttributes_Warranty.ProtoReflect.Descriptor instead.
func (*ProductAttributes_Warranty) GetDuration
func (x *ProductAttributes_Warranty) GetDuration() int64func (*ProductAttributes_Warranty) GetDurationUnit
func (x *ProductAttributes_Warranty) GetDurationUnit() ProductAttributes_Warranty_WarrantyDurationUnitfunc (*ProductAttributes_Warranty) GetMileage
func (x *ProductAttributes_Warranty) GetMileage() *ProductAttributes_Mileagefunc (*ProductAttributes_Warranty) ProtoMessage
func (*ProductAttributes_Warranty) ProtoMessage()func (*ProductAttributes_Warranty) ProtoReflect
func (x *ProductAttributes_Warranty) ProtoReflect() protoreflect.Messagefunc (*ProductAttributes_Warranty) Reset
func (x *ProductAttributes_Warranty) Reset()func (*ProductAttributes_Warranty) String
func (x *ProductAttributes_Warranty) String() stringProductAttributes_Warranty_WarrantyDurationUnit
type ProductAttributes_Warranty_WarrantyDurationUnit int32The warranty duration unit of the product.
ProductAttributes_Warranty_WARRANTY_DURATION_UNIT_UNSPECIFIED, ProductAttributes_Warranty_MONTH, ProductAttributes_Warranty_YEAR
const (
// Indicates that the warranty duration unit is unspecified.
ProductAttributes_Warranty_WARRANTY_DURATION_UNIT_UNSPECIFIED ProductAttributes_Warranty_WarrantyDurationUnit = 0
// Indicates that the warranty duration unit is month.
ProductAttributes_Warranty_MONTH ProductAttributes_Warranty_WarrantyDurationUnit = 1
// Indicates that the warranty duration unit is year.
ProductAttributes_Warranty_YEAR ProductAttributes_Warranty_WarrantyDurationUnit = 2
)func (ProductAttributes_Warranty_WarrantyDurationUnit) Descriptor
func (ProductAttributes_Warranty_WarrantyDurationUnit) Descriptor() protoreflect.EnumDescriptorfunc (ProductAttributes_Warranty_WarrantyDurationUnit) Enum
func (x ProductAttributes_Warranty_WarrantyDurationUnit) Enum() *ProductAttributes_Warranty_WarrantyDurationUnitfunc (ProductAttributes_Warranty_WarrantyDurationUnit) EnumDescriptor
func (ProductAttributes_Warranty_WarrantyDurationUnit) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductAttributes_Warranty_WarrantyDurationUnit.Descriptor instead.
func (ProductAttributes_Warranty_WarrantyDurationUnit) Number
func (x ProductAttributes_Warranty_WarrantyDurationUnit) Number() protoreflect.EnumNumberfunc (ProductAttributes_Warranty_WarrantyDurationUnit) String
func (x ProductAttributes_Warranty_WarrantyDurationUnit) String() stringfunc (ProductAttributes_Warranty_WarrantyDurationUnit) Type
ProductCertification
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"`
// Optional. URL to the certification document (eg.
// `https://www.example.com/document`), for example, the product data sheet or
// fiche required by UK's DESNZ or EU's EPREL. Maximum length is 2000
// characters. For more information, see
// [Certification](https://support.google.com/merchants/answer/13528839).
CertificationDocumentLink *string `protobuf:"bytes,5,opt,name=certification_document_link,json=certificationDocumentLink,proto3,oneof" json:"certification_document_link,omitempty"`
// Optional. URL to the certification label (eg.
// `https://www.example.com/label`), for example, the energy efficiency label
// required by UK's DESNZ or EU's EPREL. Maximum length is 2000 characters.
// For more information, see
// [Certification](https://support.google.com/merchants/answer/13528839).
CertificationLabelLink *string `protobuf:"bytes,6,opt,name=certification_label_link,json=certificationLabelLink,proto3,oneof" json:"certification_label_link,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) GetCertificationDocumentLink
func (x *ProductCertification) GetCertificationDocumentLink() stringfunc (*ProductCertification) GetCertificationLabelLink
func (x *ProductCertification) GetCertificationLabelLink() 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.
// Format: `accounts/{account}/productInputs/{productinput}`
//
// The {productinput} segment is a unique identifier for the product.
// This identifier must be unique within a merchant account and generally
// follows the structure: `content_language~feed_label~offer_id`. Example:
// `en~US~sku123` For legacy local products, the structure is:
// `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123`
//
// The format of the {productinput} segment in the URL is automatically
// detected by the server, supporting two options:
//
// 1. **Encoded Format**: The `{productinput}` segment is an unpadded
// base64url
//
// encoded string (RFC 4648 Section 5). The decoded string must result
// in the `content_language~feed_label~offer_id` structure. This encoding
// MUST be used if any part of the product identifier (like `offer_id`)
// contains characters such as `/`, `%`, or `~`.
// * Example: To represent the product ID `en~US~sku/123`, the
// `{productinput}` segment must be the unpadded base64url encoding of
// this string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name
// for the product would be
// `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`.
//
// 2. **Plain Format**: The `{productinput}` segment is the tilde-separated
// string
//
// `content_language~feed_label~offer_id`. This format is suitable only
// when `content_language`, `feed_label`, and `offer_id` do not contain
// URL-problematic characters like `/`, `%`, or `~`.
//
// We recommend using the **Encoded Format** for all product IDs to ensure
// correct parsing, especially those containing special characters. The
// presence of tilde (`~`) characters in the `{productinput}` segment is used
// to differentiate between the two formats.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The **unpadded base64url encoded name** of the product input.
// Format:
// `accounts/{account}/productInputs/{productinput}` where the last
// section `productinput` is the unpadded base64url encoding of the
// `content_language~feed_label~offer_id` name.
// Example: `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw` for the decoded
// product input name `accounts/123/productInputs/en~US~sku/123`. This field
// can be used directly as input to the API methods that require the product
// input name to be encoded if it contains special characters, for example
// [`GetProductInput`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.productInputs/get).
Base64EncodedName string `protobuf:"bytes,12,opt,name=base64_encoded_name,json=base64EncodedName,proto3" json:"base64_encoded_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"`
// Output only. The **unpadded base64url encoded name** of the processed
// product. Format: `accounts/{account}/products/{product}` where the last
// section `product` is the unpadded base64url encoding of the
// `content_language~feed_label~offer_id` name.
// Example: `accounts/123/products/ZW5-VVN-c2t1LzEyMw` for the decoded
// product name `accounts/123/products/en~US~sku/123`. This field can be used
// directly as input to the API methods that require the product name to be
// encoded if it contains special characters, for example
// [`GetProduct`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.products/get).
Base64EncodedProduct string `protobuf:"bytes,13,opt,name=base64_encoded_product,json=base64EncodedProduct,proto3" json:"base64_encoded_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) GetBase64EncodedName
func (x *ProductInput) GetBase64EncodedName() stringfunc (*ProductInput) GetBase64EncodedProduct
func (x *ProductInput) GetBase64EncodedProduct() stringfunc (*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/add-manage#add_a_product). You
// must have a products [data
// source](/merchant/api/guides/data-sources/api-sources#create-primary-data-source)
// 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.
// The name of the product input to update is taken from the `name` field
// within the `ProductInput` resource.
//
// 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/add-manage#add_a_product). You
// must have a products [data
// source](/merchant/api/guides/data-sources/api-sources#create-primary-data-source)
// 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.
// The name of the product input to update is taken from the `name` field
// within the `ProductInput` resource.
//
// 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"`
// Optional. Annual percentage rate for `credit_type` finance
AnnualPercentageRate *float64 `protobuf:"fixed64,5,opt,name=annual_percentage_rate,json=annualPercentageRate,proto3,oneof" json:"annual_percentage_rate,omitempty"`
// Optional. Total amount the buyer has to pay, including interest.
TotalAmount *typepb.Price `protobuf:"bytes,6,opt,name=total_amount,json=totalAmount,proto3,oneof" json:"total_amount,omitempty"`
// Optional. The mileage allowance for the lease of the vehicle. Only
// applicable to vehicle products.
MileageAllowance *ProductAttributes_Mileage `protobuf:"bytes,7,opt,name=mileage_allowance,json=mileageAllowance,proto3,oneof" json:"mileage_allowance,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) GetAnnualPercentageRate
func (x *ProductInstallment) GetAnnualPercentageRate() float64func (*ProductInstallment) GetCreditType
func (x *ProductInstallment) GetCreditType() CreditTypefunc (*ProductInstallment) GetDownpayment
func (x *ProductInstallment) GetDownpayment() *typepb.Pricefunc (*ProductInstallment) GetMileageAllowance
func (x *ProductInstallment) GetMileageAllowance() *ProductAttributes_Mileagefunc (*ProductInstallment) GetMonths
func (x *ProductInstallment) GetMonths() int64func (*ProductInstallment) GetTotalAmount
func (x *ProductInstallment) GetTotalAmount() *typepb.Pricefunc (*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() stringProductMinimumOrderValue
type ProductMinimumOrderValue struct {
// Required. 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"`
// A free-form description of the service class or delivery speed.
// This should match the service value set for the Shipping attribute.
// See [service][google.shopping.merchant.products.v1.Shipping.service].
Service *string `protobuf:"bytes,2,opt,name=service,proto3,oneof" json:"service,omitempty"`
// The surface to which the minimum order value applies.
// Defaults to `ONLINE_LOCAL` if not configured.
Surface *ProductMinimumOrderValue_Surface `protobuf:"varint,3,opt,name=surface,proto3,enum=google.shopping.merchant.products.v1.ProductMinimumOrderValue_Surface,oneof" json:"surface,omitempty"`
// Required. The minimum cart or basket value before the checkout is
// permitted.
Price *typepb.Price `protobuf:"bytes,4,opt,name=price,proto3,oneof" json:"price,omitempty"`
// contains filtered or unexported fields
}The minimum order value in the cart before the checkout is permitted.
func (*ProductMinimumOrderValue) Descriptor
func (*ProductMinimumOrderValue) Descriptor() ([]byte, []int)Deprecated: Use ProductMinimumOrderValue.ProtoReflect.Descriptor instead.
func (*ProductMinimumOrderValue) GetCountry
func (x *ProductMinimumOrderValue) GetCountry() stringfunc (*ProductMinimumOrderValue) GetPrice
func (x *ProductMinimumOrderValue) GetPrice() *typepb.Pricefunc (*ProductMinimumOrderValue) GetService
func (x *ProductMinimumOrderValue) GetService() stringfunc (*ProductMinimumOrderValue) GetSurface
func (x *ProductMinimumOrderValue) GetSurface() ProductMinimumOrderValue_Surfacefunc (*ProductMinimumOrderValue) ProtoMessage
func (*ProductMinimumOrderValue) ProtoMessage()func (*ProductMinimumOrderValue) ProtoReflect
func (x *ProductMinimumOrderValue) ProtoReflect() protoreflect.Messagefunc (*ProductMinimumOrderValue) Reset
func (x *ProductMinimumOrderValue) Reset()func (*ProductMinimumOrderValue) String
func (x *ProductMinimumOrderValue) String() stringProductMinimumOrderValue_Surface
type ProductMinimumOrderValue_Surface int32The surface values to which the minimum order value applies.
ProductMinimumOrderValue_SURFACE_UNSPECIFIED, ProductMinimumOrderValue_ONLINE, ProductMinimumOrderValue_LOCAL, ProductMinimumOrderValue_ONLINE_LOCAL
const (
// Surface is unspecified.
ProductMinimumOrderValue_SURFACE_UNSPECIFIED ProductMinimumOrderValue_Surface = 0
// Surface value to indicate online purchases.
ProductMinimumOrderValue_ONLINE ProductMinimumOrderValue_Surface = 1
// Surface value to indicate local purchases.
ProductMinimumOrderValue_LOCAL ProductMinimumOrderValue_Surface = 2
// Surface value to indicate online and local purchases.
ProductMinimumOrderValue_ONLINE_LOCAL ProductMinimumOrderValue_Surface = 3
)func (ProductMinimumOrderValue_Surface) Descriptor
func (ProductMinimumOrderValue_Surface) Descriptor() protoreflect.EnumDescriptorfunc (ProductMinimumOrderValue_Surface) Enum
func (x ProductMinimumOrderValue_Surface) Enum() *ProductMinimumOrderValue_Surfacefunc (ProductMinimumOrderValue_Surface) EnumDescriptor
func (ProductMinimumOrderValue_Surface) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductMinimumOrderValue_Surface.Descriptor instead.
func (ProductMinimumOrderValue_Surface) Number
func (x ProductMinimumOrderValue_Surface) Number() protoreflect.EnumNumberfunc (ProductMinimumOrderValue_Surface) String
func (x ProductMinimumOrderValue_Surface) String() stringfunc (ProductMinimumOrderValue_Surface) Type
func (ProductMinimumOrderValue_Surface) Type() protoreflect.EnumTypeProductStatus
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.
Equivalent to
[StatusPerReportingContext][google.shopping.merchant.reports.v1.ProductView.StatusPerReportingContext]
in Reports API.
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 valid to be assigned 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 (x *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"`
// The handling cutoff time until which an order has to be placed to be
// processed in the same day. This is a string in format of HHMM (e.g.
// `1530`) for 3:30 PM. If not configured, the cutoff time will be defaulted
// to 8AM PST and `handling_cutoff_timezone` will be ignored.
HandlingCutoffTime *string `protobuf:"bytes,12,opt,name=handling_cutoff_time,json=handlingCutoffTime,proto3,oneof" json:"handling_cutoff_time,omitempty"`
// [Timezone
// identifier](https://developers.google.com/adwords/api/docs/appendix/codes-formats#timezone-ids)
// For example `Europe/Zurich`. This field only applies if
// `handling_cutoff_time` is set. If `handling_cutoff_time` is set but this
// field is not set, the shipping destination timezone will be used. If both
// fields are not set, the handling cutoff time will default to 8AM PST.
HandlingCutoffTimezone *string `protobuf:"bytes,13,opt,name=handling_cutoff_timezone,json=handlingCutoffTimezone,proto3,oneof" json:"handling_cutoff_timezone,omitempty"`
// Optional. The label of the [loyalty
// program](https://support.google.com/merchants/answer/6324484).
// Must match one of the program labels set in
// [loyalty_programs][google.shopping.merchant.products.v1.LoyaltyProgram].
// When set (in combination with
// [loyalty_tier_label](https://support.google.com/merchants/answer/6324484)),
// this shipping option is only applicable to loyalty program members of the
// specified tier.
LoyaltyProgramLabel string `protobuf:"bytes,14,opt,name=loyalty_program_label,json=loyaltyProgramLabel,proto3" json:"loyalty_program_label,omitempty"`
// Optional. The label of the [loyalty
// tier](https://support.google.com/merchants/answer/6324484) within the
// loyalty program. Must match one of the tiers set in the
// [loyalty_programs][google.shopping.merchant.products.v1.LoyaltyProgram].
// When set (in combination with
// [loyalty_program_label](https://support.google.com/merchants/answer/6324484)),
// this shipping option is only applicable to loyalty program members of the
// specified tier.
LoyaltyTierLabel string `protobuf:"bytes,15,opt,name=loyalty_tier_label,json=loyaltyTierLabel,proto3" json:"loyalty_tier_label,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) GetHandlingCutoffTime
func (*Shipping) GetHandlingCutoffTimezone
func (*Shipping) GetLocationGroupName
func (*Shipping) GetLocationId
func (*Shipping) GetLoyaltyProgramLabel
func (*Shipping) GetLoyaltyTierLabel
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`"
// - "`week`"
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, SubscriptionPeriod_WEEK
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
// Indicates that the subscription period is week.
SubscriptionPeriod_WEEK SubscriptionPeriod = 3
)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. The `name` field within this
// resource identifies the product input to be updated.
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