Variables
Account_AccountType_name, Account_AccountType_value
var (
Account_AccountType_name = map[int32]string{
0: "ACCOUNT_TYPE_UNSPECIFIED",
1: "CSS_GROUP",
2: "CSS_DOMAIN",
3: "MC_PRIMARY_CSS_MCA",
4: "MC_CSS_MCA",
5: "MC_MARKETPLACE_MCA",
6: "MC_OTHER_MCA",
7: "MC_STANDALONE",
8: "MC_MCA_SUBACCOUNT",
}
Account_AccountType_value = map[string]int32{
"ACCOUNT_TYPE_UNSPECIFIED": 0,
"CSS_GROUP": 1,
"CSS_DOMAIN": 2,
"MC_PRIMARY_CSS_MCA": 3,
"MC_CSS_MCA": 4,
"MC_MARKETPLACE_MCA": 5,
"MC_OTHER_MCA": 6,
"MC_STANDALONE": 7,
"MC_MCA_SUBACCOUNT": 8,
}
)
Enum value maps for Account_AccountType.
AccountLabel_LabelType_name, AccountLabel_LabelType_value
var (
AccountLabel_LabelType_name = map[int32]string{
0: "LABEL_TYPE_UNSPECIFIED",
1: "MANUAL",
2: "AUTOMATIC",
}
AccountLabel_LabelType_value = map[string]int32{
"LABEL_TYPE_UNSPECIFIED": 0,
"MANUAL": 1,
"AUTOMATIC": 2,
}
)
Enum value maps for AccountLabel_LabelType.
SubscriptionPeriod_name, SubscriptionPeriod_value
var (
SubscriptionPeriod_name = map[int32]string{
0: "SUBSCRIPTION_PERIOD_UNSPECIFIED",
1: "MONTH",
2: "YEAR",
}
SubscriptionPeriod_value = map[string]int32{
"SUBSCRIPTION_PERIOD_UNSPECIFIED": 0,
"MONTH": 1,
"YEAR": 2,
}
)
Enum value maps for SubscriptionPeriod.
File_google_shopping_css_v1_accounts_labels_proto
var File_google_shopping_css_v1_accounts_labels_proto protoreflect.FileDescriptor
File_google_shopping_css_v1_accounts_proto
var File_google_shopping_css_v1_accounts_proto protoreflect.FileDescriptor
File_google_shopping_css_v1_css_product_common_proto
var File_google_shopping_css_v1_css_product_common_proto protoreflect.FileDescriptor
File_google_shopping_css_v1_css_product_inputs_proto
var File_google_shopping_css_v1_css_product_inputs_proto protoreflect.FileDescriptor
File_google_shopping_css_v1_css_products_proto
var File_google_shopping_css_v1_css_products_proto protoreflect.FileDescriptor
File_google_shopping_css_v1_quota_proto
var File_google_shopping_css_v1_quota_proto protoreflect.FileDescriptor
Functions
func RegisterAccountLabelsServiceServer
func RegisterAccountLabelsServiceServer(s *grpc.Server, srv AccountLabelsServiceServer)
func RegisterAccountsServiceServer
func RegisterAccountsServiceServer(s *grpc.Server, srv AccountsServiceServer)
func RegisterCssProductInputsServiceServer
func RegisterCssProductInputsServiceServer(s *grpc.Server, srv CssProductInputsServiceServer)
func RegisterCssProductsServiceServer
func RegisterCssProductsServiceServer(s *grpc.Server, srv CssProductsServiceServer)
func RegisterQuotaServiceServer
func RegisterQuotaServiceServer(s *grpc.Server, srv QuotaServiceServer)
Account
type Account struct {
// The label resource name.
// Format: accounts/{account}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Immutable. The CSS/MC account's full name.
FullName string `protobuf:"bytes,2,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
// The CSS/MC account's short display name.
DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"`
// Output only. Immutable. The CSS/MC account's homepage.
HomepageUri *string `protobuf:"bytes,4,opt,name=homepage_uri,json=homepageUri,proto3,oneof" json:"homepage_uri,omitempty"`
// The CSS/MC account's parent resource. CSS group for CSS domains; CSS
// domain for MC accounts. Returned only if the user has access to the
// parent account.
// Note: For MC sub-accounts, this is also the CSS domain that is the parent
// resource of the MCA account, since we are effectively flattening the
// hierarchy."
Parent *string `protobuf:"bytes,5,opt,name=parent,proto3,oneof" json:"parent,omitempty"`
// Manually created label IDs assigned to the CSS/MC account by a CSS parent
// account.
LabelIds []int64 `protobuf:"varint,6,rep,packed,name=label_ids,json=labelIds,proto3" json:"label_ids,omitempty"`
// Automatically created label IDs assigned to the MC account by
// CSS Center.
AutomaticLabelIds []int64 `protobuf:"varint,7,rep,packed,name=automatic_label_ids,json=automaticLabelIds,proto3" json:"automatic_label_ids,omitempty"`
// Output only. The type of this account.
AccountType Account_AccountType `protobuf:"varint,8,opt,name=account_type,json=accountType,proto3,enum=google.shopping.css.v1.Account_AccountType" json:"account_type,omitempty"`
// contains filtered or unexported fields
}
Information about CSS/MC account.
func (*Account) Descriptor
Deprecated: Use Account.ProtoReflect.Descriptor instead.
func (*Account) GetAccountType
func (x *Account) GetAccountType() Account_AccountType
func (*Account) GetAutomaticLabelIds
func (*Account) GetDisplayName
func (*Account) GetFullName
func (*Account) GetHomepageUri
func (*Account) GetLabelIds
func (*Account) GetName
func (*Account) GetParent
func (*Account) ProtoMessage
func (*Account) ProtoMessage()
func (*Account) ProtoReflect
func (x *Account) ProtoReflect() protoreflect.Message
func (*Account) Reset
func (x *Account) Reset()
func (*Account) String
AccountLabel
type AccountLabel struct {
// The resource name of the label.
// Format: accounts/{account}/labels/{label}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The ID of the label.
LabelId int64 `protobuf:"varint,2,opt,name=label_id,json=labelId,proto3" json:"label_id,omitempty"`
// Output only. The ID of account this label belongs to.
AccountId int64 `protobuf:"varint,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
// The display name of this label.
DisplayName *string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"`
// The description of this label.
Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Output only. The type of this label.
LabelType AccountLabel_LabelType `protobuf:"varint,6,opt,name=label_type,json=labelType,proto3,enum=google.shopping.css.v1.AccountLabel_LabelType" json:"label_type,omitempty"`
// contains filtered or unexported fields
}
Label assigned by CSS domain or CSS group to one of its sub-accounts.
func (*AccountLabel) Descriptor
func (*AccountLabel) Descriptor() ([]byte, []int)
Deprecated: Use AccountLabel.ProtoReflect.Descriptor instead.
func (*AccountLabel) GetAccountId
func (x *AccountLabel) GetAccountId() int64
func (*AccountLabel) GetDescription
func (x *AccountLabel) GetDescription() string
func (*AccountLabel) GetDisplayName
func (x *AccountLabel) GetDisplayName() string
func (*AccountLabel) GetLabelId
func (x *AccountLabel) GetLabelId() int64
func (*AccountLabel) GetLabelType
func (x *AccountLabel) GetLabelType() AccountLabel_LabelType
func (*AccountLabel) GetName
func (x *AccountLabel) GetName() string
func (*AccountLabel) ProtoMessage
func (*AccountLabel) ProtoMessage()
func (*AccountLabel) ProtoReflect
func (x *AccountLabel) ProtoReflect() protoreflect.Message
func (*AccountLabel) Reset
func (x *AccountLabel) Reset()
func (*AccountLabel) String
func (x *AccountLabel) String() string
AccountLabel_LabelType
type AccountLabel_LabelType int32
The label type.
AccountLabel_LABEL_TYPE_UNSPECIFIED, AccountLabel_MANUAL, AccountLabel_AUTOMATIC
const (
// Unknown label type.
AccountLabel_LABEL_TYPE_UNSPECIFIED AccountLabel_LabelType = 0
// Indicates that the label was created manually.
AccountLabel_MANUAL AccountLabel_LabelType = 1
// Indicates that the label was created automatically by CSS Center.
AccountLabel_AUTOMATIC AccountLabel_LabelType = 2
)
func (AccountLabel_LabelType) Descriptor
func (AccountLabel_LabelType) Descriptor() protoreflect.EnumDescriptor
func (AccountLabel_LabelType) Enum
func (x AccountLabel_LabelType) Enum() *AccountLabel_LabelType
func (AccountLabel_LabelType) EnumDescriptor
func (AccountLabel_LabelType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccountLabel_LabelType.Descriptor instead.
func (AccountLabel_LabelType) Number
func (x AccountLabel_LabelType) Number() protoreflect.EnumNumber
func (AccountLabel_LabelType) String
func (x AccountLabel_LabelType) String() string
func (AccountLabel_LabelType) Type
func (AccountLabel_LabelType) Type() protoreflect.EnumType
AccountLabelsServiceClient
type AccountLabelsServiceClient interface {
// Lists the labels owned by an account.
ListAccountLabels(ctx context.Context, in *ListAccountLabelsRequest, opts ...grpc.CallOption) (*ListAccountLabelsResponse, error)
// Creates a new label, not assigned to any account.
CreateAccountLabel(ctx context.Context, in *CreateAccountLabelRequest, opts ...grpc.CallOption) (*AccountLabel, error)
// Updates a label.
UpdateAccountLabel(ctx context.Context, in *UpdateAccountLabelRequest, opts ...grpc.CallOption) (*AccountLabel, error)
// Deletes a label and removes it from all accounts to which it was assigned.
DeleteAccountLabel(ctx context.Context, in *DeleteAccountLabelRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}
AccountLabelsServiceClient is the client API for AccountLabelsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAccountLabelsServiceClient
func NewAccountLabelsServiceClient(cc grpc.ClientConnInterface) AccountLabelsServiceClient
AccountLabelsServiceServer
type AccountLabelsServiceServer interface {
// Lists the labels owned by an account.
ListAccountLabels(context.Context, *ListAccountLabelsRequest) (*ListAccountLabelsResponse, error)
// Creates a new label, not assigned to any account.
CreateAccountLabel(context.Context, *CreateAccountLabelRequest) (*AccountLabel, error)
// Updates a label.
UpdateAccountLabel(context.Context, *UpdateAccountLabelRequest) (*AccountLabel, error)
// Deletes a label and removes it from all accounts to which it was assigned.
DeleteAccountLabel(context.Context, *DeleteAccountLabelRequest) (*emptypb.Empty, error)
}
AccountLabelsServiceServer is the server API for AccountLabelsService service.
Account_AccountType
type Account_AccountType int32
The account type.
Account_ACCOUNT_TYPE_UNSPECIFIED, Account_CSS_GROUP, Account_CSS_DOMAIN, Account_MC_PRIMARY_CSS_MCA, Account_MC_CSS_MCA, Account_MC_MARKETPLACE_MCA, Account_MC_OTHER_MCA, Account_MC_STANDALONE, Account_MC_MCA_SUBACCOUNT
const (
// Unknown account type.
Account_ACCOUNT_TYPE_UNSPECIFIED Account_AccountType = 0
// CSS group account.
Account_CSS_GROUP Account_AccountType = 1
// CSS domain account.
Account_CSS_DOMAIN Account_AccountType = 2
// MC Primary CSS MCA account.
Account_MC_PRIMARY_CSS_MCA Account_AccountType = 3
// MC CSS MCA account.
Account_MC_CSS_MCA Account_AccountType = 4
// MC Marketplace MCA account.
Account_MC_MARKETPLACE_MCA Account_AccountType = 5
// MC Other MCA account.
Account_MC_OTHER_MCA Account_AccountType = 6
// MC Standalone account.
Account_MC_STANDALONE Account_AccountType = 7
// MC MCA sub-account.
Account_MC_MCA_SUBACCOUNT Account_AccountType = 8
)
func (Account_AccountType) Descriptor
func (Account_AccountType) Descriptor() protoreflect.EnumDescriptor
func (Account_AccountType) Enum
func (x Account_AccountType) Enum() *Account_AccountType
func (Account_AccountType) EnumDescriptor
func (Account_AccountType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Account_AccountType.Descriptor instead.
func (Account_AccountType) Number
func (x Account_AccountType) Number() protoreflect.EnumNumber
func (Account_AccountType) String
func (x Account_AccountType) String() string
func (Account_AccountType) Type
func (Account_AccountType) Type() protoreflect.EnumType
AccountsServiceClient
type AccountsServiceClient interface {
// Lists all the accounts under the specified CSS account ID, and
// optionally filters by label ID and account name.
ListChildAccounts(ctx context.Context, in *ListChildAccountsRequest, opts ...grpc.CallOption) (*ListChildAccountsResponse, error)
// Retrieves a single CSS/MC account by ID.
GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*Account, error)
// Updates labels assigned to CSS/MC accounts by a CSS domain.
UpdateLabels(ctx context.Context, in *UpdateAccountLabelsRequest, opts ...grpc.CallOption) (*Account, error)
}
AccountsServiceClient is the client API for AccountsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAccountsServiceClient
func NewAccountsServiceClient(cc grpc.ClientConnInterface) AccountsServiceClient
AccountsServiceServer
type AccountsServiceServer interface {
// Lists all the accounts under the specified CSS account ID, and
// optionally filters by label ID and account name.
ListChildAccounts(context.Context, *ListChildAccountsRequest) (*ListChildAccountsResponse, error)
// Retrieves a single CSS/MC account by ID.
GetAccount(context.Context, *GetAccountRequest) (*Account, error)
// Updates labels assigned to CSS/MC accounts by a CSS domain.
UpdateLabels(context.Context, *UpdateAccountLabelsRequest) (*Account, error)
}
AccountsServiceServer is the server API for AccountsService service.
Attributes
type Attributes struct {
// URL directly linking to your the Product Detail Page of the CSS.
CppLink *string `protobuf:"bytes,1,opt,name=cpp_link,json=cppLink,proto3,oneof" json:"cpp_link,omitempty"`
// URL for the mobile-optimized version of the Product Detail Page of the CSS.
CppMobileLink *string `protobuf:"bytes,2,opt,name=cpp_mobile_link,json=cppMobileLink,proto3,oneof" json:"cpp_mobile_link,omitempty"`
// Allows advertisers to override the item URL when the product is shown
// within the context of Product Ads.
CppAdsRedirect *string `protobuf:"bytes,42,opt,name=cpp_ads_redirect,json=cppAdsRedirect,proto3,oneof" json:"cpp_ads_redirect,omitempty"`
// Low Price of the CSS Product.
LowPrice *typepb.Price `protobuf:"bytes,3,opt,name=low_price,json=lowPrice,proto3" json:"low_price,omitempty"`
// High Price of the CSS Product.
HighPrice *typepb.Price `protobuf:"bytes,4,opt,name=high_price,json=highPrice,proto3" json:"high_price,omitempty"`
// The number of CSS Products.
NumberOfOffers *int64 `protobuf:"varint,5,opt,name=number_of_offers,json=numberOfOffers,proto3,oneof" json:"number_of_offers,omitempty"`
// Condition of the headline offer.
HeadlineOfferCondition *string `protobuf:"bytes,6,opt,name=headline_offer_condition,json=headlineOfferCondition,proto3,oneof" json:"headline_offer_condition,omitempty"`
// Headline Price of the CSS Product.
HeadlineOfferPrice *typepb.Price `protobuf:"bytes,7,opt,name=headline_offer_price,json=headlineOfferPrice,proto3" json:"headline_offer_price,omitempty"`
// Link to the headline offer.
HeadlineOfferLink *string `protobuf:"bytes,8,opt,name=headline_offer_link,json=headlineOfferLink,proto3,oneof" json:"headline_offer_link,omitempty"`
// Mobile Link to the headline offer.
HeadlineOfferMobileLink *string `protobuf:"bytes,9,opt,name=headline_offer_mobile_link,json=headlineOfferMobileLink,proto3,oneof" json:"headline_offer_mobile_link,omitempty"`
// Headline Price of the CSS Product.
HeadlineOfferShippingPrice *typepb.Price `protobuf:"bytes,41,opt,name=headline_offer_shipping_price,json=headlineOfferShippingPrice,proto3" json:"headline_offer_shipping_price,omitempty"`
// Title of the item.
Title *string `protobuf:"bytes,10,opt,name=title,proto3,oneof" json:"title,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 URL of images of the item.
AdditionalImageLinks []string `protobuf:"bytes,12,rep,name=additional_image_links,json=additionalImageLinks,proto3" json:"additional_image_links,omitempty"`
// Description of the item.
Description *string `protobuf:"bytes,13,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Product Related Attributes.[14-36]
// Brand of the item.
Brand *string `protobuf:"bytes,14,opt,name=brand,proto3,oneof" json:"brand,omitempty"`
// Manufacturer Part Number
// ([MPN](https://support.google.com/merchants/answer/188494#mpn)) of the
// item.
Mpn *string `protobuf:"bytes,15,opt,name=mpn,proto3,oneof" json:"mpn,omitempty"`
// Global Trade Item Number
// ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the
// item.
Gtin *string `protobuf:"bytes,16,opt,name=gtin,proto3,oneof" json:"gtin,omitempty"`
// Categories of the item (formatted as in [products data
// specification](https://support.google.com/merchants/answer/6324406)).
ProductTypes []string `protobuf:"bytes,36,rep,name=product_types,json=productTypes,proto3" json:"product_types,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,17,opt,name=google_product_category,json=googleProductCategory,proto3,oneof" json:"google_product_category,omitempty"`
// Set to true if the item is targeted towards adults.
Adult *bool `protobuf:"varint,18,opt,name=adult,proto3,oneof" json:"adult,omitempty"`
// The number of identical products in a merchant-defined multipack.
Multipack *int64 `protobuf:"varint,19,opt,name=multipack,proto3,oneof" json:"multipack,omitempty"`
// Whether the item is a merchant-defined bundle. A bundle is a custom
// grouping of different products sold by a merchant for a single price.
IsBundle *bool `protobuf:"varint,20,opt,name=is_bundle,json=isBundle,proto3,oneof" json:"is_bundle,omitempty"`
// Target age group of the item.
AgeGroup *string `protobuf:"bytes,21,opt,name=age_group,json=ageGroup,proto3,oneof" json:"age_group,omitempty"`
// Color of the item.
Color *string `protobuf:"bytes,22,opt,name=color,proto3,oneof" json:"color,omitempty"`
// Target gender of the item.
Gender *string `protobuf:"bytes,23,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
// The material of which the item is made.
Material *string `protobuf:"bytes,24,opt,name=material,proto3,oneof" json:"material,omitempty"`
// The item's pattern (e.g. polka dots).
Pattern *string `protobuf:"bytes,25,opt,name=pattern,proto3,oneof" json:"pattern,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
// [https://support.google.com/merchants/answer/6324492](size definition)).
Size *string `protobuf:"bytes,26,opt,name=size,proto3,oneof" json:"size,omitempty"`
// System in which the size is specified. Recommended for apparel items.
SizeSystem *string `protobuf:"bytes,27,opt,name=size_system,json=sizeSystem,proto3,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
// [https://support.google.com/merchants/answer/6324497](size type)).
SizeTypes []string `protobuf:"bytes,28,rep,name=size_types,json=sizeTypes,proto3" json:"size_types,omitempty"`
// Shared identifier for all variants of the same product.
ItemGroupId *string `protobuf:"bytes,29,opt,name=item_group_id,json=itemGroupId,proto3,oneof" json:"item_group_id,omitempty"`
// Technical specification or additional product details.
ProductDetails []*ProductDetail `protobuf:"bytes,30,rep,name=product_details,json=productDetails,proto3" json:"product_details,omitempty"`
// The weight of the product in the units provided. The value must be
// between 0 (exclusive) and 2000 (inclusive).
ProductWeight *ProductWeight `protobuf:"bytes,31,opt,name=product_weight,json=productWeight,proto3" json:"product_weight,omitempty"`
// The length of the product in the units provided. The value must be
// between 0 (exclusive) and 3000 (inclusive).
ProductLength *ProductDimension `protobuf:"bytes,32,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,33,opt,name=product_width,json=productWidth,proto3" json:"product_width,omitempty"`
// The height of the product in the units provided. The value must be
// between
// 0 (exclusive) and 3000 (inclusive).
ProductHeight *ProductDimension `protobuf:"bytes,34,opt,name=product_height,json=productHeight,proto3" json:"product_height,omitempty"`
// Bullet points describing the most relevant highlights of a product.
ProductHighlights []string `protobuf:"bytes,35,rep,name=product_highlights,json=productHighlights,proto3" json:"product_highlights,omitempty"`
// A list of certificates claimed by the CSS for the given product.
Certifications []*Certification `protobuf:"bytes,39,rep,name=certifications,proto3" json:"certifications,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.
// Note: It may take 2+ days from the expiration date for the item to
// actually get deleted.
ExpirationDate *timestamppb.Timestamp `protobuf:"bytes,40,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,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`.
IncludedDestinations []string `protobuf:"bytes,43,rep,name=included_destinations,json=includedDestinations,proto3" json:"included_destinations,omitempty"`
// The list of destinations to exclude for this target (corresponds to
// unchecked check boxes in Merchant Center).
ExcludedDestinations []string `protobuf:"bytes,44,rep,name=excluded_destinations,json=excludedDestinations,proto3" json:"excluded_destinations,omitempty"`
// Publication of this item will be temporarily paused.
Pause *string `protobuf:"bytes,45,opt,name=pause,proto3,oneof" json:"pause,omitempty"`
// Custom label 0 for custom grouping of items in a Shopping campaign.
CustomLabel_0 *string `protobuf:"bytes,46,opt,name=custom_label_0,json=customLabel0,proto3,oneof" json:"custom_label_0,omitempty"`
// Custom label 1 for custom grouping of items in a Shopping campaign.
CustomLabel_1 *string `protobuf:"bytes,47,opt,name=custom_label_1,json=customLabel1,proto3,oneof" json:"custom_label_1,omitempty"`
// Custom label 2 for custom grouping of items in a Shopping campaign.
CustomLabel_2 *string `protobuf:"bytes,48,opt,name=custom_label_2,json=customLabel2,proto3,oneof" json:"custom_label_2,omitempty"`
// Custom label 3 for custom grouping of items in a Shopping campaign.
CustomLabel_3 *string `protobuf:"bytes,49,opt,name=custom_label_3,json=customLabel3,proto3,oneof" json:"custom_label_3,omitempty"`
// Custom label 4 for custom grouping of items in a Shopping campaign.
CustomLabel_4 *string `protobuf:"bytes,50,opt,name=custom_label_4,json=customLabel4,proto3,oneof" json:"custom_label_4,omitempty"`
// Number and amount of installments to pay for an item.
HeadlineOfferInstallment *HeadlineOfferInstallment `protobuf:"bytes,51,opt,name=headline_offer_installment,json=headlineOfferInstallment,proto3" json:"headline_offer_installment,omitempty"`
// Number of periods (months or years) and amount of payment per period
// for an item with an associated subscription contract.
HeadlineOfferSubscriptionCost *HeadlineOfferSubscriptionCost `protobuf:"bytes,52,opt,name=headline_offer_subscription_cost,json=headlineOfferSubscriptionCost,proto3" json:"headline_offer_subscription_cost,omitempty"`
// contains filtered or unexported fields
}
Attributes for CSS Product.
func (*Attributes) Descriptor
func (*Attributes) Descriptor() ([]byte, []int)
Deprecated: Use Attributes.ProtoReflect.Descriptor instead.
func (*Attributes) GetAdditionalImageLinks
func (x *Attributes) GetAdditionalImageLinks() []string
func (*Attributes) GetAdult
func (x *Attributes) GetAdult() bool
func (*Attributes) GetAgeGroup
func (x *Attributes) GetAgeGroup() string
func (*Attributes) GetBrand
func (x *Attributes) GetBrand() string
func (*Attributes) GetCertifications
func (x *Attributes) GetCertifications() []*Certification
func (*Attributes) GetColor
func (x *Attributes) GetColor() string
func (*Attributes) GetCppAdsRedirect
func (x *Attributes) GetCppAdsRedirect() string
func (*Attributes) GetCppLink
func (x *Attributes) GetCppLink() string
func (*Attributes) GetCppMobileLink
func (x *Attributes) GetCppMobileLink() string
func (*Attributes) GetCustomLabel_0
func (x *Attributes) GetCustomLabel_0() string
func (*Attributes) GetCustomLabel_1
func (x *Attributes) GetCustomLabel_1() string
func (*Attributes) GetCustomLabel_2
func (x *Attributes) GetCustomLabel_2() string
func (*Attributes) GetCustomLabel_3
func (x *Attributes) GetCustomLabel_3() string
func (*Attributes) GetCustomLabel_4
func (x *Attributes) GetCustomLabel_4() string
func (*Attributes) GetDescription
func (x *Attributes) GetDescription() string
func (*Attributes) GetExcludedDestinations
func (x *Attributes) GetExcludedDestinations() []string
func (*Attributes) GetExpirationDate
func (x *Attributes) GetExpirationDate() *timestamppb.Timestamp
func (*Attributes) GetGender
func (x *Attributes) GetGender() string
func (*Attributes) GetGoogleProductCategory
func (x *Attributes) GetGoogleProductCategory() string
func (*Attributes) GetGtin
func (x *Attributes) GetGtin() string
func (*Attributes) GetHeadlineOfferCondition
func (x *Attributes) GetHeadlineOfferCondition() string
func (*Attributes) GetHeadlineOfferInstallment
func (x *Attributes) GetHeadlineOfferInstallment() *HeadlineOfferInstallment
func (*Attributes) GetHeadlineOfferLink
func (x *Attributes) GetHeadlineOfferLink() string
func (*Attributes) GetHeadlineOfferMobileLink
func (x *Attributes) GetHeadlineOfferMobileLink() string
func (*Attributes) GetHeadlineOfferPrice
func (x *Attributes) GetHeadlineOfferPrice() *typepb.Price
func (*Attributes) GetHeadlineOfferShippingPrice
func (x *Attributes) GetHeadlineOfferShippingPrice() *typepb.Price
func (*Attributes) GetHeadlineOfferSubscriptionCost
func (x *Attributes) GetHeadlineOfferSubscriptionCost() *HeadlineOfferSubscriptionCost
func (*Attributes) GetHighPrice
func (x *Attributes) GetHighPrice() *typepb.Price
func (*Attributes) GetImageLink
func (x *Attributes) GetImageLink() string
func (*Attributes) GetIncludedDestinations
func (x *Attributes) GetIncludedDestinations() []string
func (*Attributes) GetIsBundle
func (x *Attributes) GetIsBundle() bool
func (*Attributes) GetItemGroupId
func (x *Attributes) GetItemGroupId() string
func (*Attributes) GetLowPrice
func (x *Attributes) GetLowPrice() *typepb.Price
func (*Attributes) GetMaterial
func (x *Attributes) GetMaterial() string
func (*Attributes) GetMpn
func (x *Attributes) GetMpn() string
func (*Attributes) GetMultipack
func (x *Attributes) GetMultipack() int64
func (*Attributes) GetNumberOfOffers
func (x *Attributes) GetNumberOfOffers() int64
func (*Attributes) GetPattern
func (x *Attributes) GetPattern() string
func (*Attributes) GetPause
func (x *Attributes) GetPause() string
func (*Attributes) GetProductDetails
func (x *Attributes) GetProductDetails() []*ProductDetail
func (*Attributes) GetProductHeight
func (x *Attributes) GetProductHeight() *ProductDimension
func (*Attributes) GetProductHighlights
func (x *Attributes) GetProductHighlights() []string
func (*Attributes) GetProductLength
func (x *Attributes) GetProductLength() *ProductDimension
func (*Attributes) GetProductTypes
func (x *Attributes) GetProductTypes() []string
func (*Attributes) GetProductWeight
func (x *Attributes) GetProductWeight() *ProductWeight
func (*Attributes) GetProductWidth
func (x *Attributes) GetProductWidth() *ProductDimension
func (*Attributes) GetSize
func (x *Attributes) GetSize() string
func (*Attributes) GetSizeSystem
func (x *Attributes) GetSizeSystem() string
func (*Attributes) GetSizeTypes
func (x *Attributes) GetSizeTypes() []string
func (*Attributes) GetTitle
func (x *Attributes) GetTitle() string
func (*Attributes) ProtoMessage
func (*Attributes) ProtoMessage()
func (*Attributes) ProtoReflect
func (x *Attributes) ProtoReflect() protoreflect.Message
func (*Attributes) Reset
func (x *Attributes) Reset()
func (*Attributes) String
func (x *Attributes) String() string
Certification
type Certification struct {
// The name of the certification. At this time, the most common value is
// "EPREL", which represents energy efficiency certifications in the EU
// European Registry for Energy Labeling (EPREL) database.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The authority or certification body responsible for issuing the
// certification. At this time, the most common value is "EC" or
// “European_Commission” for energy labels in the EU.
Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"`
// The code of the certification. For example, for the EPREL certificate with
// the link https://eprel.ec.europa.eu/screen/product/dishwashers2019/123456
// the code is 123456. The code is required for European Energy Labels.
Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
// contains filtered or unexported fields
}
The certification for the product. Use the this attribute to describe certifications, such as energy efficiency ratings, associated with a product.
func (*Certification) Descriptor
func (*Certification) Descriptor() ([]byte, []int)
Deprecated: Use Certification.ProtoReflect.Descriptor instead.
func (*Certification) GetAuthority
func (x *Certification) GetAuthority() string
func (*Certification) GetCode
func (x *Certification) GetCode() string
func (*Certification) GetName
func (x *Certification) GetName() string
func (*Certification) ProtoMessage
func (*Certification) ProtoMessage()
func (*Certification) ProtoReflect
func (x *Certification) ProtoReflect() protoreflect.Message
func (*Certification) Reset
func (x *Certification) Reset()
func (*Certification) String
func (x *Certification) String() string
CreateAccountLabelRequest
type CreateAccountLabelRequest struct {
// Required. The parent account.
// Format: accounts/{account}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The label to create.
AccountLabel *AccountLabel `protobuf:"bytes,2,opt,name=account_label,json=accountLabel,proto3" json:"account_label,omitempty"`
// contains filtered or unexported fields
}
Request message for the 'CreateAccountLanel' method.
func (*CreateAccountLabelRequest) Descriptor
func (*CreateAccountLabelRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountLabelRequest.ProtoReflect.Descriptor instead.
func (*CreateAccountLabelRequest) GetAccountLabel
func (x *CreateAccountLabelRequest) GetAccountLabel() *AccountLabel
func (*CreateAccountLabelRequest) GetParent
func (x *CreateAccountLabelRequest) GetParent() string
func (*CreateAccountLabelRequest) ProtoMessage
func (*CreateAccountLabelRequest) ProtoMessage()
func (*CreateAccountLabelRequest) ProtoReflect
func (x *CreateAccountLabelRequest) ProtoReflect() protoreflect.Message
func (*CreateAccountLabelRequest) Reset
func (x *CreateAccountLabelRequest) Reset()
func (*CreateAccountLabelRequest) String
func (x *CreateAccountLabelRequest) String() string
CssProduct
type CssProduct struct {
// The name of the CSS Product.
// Format:
// `"accounts/{account}/cssProducts/{css_product}"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Your unique raw identifier for the product.
RawProvidedId string `protobuf:"bytes,2,opt,name=raw_provided_id,json=rawProvidedId,proto3" json:"raw_provided_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,3,opt,name=content_language,json=contentLanguage,proto3" json:"content_language,omitempty"`
// Output only. The feed label for the product.
FeedLabel string `protobuf:"bytes,4,opt,name=feed_label,json=feedLabel,proto3" json:"feed_label,omitempty"`
// Output only. A list of product attributes.
Attributes *Attributes `protobuf:"bytes,5,opt,name=attributes,proto3" json:"attributes,omitempty"`
// Output only. A list of custom (CSS-provided) attributes. It can also be
// used to submit any attribute of the feed 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,6,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.
CssProductStatus *CssProductStatus `protobuf:"bytes,8,opt,name=css_product_status,json=cssProductStatus,proto3" json:"css_product_status,omitempty"`
// contains filtered or unexported fields
}
The processed CSS Product.
func (*CssProduct) Descriptor
func (*CssProduct) Descriptor() ([]byte, []int)
Deprecated: Use CssProduct.ProtoReflect.Descriptor instead.
func (*CssProduct) GetAttributes
func (x *CssProduct) GetAttributes() *Attributes
func (*CssProduct) GetContentLanguage
func (x *CssProduct) GetContentLanguage() string
func (*CssProduct) GetCssProductStatus
func (x *CssProduct) GetCssProductStatus() *CssProductStatus
func (*CssProduct) GetCustomAttributes
func (x *CssProduct) GetCustomAttributes() []*typepb.CustomAttribute
func (*CssProduct) GetFeedLabel
func (x *CssProduct) GetFeedLabel() string
func (*CssProduct) GetName
func (x *CssProduct) GetName() string
func (*CssProduct) GetRawProvidedId
func (x *CssProduct) GetRawProvidedId() string
func (*CssProduct) ProtoMessage
func (*CssProduct) ProtoMessage()
func (*CssProduct) ProtoReflect
func (x *CssProduct) ProtoReflect() protoreflect.Message
func (*CssProduct) Reset
func (x *CssProduct) Reset()
func (*CssProduct) String
func (x *CssProduct) String() string
CssProductInput
type CssProductInput struct {
// The name of the CSS Product input.
// Format:
// `accounts/{account}/cssProductInputs/{css_product_input}`, where the
// last section `css_product_input` consists of 3 parts:
// contentLanguage~feedLabel~offerId. Example:
// accounts/123/cssProductInputs/de~DE~rawProvidedId123
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The name of the processed CSS Product.
// Format:
// `accounts/{account}/cssProducts/{css_product}`
// "
FinalName string `protobuf:"bytes,2,opt,name=final_name,json=finalName,proto3" json:"final_name,omitempty"`
// Required. Your unique identifier for the CSS Product. This is the same for
// the CSS Product input and processed CSS Product. We only allow ids with
// alphanumerics, underscores and dashes. See the [products feed
// specification](https://support.google.com/merchants/answer/188494#id) for
// details.
RawProvidedId string `protobuf:"bytes,3,opt,name=raw_provided_id,json=rawProvidedId,proto3" json:"raw_provided_id,omitempty"`
// Required. The two-letter [ISO
// 639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the CSS
// Product.
ContentLanguage string `protobuf:"bytes,4,opt,name=content_language,json=contentLanguage,proto3" json:"content_language,omitempty"`
// Required. The [feed
// label](https://developers.google.com/shopping-content/guides/products/feed-labels)
// for the CSS Product.
// Feed Label is synonymous to "target country" and hence should always be a
// valid region code. For example: 'DE' for Germany, 'FR' for France.
FeedLabel string `protobuf:"bytes,5,opt,name=feed_label,json=feedLabel,proto3" json:"feed_label,omitempty"`
// DEPRECATED. Use expiration_date instead.
// Represents the existing version (freshness) of the CSS Product, which
// can be used to preserve the right order when multiple updates are done at
// the same time.
//
// This field must not be set to the future time.
//
// If set, the update is prevented if a newer version of the item already
// exists in our system (that is the last update time of the existing
// CSS products is later than the freshness time set in the update). If
// the update happens, the last update time is then set to this freshness
// time.
//
// If not set, the update will not be prevented and the last update time will
// default to when this request was received by the CSS API.
//
// If the operation is prevented, the aborted exception will be
// thrown.
//
// Deprecated: Marked as deprecated in google/shopping/css/v1/css_product_inputs.proto.
FreshnessTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=freshness_time,json=freshnessTime,proto3" json:"freshness_time,omitempty"`
// A list of CSS Product attributes.
Attributes *Attributes `protobuf:"bytes,7,opt,name=attributes,proto3" json:"attributes,omitempty"`
// A list of custom (CSS-provided) attributes. It can also be used for
// submitting any attribute of the feed 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,8,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 CSS Product, not the processed CSS Product that you see in CSS Center, in Shopping Ads, or across Google surfaces.
func (*CssProductInput) Descriptor
func (*CssProductInput) Descriptor() ([]byte, []int)
Deprecated: Use CssProductInput.ProtoReflect.Descriptor instead.
func (*CssProductInput) GetAttributes
func (x *CssProductInput) GetAttributes() *Attributes
func (*CssProductInput) GetContentLanguage
func (x *CssProductInput) GetContentLanguage() string
func (*CssProductInput) GetCustomAttributes
func (x *CssProductInput) GetCustomAttributes() []*typepb.CustomAttribute
func (*CssProductInput) GetFeedLabel
func (x *CssProductInput) GetFeedLabel() string
func (*CssProductInput) GetFinalName
func (x *CssProductInput) GetFinalName() string
func (*CssProductInput) GetFreshnessTime
func (x *CssProductInput) GetFreshnessTime() *timestamppb.Timestamp
Deprecated: Marked as deprecated in google/shopping/css/v1/css_product_inputs.proto.
func (*CssProductInput) GetName
func (x *CssProductInput) GetName() string
func (*CssProductInput) GetRawProvidedId
func (x *CssProductInput) GetRawProvidedId() string
func (*CssProductInput) ProtoMessage
func (*CssProductInput) ProtoMessage()
func (*CssProductInput) ProtoReflect
func (x *CssProductInput) ProtoReflect() protoreflect.Message
func (*CssProductInput) Reset
func (x *CssProductInput) Reset()
func (*CssProductInput) String
func (x *CssProductInput) String() string
CssProductInputsServiceClient
type CssProductInputsServiceClient interface {
// Uploads a CssProductInput to your CSS Center account. If an
// input with the same contentLanguage, identity, feedLabel and feedId already
// exists, this method replaces that entry.
//
// After inserting, updating, or deleting a CSS Product input, it may
// take several minutes before the processed CSS Product can be retrieved.
InsertCssProductInput(ctx context.Context, in *InsertCssProductInputRequest, opts ...grpc.CallOption) (*CssProductInput, error)
// Updates the existing Css Product input in your CSS Center account.
//
// After inserting, updating, or deleting a CSS Product input, it may take
// several minutes before the processed Css Product can be retrieved.
UpdateCssProductInput(ctx context.Context, in *UpdateCssProductInputRequest, opts ...grpc.CallOption) (*CssProductInput, error)
// Deletes a CSS Product input from your CSS Center account.
//
// After a delete it may take several minutes until the input is no longer
// available.
DeleteCssProductInput(ctx context.Context, in *DeleteCssProductInputRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}
CssProductInputsServiceClient is the client API for CssProductInputsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCssProductInputsServiceClient
func NewCssProductInputsServiceClient(cc grpc.ClientConnInterface) CssProductInputsServiceClient
CssProductInputsServiceServer
type CssProductInputsServiceServer interface {
// Uploads a CssProductInput to your CSS Center account. If an
// input with the same contentLanguage, identity, feedLabel and feedId already
// exists, this method replaces that entry.
//
// After inserting, updating, or deleting a CSS Product input, it may
// take several minutes before the processed CSS Product can be retrieved.
InsertCssProductInput(context.Context, *InsertCssProductInputRequest) (*CssProductInput, error)
// Updates the existing Css Product input in your CSS Center account.
//
// After inserting, updating, or deleting a CSS Product input, it may take
// several minutes before the processed Css Product can be retrieved.
UpdateCssProductInput(context.Context, *UpdateCssProductInputRequest) (*CssProductInput, error)
// Deletes a CSS Product input from your CSS Center account.
//
// After a delete it may take several minutes until the input is no longer
// available.
DeleteCssProductInput(context.Context, *DeleteCssProductInputRequest) (*emptypb.Empty, error)
}
CssProductInputsServiceServer is the server API for CssProductInputsService service.
CssProductStatus
type CssProductStatus struct {
// The intended destinations for the product.
DestinationStatuses []*CssProductStatus_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 []*CssProductStatus_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 the Css Product, data validation issues, that is, information about the Css Product computed asynchronously.
func (*CssProductStatus) Descriptor
func (*CssProductStatus) Descriptor() ([]byte, []int)
Deprecated: Use CssProductStatus.ProtoReflect.Descriptor instead.
func (*CssProductStatus) GetCreationDate
func (x *CssProductStatus) GetCreationDate() *timestamppb.Timestamp
func (*CssProductStatus) GetDestinationStatuses
func (x *CssProductStatus) GetDestinationStatuses() []*CssProductStatus_DestinationStatus
func (*CssProductStatus) GetGoogleExpirationDate
func (x *CssProductStatus) GetGoogleExpirationDate() *timestamppb.Timestamp
func (*CssProductStatus) GetItemLevelIssues
func (x *CssProductStatus) GetItemLevelIssues() []*CssProductStatus_ItemLevelIssue
func (*CssProductStatus) GetLastUpdateDate
func (x *CssProductStatus) GetLastUpdateDate() *timestamppb.Timestamp
func (*CssProductStatus) ProtoMessage
func (*CssProductStatus) ProtoMessage()
func (*CssProductStatus) ProtoReflect
func (x *CssProductStatus) ProtoReflect() protoreflect.Message
func (*CssProductStatus) Reset
func (x *CssProductStatus) Reset()
func (*CssProductStatus) String
func (x *CssProductStatus) String() string
CssProductStatus_DestinationStatus
type CssProductStatus_DestinationStatus struct {
// The name of the destination
Destination string `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"`
// List of country codes (ISO 3166-1 alpha-2) where the CSS Product 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 CSS Product 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 CSS Product is
// disapproved.
DisapprovedCountries []string `protobuf:"bytes,4,rep,name=disapproved_countries,json=disapprovedCountries,proto3" json:"disapproved_countries,omitempty"`
// contains filtered or unexported fields
}
The destination status of the product status.
func (*CssProductStatus_DestinationStatus) Descriptor
func (*CssProductStatus_DestinationStatus) Descriptor() ([]byte, []int)
Deprecated: Use CssProductStatus_DestinationStatus.ProtoReflect.Descriptor instead.
func (*CssProductStatus_DestinationStatus) GetApprovedCountries
func (x *CssProductStatus_DestinationStatus) GetApprovedCountries() []string
func (*CssProductStatus_DestinationStatus) GetDestination
func (x *CssProductStatus_DestinationStatus) GetDestination() string
func (*CssProductStatus_DestinationStatus) GetDisapprovedCountries
func (x *CssProductStatus_DestinationStatus) GetDisapprovedCountries() []string
func (*CssProductStatus_DestinationStatus) GetPendingCountries
func (x *CssProductStatus_DestinationStatus) GetPendingCountries() []string
func (*CssProductStatus_DestinationStatus) ProtoMessage
func (*CssProductStatus_DestinationStatus) ProtoMessage()
func (*CssProductStatus_DestinationStatus) ProtoReflect
func (x *CssProductStatus_DestinationStatus) ProtoReflect() protoreflect.Message
func (*CssProductStatus_DestinationStatus) Reset
func (x *CssProductStatus_DestinationStatus) Reset()
func (*CssProductStatus_DestinationStatus) String
func (x *CssProductStatus_DestinationStatus) String() string
CssProductStatus_ItemLevelIssue
type CssProductStatus_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 CSS Product.
Servability string `protobuf:"bytes,2,opt,name=servability,proto3" json:"servability,omitempty"`
// Whether the issue can be resolved by the merchant.
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 destination the issue applies to.
Destination string `protobuf:"bytes,5,opt,name=destination,proto3" json:"destination,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
// CSS Product.
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 (*CssProductStatus_ItemLevelIssue) Descriptor
func (*CssProductStatus_ItemLevelIssue) Descriptor() ([]byte, []int)
Deprecated: Use CssProductStatus_ItemLevelIssue.ProtoReflect.Descriptor instead.
func (*CssProductStatus_ItemLevelIssue) GetApplicableCountries
func (x *CssProductStatus_ItemLevelIssue) GetApplicableCountries() []string
func (*CssProductStatus_ItemLevelIssue) GetAttribute
func (x *CssProductStatus_ItemLevelIssue) GetAttribute() string
func (*CssProductStatus_ItemLevelIssue) GetCode
func (x *CssProductStatus_ItemLevelIssue) GetCode() string
func (*CssProductStatus_ItemLevelIssue) GetDescription
func (x *CssProductStatus_ItemLevelIssue) GetDescription() string
func (*CssProductStatus_ItemLevelIssue) GetDestination
func (x *CssProductStatus_ItemLevelIssue) GetDestination() string
func (*CssProductStatus_ItemLevelIssue) GetDetail
func (x *CssProductStatus_ItemLevelIssue) GetDetail() string
func (*CssProductStatus_ItemLevelIssue) GetDocumentation
func (x *CssProductStatus_ItemLevelIssue) GetDocumentation() string
func (*CssProductStatus_ItemLevelIssue) GetResolution
func (x *CssProductStatus_ItemLevelIssue) GetResolution() string
func (*CssProductStatus_ItemLevelIssue) GetServability
func (x *CssProductStatus_ItemLevelIssue) GetServability() string
func (*CssProductStatus_ItemLevelIssue) ProtoMessage
func (*CssProductStatus_ItemLevelIssue) ProtoMessage()
func (*CssProductStatus_ItemLevelIssue) ProtoReflect
func (x *CssProductStatus_ItemLevelIssue) ProtoReflect() protoreflect.Message
func (*CssProductStatus_ItemLevelIssue) Reset
func (x *CssProductStatus_ItemLevelIssue) Reset()
func (*CssProductStatus_ItemLevelIssue) String
func (x *CssProductStatus_ItemLevelIssue) String() string
CssProductsServiceClient
type CssProductsServiceClient interface {
// Retrieves the processed CSS Product from your CSS Center account. After
// inserting, updating, or deleting a product input, it may take several
// minutes before the updated final product can be retrieved.
GetCssProduct(ctx context.Context, in *GetCssProductRequest, opts ...grpc.CallOption) (*CssProduct, error)
// Lists the processed CSS Products in your CSS 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 CSS product input, it may
// take several minutes before the updated processed CSS product can be
// retrieved.
ListCssProducts(ctx context.Context, in *ListCssProductsRequest, opts ...grpc.CallOption) (*ListCssProductsResponse, error)
}
CssProductsServiceClient is the client API for CssProductsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCssProductsServiceClient
func NewCssProductsServiceClient(cc grpc.ClientConnInterface) CssProductsServiceClient
CssProductsServiceServer
type CssProductsServiceServer interface {
// Retrieves the processed CSS Product from your CSS Center account. After
// inserting, updating, or deleting a product input, it may take several
// minutes before the updated final product can be retrieved.
GetCssProduct(context.Context, *GetCssProductRequest) (*CssProduct, error)
// Lists the processed CSS Products in your CSS 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 CSS product input, it may
// take several minutes before the updated processed CSS product can be
// retrieved.
ListCssProducts(context.Context, *ListCssProductsRequest) (*ListCssProductsResponse, error)
}
CssProductsServiceServer is the server API for CssProductsService service.
DeleteAccountLabelRequest
type DeleteAccountLabelRequest struct {
// Required. The name of the label to delete.
// Format: accounts/{account}/labels/{label}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for the 'DeleteAccountLabel' method.
func (*DeleteAccountLabelRequest) Descriptor
func (*DeleteAccountLabelRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAccountLabelRequest.ProtoReflect.Descriptor instead.
func (*DeleteAccountLabelRequest) GetName
func (x *DeleteAccountLabelRequest) GetName() string
func (*DeleteAccountLabelRequest) ProtoMessage
func (*DeleteAccountLabelRequest) ProtoMessage()
func (*DeleteAccountLabelRequest) ProtoReflect
func (x *DeleteAccountLabelRequest) ProtoReflect() protoreflect.Message
func (*DeleteAccountLabelRequest) Reset
func (x *DeleteAccountLabelRequest) Reset()
func (*DeleteAccountLabelRequest) String
func (x *DeleteAccountLabelRequest) String() string
DeleteCssProductInputRequest
type DeleteCssProductInputRequest struct {
// Required. The name of the CSS product input resource to delete.
// Format: accounts/{account}/cssProductInputs/{css_product_input}, where the
// last section `css_product_input` consists of 3 parts:
// contentLanguage~feedLabel~offerId. Example:
// accounts/123/cssProductInputs/de~DE~rawProvidedId123
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The Content API Supplemental Feed ID.
// The field must not be set if the action applies to a primary feed.
// If the field is set, then product action applies to a supplemental feed
// instead of primary Content API feed.
SupplementalFeedId *int64 `protobuf:"varint,2,opt,name=supplemental_feed_id,json=supplementalFeedId,proto3,oneof" json:"supplemental_feed_id,omitempty"`
// contains filtered or unexported fields
}
Request message for the DeleteCssProductInput method.
func (*DeleteCssProductInputRequest) Descriptor
func (*DeleteCssProductInputRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCssProductInputRequest.ProtoReflect.Descriptor instead.
func (*DeleteCssProductInputRequest) GetName
func (x *DeleteCssProductInputRequest) GetName() string
func (*DeleteCssProductInputRequest) GetSupplementalFeedId
func (x *DeleteCssProductInputRequest) GetSupplementalFeedId() int64
func (*DeleteCssProductInputRequest) ProtoMessage
func (*DeleteCssProductInputRequest) ProtoMessage()
func (*DeleteCssProductInputRequest) ProtoReflect
func (x *DeleteCssProductInputRequest) ProtoReflect() protoreflect.Message
func (*DeleteCssProductInputRequest) Reset
func (x *DeleteCssProductInputRequest) Reset()
func (*DeleteCssProductInputRequest) String
func (x *DeleteCssProductInputRequest) String() string
GetAccountRequest
type GetAccountRequest struct {
// Required. The name of the managed CSS/MC account.
// Format: accounts/{account}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Only required when retrieving MC account information.
// The CSS domain that is the parent resource of the MC account.
// Format: accounts/{account}
Parent *string `protobuf:"bytes,2,opt,name=parent,proto3,oneof" json:"parent,omitempty"`
// contains filtered or unexported fields
}
The request message for the GetAccount
method.
func (*GetAccountRequest) Descriptor
func (*GetAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.
func (*GetAccountRequest) GetName
func (x *GetAccountRequest) GetName() string
func (*GetAccountRequest) GetParent
func (x *GetAccountRequest) GetParent() string
func (*GetAccountRequest) ProtoMessage
func (*GetAccountRequest) ProtoMessage()
func (*GetAccountRequest) ProtoReflect
func (x *GetAccountRequest) ProtoReflect() protoreflect.Message
func (*GetAccountRequest) Reset
func (x *GetAccountRequest) Reset()
func (*GetAccountRequest) String
func (x *GetAccountRequest) String() string
GetCssProductRequest
type GetCssProductRequest struct {
// Required. The name of the CSS product to retrieve.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request message for the GetCssProduct
method.
func (*GetCssProductRequest) Descriptor
func (*GetCssProductRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCssProductRequest.ProtoReflect.Descriptor instead.
func (*GetCssProductRequest) GetName
func (x *GetCssProductRequest) GetName() string
func (*GetCssProductRequest) ProtoMessage
func (*GetCssProductRequest) ProtoMessage()
func (*GetCssProductRequest) ProtoReflect
func (x *GetCssProductRequest) ProtoReflect() protoreflect.Message
func (*GetCssProductRequest) Reset
func (x *GetCssProductRequest) Reset()
func (*GetCssProductRequest) String
func (x *GetCssProductRequest) String() string
HeadlineOfferInstallment
type HeadlineOfferInstallment 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" json:"downpayment,omitempty"`
// contains filtered or unexported fields
}
A message that represents installment.
func (*HeadlineOfferInstallment) Descriptor
func (*HeadlineOfferInstallment) Descriptor() ([]byte, []int)
Deprecated: Use HeadlineOfferInstallment.ProtoReflect.Descriptor instead.
func (*HeadlineOfferInstallment) GetAmount
func (x *HeadlineOfferInstallment) GetAmount() *typepb.Price
func (*HeadlineOfferInstallment) GetDownpayment
func (x *HeadlineOfferInstallment) GetDownpayment() *typepb.Price
func (*HeadlineOfferInstallment) GetMonths
func (x *HeadlineOfferInstallment) GetMonths() int64
func (*HeadlineOfferInstallment) ProtoMessage
func (*HeadlineOfferInstallment) ProtoMessage()
func (*HeadlineOfferInstallment) ProtoReflect
func (x *HeadlineOfferInstallment) ProtoReflect() protoreflect.Message
func (*HeadlineOfferInstallment) Reset
func (x *HeadlineOfferInstallment) Reset()
func (*HeadlineOfferInstallment) String
func (x *HeadlineOfferInstallment) String() string
HeadlineOfferSubscriptionCost
type HeadlineOfferSubscriptionCost struct {
// The type of subscription period.
// Supported values are:
// - "`month`"
// - "`year`"
Period SubscriptionPeriod `protobuf:"varint,1,opt,name=period,proto3,enum=google.shopping.css.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 (*HeadlineOfferSubscriptionCost) Descriptor
func (*HeadlineOfferSubscriptionCost) Descriptor() ([]byte, []int)
Deprecated: Use HeadlineOfferSubscriptionCost.ProtoReflect.Descriptor instead.
func (*HeadlineOfferSubscriptionCost) GetAmount
func (x *HeadlineOfferSubscriptionCost) GetAmount() *typepb.Price
func (*HeadlineOfferSubscriptionCost) GetPeriod
func (x *HeadlineOfferSubscriptionCost) GetPeriod() SubscriptionPeriod
func (*HeadlineOfferSubscriptionCost) GetPeriodLength
func (x *HeadlineOfferSubscriptionCost) GetPeriodLength() int64
func (*HeadlineOfferSubscriptionCost) ProtoMessage
func (*HeadlineOfferSubscriptionCost) ProtoMessage()
func (*HeadlineOfferSubscriptionCost) ProtoReflect
func (x *HeadlineOfferSubscriptionCost) ProtoReflect() protoreflect.Message
func (*HeadlineOfferSubscriptionCost) Reset
func (x *HeadlineOfferSubscriptionCost) Reset()
func (*HeadlineOfferSubscriptionCost) String
func (x *HeadlineOfferSubscriptionCost) String() string
InsertCssProductInputRequest
type InsertCssProductInputRequest struct {
// Required. The account where this CSS Product will be inserted.
// Format: accounts/{account}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The CSS Product Input to insert.
CssProductInput *CssProductInput `protobuf:"bytes,2,opt,name=css_product_input,json=cssProductInput,proto3" json:"css_product_input,omitempty"`
// Optional. DEPRECATED. Feed id is not required for CSS Products.
// The primary or supplemental feed id. If CSS Product already exists and
// feed id provided is different, then the CSS Product will be moved to a
// new feed.
// Note: For now, CSSs do not need to provide feed ids as we create
// feeds on the fly.
// We do not have supplemental feed support for CSS Products yet.
//
// Deprecated: Marked as deprecated in google/shopping/css/v1/css_product_inputs.proto.
FeedId int64 `protobuf:"varint,3,opt,name=feed_id,json=feedId,proto3" json:"feed_id,omitempty"`
// contains filtered or unexported fields
}
Request message for the InsertCssProductInput method.
func (*InsertCssProductInputRequest) Descriptor
func (*InsertCssProductInputRequest) Descriptor() ([]byte, []int)
Deprecated: Use InsertCssProductInputRequest.ProtoReflect.Descriptor instead.
func (*InsertCssProductInputRequest) GetCssProductInput
func (x *InsertCssProductInputRequest) GetCssProductInput() *CssProductInput
func (*InsertCssProductInputRequest) GetFeedId
func (x *InsertCssProductInputRequest) GetFeedId() int64
Deprecated: Marked as deprecated in google/shopping/css/v1/css_product_inputs.proto.
func (*InsertCssProductInputRequest) GetParent
func (x *InsertCssProductInputRequest) GetParent() string
func (*InsertCssProductInputRequest) ProtoMessage
func (*InsertCssProductInputRequest) ProtoMessage()
func (*InsertCssProductInputRequest) ProtoReflect
func (x *InsertCssProductInputRequest) ProtoReflect() protoreflect.Message
func (*InsertCssProductInputRequest) Reset
func (x *InsertCssProductInputRequest) Reset()
func (*InsertCssProductInputRequest) String
func (x *InsertCssProductInputRequest) String() string
ListAccountLabelsRequest
type ListAccountLabelsRequest struct {
// Required. The parent account.
// Format: accounts/{account}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of labels to return. The service may return fewer than
// this value.
// If unspecified, at most 50 labels will be returned.
// The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListAccountLabels` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListAccountLabels` 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 ListAccountLabels
method.
func (*ListAccountLabelsRequest) Descriptor
func (*ListAccountLabelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountLabelsRequest.ProtoReflect.Descriptor instead.
func (*ListAccountLabelsRequest) GetPageSize
func (x *ListAccountLabelsRequest) GetPageSize() int32
func (*ListAccountLabelsRequest) GetPageToken
func (x *ListAccountLabelsRequest) GetPageToken() string
func (*ListAccountLabelsRequest) GetParent
func (x *ListAccountLabelsRequest) GetParent() string
func (*ListAccountLabelsRequest) ProtoMessage
func (*ListAccountLabelsRequest) ProtoMessage()
func (*ListAccountLabelsRequest) ProtoReflect
func (x *ListAccountLabelsRequest) ProtoReflect() protoreflect.Message
func (*ListAccountLabelsRequest) Reset
func (x *ListAccountLabelsRequest) Reset()
func (*ListAccountLabelsRequest) String
func (x *ListAccountLabelsRequest) String() string
ListAccountLabelsResponse
type ListAccountLabelsResponse struct {
// The labels from the specified account.
AccountLabels []*AccountLabel `protobuf:"bytes,1,rep,name=account_labels,json=accountLabels,proto3" json:"account_labels,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 ListAccountLabels
method.
func (*ListAccountLabelsResponse) Descriptor
func (*ListAccountLabelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountLabelsResponse.ProtoReflect.Descriptor instead.
func (*ListAccountLabelsResponse) GetAccountLabels
func (x *ListAccountLabelsResponse) GetAccountLabels() []*AccountLabel
func (*ListAccountLabelsResponse) GetNextPageToken
func (x *ListAccountLabelsResponse) GetNextPageToken() string
func (*ListAccountLabelsResponse) ProtoMessage
func (*ListAccountLabelsResponse) ProtoMessage()
func (*ListAccountLabelsResponse) ProtoReflect
func (x *ListAccountLabelsResponse) ProtoReflect() protoreflect.Message
func (*ListAccountLabelsResponse) Reset
func (x *ListAccountLabelsResponse) Reset()
func (*ListAccountLabelsResponse) String
func (x *ListAccountLabelsResponse) String() string
ListChildAccountsRequest
type ListChildAccountsRequest struct {
// Required. The parent account. Must be a CSS group or domain.
// Format: accounts/{account}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// If set, only the MC accounts with the given label ID will be returned.
LabelId *int64 `protobuf:"varint,2,opt,name=label_id,json=labelId,proto3,oneof" json:"label_id,omitempty"`
// If set, only the MC accounts with the given name (case sensitive) will be
// returned.
FullName *string `protobuf:"bytes,3,opt,name=full_name,json=fullName,proto3,oneof" json:"full_name,omitempty"`
// Optional. The maximum number of accounts to return. The service may return
// fewer than this value. If unspecified, at most 50 accounts will be
// returned. The maximum value is 100; values above 100 will be coerced to
// 100.
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListChildAccounts` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListChildAccounts` must
// match the call that provided the page token.
PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
The request message for the ListChildAccounts
method.
func (*ListChildAccountsRequest) Descriptor
func (*ListChildAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListChildAccountsRequest.ProtoReflect.Descriptor instead.
func (*ListChildAccountsRequest) GetFullName
func (x *ListChildAccountsRequest) GetFullName() string
func (*ListChildAccountsRequest) GetLabelId
func (x *ListChildAccountsRequest) GetLabelId() int64
func (*ListChildAccountsRequest) GetPageSize
func (x *ListChildAccountsRequest) GetPageSize() int32
func (*ListChildAccountsRequest) GetPageToken
func (x *ListChildAccountsRequest) GetPageToken() string
func (*ListChildAccountsRequest) GetParent
func (x *ListChildAccountsRequest) GetParent() string
func (*ListChildAccountsRequest) ProtoMessage
func (*ListChildAccountsRequest) ProtoMessage()
func (*ListChildAccountsRequest) ProtoReflect
func (x *ListChildAccountsRequest) ProtoReflect() protoreflect.Message
func (*ListChildAccountsRequest) Reset
func (x *ListChildAccountsRequest) Reset()
func (*ListChildAccountsRequest) String
func (x *ListChildAccountsRequest) String() string
ListChildAccountsResponse
type ListChildAccountsResponse struct {
// The CSS/MC accounts returned for the specified CSS parent account.
Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,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 ListChildAccounts
method.
func (*ListChildAccountsResponse) Descriptor
func (*ListChildAccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListChildAccountsResponse.ProtoReflect.Descriptor instead.
func (*ListChildAccountsResponse) GetAccounts
func (x *ListChildAccountsResponse) GetAccounts() []*Account
func (*ListChildAccountsResponse) GetNextPageToken
func (x *ListChildAccountsResponse) GetNextPageToken() string
func (*ListChildAccountsResponse) ProtoMessage
func (*ListChildAccountsResponse) ProtoMessage()
func (*ListChildAccountsResponse) ProtoReflect
func (x *ListChildAccountsResponse) ProtoReflect() protoreflect.Message
func (*ListChildAccountsResponse) Reset
func (x *ListChildAccountsResponse) Reset()
func (*ListChildAccountsResponse) String
func (x *ListChildAccountsResponse) String() string
ListCssProductsRequest
type ListCssProductsRequest struct {
// Required. The account/domain to list processed CSS Products for.
// Format: accounts/{account}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of CSS 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 maximum number of CSS 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 `ListCssProducts` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListCssProducts`
// 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 ListCssProducts method.
func (*ListCssProductsRequest) Descriptor
func (*ListCssProductsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCssProductsRequest.ProtoReflect.Descriptor instead.
func (*ListCssProductsRequest) GetPageSize
func (x *ListCssProductsRequest) GetPageSize() int32
func (*ListCssProductsRequest) GetPageToken
func (x *ListCssProductsRequest) GetPageToken() string
func (*ListCssProductsRequest) GetParent
func (x *ListCssProductsRequest) GetParent() string
func (*ListCssProductsRequest) ProtoMessage
func (*ListCssProductsRequest) ProtoMessage()
func (*ListCssProductsRequest) ProtoReflect
func (x *ListCssProductsRequest) ProtoReflect() protoreflect.Message
func (*ListCssProductsRequest) Reset
func (x *ListCssProductsRequest) Reset()
func (*ListCssProductsRequest) String
func (x *ListCssProductsRequest) String() string
ListCssProductsResponse
type ListCssProductsResponse struct {
// The processed CSS products from the specified account. These are your
// processed CSS products after applying rules and supplemental feeds.
CssProducts []*CssProduct `protobuf:"bytes,1,rep,name=css_products,json=cssProducts,proto3" json:"css_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 ListCssProducts method.
func (*ListCssProductsResponse) Descriptor
func (*ListCssProductsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCssProductsResponse.ProtoReflect.Descriptor instead.
func (*ListCssProductsResponse) GetCssProducts
func (x *ListCssProductsResponse) GetCssProducts() []*CssProduct
func (*ListCssProductsResponse) GetNextPageToken
func (x *ListCssProductsResponse) GetNextPageToken() string
func (*ListCssProductsResponse) ProtoMessage
func (*ListCssProductsResponse) ProtoMessage()
func (*ListCssProductsResponse) ProtoReflect
func (x *ListCssProductsResponse) ProtoReflect() protoreflect.Message
func (*ListCssProductsResponse) Reset
func (x *ListCssProductsResponse) Reset()
func (*ListCssProductsResponse) String
func (x *ListCssProductsResponse) String() string
ListQuotaGroupsRequest
type ListQuotaGroupsRequest struct {
// Required. The CSS account that owns the collection of method quotas and
// resources. In most cases, this is the CSS domain. Format:
// accounts/{account}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of quotas to return in the response, used
// for paging. Defaults to 500; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. Token (if provided) to retrieve the subsequent page. All other
// parameters must match the original 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 ListQuotaGroups method.
func (*ListQuotaGroupsRequest) Descriptor
func (*ListQuotaGroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListQuotaGroupsRequest.ProtoReflect.Descriptor instead.
func (*ListQuotaGroupsRequest) GetPageSize
func (x *ListQuotaGroupsRequest) GetPageSize() int32
func (*ListQuotaGroupsRequest) GetPageToken
func (x *ListQuotaGroupsRequest) GetPageToken() string
func (*ListQuotaGroupsRequest) GetParent
func (x *ListQuotaGroupsRequest) GetParent() string
func (*ListQuotaGroupsRequest) ProtoMessage
func (*ListQuotaGroupsRequest) ProtoMessage()
func (*ListQuotaGroupsRequest) ProtoReflect
func (x *ListQuotaGroupsRequest) ProtoReflect() protoreflect.Message
func (*ListQuotaGroupsRequest) Reset
func (x *ListQuotaGroupsRequest) Reset()
func (*ListQuotaGroupsRequest) String
func (x *ListQuotaGroupsRequest) String() string
ListQuotaGroupsResponse
type ListQuotaGroupsResponse struct {
// The methods, current quota usage and limits per each group. The quota is
// shared between all methods in the group. The groups are sorted in
// descending order based on
// [quota_usage][google.shopping.css.v1.QuotaGroup.quota_usage].
QuotaGroups []*QuotaGroup `protobuf:"bytes,1,rep,name=quota_groups,json=quotaGroups,proto3" json:"quota_groups,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 ListMethodGroups method.
func (*ListQuotaGroupsResponse) Descriptor
func (*ListQuotaGroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListQuotaGroupsResponse.ProtoReflect.Descriptor instead.
func (*ListQuotaGroupsResponse) GetNextPageToken
func (x *ListQuotaGroupsResponse) GetNextPageToken() string
func (*ListQuotaGroupsResponse) GetQuotaGroups
func (x *ListQuotaGroupsResponse) GetQuotaGroups() []*QuotaGroup
func (*ListQuotaGroupsResponse) ProtoMessage
func (*ListQuotaGroupsResponse) ProtoMessage()
func (*ListQuotaGroupsResponse) ProtoReflect
func (x *ListQuotaGroupsResponse) ProtoReflect() protoreflect.Message
func (*ListQuotaGroupsResponse) Reset
func (x *ListQuotaGroupsResponse) Reset()
func (*ListQuotaGroupsResponse) String
func (x *ListQuotaGroupsResponse) String() string
MethodDetails
type MethodDetails struct {
// Output only. The name of the method for example
// `cssproductsservice.listcssproducts`.
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
// Output only. The API version that the method belongs to.
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
// Output only. The sub-API that the method belongs to. In the CSS API, this
// is always `css`.
Subapi string `protobuf:"bytes,3,opt,name=subapi,proto3" json:"subapi,omitempty"`
// Output only. The path for the method such as
// `v1/cssproductsservice.listcssproducts`.
Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
The method details per method in the CSS API.
func (*MethodDetails) Descriptor
func (*MethodDetails) Descriptor() ([]byte, []int)
Deprecated: Use MethodDetails.ProtoReflect.Descriptor instead.
func (*MethodDetails) GetMethod
func (x *MethodDetails) GetMethod() string
func (*MethodDetails) GetPath
func (x *MethodDetails) GetPath() string
func (*MethodDetails) GetSubapi
func (x *MethodDetails) GetSubapi() string
func (*MethodDetails) GetVersion
func (x *MethodDetails) GetVersion() string
func (*MethodDetails) ProtoMessage
func (*MethodDetails) ProtoMessage()
func (*MethodDetails) ProtoReflect
func (x *MethodDetails) ProtoReflect() protoreflect.Message
func (*MethodDetails) Reset
func (x *MethodDetails) Reset()
func (*MethodDetails) String
func (x *MethodDetails) String() string
ProductDetail
type ProductDetail struct {
// The section header used to group a set of product details.
SectionName string `protobuf:"bytes,1,opt,name=section_name,json=sectionName,proto3" json:"section_name,omitempty"`
// The name of the product detail.
AttributeName string `protobuf:"bytes,2,opt,name=attribute_name,json=attributeName,proto3" json:"attribute_name,omitempty"`
// The value of the product detail.
AttributeValue string `protobuf:"bytes,3,opt,name=attribute_value,json=attributeValue,proto3" json:"attribute_value,omitempty"`
// contains filtered or unexported fields
}
The product details.
func (*ProductDetail) Descriptor
func (*ProductDetail) Descriptor() ([]byte, []int)
Deprecated: Use ProductDetail.ProtoReflect.Descriptor instead.
func (*ProductDetail) GetAttributeName
func (x *ProductDetail) GetAttributeName() string
func (*ProductDetail) GetAttributeValue
func (x *ProductDetail) GetAttributeValue() string
func (*ProductDetail) GetSectionName
func (x *ProductDetail) GetSectionName() string
func (*ProductDetail) ProtoMessage
func (*ProductDetail) ProtoMessage()
func (*ProductDetail) ProtoReflect
func (x *ProductDetail) ProtoReflect() protoreflect.Message
func (*ProductDetail) Reset
func (x *ProductDetail) Reset()
func (*ProductDetail) String
func (x *ProductDetail) String() string
ProductDimension
type ProductDimension struct {
// Required. The dimension value represented as a number. The value can have a
// maximum precision of four decimal places.
Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
// Required. The dimension units.
// Acceptable values are:
// - "`in`"
// - "`cm`"
Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"`
// contains filtered or unexported fields
}
The dimension of the product.
func (*ProductDimension) Descriptor
func (*ProductDimension) Descriptor() ([]byte, []int)
Deprecated: Use ProductDimension.ProtoReflect.Descriptor instead.
func (*ProductDimension) GetUnit
func (x *ProductDimension) GetUnit() string
func (*ProductDimension) GetValue
func (x *ProductDimension) GetValue() float64
func (*ProductDimension) ProtoMessage
func (*ProductDimension) ProtoMessage()
func (*ProductDimension) ProtoReflect
func (x *ProductDimension) ProtoReflect() protoreflect.Message
func (*ProductDimension) Reset
func (x *ProductDimension) Reset()
func (*ProductDimension) String
func (x *ProductDimension) String() string
ProductWeight
type ProductWeight struct {
// Required. The weight represented as a number. The weight can have a maximum
// precision of four decimal places.
Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
// Required. The weight unit.
// Acceptable values are:
// - "`g`"
// - "`kg`"
// - "`oz`"
// - "`lb`"
Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"`
// contains filtered or unexported fields
}
The weight of the product.
func (*ProductWeight) Descriptor
func (*ProductWeight) Descriptor() ([]byte, []int)
Deprecated: Use ProductWeight.ProtoReflect.Descriptor instead.
func (*ProductWeight) GetUnit
func (x *ProductWeight) GetUnit() string
func (*ProductWeight) GetValue
func (x *ProductWeight) GetValue() float64
func (*ProductWeight) ProtoMessage
func (*ProductWeight) ProtoMessage()
func (*ProductWeight) ProtoReflect
func (x *ProductWeight) ProtoReflect() protoreflect.Message
func (*ProductWeight) Reset
func (x *ProductWeight) Reset()
func (*ProductWeight) String
func (x *ProductWeight) String() string
QuotaGroup
type QuotaGroup struct {
// Identifier. The resource name of the quota group.
// Format: accounts/{account}/quotas/{group}
// Example: `accounts/12345678/quotas/css-products-insert`
// Note: The {group} part is not guaranteed to follow a specific pattern.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The current quota usage, meaning the number of calls already
// made on a given day to the methods in the group. The daily quota limits
// reset at at 12:00 PM midday UTC.
QuotaUsage int64 `protobuf:"varint,2,opt,name=quota_usage,json=quotaUsage,proto3" json:"quota_usage,omitempty"`
// Output only. The maximum number of calls allowed per day for the group.
QuotaLimit int64 `protobuf:"varint,3,opt,name=quota_limit,json=quotaLimit,proto3" json:"quota_limit,omitempty"`
// Output only. The maximum number of calls allowed per minute for the group.
QuotaMinuteLimit int64 `protobuf:"varint,5,opt,name=quota_minute_limit,json=quotaMinuteLimit,proto3" json:"quota_minute_limit,omitempty"`
// Output only. List of all methods group quota applies to.
MethodDetails []*MethodDetails `protobuf:"bytes,4,rep,name=method_details,json=methodDetails,proto3" json:"method_details,omitempty"`
// contains filtered or unexported fields
}
The group information for methods in the CSS API. The quota is shared between all methods in the group. Even if none of the methods within the group have usage the information for the group is returned.
func (*QuotaGroup) Descriptor
func (*QuotaGroup) Descriptor() ([]byte, []int)
Deprecated: Use QuotaGroup.ProtoReflect.Descriptor instead.
func (*QuotaGroup) GetMethodDetails
func (x *QuotaGroup) GetMethodDetails() []*MethodDetails
func (*QuotaGroup) GetName
func (x *QuotaGroup) GetName() string
func (*QuotaGroup) GetQuotaLimit
func (x *QuotaGroup) GetQuotaLimit() int64
func (*QuotaGroup) GetQuotaMinuteLimit
func (x *QuotaGroup) GetQuotaMinuteLimit() int64
func (*QuotaGroup) GetQuotaUsage
func (x *QuotaGroup) GetQuotaUsage() int64
func (*QuotaGroup) ProtoMessage
func (*QuotaGroup) ProtoMessage()
func (*QuotaGroup) ProtoReflect
func (x *QuotaGroup) ProtoReflect() protoreflect.Message
func (*QuotaGroup) Reset
func (x *QuotaGroup) Reset()
func (*QuotaGroup) String
func (x *QuotaGroup) String() string
QuotaServiceClient
type QuotaServiceClient interface {
// Lists the daily call quota and usage per group for your CSS Center account.
ListQuotaGroups(ctx context.Context, in *ListQuotaGroupsRequest, opts ...grpc.CallOption) (*ListQuotaGroupsResponse, error)
}
QuotaServiceClient is the client API for QuotaService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQuotaServiceClient
func NewQuotaServiceClient(cc grpc.ClientConnInterface) QuotaServiceClient
QuotaServiceServer
type QuotaServiceServer interface {
// Lists the daily call quota and usage per group for your CSS Center account.
ListQuotaGroups(context.Context, *ListQuotaGroupsRequest) (*ListQuotaGroupsResponse, error)
}
QuotaServiceServer is the server API for QuotaService service.
SubscriptionPeriod
type SubscriptionPeriod int32
The subscription period of the product.
SubscriptionPeriod_SUBSCRIPTION_PERIOD_UNSPECIFIED, SubscriptionPeriod_MONTH, SubscriptionPeriod_YEAR
const (
// Indicates that the subscription period is unspecified.
SubscriptionPeriod_SUBSCRIPTION_PERIOD_UNSPECIFIED SubscriptionPeriod = 0
// Indicates that the subscription period is month.
SubscriptionPeriod_MONTH SubscriptionPeriod = 1
// Indicates that the subscription period is year.
SubscriptionPeriod_YEAR SubscriptionPeriod = 2
)
func (SubscriptionPeriod) Descriptor
func (SubscriptionPeriod) Descriptor() protoreflect.EnumDescriptor
func (SubscriptionPeriod) Enum
func (x SubscriptionPeriod) Enum() *SubscriptionPeriod
func (SubscriptionPeriod) EnumDescriptor
func (SubscriptionPeriod) EnumDescriptor() ([]byte, []int)
Deprecated: Use SubscriptionPeriod.Descriptor instead.
func (SubscriptionPeriod) Number
func (x SubscriptionPeriod) Number() protoreflect.EnumNumber
func (SubscriptionPeriod) String
func (x SubscriptionPeriod) String() string
func (SubscriptionPeriod) Type
func (SubscriptionPeriod) Type() protoreflect.EnumType
UnimplementedAccountLabelsServiceServer
type UnimplementedAccountLabelsServiceServer struct {
}
UnimplementedAccountLabelsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAccountLabelsServiceServer) CreateAccountLabel
func (*UnimplementedAccountLabelsServiceServer) CreateAccountLabel(context.Context, *CreateAccountLabelRequest) (*AccountLabel, error)
func (*UnimplementedAccountLabelsServiceServer) DeleteAccountLabel
func (*UnimplementedAccountLabelsServiceServer) DeleteAccountLabel(context.Context, *DeleteAccountLabelRequest) (*emptypb.Empty, error)
func (*UnimplementedAccountLabelsServiceServer) ListAccountLabels
func (*UnimplementedAccountLabelsServiceServer) ListAccountLabels(context.Context, *ListAccountLabelsRequest) (*ListAccountLabelsResponse, error)
func (*UnimplementedAccountLabelsServiceServer) UpdateAccountLabel
func (*UnimplementedAccountLabelsServiceServer) UpdateAccountLabel(context.Context, *UpdateAccountLabelRequest) (*AccountLabel, error)
UnimplementedAccountsServiceServer
type UnimplementedAccountsServiceServer struct {
}
UnimplementedAccountsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAccountsServiceServer) GetAccount
func (*UnimplementedAccountsServiceServer) GetAccount(context.Context, *GetAccountRequest) (*Account, error)
func (*UnimplementedAccountsServiceServer) ListChildAccounts
func (*UnimplementedAccountsServiceServer) ListChildAccounts(context.Context, *ListChildAccountsRequest) (*ListChildAccountsResponse, error)
func (*UnimplementedAccountsServiceServer) UpdateLabels
func (*UnimplementedAccountsServiceServer) UpdateLabels(context.Context, *UpdateAccountLabelsRequest) (*Account, error)
UnimplementedCssProductInputsServiceServer
type UnimplementedCssProductInputsServiceServer struct {
}
UnimplementedCssProductInputsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedCssProductInputsServiceServer) DeleteCssProductInput
func (*UnimplementedCssProductInputsServiceServer) DeleteCssProductInput(context.Context, *DeleteCssProductInputRequest) (*emptypb.Empty, error)
func (*UnimplementedCssProductInputsServiceServer) InsertCssProductInput
func (*UnimplementedCssProductInputsServiceServer) InsertCssProductInput(context.Context, *InsertCssProductInputRequest) (*CssProductInput, error)
func (*UnimplementedCssProductInputsServiceServer) UpdateCssProductInput
func (*UnimplementedCssProductInputsServiceServer) UpdateCssProductInput(context.Context, *UpdateCssProductInputRequest) (*CssProductInput, error)
UnimplementedCssProductsServiceServer
type UnimplementedCssProductsServiceServer struct {
}
UnimplementedCssProductsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedCssProductsServiceServer) GetCssProduct
func (*UnimplementedCssProductsServiceServer) GetCssProduct(context.Context, *GetCssProductRequest) (*CssProduct, error)
func (*UnimplementedCssProductsServiceServer) ListCssProducts
func (*UnimplementedCssProductsServiceServer) ListCssProducts(context.Context, *ListCssProductsRequest) (*ListCssProductsResponse, error)
UnimplementedQuotaServiceServer
type UnimplementedQuotaServiceServer struct {
}
UnimplementedQuotaServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedQuotaServiceServer) ListQuotaGroups
func (*UnimplementedQuotaServiceServer) ListQuotaGroups(context.Context, *ListQuotaGroupsRequest) (*ListQuotaGroupsResponse, error)
UpdateAccountLabelRequest
type UpdateAccountLabelRequest struct {
// Required. The updated label. All fields must be provided.
AccountLabel *AccountLabel `protobuf:"bytes,1,opt,name=account_label,json=accountLabel,proto3" json:"account_label,omitempty"`
// contains filtered or unexported fields
}
Request message for the UpdateAccountLabel
method.
func (*UpdateAccountLabelRequest) Descriptor
func (*UpdateAccountLabelRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAccountLabelRequest.ProtoReflect.Descriptor instead.
func (*UpdateAccountLabelRequest) GetAccountLabel
func (x *UpdateAccountLabelRequest) GetAccountLabel() *AccountLabel
func (*UpdateAccountLabelRequest) ProtoMessage
func (*UpdateAccountLabelRequest) ProtoMessage()
func (*UpdateAccountLabelRequest) ProtoReflect
func (x *UpdateAccountLabelRequest) ProtoReflect() protoreflect.Message
func (*UpdateAccountLabelRequest) Reset
func (x *UpdateAccountLabelRequest) Reset()
func (*UpdateAccountLabelRequest) String
func (x *UpdateAccountLabelRequest) String() string
UpdateAccountLabelsRequest
type UpdateAccountLabelsRequest struct {
// Required. The label resource name.
// Format: accounts/{account}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The list of label IDs to overwrite the existing account label IDs.
// If the list is empty, all currently assigned label IDs will be deleted.
LabelIds []int64 `protobuf:"varint,2,rep,packed,name=label_ids,json=labelIds,proto3" json:"label_ids,omitempty"`
// Optional. Only required when updating MC account labels.
// The CSS domain that is the parent resource of the MC account.
// Format: accounts/{account}
Parent *string `protobuf:"bytes,3,opt,name=parent,proto3,oneof" json:"parent,omitempty"`
// contains filtered or unexported fields
}
The request message for the UpdateLabels
method.
func (*UpdateAccountLabelsRequest) Descriptor
func (*UpdateAccountLabelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAccountLabelsRequest.ProtoReflect.Descriptor instead.
func (*UpdateAccountLabelsRequest) GetLabelIds
func (x *UpdateAccountLabelsRequest) GetLabelIds() []int64
func (*UpdateAccountLabelsRequest) GetName
func (x *UpdateAccountLabelsRequest) GetName() string
func (*UpdateAccountLabelsRequest) GetParent
func (x *UpdateAccountLabelsRequest) GetParent() string
func (*UpdateAccountLabelsRequest) ProtoMessage
func (*UpdateAccountLabelsRequest) ProtoMessage()
func (*UpdateAccountLabelsRequest) ProtoReflect
func (x *UpdateAccountLabelsRequest) ProtoReflect() protoreflect.Message
func (*UpdateAccountLabelsRequest) Reset
func (x *UpdateAccountLabelsRequest) Reset()
func (*UpdateAccountLabelsRequest) String
func (x *UpdateAccountLabelsRequest) String() string
UpdateCssProductInputRequest
type UpdateCssProductInputRequest struct {
// Required. The CSS product input resource to update. Information you submit
// will be applied to the processed CSS product as well.
CssProductInput *CssProductInput `protobuf:"bytes,1,opt,name=css_product_input,json=cssProductInput,proto3" json:"css_product_input,omitempty"`
// The list of CSS 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 CSS 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 CSS product replacement is not
// supported.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request message for the UpdateCssProductInput method.
func (*UpdateCssProductInputRequest) Descriptor
func (*UpdateCssProductInputRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCssProductInputRequest.ProtoReflect.Descriptor instead.
func (*UpdateCssProductInputRequest) GetCssProductInput
func (x *UpdateCssProductInputRequest) GetCssProductInput() *CssProductInput
func (*UpdateCssProductInputRequest) GetUpdateMask
func (x *UpdateCssProductInputRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateCssProductInputRequest) ProtoMessage
func (*UpdateCssProductInputRequest) ProtoMessage()
func (*UpdateCssProductInputRequest) ProtoReflect
func (x *UpdateCssProductInputRequest) ProtoReflect() protoreflect.Message
func (*UpdateCssProductInputRequest) Reset
func (x *UpdateCssProductInputRequest) Reset()
func (*UpdateCssProductInputRequest) String
func (x *UpdateCssProductInputRequest) String() string