Package cloud.google.com/go/shopping/css/apiv1/csspb (v0.9.0)

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.

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

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)

Account

type Account struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	FullName string `protobuf:"bytes,2,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`

	DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"`

	HomepageUri *string `protobuf:"bytes,4,opt,name=homepage_uri,json=homepageUri,proto3,oneof" json:"homepage_uri,omitempty"`

	Parent *string `protobuf:"bytes,5,opt,name=parent,proto3,oneof" json:"parent,omitempty"`

	LabelIds []int64 `protobuf:"varint,6,rep,packed,name=label_ids,json=labelIds,proto3" json:"label_ids,omitempty"`

	AutomaticLabelIds []int64 `protobuf:"varint,7,rep,packed,name=automatic_label_ids,json=automaticLabelIds,proto3" json:"automatic_label_ids,omitempty"`

	AccountType Account_AccountType "" /* 143 byte string literal not displayed */

}

Information about CSS/MC account.

func (*Account) Descriptor

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

AccountLabel

type AccountLabel struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	LabelId int64 `protobuf:"varint,2,opt,name=label_id,json=labelId,proto3" json:"label_id,omitempty"`

	AccountId int64 `protobuf:"varint,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`

	DisplayName *string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"`

	Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`

	LabelType AccountLabel_LabelType "" /* 140 byte string literal not displayed */

}

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

func (AccountLabel_LabelType) EnumDescriptor

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

AccountLabelsServiceClient

type AccountLabelsServiceClient interface {
	// Lists the labels assigned to 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 assigned to 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) Enum

func (Account_AccountType) EnumDescriptor

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

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 {
	CppLink *string `protobuf:"bytes,1,opt,name=cpp_link,json=cppLink,proto3,oneof" json:"cpp_link,omitempty"`

	CppMobileLink *string `protobuf:"bytes,2,opt,name=cpp_mobile_link,json=cppMobileLink,proto3,oneof" json:"cpp_mobile_link,omitempty"`

	CppAdsRedirect *string `protobuf:"bytes,42,opt,name=cpp_ads_redirect,json=cppAdsRedirect,proto3,oneof" json:"cpp_ads_redirect,omitempty"`

	LowPrice *typepb.Price `protobuf:"bytes,3,opt,name=low_price,json=lowPrice,proto3" json:"low_price,omitempty"`

	HighPrice *typepb.Price `protobuf:"bytes,4,opt,name=high_price,json=highPrice,proto3" json:"high_price,omitempty"`

	NumberOfOffers *int64 `protobuf:"varint,5,opt,name=number_of_offers,json=numberOfOffers,proto3,oneof" json:"number_of_offers,omitempty"`

	HeadlineOfferCondition *string "" /* 135 byte string literal not displayed */

	HeadlineOfferPrice *typepb.Price `protobuf:"bytes,7,opt,name=headline_offer_price,json=headlineOfferPrice,proto3" json:"headline_offer_price,omitempty"`

	HeadlineOfferLink *string `protobuf:"bytes,8,opt,name=headline_offer_link,json=headlineOfferLink,proto3,oneof" json:"headline_offer_link,omitempty"`

	HeadlineOfferMobileLink *string "" /* 140 byte string literal not displayed */

	HeadlineOfferShippingPrice *typepb.Price "" /* 144 byte string literal not displayed */

	Title *string `protobuf:"bytes,10,opt,name=title,proto3,oneof" json:"title,omitempty"`

	ImageLink *string `protobuf:"bytes,11,opt,name=image_link,json=imageLink,proto3,oneof" json:"image_link,omitempty"`

	AdditionalImageLinks []string `protobuf:"bytes,12,rep,name=additional_image_links,json=additionalImageLinks,proto3" json:"additional_image_links,omitempty"`

	Description *string `protobuf:"bytes,13,opt,name=description,proto3,oneof" json:"description,omitempty"`

	Brand *string `protobuf:"bytes,14,opt,name=brand,proto3,oneof" json:"brand,omitempty"`

	Mpn *string `protobuf:"bytes,15,opt,name=mpn,proto3,oneof" json:"mpn,omitempty"`

	Gtin *string `protobuf:"bytes,16,opt,name=gtin,proto3,oneof" json:"gtin,omitempty"`

	ProductTypes []string `protobuf:"bytes,36,rep,name=product_types,json=productTypes,proto3" json:"product_types,omitempty"`

	GoogleProductCategory *string "" /* 133 byte string literal not displayed */

	Adult *bool `protobuf:"varint,18,opt,name=adult,proto3,oneof" json:"adult,omitempty"`

	Multipack *int64 `protobuf:"varint,19,opt,name=multipack,proto3,oneof" json:"multipack,omitempty"`

	IsBundle *bool `protobuf:"varint,20,opt,name=is_bundle,json=isBundle,proto3,oneof" json:"is_bundle,omitempty"`

	AgeGroup *string `protobuf:"bytes,21,opt,name=age_group,json=ageGroup,proto3,oneof" json:"age_group,omitempty"`

	Color *string `protobuf:"bytes,22,opt,name=color,proto3,oneof" json:"color,omitempty"`

	Gender *string `protobuf:"bytes,23,opt,name=gender,proto3,oneof" json:"gender,omitempty"`

	Material *string `protobuf:"bytes,24,opt,name=material,proto3,oneof" json:"material,omitempty"`

	Pattern *string `protobuf:"bytes,25,opt,name=pattern,proto3,oneof" json:"pattern,omitempty"`

	Size *string `protobuf:"bytes,26,opt,name=size,proto3,oneof" json:"size,omitempty"`

	SizeSystem *string `protobuf:"bytes,27,opt,name=size_system,json=sizeSystem,proto3,oneof" json:"size_system,omitempty"`

	SizeTypes []string `protobuf:"bytes,28,rep,name=size_types,json=sizeTypes,proto3" json:"size_types,omitempty"`

	ItemGroupId *string `protobuf:"bytes,29,opt,name=item_group_id,json=itemGroupId,proto3,oneof" json:"item_group_id,omitempty"`

	ProductDetails []*ProductDetail `protobuf:"bytes,30,rep,name=product_details,json=productDetails,proto3" json:"product_details,omitempty"`

	ProductWeight *ProductWeight `protobuf:"bytes,31,opt,name=product_weight,json=productWeight,proto3" json:"product_weight,omitempty"`

	ProductLength *ProductDimension `protobuf:"bytes,32,opt,name=product_length,json=productLength,proto3" json:"product_length,omitempty"`

	ProductWidth *ProductDimension `protobuf:"bytes,33,opt,name=product_width,json=productWidth,proto3" json:"product_width,omitempty"`

	ProductHeight *ProductDimension `protobuf:"bytes,34,opt,name=product_height,json=productHeight,proto3" json:"product_height,omitempty"`

	ProductHighlights []string `protobuf:"bytes,35,rep,name=product_highlights,json=productHighlights,proto3" json:"product_highlights,omitempty"`

	Certifications []*Certification `protobuf:"bytes,39,rep,name=certifications,proto3" json:"certifications,omitempty"`

	ExpirationDate *timestamppb.Timestamp `protobuf:"bytes,40,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty"`

	IncludedDestinations []string `protobuf:"bytes,43,rep,name=included_destinations,json=includedDestinations,proto3" json:"included_destinations,omitempty"`

	ExcludedDestinations []string `protobuf:"bytes,44,rep,name=excluded_destinations,json=excludedDestinations,proto3" json:"excluded_destinations,omitempty"`

	Pause *string `protobuf:"bytes,45,opt,name=pause,proto3,oneof" json:"pause,omitempty"`

	CustomLabel_0 *string `protobuf:"bytes,46,opt,name=custom_label_0,json=customLabel0,proto3,oneof" json:"custom_label_0,omitempty"`

	CustomLabel_1 *string `protobuf:"bytes,47,opt,name=custom_label_1,json=customLabel1,proto3,oneof" json:"custom_label_1,omitempty"`

	CustomLabel_2 *string `protobuf:"bytes,48,opt,name=custom_label_2,json=customLabel2,proto3,oneof" json:"custom_label_2,omitempty"`

	CustomLabel_3 *string `protobuf:"bytes,49,opt,name=custom_label_3,json=customLabel3,proto3,oneof" json:"custom_label_3,omitempty"`

	CustomLabel_4 *string `protobuf:"bytes,50,opt,name=custom_label_4,json=customLabel4,proto3,oneof" json:"custom_label_4,omitempty"`

}

Attributes for CSS Product.

func (*Attributes) Descriptor

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

Certification

type Certification struct {

	// Name of the certification.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Name of the certification body.
	Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"`
	// A unique code to identify the certification.
	Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

The certification for the 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 (*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(a.k.a Aggregate Offer internally).

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}`
	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

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

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.

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

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

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

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

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

func (x *DeleteCssProductInputRequest) Reset()

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

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

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

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 (*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 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

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 (*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

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

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

UnimplementedAccountsServiceServer

type UnimplementedAccountsServiceServer struct {
}

UnimplementedAccountsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAccountsServiceServer) GetAccount

func (*UnimplementedAccountsServiceServer) ListChildAccounts

func (*UnimplementedAccountsServiceServer) UpdateLabels

UnimplementedCssProductInputsServiceServer

type UnimplementedCssProductInputsServiceServer struct {
}

UnimplementedCssProductInputsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedCssProductInputsServiceServer) DeleteCssProductInput

func (*UnimplementedCssProductInputsServiceServer) InsertCssProductInput

UnimplementedCssProductsServiceServer

type UnimplementedCssProductsServiceServer struct {
}

UnimplementedCssProductsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedCssProductsServiceServer) GetCssProduct

func (*UnimplementedCssProductsServiceServer) ListCssProducts

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

func (x *UpdateAccountLabelsRequest) Reset()

func (*UpdateAccountLabelsRequest) String

func (x *UpdateAccountLabelsRequest) String() string