csspb

package
v0.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
var File_google_shopping_css_v1_accounts_labels_proto protoreflect.FileDescriptor
View Source
var File_google_shopping_css_v1_accounts_proto protoreflect.FileDescriptor
View Source
var File_google_shopping_css_v1_css_product_common_proto protoreflect.FileDescriptor
View Source
var File_google_shopping_css_v1_css_product_inputs_proto protoreflect.FileDescriptor
View Source
var File_google_shopping_css_v1_css_products_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)

Types

type 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.
	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 `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

Information about CSS/MC account.

func (*Account) Descriptor deprecated

func (*Account) Descriptor() ([]byte, []int)

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetAccountType

func (x *Account) GetAccountType() Account_AccountType

func (*Account) GetAutomaticLabelIds

func (x *Account) GetAutomaticLabelIds() []int64

func (*Account) GetDisplayName

func (x *Account) GetDisplayName() string

func (*Account) GetFullName

func (x *Account) GetFullName() string

func (*Account) GetHomepageUri

func (x *Account) GetHomepageUri() string

func (*Account) GetLabelIds

func (x *Account) GetLabelIds() []int64

func (*Account) GetName

func (x *Account) GetName() string

func (*Account) GetParent

func (x *Account) GetParent() string

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

func (x *Account) String() string

type 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 `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

Label assigned by CSS domain or CSS group to one of its sub-accounts.

func (*AccountLabel) Descriptor deprecated

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

type AccountLabel_LabelType

type AccountLabel_LabelType int32

The label type.

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) Enum

func (AccountLabel_LabelType) EnumDescriptor deprecated

func (AccountLabel_LabelType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AccountLabel_LabelType.Descriptor instead.

func (AccountLabel_LabelType) Number

func (AccountLabel_LabelType) String

func (x AccountLabel_LabelType) String() string

func (AccountLabel_LabelType) Type

type 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.

type 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.

type Account_AccountType

type Account_AccountType int32

The account type.

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) Enum

func (Account_AccountType) EnumDescriptor deprecated

func (Account_AccountType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Account_AccountType.Descriptor instead.

func (Account_AccountType) Number

func (Account_AccountType) String

func (x Account_AccountType) String() string

func (Account_AccountType) Type

type 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.

type 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.

type 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 aggregate offer.
	LowPrice *typepb.Price `protobuf:"bytes,3,opt,name=low_price,json=lowPrice,proto3" json:"low_price,omitempty"`
	// High Price of the aggregate offer.
	HighPrice *typepb.Price `protobuf:"bytes,4,opt,name=high_price,json=highPrice,proto3" json:"high_price,omitempty"`
	// The number of aggregate offers.
	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 `` /* 135-byte string literal not displayed */
	// Headline Price of the aggregate offer.
	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 `` /* 140-byte string literal not displayed */
	// Headline Price of the aggregate offer.
	HeadlineOfferShippingPrice *typepb.Price `` /* 144-byte string literal not displayed */
	// 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 `` /* 133-byte string literal not displayed */
	// 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 `` /* 136-byte string literal not displayed */
	// Number of periods (months or years) and amount of payment per period
	// for an item with an associated subscription contract.
	HeadlineOfferSubscriptionCost *HeadlineOfferSubscriptionCost `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

Attributes for CSS Product.

func (*Attributes) Descriptor deprecated

func (*Attributes) Descriptor() ([]byte, []int)

Deprecated: Use Attributes.ProtoReflect.Descriptor instead.

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 (x *Attributes) GetCppLink() string
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 added in v0.12.0

func (x *Attributes) GetHeadlineOfferInstallment() *HeadlineOfferInstallment
func (x *Attributes) GetHeadlineOfferLink() string
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 added in v0.12.0

func (x *Attributes) GetHeadlineOfferSubscriptionCost() *HeadlineOfferSubscriptionCost

func (*Attributes) GetHighPrice

func (x *Attributes) GetHighPrice() *typepb.Price
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

type 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 deprecated

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

type 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 deprecated

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 (*CreateAccountLabelRequest) Reset

func (x *CreateAccountLabelRequest) Reset()

func (*CreateAccountLabelRequest) String

func (x *CreateAccountLabelRequest) String() string

type 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(a.k.a Aggregate Offer internally).

func (*CssProduct) Descriptor deprecated

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

type CssProductInput

type CssProductInput struct {

	// The name of the CSS Product input.
	// Format:
	// `accounts/{account}/cssProductInputs/{css_product_input}`
	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"`
	// 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.
	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 deprecated

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

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

type 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)
	// 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.

type 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)
	// 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.

type 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 deprecated

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

type 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 aggregate offer is
	// approved.
	ApprovedCountries []string `protobuf:"bytes,2,rep,name=approved_countries,json=approvedCountries,proto3" json:"approved_countries,omitempty"`
	// List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is
	// pending approval.
	PendingCountries []string `protobuf:"bytes,3,rep,name=pending_countries,json=pendingCountries,proto3" json:"pending_countries,omitempty"`
	// List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is
	// disapproved.
	DisapprovedCountries []string `protobuf:"bytes,4,rep,name=disapproved_countries,json=disapprovedCountries,proto3" json:"disapproved_countries,omitempty"`
	// contains filtered or unexported fields
}

The destination status of the product status.

func (*CssProductStatus_DestinationStatus) Descriptor deprecated

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 (*CssProductStatus_DestinationStatus) Reset

func (*CssProductStatus_DestinationStatus) String

type 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 aggregate offer.
	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
	// aggregate offer.
	ApplicableCountries []string `protobuf:"bytes,9,rep,name=applicable_countries,json=applicableCountries,proto3" json:"applicable_countries,omitempty"`
	// contains filtered or unexported fields
}

The ItemLevelIssue of the product status.

func (*CssProductStatus_ItemLevelIssue) Descriptor deprecated

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 (*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 (*CssProductStatus_ItemLevelIssue) Reset

func (*CssProductStatus_ItemLevelIssue) String

type 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.

type 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.

type 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 deprecated

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 (*DeleteAccountLabelRequest) Reset

func (x *DeleteAccountLabelRequest) Reset()

func (*DeleteAccountLabelRequest) String

func (x *DeleteAccountLabelRequest) String() string

type DeleteCssProductInputRequest

type DeleteCssProductInputRequest struct {

	// Required. The name of the CSS product input resource to delete.
	// Format: accounts/{account}/cssProductInputs/{css_product_input}
	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 deprecated

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 (*DeleteCssProductInputRequest) Reset

func (x *DeleteCssProductInputRequest) Reset()

func (*DeleteCssProductInputRequest) String

type 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 deprecated

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

type 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 deprecated

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

type HeadlineOfferInstallment added in v0.12.0

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 deprecated added in v0.12.0

func (*HeadlineOfferInstallment) Descriptor() ([]byte, []int)

Deprecated: Use HeadlineOfferInstallment.ProtoReflect.Descriptor instead.

func (*HeadlineOfferInstallment) GetAmount added in v0.12.0

func (x *HeadlineOfferInstallment) GetAmount() *typepb.Price

func (*HeadlineOfferInstallment) GetDownpayment added in v0.12.0

func (x *HeadlineOfferInstallment) GetDownpayment() *typepb.Price

func (*HeadlineOfferInstallment) GetMonths added in v0.12.0

func (x *HeadlineOfferInstallment) GetMonths() int64

func (*HeadlineOfferInstallment) ProtoMessage added in v0.12.0

func (*HeadlineOfferInstallment) ProtoMessage()

func (*HeadlineOfferInstallment) ProtoReflect added in v0.12.0

func (x *HeadlineOfferInstallment) ProtoReflect() protoreflect.Message

func (*HeadlineOfferInstallment) Reset added in v0.12.0

func (x *HeadlineOfferInstallment) Reset()

func (*HeadlineOfferInstallment) String added in v0.12.0

func (x *HeadlineOfferInstallment) String() string

type HeadlineOfferSubscriptionCost added in v0.12.0

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 deprecated added in v0.12.0

func (*HeadlineOfferSubscriptionCost) Descriptor() ([]byte, []int)

Deprecated: Use HeadlineOfferSubscriptionCost.ProtoReflect.Descriptor instead.

func (*HeadlineOfferSubscriptionCost) GetAmount added in v0.12.0

func (x *HeadlineOfferSubscriptionCost) GetAmount() *typepb.Price

func (*HeadlineOfferSubscriptionCost) GetPeriod added in v0.12.0

func (*HeadlineOfferSubscriptionCost) GetPeriodLength added in v0.12.0

func (x *HeadlineOfferSubscriptionCost) GetPeriodLength() int64

func (*HeadlineOfferSubscriptionCost) ProtoMessage added in v0.12.0

func (*HeadlineOfferSubscriptionCost) ProtoMessage()

func (*HeadlineOfferSubscriptionCost) ProtoReflect added in v0.12.0

func (*HeadlineOfferSubscriptionCost) Reset added in v0.12.0

func (x *HeadlineOfferSubscriptionCost) Reset()

func (*HeadlineOfferSubscriptionCost) String added in v0.12.0

type 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"`
	// Required. 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.
	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 deprecated

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

func (*InsertCssProductInputRequest) GetParent

func (x *InsertCssProductInputRequest) GetParent() string

func (*InsertCssProductInputRequest) ProtoMessage

func (*InsertCssProductInputRequest) ProtoMessage()

func (*InsertCssProductInputRequest) ProtoReflect

func (*InsertCssProductInputRequest) Reset

func (x *InsertCssProductInputRequest) Reset()

func (*InsertCssProductInputRequest) String

type 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 deprecated

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

type 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 deprecated

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 (*ListAccountLabelsResponse) Reset

func (x *ListAccountLabelsResponse) Reset()

func (*ListAccountLabelsResponse) String

func (x *ListAccountLabelsResponse) String() string

type 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 1000; values above 1000 will be coerced to
	// 1000.
	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 deprecated

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

type 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 deprecated

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 (*ListChildAccountsResponse) Reset

func (x *ListChildAccountsResponse) Reset()

func (*ListChildAccountsResponse) String

func (x *ListChildAccountsResponse) String() string

type 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 deprecated

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

type 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 deprecated

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

type ProductDetail

type ProductDetail struct {

	// The section header used to group a set of product details.
	SectionName string `protobuf:"bytes,1,opt,name=section_name,json=sectionName,proto3" json:"section_name,omitempty"`
	// The name of the product detail.
	AttributeName string `protobuf:"bytes,2,opt,name=attribute_name,json=attributeName,proto3" json:"attribute_name,omitempty"`
	// The value of the product detail.
	AttributeValue string `protobuf:"bytes,3,opt,name=attribute_value,json=attributeValue,proto3" json:"attribute_value,omitempty"`
	// contains filtered or unexported fields
}

The product details.

func (*ProductDetail) Descriptor deprecated

func (*ProductDetail) Descriptor() ([]byte, []int)

Deprecated: Use ProductDetail.ProtoReflect.Descriptor instead.

func (*ProductDetail) GetAttributeName

func (x *ProductDetail) GetAttributeName() string

func (*ProductDetail) GetAttributeValue

func (x *ProductDetail) GetAttributeValue() string

func (*ProductDetail) GetSectionName

func (x *ProductDetail) GetSectionName() string

func (*ProductDetail) ProtoMessage

func (*ProductDetail) ProtoMessage()

func (*ProductDetail) ProtoReflect

func (x *ProductDetail) ProtoReflect() protoreflect.Message

func (*ProductDetail) Reset

func (x *ProductDetail) Reset()

func (*ProductDetail) String

func (x *ProductDetail) String() string

type ProductDimension

type ProductDimension struct {

	// Required. The dimension value represented as a number. The value can have a
	// maximum precision of four decimal places.
	Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
	// Required. The dimension units.
	// Acceptable values are:
	//   - "`in`"
	//   - "`cm`"
	Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"`
	// contains filtered or unexported fields
}

The dimension of the product.

func (*ProductDimension) Descriptor deprecated

func (*ProductDimension) Descriptor() ([]byte, []int)

Deprecated: Use ProductDimension.ProtoReflect.Descriptor instead.

func (*ProductDimension) GetUnit

func (x *ProductDimension) GetUnit() string

func (*ProductDimension) GetValue

func (x *ProductDimension) GetValue() float64

func (*ProductDimension) ProtoMessage

func (*ProductDimension) ProtoMessage()

func (*ProductDimension) ProtoReflect

func (x *ProductDimension) ProtoReflect() protoreflect.Message

func (*ProductDimension) Reset

func (x *ProductDimension) Reset()

func (*ProductDimension) String

func (x *ProductDimension) String() string

type ProductWeight

type ProductWeight struct {

	// Required. The weight represented as a number. The weight can have a maximum
	// precision of four decimal places.
	Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
	// Required. The weight unit.
	// Acceptable values are:
	//   - "`g`"
	//   - "`kg`"
	//   - "`oz`"
	//   - "`lb`"
	Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"`
	// contains filtered or unexported fields
}

The weight of the product.

func (*ProductWeight) Descriptor deprecated

func (*ProductWeight) Descriptor() ([]byte, []int)

Deprecated: Use ProductWeight.ProtoReflect.Descriptor instead.

func (*ProductWeight) GetUnit

func (x *ProductWeight) GetUnit() string

func (*ProductWeight) GetValue

func (x *ProductWeight) GetValue() float64

func (*ProductWeight) ProtoMessage

func (*ProductWeight) ProtoMessage()

func (*ProductWeight) ProtoReflect

func (x *ProductWeight) ProtoReflect() protoreflect.Message

func (*ProductWeight) Reset

func (x *ProductWeight) Reset()

func (*ProductWeight) String

func (x *ProductWeight) String() string

type SubscriptionPeriod added in v0.12.0

type SubscriptionPeriod int32

The subscription period of the product.

const (
	// Indicates that the subscription period is unspecified.
	SubscriptionPeriod_SUBSCRIPTION_PERIOD_UNSPECIFIED SubscriptionPeriod = 0
	// Indicates that the subscription period is month.
	SubscriptionPeriod_MONTH SubscriptionPeriod = 1
	// Indicates that the subscription period is year.
	SubscriptionPeriod_YEAR SubscriptionPeriod = 2
)

func (SubscriptionPeriod) Descriptor added in v0.12.0

func (SubscriptionPeriod) Enum added in v0.12.0

func (SubscriptionPeriod) EnumDescriptor deprecated added in v0.12.0

func (SubscriptionPeriod) EnumDescriptor() ([]byte, []int)

Deprecated: Use SubscriptionPeriod.Descriptor instead.

func (SubscriptionPeriod) Number added in v0.12.0

func (SubscriptionPeriod) String added in v0.12.0

func (x SubscriptionPeriod) String() string

func (SubscriptionPeriod) Type added in v0.12.0

type UnimplementedAccountLabelsServiceServer

type UnimplementedAccountLabelsServiceServer struct {
}

UnimplementedAccountLabelsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAccountLabelsServiceServer) CreateAccountLabel

func (*UnimplementedAccountLabelsServiceServer) DeleteAccountLabel

func (*UnimplementedAccountLabelsServiceServer) ListAccountLabels

func (*UnimplementedAccountLabelsServiceServer) UpdateAccountLabel

type UnimplementedAccountsServiceServer

type UnimplementedAccountsServiceServer struct {
}

UnimplementedAccountsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAccountsServiceServer) GetAccount

func (*UnimplementedAccountsServiceServer) ListChildAccounts

func (*UnimplementedAccountsServiceServer) UpdateLabels

type UnimplementedCssProductInputsServiceServer

type UnimplementedCssProductInputsServiceServer struct {
}

UnimplementedCssProductInputsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedCssProductInputsServiceServer) DeleteCssProductInput

func (*UnimplementedCssProductInputsServiceServer) InsertCssProductInput

type UnimplementedCssProductsServiceServer

type UnimplementedCssProductsServiceServer struct {
}

UnimplementedCssProductsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedCssProductsServiceServer) GetCssProduct

func (*UnimplementedCssProductsServiceServer) ListCssProducts

type 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 deprecated

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 (*UpdateAccountLabelRequest) Reset

func (x *UpdateAccountLabelRequest) Reset()

func (*UpdateAccountLabelRequest) String

func (x *UpdateAccountLabelRequest) String() string

type 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 deprecated

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 (*UpdateAccountLabelsRequest) Reset

func (x *UpdateAccountLabelsRequest) Reset()

func (*UpdateAccountLabelsRequest) String

func (x *UpdateAccountLabelsRequest) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL