Documentation
¶
Index ¶
- Variables
- func RegisterAccountLabelsServiceServer(s *grpc.Server, srv AccountLabelsServiceServer)
- func RegisterAccountsServiceServer(s *grpc.Server, srv AccountsServiceServer)
- func RegisterCssProductInputsServiceServer(s *grpc.Server, srv CssProductInputsServiceServer)
- func RegisterCssProductsServiceServer(s *grpc.Server, srv CssProductsServiceServer)
- func RegisterQuotaServiceServer(s *grpc.Server, srv QuotaServiceServer)
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetAccountType() Account_AccountType
- func (x *Account) GetAutomaticLabelIds() []int64
- func (x *Account) GetDisplayName() string
- func (x *Account) GetFullName() string
- func (x *Account) GetHomepageUri() string
- func (x *Account) GetLabelIds() []int64
- func (x *Account) GetName() string
- func (x *Account) GetParent() string
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type AccountLabel
- func (*AccountLabel) Descriptor() ([]byte, []int)deprecated
- func (x *AccountLabel) GetAccountId() int64
- func (x *AccountLabel) GetDescription() string
- func (x *AccountLabel) GetDisplayName() string
- func (x *AccountLabel) GetLabelId() int64
- func (x *AccountLabel) GetLabelType() AccountLabel_LabelType
- func (x *AccountLabel) GetName() string
- func (*AccountLabel) ProtoMessage()
- func (x *AccountLabel) ProtoReflect() protoreflect.Message
- func (x *AccountLabel) Reset()
- func (x *AccountLabel) String() string
- type AccountLabel_LabelType
- func (AccountLabel_LabelType) Descriptor() protoreflect.EnumDescriptor
- func (x AccountLabel_LabelType) Enum() *AccountLabel_LabelType
- func (AccountLabel_LabelType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountLabel_LabelType) Number() protoreflect.EnumNumber
- func (x AccountLabel_LabelType) String() string
- func (AccountLabel_LabelType) Type() protoreflect.EnumType
- type AccountLabelsServiceClient
- type AccountLabelsServiceServer
- type Account_AccountType
- func (Account_AccountType) Descriptor() protoreflect.EnumDescriptor
- func (x Account_AccountType) Enum() *Account_AccountType
- func (Account_AccountType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Account_AccountType) Number() protoreflect.EnumNumber
- func (x Account_AccountType) String() string
- func (Account_AccountType) Type() protoreflect.EnumType
- type AccountsServiceClient
- type AccountsServiceServer
- type Attributes
- func (*Attributes) Descriptor() ([]byte, []int)deprecated
- func (x *Attributes) GetAdditionalImageLinks() []string
- func (x *Attributes) GetAdult() bool
- func (x *Attributes) GetAgeGroup() string
- func (x *Attributes) GetBrand() string
- func (x *Attributes) GetCertifications() []*Certification
- func (x *Attributes) GetColor() string
- func (x *Attributes) GetCppAdsRedirect() string
- func (x *Attributes) GetCppLink() string
- func (x *Attributes) GetCppMobileLink() string
- func (x *Attributes) GetCustomLabel_0() string
- func (x *Attributes) GetCustomLabel_1() string
- func (x *Attributes) GetCustomLabel_2() string
- func (x *Attributes) GetCustomLabel_3() string
- func (x *Attributes) GetCustomLabel_4() string
- func (x *Attributes) GetDescription() string
- func (x *Attributes) GetExcludedDestinations() []string
- func (x *Attributes) GetExpirationDate() *timestamppb.Timestamp
- func (x *Attributes) GetGender() string
- func (x *Attributes) GetGoogleProductCategory() string
- func (x *Attributes) GetGtin() string
- func (x *Attributes) GetHeadlineOfferCondition() string
- func (x *Attributes) GetHeadlineOfferInstallment() *HeadlineOfferInstallment
- func (x *Attributes) GetHeadlineOfferLink() string
- func (x *Attributes) GetHeadlineOfferMobileLink() string
- func (x *Attributes) GetHeadlineOfferPrice() *typepb.Price
- func (x *Attributes) GetHeadlineOfferShippingPrice() *typepb.Price
- func (x *Attributes) GetHeadlineOfferSubscriptionCost() *HeadlineOfferSubscriptionCost
- func (x *Attributes) GetHighPrice() *typepb.Price
- func (x *Attributes) GetImageLink() string
- func (x *Attributes) GetIncludedDestinations() []string
- func (x *Attributes) GetIsBundle() bool
- func (x *Attributes) GetItemGroupId() string
- func (x *Attributes) GetLowPrice() *typepb.Price
- func (x *Attributes) GetMaterial() string
- func (x *Attributes) GetMpn() string
- func (x *Attributes) GetMultipack() int64
- func (x *Attributes) GetNumberOfOffers() int64
- func (x *Attributes) GetPattern() string
- func (x *Attributes) GetPause() string
- func (x *Attributes) GetProductDetails() []*ProductDetail
- func (x *Attributes) GetProductHeight() *ProductDimension
- func (x *Attributes) GetProductHighlights() []string
- func (x *Attributes) GetProductLength() *ProductDimension
- func (x *Attributes) GetProductTypes() []string
- func (x *Attributes) GetProductWeight() *ProductWeight
- func (x *Attributes) GetProductWidth() *ProductDimension
- func (x *Attributes) GetSize() string
- func (x *Attributes) GetSizeSystem() string
- func (x *Attributes) GetSizeTypes() []string
- func (x *Attributes) GetTitle() string
- func (*Attributes) ProtoMessage()
- func (x *Attributes) ProtoReflect() protoreflect.Message
- func (x *Attributes) Reset()
- func (x *Attributes) String() string
- type Certification
- func (*Certification) Descriptor() ([]byte, []int)deprecated
- func (x *Certification) GetAuthority() string
- func (x *Certification) GetCode() string
- func (x *Certification) GetName() string
- func (*Certification) ProtoMessage()
- func (x *Certification) ProtoReflect() protoreflect.Message
- func (x *Certification) Reset()
- func (x *Certification) String() string
- type CreateAccountLabelRequest
- func (*CreateAccountLabelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountLabelRequest) GetAccountLabel() *AccountLabel
- func (x *CreateAccountLabelRequest) GetParent() string
- func (*CreateAccountLabelRequest) ProtoMessage()
- func (x *CreateAccountLabelRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAccountLabelRequest) Reset()
- func (x *CreateAccountLabelRequest) String() string
- type CssProduct
- func (*CssProduct) Descriptor() ([]byte, []int)deprecated
- func (x *CssProduct) GetAttributes() *Attributes
- func (x *CssProduct) GetContentLanguage() string
- func (x *CssProduct) GetCssProductStatus() *CssProductStatus
- func (x *CssProduct) GetCustomAttributes() []*typepb.CustomAttribute
- func (x *CssProduct) GetFeedLabel() string
- func (x *CssProduct) GetName() string
- func (x *CssProduct) GetRawProvidedId() string
- func (*CssProduct) ProtoMessage()
- func (x *CssProduct) ProtoReflect() protoreflect.Message
- func (x *CssProduct) Reset()
- func (x *CssProduct) String() string
- type CssProductInput
- func (*CssProductInput) Descriptor() ([]byte, []int)deprecated
- func (x *CssProductInput) GetAttributes() *Attributes
- func (x *CssProductInput) GetContentLanguage() string
- func (x *CssProductInput) GetCustomAttributes() []*typepb.CustomAttribute
- func (x *CssProductInput) GetFeedLabel() string
- func (x *CssProductInput) GetFinalName() string
- func (x *CssProductInput) GetFreshnessTime() *timestamppb.Timestampdeprecated
- func (x *CssProductInput) GetName() string
- func (x *CssProductInput) GetRawProvidedId() string
- func (*CssProductInput) ProtoMessage()
- func (x *CssProductInput) ProtoReflect() protoreflect.Message
- func (x *CssProductInput) Reset()
- func (x *CssProductInput) String() string
- type CssProductInputsServiceClient
- type CssProductInputsServiceServer
- type CssProductStatus
- func (*CssProductStatus) Descriptor() ([]byte, []int)deprecated
- func (x *CssProductStatus) GetCreationDate() *timestamppb.Timestamp
- func (x *CssProductStatus) GetDestinationStatuses() []*CssProductStatus_DestinationStatus
- func (x *CssProductStatus) GetGoogleExpirationDate() *timestamppb.Timestamp
- func (x *CssProductStatus) GetItemLevelIssues() []*CssProductStatus_ItemLevelIssue
- func (x *CssProductStatus) GetLastUpdateDate() *timestamppb.Timestamp
- func (*CssProductStatus) ProtoMessage()
- func (x *CssProductStatus) ProtoReflect() protoreflect.Message
- func (x *CssProductStatus) Reset()
- func (x *CssProductStatus) String() string
- type CssProductStatus_DestinationStatus
- func (*CssProductStatus_DestinationStatus) Descriptor() ([]byte, []int)deprecated
- func (x *CssProductStatus_DestinationStatus) GetApprovedCountries() []string
- func (x *CssProductStatus_DestinationStatus) GetDestination() string
- func (x *CssProductStatus_DestinationStatus) GetDisapprovedCountries() []string
- func (x *CssProductStatus_DestinationStatus) GetPendingCountries() []string
- func (*CssProductStatus_DestinationStatus) ProtoMessage()
- func (x *CssProductStatus_DestinationStatus) ProtoReflect() protoreflect.Message
- func (x *CssProductStatus_DestinationStatus) Reset()
- func (x *CssProductStatus_DestinationStatus) String() string
- type CssProductStatus_ItemLevelIssue
- func (*CssProductStatus_ItemLevelIssue) Descriptor() ([]byte, []int)deprecated
- func (x *CssProductStatus_ItemLevelIssue) GetApplicableCountries() []string
- func (x *CssProductStatus_ItemLevelIssue) GetAttribute() string
- func (x *CssProductStatus_ItemLevelIssue) GetCode() string
- func (x *CssProductStatus_ItemLevelIssue) GetDescription() string
- func (x *CssProductStatus_ItemLevelIssue) GetDestination() string
- func (x *CssProductStatus_ItemLevelIssue) GetDetail() string
- func (x *CssProductStatus_ItemLevelIssue) GetDocumentation() string
- func (x *CssProductStatus_ItemLevelIssue) GetResolution() string
- func (x *CssProductStatus_ItemLevelIssue) GetServability() string
- func (*CssProductStatus_ItemLevelIssue) ProtoMessage()
- func (x *CssProductStatus_ItemLevelIssue) ProtoReflect() protoreflect.Message
- func (x *CssProductStatus_ItemLevelIssue) Reset()
- func (x *CssProductStatus_ItemLevelIssue) String() string
- type CssProductsServiceClient
- type CssProductsServiceServer
- type DeleteAccountLabelRequest
- func (*DeleteAccountLabelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAccountLabelRequest) GetName() string
- func (*DeleteAccountLabelRequest) ProtoMessage()
- func (x *DeleteAccountLabelRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAccountLabelRequest) Reset()
- func (x *DeleteAccountLabelRequest) String() string
- type DeleteCssProductInputRequest
- func (*DeleteCssProductInputRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCssProductInputRequest) GetName() string
- func (x *DeleteCssProductInputRequest) GetSupplementalFeedId() int64
- func (*DeleteCssProductInputRequest) ProtoMessage()
- func (x *DeleteCssProductInputRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCssProductInputRequest) Reset()
- func (x *DeleteCssProductInputRequest) String() string
- type GetAccountRequest
- func (*GetAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountRequest) GetName() string
- func (x *GetAccountRequest) GetParent() string
- func (*GetAccountRequest) ProtoMessage()
- func (x *GetAccountRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccountRequest) Reset()
- func (x *GetAccountRequest) String() string
- type GetCssProductRequest
- func (*GetCssProductRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCssProductRequest) GetName() string
- func (*GetCssProductRequest) ProtoMessage()
- func (x *GetCssProductRequest) ProtoReflect() protoreflect.Message
- func (x *GetCssProductRequest) Reset()
- func (x *GetCssProductRequest) String() string
- type HeadlineOfferInstallment
- func (*HeadlineOfferInstallment) Descriptor() ([]byte, []int)deprecated
- func (x *HeadlineOfferInstallment) GetAmount() *typepb.Price
- func (x *HeadlineOfferInstallment) GetDownpayment() *typepb.Price
- func (x *HeadlineOfferInstallment) GetMonths() int64
- func (*HeadlineOfferInstallment) ProtoMessage()
- func (x *HeadlineOfferInstallment) ProtoReflect() protoreflect.Message
- func (x *HeadlineOfferInstallment) Reset()
- func (x *HeadlineOfferInstallment) String() string
- type HeadlineOfferSubscriptionCost
- func (*HeadlineOfferSubscriptionCost) Descriptor() ([]byte, []int)deprecated
- func (x *HeadlineOfferSubscriptionCost) GetAmount() *typepb.Price
- func (x *HeadlineOfferSubscriptionCost) GetPeriod() SubscriptionPeriod
- func (x *HeadlineOfferSubscriptionCost) GetPeriodLength() int64
- func (*HeadlineOfferSubscriptionCost) ProtoMessage()
- func (x *HeadlineOfferSubscriptionCost) ProtoReflect() protoreflect.Message
- func (x *HeadlineOfferSubscriptionCost) Reset()
- func (x *HeadlineOfferSubscriptionCost) String() string
- type InsertCssProductInputRequest
- func (*InsertCssProductInputRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InsertCssProductInputRequest) GetCssProductInput() *CssProductInput
- func (x *InsertCssProductInputRequest) GetFeedId() int64deprecated
- func (x *InsertCssProductInputRequest) GetParent() string
- func (*InsertCssProductInputRequest) ProtoMessage()
- func (x *InsertCssProductInputRequest) ProtoReflect() protoreflect.Message
- func (x *InsertCssProductInputRequest) Reset()
- func (x *InsertCssProductInputRequest) String() string
- type ListAccountLabelsRequest
- func (*ListAccountLabelsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountLabelsRequest) GetPageSize() int32
- func (x *ListAccountLabelsRequest) GetPageToken() string
- func (x *ListAccountLabelsRequest) GetParent() string
- func (*ListAccountLabelsRequest) ProtoMessage()
- func (x *ListAccountLabelsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAccountLabelsRequest) Reset()
- func (x *ListAccountLabelsRequest) String() string
- type ListAccountLabelsResponse
- func (*ListAccountLabelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountLabelsResponse) GetAccountLabels() []*AccountLabel
- func (x *ListAccountLabelsResponse) GetNextPageToken() string
- func (*ListAccountLabelsResponse) ProtoMessage()
- func (x *ListAccountLabelsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAccountLabelsResponse) Reset()
- func (x *ListAccountLabelsResponse) String() string
- type ListChildAccountsRequest
- func (*ListChildAccountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListChildAccountsRequest) GetFullName() string
- func (x *ListChildAccountsRequest) GetLabelId() int64
- func (x *ListChildAccountsRequest) GetPageSize() int32
- func (x *ListChildAccountsRequest) GetPageToken() string
- func (x *ListChildAccountsRequest) GetParent() string
- func (*ListChildAccountsRequest) ProtoMessage()
- func (x *ListChildAccountsRequest) ProtoReflect() protoreflect.Message
- func (x *ListChildAccountsRequest) Reset()
- func (x *ListChildAccountsRequest) String() string
- type ListChildAccountsResponse
- func (*ListChildAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListChildAccountsResponse) GetAccounts() []*Account
- func (x *ListChildAccountsResponse) GetNextPageToken() string
- func (*ListChildAccountsResponse) ProtoMessage()
- func (x *ListChildAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *ListChildAccountsResponse) Reset()
- func (x *ListChildAccountsResponse) String() string
- type ListCssProductsRequest
- func (*ListCssProductsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCssProductsRequest) GetPageSize() int32
- func (x *ListCssProductsRequest) GetPageToken() string
- func (x *ListCssProductsRequest) GetParent() string
- func (*ListCssProductsRequest) ProtoMessage()
- func (x *ListCssProductsRequest) ProtoReflect() protoreflect.Message
- func (x *ListCssProductsRequest) Reset()
- func (x *ListCssProductsRequest) String() string
- type ListCssProductsResponse
- func (*ListCssProductsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCssProductsResponse) GetCssProducts() []*CssProduct
- func (x *ListCssProductsResponse) GetNextPageToken() string
- func (*ListCssProductsResponse) ProtoMessage()
- func (x *ListCssProductsResponse) ProtoReflect() protoreflect.Message
- func (x *ListCssProductsResponse) Reset()
- func (x *ListCssProductsResponse) String() string
- type ListQuotaGroupsRequest
- func (*ListQuotaGroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListQuotaGroupsRequest) GetPageSize() int32
- func (x *ListQuotaGroupsRequest) GetPageToken() string
- func (x *ListQuotaGroupsRequest) GetParent() string
- func (*ListQuotaGroupsRequest) ProtoMessage()
- func (x *ListQuotaGroupsRequest) ProtoReflect() protoreflect.Message
- func (x *ListQuotaGroupsRequest) Reset()
- func (x *ListQuotaGroupsRequest) String() string
- type ListQuotaGroupsResponse
- func (*ListQuotaGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListQuotaGroupsResponse) GetNextPageToken() string
- func (x *ListQuotaGroupsResponse) GetQuotaGroups() []*QuotaGroup
- func (*ListQuotaGroupsResponse) ProtoMessage()
- func (x *ListQuotaGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *ListQuotaGroupsResponse) Reset()
- func (x *ListQuotaGroupsResponse) String() string
- type MethodDetails
- func (*MethodDetails) Descriptor() ([]byte, []int)deprecated
- func (x *MethodDetails) GetMethod() string
- func (x *MethodDetails) GetPath() string
- func (x *MethodDetails) GetSubapi() string
- func (x *MethodDetails) GetVersion() string
- func (*MethodDetails) ProtoMessage()
- func (x *MethodDetails) ProtoReflect() protoreflect.Message
- func (x *MethodDetails) Reset()
- func (x *MethodDetails) String() string
- type ProductDetail
- func (*ProductDetail) Descriptor() ([]byte, []int)deprecated
- func (x *ProductDetail) GetAttributeName() string
- func (x *ProductDetail) GetAttributeValue() string
- func (x *ProductDetail) GetSectionName() string
- func (*ProductDetail) ProtoMessage()
- func (x *ProductDetail) ProtoReflect() protoreflect.Message
- func (x *ProductDetail) Reset()
- func (x *ProductDetail) String() string
- type ProductDimension
- func (*ProductDimension) Descriptor() ([]byte, []int)deprecated
- func (x *ProductDimension) GetUnit() string
- func (x *ProductDimension) GetValue() float64
- func (*ProductDimension) ProtoMessage()
- func (x *ProductDimension) ProtoReflect() protoreflect.Message
- func (x *ProductDimension) Reset()
- func (x *ProductDimension) String() string
- type ProductWeight
- func (*ProductWeight) Descriptor() ([]byte, []int)deprecated
- func (x *ProductWeight) GetUnit() string
- func (x *ProductWeight) GetValue() float64
- func (*ProductWeight) ProtoMessage()
- func (x *ProductWeight) ProtoReflect() protoreflect.Message
- func (x *ProductWeight) Reset()
- func (x *ProductWeight) String() string
- type QuotaGroup
- func (*QuotaGroup) Descriptor() ([]byte, []int)deprecated
- func (x *QuotaGroup) GetMethodDetails() []*MethodDetails
- func (x *QuotaGroup) GetName() string
- func (x *QuotaGroup) GetQuotaLimit() int64
- func (x *QuotaGroup) GetQuotaMinuteLimit() int64
- func (x *QuotaGroup) GetQuotaUsage() int64
- func (*QuotaGroup) ProtoMessage()
- func (x *QuotaGroup) ProtoReflect() protoreflect.Message
- func (x *QuotaGroup) Reset()
- func (x *QuotaGroup) String() string
- type QuotaServiceClient
- type QuotaServiceServer
- type SubscriptionPeriod
- func (SubscriptionPeriod) Descriptor() protoreflect.EnumDescriptor
- func (x SubscriptionPeriod) Enum() *SubscriptionPeriod
- func (SubscriptionPeriod) EnumDescriptor() ([]byte, []int)deprecated
- func (x SubscriptionPeriod) Number() protoreflect.EnumNumber
- func (x SubscriptionPeriod) String() string
- func (SubscriptionPeriod) Type() protoreflect.EnumType
- type UnimplementedAccountLabelsServiceServer
- func (*UnimplementedAccountLabelsServiceServer) CreateAccountLabel(context.Context, *CreateAccountLabelRequest) (*AccountLabel, error)
- func (*UnimplementedAccountLabelsServiceServer) DeleteAccountLabel(context.Context, *DeleteAccountLabelRequest) (*emptypb.Empty, error)
- func (*UnimplementedAccountLabelsServiceServer) ListAccountLabels(context.Context, *ListAccountLabelsRequest) (*ListAccountLabelsResponse, error)
- func (*UnimplementedAccountLabelsServiceServer) UpdateAccountLabel(context.Context, *UpdateAccountLabelRequest) (*AccountLabel, error)
- type UnimplementedAccountsServiceServer
- func (*UnimplementedAccountsServiceServer) GetAccount(context.Context, *GetAccountRequest) (*Account, error)
- func (*UnimplementedAccountsServiceServer) ListChildAccounts(context.Context, *ListChildAccountsRequest) (*ListChildAccountsResponse, error)
- func (*UnimplementedAccountsServiceServer) UpdateLabels(context.Context, *UpdateAccountLabelsRequest) (*Account, error)
- type UnimplementedCssProductInputsServiceServer
- func (*UnimplementedCssProductInputsServiceServer) DeleteCssProductInput(context.Context, *DeleteCssProductInputRequest) (*emptypb.Empty, error)
- func (*UnimplementedCssProductInputsServiceServer) InsertCssProductInput(context.Context, *InsertCssProductInputRequest) (*CssProductInput, error)
- func (*UnimplementedCssProductInputsServiceServer) UpdateCssProductInput(context.Context, *UpdateCssProductInputRequest) (*CssProductInput, error)
- type UnimplementedCssProductsServiceServer
- type UnimplementedQuotaServiceServer
- type UpdateAccountLabelRequest
- func (*UpdateAccountLabelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAccountLabelRequest) GetAccountLabel() *AccountLabel
- func (*UpdateAccountLabelRequest) ProtoMessage()
- func (x *UpdateAccountLabelRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAccountLabelRequest) Reset()
- func (x *UpdateAccountLabelRequest) String() string
- type UpdateAccountLabelsRequest
- func (*UpdateAccountLabelsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAccountLabelsRequest) GetLabelIds() []int64
- func (x *UpdateAccountLabelsRequest) GetName() string
- func (x *UpdateAccountLabelsRequest) GetParent() string
- func (*UpdateAccountLabelsRequest) ProtoMessage()
- func (x *UpdateAccountLabelsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAccountLabelsRequest) Reset()
- func (x *UpdateAccountLabelsRequest) String() string
- type UpdateCssProductInputRequest
- func (*UpdateCssProductInputRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCssProductInputRequest) GetCssProductInput() *CssProductInput
- func (x *UpdateCssProductInputRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateCssProductInputRequest) ProtoMessage()
- func (x *UpdateCssProductInputRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCssProductInputRequest) Reset()
- func (x *UpdateCssProductInputRequest) String() string
Constants ¶
This section is empty.
Variables ¶
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.
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.
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.
var File_google_shopping_css_v1_accounts_labels_proto protoreflect.FileDescriptor
var File_google_shopping_css_v1_accounts_proto protoreflect.FileDescriptor
var File_google_shopping_css_v1_css_product_common_proto protoreflect.FileDescriptor
var File_google_shopping_css_v1_css_product_inputs_proto protoreflect.FileDescriptor
var File_google_shopping_css_v1_css_products_proto protoreflect.FileDescriptor
var File_google_shopping_css_v1_quota_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAccountLabelsServiceServer ¶
func RegisterAccountLabelsServiceServer(s *grpc.Server, srv AccountLabelsServiceServer)
func RegisterAccountsServiceServer ¶
func RegisterAccountsServiceServer(s *grpc.Server, srv AccountsServiceServer)
func RegisterCssProductInputsServiceServer ¶
func RegisterCssProductInputsServiceServer(s *grpc.Server, srv CssProductInputsServiceServer)
func RegisterCssProductsServiceServer ¶
func RegisterCssProductsServiceServer(s *grpc.Server, srv CssProductsServiceServer)
func RegisterQuotaServiceServer ¶ added in v0.19.0
func RegisterQuotaServiceServer(s *grpc.Server, srv QuotaServiceServer)
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. // Note: For MC sub-accounts, this is also the CSS domain that is the parent // resource of the MCA account, since we are effectively flattening the // hierarchy." Parent *string `protobuf:"bytes,5,opt,name=parent,proto3,oneof" json:"parent,omitempty"` // Manually created label IDs assigned to the CSS/MC account by a CSS parent // account. LabelIds []int64 `protobuf:"varint,6,rep,packed,name=label_ids,json=labelIds,proto3" json:"label_ids,omitempty"` // Automatically created label IDs assigned to the MC account by // CSS Center. AutomaticLabelIds []int64 `protobuf:"varint,7,rep,packed,name=automatic_label_ids,json=automaticLabelIds,proto3" json:"automatic_label_ids,omitempty"` // Output only. The type of this account. AccountType Account_AccountType `` /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
Information about CSS/MC account.
func (*Account) Descriptor
deprecated
func (*Account) GetAccountType ¶
func (x *Account) GetAccountType() Account_AccountType
func (*Account) GetAutomaticLabelIds ¶
func (*Account) GetDisplayName ¶
func (*Account) GetFullName ¶
func (*Account) GetHomepageUri ¶
func (*Account) GetLabelIds ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
func (AccountLabel_LabelType) Enum ¶
func (x AccountLabel_LabelType) Enum() *AccountLabel_LabelType
func (AccountLabel_LabelType) EnumDescriptor
deprecated
func (AccountLabel_LabelType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccountLabel_LabelType.Descriptor instead.
func (AccountLabel_LabelType) Number ¶
func (x AccountLabel_LabelType) Number() protoreflect.EnumNumber
func (AccountLabel_LabelType) String ¶
func (x AccountLabel_LabelType) String() string
func (AccountLabel_LabelType) Type ¶
func (AccountLabel_LabelType) Type() protoreflect.EnumType
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.
func NewAccountLabelsServiceClient ¶
func NewAccountLabelsServiceClient(cc grpc.ClientConnInterface) AccountLabelsServiceClient
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) Descriptor() protoreflect.EnumDescriptor
func (Account_AccountType) Enum ¶
func (x Account_AccountType) Enum() *Account_AccountType
func (Account_AccountType) EnumDescriptor
deprecated
func (Account_AccountType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Account_AccountType.Descriptor instead.
func (Account_AccountType) Number ¶
func (x Account_AccountType) Number() protoreflect.EnumNumber
func (Account_AccountType) String ¶
func (x Account_AccountType) String() string
func (Account_AccountType) Type ¶
func (Account_AccountType) Type() protoreflect.EnumType
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
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 CSS Product. LowPrice *typepb.Price `protobuf:"bytes,3,opt,name=low_price,json=lowPrice,proto3" json:"low_price,omitempty"` // High Price of the CSS Product. HighPrice *typepb.Price `protobuf:"bytes,4,opt,name=high_price,json=highPrice,proto3" json:"high_price,omitempty"` // The number of CSS Products. NumberOfOffers *int64 `protobuf:"varint,5,opt,name=number_of_offers,json=numberOfOffers,proto3,oneof" json:"number_of_offers,omitempty"` // Condition of the headline offer. HeadlineOfferCondition *string `` /* 135-byte string literal not displayed */ // Headline Price of the CSS Product. HeadlineOfferPrice *typepb.Price `protobuf:"bytes,7,opt,name=headline_offer_price,json=headlineOfferPrice,proto3" json:"headline_offer_price,omitempty"` // Link to the headline offer. HeadlineOfferLink *string `protobuf:"bytes,8,opt,name=headline_offer_link,json=headlineOfferLink,proto3,oneof" json:"headline_offer_link,omitempty"` // Mobile Link to the headline offer. HeadlineOfferMobileLink *string `` /* 140-byte string literal not displayed */ // Headline Price of the CSS Product. 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 (*Attributes) GetAdditionalImageLinks ¶
func (x *Attributes) GetAdditionalImageLinks() []string
func (*Attributes) GetAdult ¶
func (x *Attributes) GetAdult() bool
func (*Attributes) GetAgeGroup ¶
func (x *Attributes) GetAgeGroup() string
func (*Attributes) GetBrand ¶
func (x *Attributes) GetBrand() string
func (*Attributes) GetCertifications ¶
func (x *Attributes) GetCertifications() []*Certification
func (*Attributes) GetColor ¶
func (x *Attributes) GetColor() string
func (*Attributes) GetCppAdsRedirect ¶
func (x *Attributes) GetCppAdsRedirect() string
func (*Attributes) GetCppLink ¶
func (x *Attributes) GetCppLink() string
func (*Attributes) GetCppMobileLink ¶
func (x *Attributes) GetCppMobileLink() string
func (*Attributes) GetCustomLabel_0 ¶
func (x *Attributes) GetCustomLabel_0() string
func (*Attributes) GetCustomLabel_1 ¶
func (x *Attributes) GetCustomLabel_1() string
func (*Attributes) GetCustomLabel_2 ¶
func (x *Attributes) GetCustomLabel_2() string
func (*Attributes) GetCustomLabel_3 ¶
func (x *Attributes) GetCustomLabel_3() string
func (*Attributes) GetCustomLabel_4 ¶
func (x *Attributes) GetCustomLabel_4() string
func (*Attributes) GetDescription ¶
func (x *Attributes) GetDescription() string
func (*Attributes) GetExcludedDestinations ¶
func (x *Attributes) GetExcludedDestinations() []string
func (*Attributes) GetExpirationDate ¶
func (x *Attributes) GetExpirationDate() *timestamppb.Timestamp
func (*Attributes) GetGender ¶
func (x *Attributes) GetGender() string
func (*Attributes) GetGoogleProductCategory ¶
func (x *Attributes) GetGoogleProductCategory() string
func (*Attributes) GetGtin ¶
func (x *Attributes) GetGtin() string
func (*Attributes) GetHeadlineOfferCondition ¶
func (x *Attributes) GetHeadlineOfferCondition() string
func (*Attributes) GetHeadlineOfferInstallment ¶ added in v0.12.0
func (x *Attributes) GetHeadlineOfferInstallment() *HeadlineOfferInstallment
func (*Attributes) GetHeadlineOfferLink ¶
func (x *Attributes) GetHeadlineOfferLink() string
func (*Attributes) GetHeadlineOfferMobileLink ¶
func (x *Attributes) GetHeadlineOfferMobileLink() string
func (*Attributes) GetHeadlineOfferPrice ¶
func (x *Attributes) GetHeadlineOfferPrice() *typepb.Price
func (*Attributes) GetHeadlineOfferShippingPrice ¶
func (x *Attributes) GetHeadlineOfferShippingPrice() *typepb.Price
func (*Attributes) GetHeadlineOfferSubscriptionCost ¶ added in v0.12.0
func (x *Attributes) GetHeadlineOfferSubscriptionCost() *HeadlineOfferSubscriptionCost
func (*Attributes) GetHighPrice ¶
func (x *Attributes) GetHighPrice() *typepb.Price
func (*Attributes) GetImageLink ¶
func (x *Attributes) GetImageLink() string
func (*Attributes) GetIncludedDestinations ¶
func (x *Attributes) GetIncludedDestinations() []string
func (*Attributes) GetIsBundle ¶
func (x *Attributes) GetIsBundle() bool
func (*Attributes) GetItemGroupId ¶
func (x *Attributes) GetItemGroupId() string
func (*Attributes) GetLowPrice ¶
func (x *Attributes) GetLowPrice() *typepb.Price
func (*Attributes) GetMaterial ¶
func (x *Attributes) GetMaterial() string
func (*Attributes) GetMpn ¶
func (x *Attributes) GetMpn() string
func (*Attributes) GetMultipack ¶
func (x *Attributes) GetMultipack() int64
func (*Attributes) GetNumberOfOffers ¶
func (x *Attributes) GetNumberOfOffers() int64
func (*Attributes) GetPattern ¶
func (x *Attributes) GetPattern() string
func (*Attributes) GetPause ¶
func (x *Attributes) GetPause() string
func (*Attributes) GetProductDetails ¶
func (x *Attributes) GetProductDetails() []*ProductDetail
func (*Attributes) GetProductHeight ¶
func (x *Attributes) GetProductHeight() *ProductDimension
func (*Attributes) GetProductHighlights ¶
func (x *Attributes) GetProductHighlights() []string
func (*Attributes) GetProductLength ¶
func (x *Attributes) GetProductLength() *ProductDimension
func (*Attributes) GetProductTypes ¶
func (x *Attributes) GetProductTypes() []string
func (*Attributes) GetProductWeight ¶
func (x *Attributes) GetProductWeight() *ProductWeight
func (*Attributes) GetProductWidth ¶
func (x *Attributes) GetProductWidth() *ProductDimension
func (*Attributes) GetSize ¶
func (x *Attributes) GetSize() string
func (*Attributes) GetSizeSystem ¶
func (x *Attributes) GetSizeSystem() string
func (*Attributes) GetSizeTypes ¶
func (x *Attributes) GetSizeTypes() []string
func (*Attributes) GetTitle ¶
func (x *Attributes) GetTitle() string
func (*Attributes) ProtoMessage ¶
func (*Attributes) ProtoMessage()
func (*Attributes) ProtoReflect ¶
func (x *Attributes) ProtoReflect() protoreflect.Message
func (*Attributes) Reset ¶
func (x *Attributes) Reset()
func (*Attributes) String ¶
func (x *Attributes) String() string
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 (x *CreateAccountLabelRequest) ProtoReflect() protoreflect.Message
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.
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}`, where the // last section `css_product_input` consists of 3 parts: // contentLanguage~feedLabel~offerId. Example: // accounts/123/cssProductInputs/de~DE~rawProvidedId123 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The name of the processed CSS Product. // Format: // `accounts/{account}/cssProducts/{css_product}` // " FinalName string `protobuf:"bytes,2,opt,name=final_name,json=finalName,proto3" json:"final_name,omitempty"` // Required. Your unique identifier for the CSS Product. This is the same for // the CSS Product input and processed CSS Product. We only allow ids with // alphanumerics, underscores and dashes. See the [products feed // specification](https://support.google.com/merchants/answer/188494#id) for // details. RawProvidedId string `protobuf:"bytes,3,opt,name=raw_provided_id,json=rawProvidedId,proto3" json:"raw_provided_id,omitempty"` // Required. The two-letter [ISO // 639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the CSS // Product. ContentLanguage string `protobuf:"bytes,4,opt,name=content_language,json=contentLanguage,proto3" json:"content_language,omitempty"` // Required. The [feed // label](https://developers.google.com/shopping-content/guides/products/feed-labels) // for the CSS Product. // Feed Label is synonymous to "target country" and hence should always be a // valid region code. For example: 'DE' for Germany, 'FR' for France. FeedLabel string `protobuf:"bytes,5,opt,name=feed_label,json=feedLabel,proto3" json:"feed_label,omitempty"` // DEPRECATED. Use expiration_date instead. // Represents the existing version (freshness) of the CSS Product, which // can be used to preserve the right order when multiple updates are done at // the same time. // // This field must not be set to the future time. // // If set, the update is prevented if a newer version of the item already // exists in our system (that is the last update time of the existing // CSS products is later than the freshness time set in the update). If // the update happens, the last update time is then set to this freshness // time. // // If not set, the update will not be prevented and the last update time will // default to when this request was received by the CSS API. // // If the operation is prevented, the aborted exception will be // thrown. // // Deprecated: Marked as deprecated in google/shopping/css/v1/css_product_inputs.proto. FreshnessTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=freshness_time,json=freshnessTime,proto3" json:"freshness_time,omitempty"` // A list of CSS Product attributes. Attributes *Attributes `protobuf:"bytes,7,opt,name=attributes,proto3" json:"attributes,omitempty"` // A list of custom (CSS-provided) attributes. It can also be used for // submitting any attribute of the feed specification in its generic // form (for example: // `{ "name": "size type", "value": "regular" }`). // This is useful for submitting attributes not explicitly exposed by the // API, such as additional attributes used for Buy on Google. CustomAttributes []*typepb.CustomAttribute `protobuf:"bytes,8,rep,name=custom_attributes,json=customAttributes,proto3" json:"custom_attributes,omitempty"` // contains filtered or unexported fields }
This resource represents input data you submit for a CSS Product, not the processed CSS Product that you see in CSS Center, in Shopping Ads, or across Google surfaces.
func (*CssProductInput) Descriptor
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
deprecated
func (x *CssProductInput) GetFreshnessTime() *timestamppb.Timestamp
Deprecated: Marked as deprecated in google/shopping/css/v1/css_product_inputs.proto.
func (*CssProductInput) GetName ¶
func (x *CssProductInput) GetName() string
func (*CssProductInput) GetRawProvidedId ¶
func (x *CssProductInput) GetRawProvidedId() string
func (*CssProductInput) ProtoMessage ¶
func (*CssProductInput) ProtoMessage()
func (*CssProductInput) ProtoReflect ¶
func (x *CssProductInput) ProtoReflect() protoreflect.Message
func (*CssProductInput) Reset ¶
func (x *CssProductInput) Reset()
func (*CssProductInput) String ¶
func (x *CssProductInput) String() string
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) // Updates the existing Css Product input in your CSS Center account. // // After inserting, updating, or deleting a CSS Product input, it may take // several minutes before the processed Css Product can be retrieved. UpdateCssProductInput(ctx context.Context, in *UpdateCssProductInputRequest, opts ...grpc.CallOption) (*CssProductInput, error) // Deletes a CSS Product input from your CSS Center account. // // After a delete it may take several minutes until the input is no longer // available. DeleteCssProductInput(ctx context.Context, in *DeleteCssProductInputRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
CssProductInputsServiceClient is the client API for CssProductInputsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCssProductInputsServiceClient ¶
func NewCssProductInputsServiceClient(cc grpc.ClientConnInterface) CssProductInputsServiceClient
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) // Updates the existing Css Product input in your CSS Center account. // // After inserting, updating, or deleting a CSS Product input, it may take // several minutes before the processed Css Product can be retrieved. UpdateCssProductInput(context.Context, *UpdateCssProductInputRequest) (*CssProductInput, error) // Deletes a CSS Product input from your CSS Center account. // // After a delete it may take several minutes until the input is no longer // available. DeleteCssProductInput(context.Context, *DeleteCssProductInputRequest) (*emptypb.Empty, error) }
CssProductInputsServiceServer is the server API for CssProductInputsService service.
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 CSS Product is // approved. ApprovedCountries []string `protobuf:"bytes,2,rep,name=approved_countries,json=approvedCountries,proto3" json:"approved_countries,omitempty"` // List of country codes (ISO 3166-1 alpha-2) where the CSS Product is // pending approval. PendingCountries []string `protobuf:"bytes,3,rep,name=pending_countries,json=pendingCountries,proto3" json:"pending_countries,omitempty"` // List of country codes (ISO 3166-1 alpha-2) where the CSS Product is // disapproved. DisapprovedCountries []string `protobuf:"bytes,4,rep,name=disapproved_countries,json=disapprovedCountries,proto3" json:"disapproved_countries,omitempty"` // contains filtered or unexported fields }
The destination status of the product status.
func (*CssProductStatus_DestinationStatus) Descriptor
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 (x *CssProductStatus_DestinationStatus) ProtoReflect() protoreflect.Message
func (*CssProductStatus_DestinationStatus) Reset ¶
func (x *CssProductStatus_DestinationStatus) Reset()
func (*CssProductStatus_DestinationStatus) String ¶
func (x *CssProductStatus_DestinationStatus) String() string
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 CSS Product. Servability string `protobuf:"bytes,2,opt,name=servability,proto3" json:"servability,omitempty"` // Whether the issue can be resolved by the merchant. Resolution string `protobuf:"bytes,3,opt,name=resolution,proto3" json:"resolution,omitempty"` // The attribute's name, if the issue is caused by a single attribute. Attribute string `protobuf:"bytes,4,opt,name=attribute,proto3" json:"attribute,omitempty"` // The destination the issue applies to. Destination string `protobuf:"bytes,5,opt,name=destination,proto3" json:"destination,omitempty"` // A short issue description in English. Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // A detailed issue description in English. Detail string `protobuf:"bytes,7,opt,name=detail,proto3" json:"detail,omitempty"` // The URL of a web page to help with resolving this issue. Documentation string `protobuf:"bytes,8,opt,name=documentation,proto3" json:"documentation,omitempty"` // List of country codes (ISO 3166-1 alpha-2) where issue applies to the // CSS Product. ApplicableCountries []string `protobuf:"bytes,9,rep,name=applicable_countries,json=applicableCountries,proto3" json:"applicable_countries,omitempty"` // contains filtered or unexported fields }
The ItemLevelIssue of the product status.
func (*CssProductStatus_ItemLevelIssue) Descriptor
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 (x *CssProductStatus_ItemLevelIssue) GetCode() string
func (*CssProductStatus_ItemLevelIssue) GetDescription ¶
func (x *CssProductStatus_ItemLevelIssue) GetDescription() string
func (*CssProductStatus_ItemLevelIssue) GetDestination ¶
func (x *CssProductStatus_ItemLevelIssue) GetDestination() string
func (*CssProductStatus_ItemLevelIssue) GetDetail ¶
func (x *CssProductStatus_ItemLevelIssue) GetDetail() string
func (*CssProductStatus_ItemLevelIssue) GetDocumentation ¶
func (x *CssProductStatus_ItemLevelIssue) GetDocumentation() string
func (*CssProductStatus_ItemLevelIssue) GetResolution ¶
func (x *CssProductStatus_ItemLevelIssue) GetResolution() string
func (*CssProductStatus_ItemLevelIssue) GetServability ¶
func (x *CssProductStatus_ItemLevelIssue) GetServability() string
func (*CssProductStatus_ItemLevelIssue) ProtoMessage ¶
func (*CssProductStatus_ItemLevelIssue) ProtoMessage()
func (*CssProductStatus_ItemLevelIssue) ProtoReflect ¶
func (x *CssProductStatus_ItemLevelIssue) ProtoReflect() protoreflect.Message
func (*CssProductStatus_ItemLevelIssue) Reset ¶
func (x *CssProductStatus_ItemLevelIssue) Reset()
func (*CssProductStatus_ItemLevelIssue) String ¶
func (x *CssProductStatus_ItemLevelIssue) String() string
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.
func NewCssProductsServiceClient ¶
func NewCssProductsServiceClient(cc grpc.ClientConnInterface) CssProductsServiceClient
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 (x *DeleteAccountLabelRequest) ProtoReflect() protoreflect.Message
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}, where the // last section `css_product_input` consists of 3 parts: // contentLanguage~feedLabel~offerId. Example: // accounts/123/cssProductInputs/de~DE~rawProvidedId123 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The Content API Supplemental Feed ID. // The field must not be set if the action applies to a primary feed. // If the field is set, then product action applies to a supplemental feed // instead of primary Content API feed. SupplementalFeedId *int64 `protobuf:"varint,2,opt,name=supplemental_feed_id,json=supplementalFeedId,proto3,oneof" json:"supplemental_feed_id,omitempty"` // contains filtered or unexported fields }
Request message for the DeleteCssProductInput method.
func (*DeleteCssProductInputRequest) Descriptor
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 (x *DeleteCssProductInputRequest) ProtoReflect() protoreflect.Message
func (*DeleteCssProductInputRequest) Reset ¶
func (x *DeleteCssProductInputRequest) Reset()
func (*DeleteCssProductInputRequest) String ¶
func (x *DeleteCssProductInputRequest) String() 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 (x *HeadlineOfferSubscriptionCost) GetPeriod() SubscriptionPeriod
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 (x *HeadlineOfferSubscriptionCost) ProtoReflect() protoreflect.Message
func (*HeadlineOfferSubscriptionCost) Reset ¶ added in v0.12.0
func (x *HeadlineOfferSubscriptionCost) Reset()
func (*HeadlineOfferSubscriptionCost) String ¶ added in v0.12.0
func (x *HeadlineOfferSubscriptionCost) String() string
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"` // Optional. DEPRECATED. Feed id is not required for CSS Products. // The primary or supplemental feed id. If CSS Product already exists and // feed id provided is different, then the CSS Product will be moved to a // new feed. // Note: For now, CSSs do not need to provide feed ids as we create // feeds on the fly. // We do not have supplemental feed support for CSS Products yet. // // Deprecated: Marked as deprecated in google/shopping/css/v1/css_product_inputs.proto. FeedId int64 `protobuf:"varint,3,opt,name=feed_id,json=feedId,proto3" json:"feed_id,omitempty"` // contains filtered or unexported fields }
Request message for the InsertCssProductInput method.
func (*InsertCssProductInputRequest) Descriptor
deprecated
func (*InsertCssProductInputRequest) Descriptor() ([]byte, []int)
Deprecated: Use InsertCssProductInputRequest.ProtoReflect.Descriptor instead.
func (*InsertCssProductInputRequest) GetCssProductInput ¶
func (x *InsertCssProductInputRequest) GetCssProductInput() *CssProductInput
func (*InsertCssProductInputRequest) GetFeedId
deprecated
func (x *InsertCssProductInputRequest) GetFeedId() int64
Deprecated: Marked as deprecated in google/shopping/css/v1/css_product_inputs.proto.
func (*InsertCssProductInputRequest) GetParent ¶
func (x *InsertCssProductInputRequest) GetParent() string
func (*InsertCssProductInputRequest) ProtoMessage ¶
func (*InsertCssProductInputRequest) ProtoMessage()
func (*InsertCssProductInputRequest) ProtoReflect ¶
func (x *InsertCssProductInputRequest) ProtoReflect() protoreflect.Message
func (*InsertCssProductInputRequest) Reset ¶
func (x *InsertCssProductInputRequest) Reset()
func (*InsertCssProductInputRequest) String ¶
func (x *InsertCssProductInputRequest) String() string
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 (x *ListAccountLabelsResponse) ProtoReflect() protoreflect.Message
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 100; values above 100 will be coerced to // 100. PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A page token, received from a previous `ListChildAccounts` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListChildAccounts` must // match the call that provided the page token. PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for the `ListChildAccounts` method.
func (*ListChildAccountsRequest) Descriptor
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 (x *ListChildAccountsResponse) ProtoReflect() protoreflect.Message
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 ListQuotaGroupsRequest ¶ added in v0.19.0
type ListQuotaGroupsRequest struct { // Required. The CSS account that owns the collection of method quotas and // resources. In most cases, this is the CSS domain. Format: // accounts/{account} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of quotas to return in the response, used // for paging. Defaults to 500; values above 1000 will be coerced to 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. Token (if provided) to retrieve the subsequent page. All other // parameters must match the original call that provided the page token. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for the ListQuotaGroups method.
func (*ListQuotaGroupsRequest) Descriptor
deprecated
added in
v0.19.0
func (*ListQuotaGroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListQuotaGroupsRequest.ProtoReflect.Descriptor instead.
func (*ListQuotaGroupsRequest) GetPageSize ¶ added in v0.19.0
func (x *ListQuotaGroupsRequest) GetPageSize() int32
func (*ListQuotaGroupsRequest) GetPageToken ¶ added in v0.19.0
func (x *ListQuotaGroupsRequest) GetPageToken() string
func (*ListQuotaGroupsRequest) GetParent ¶ added in v0.19.0
func (x *ListQuotaGroupsRequest) GetParent() string
func (*ListQuotaGroupsRequest) ProtoMessage ¶ added in v0.19.0
func (*ListQuotaGroupsRequest) ProtoMessage()
func (*ListQuotaGroupsRequest) ProtoReflect ¶ added in v0.19.0
func (x *ListQuotaGroupsRequest) ProtoReflect() protoreflect.Message
func (*ListQuotaGroupsRequest) Reset ¶ added in v0.19.0
func (x *ListQuotaGroupsRequest) Reset()
func (*ListQuotaGroupsRequest) String ¶ added in v0.19.0
func (x *ListQuotaGroupsRequest) String() string
type ListQuotaGroupsResponse ¶ added in v0.19.0
type ListQuotaGroupsResponse struct { // The methods, current quota usage and limits per each group. The quota is // shared between all methods in the group. The groups are sorted in // descending order based on // [quota_usage][google.shopping.css.v1.QuotaGroup.quota_usage]. QuotaGroups []*QuotaGroup `protobuf:"bytes,1,rep,name=quota_groups,json=quotaGroups,proto3" json:"quota_groups,omitempty"` // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for the ListMethodGroups method.
func (*ListQuotaGroupsResponse) Descriptor
deprecated
added in
v0.19.0
func (*ListQuotaGroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListQuotaGroupsResponse.ProtoReflect.Descriptor instead.
func (*ListQuotaGroupsResponse) GetNextPageToken ¶ added in v0.19.0
func (x *ListQuotaGroupsResponse) GetNextPageToken() string
func (*ListQuotaGroupsResponse) GetQuotaGroups ¶ added in v0.19.0
func (x *ListQuotaGroupsResponse) GetQuotaGroups() []*QuotaGroup
func (*ListQuotaGroupsResponse) ProtoMessage ¶ added in v0.19.0
func (*ListQuotaGroupsResponse) ProtoMessage()
func (*ListQuotaGroupsResponse) ProtoReflect ¶ added in v0.19.0
func (x *ListQuotaGroupsResponse) ProtoReflect() protoreflect.Message
func (*ListQuotaGroupsResponse) Reset ¶ added in v0.19.0
func (x *ListQuotaGroupsResponse) Reset()
func (*ListQuotaGroupsResponse) String ¶ added in v0.19.0
func (x *ListQuotaGroupsResponse) String() string
type MethodDetails ¶ added in v0.19.0
type MethodDetails struct { // Output only. The name of the method for example // `cssproductsservice.listcssproducts`. Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` // Output only. The API version that the method belongs to. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // Output only. The sub-API that the method belongs to. In the CSS API, this // is always `css`. Subapi string `protobuf:"bytes,3,opt,name=subapi,proto3" json:"subapi,omitempty"` // Output only. The path for the method such as // `v1/cssproductsservice.listcssproducts`. Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
The method details per method in the CSS API.
func (*MethodDetails) Descriptor
deprecated
added in
v0.19.0
func (*MethodDetails) Descriptor() ([]byte, []int)
Deprecated: Use MethodDetails.ProtoReflect.Descriptor instead.
func (*MethodDetails) GetMethod ¶ added in v0.19.0
func (x *MethodDetails) GetMethod() string
func (*MethodDetails) GetPath ¶ added in v0.19.0
func (x *MethodDetails) GetPath() string
func (*MethodDetails) GetSubapi ¶ added in v0.19.0
func (x *MethodDetails) GetSubapi() string
func (*MethodDetails) GetVersion ¶ added in v0.19.0
func (x *MethodDetails) GetVersion() string
func (*MethodDetails) ProtoMessage ¶ added in v0.19.0
func (*MethodDetails) ProtoMessage()
func (*MethodDetails) ProtoReflect ¶ added in v0.19.0
func (x *MethodDetails) ProtoReflect() protoreflect.Message
func (*MethodDetails) Reset ¶ added in v0.19.0
func (x *MethodDetails) Reset()
func (*MethodDetails) String ¶ added in v0.19.0
func (x *MethodDetails) 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 QuotaGroup ¶ added in v0.19.0
type QuotaGroup struct { // Identifier. The resource name of the quota group. // Format: accounts/{account}/quotas/{group} // Example: `accounts/12345678/quotas/css-products-insert` // Note: The {group} part is not guaranteed to follow a specific pattern. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The current quota usage, meaning the number of calls already // made on a given day to the methods in the group. The daily quota limits // reset at at 12:00 PM midday UTC. QuotaUsage int64 `protobuf:"varint,2,opt,name=quota_usage,json=quotaUsage,proto3" json:"quota_usage,omitempty"` // Output only. The maximum number of calls allowed per day for the group. QuotaLimit int64 `protobuf:"varint,3,opt,name=quota_limit,json=quotaLimit,proto3" json:"quota_limit,omitempty"` // Output only. The maximum number of calls allowed per minute for the group. QuotaMinuteLimit int64 `protobuf:"varint,5,opt,name=quota_minute_limit,json=quotaMinuteLimit,proto3" json:"quota_minute_limit,omitempty"` // Output only. List of all methods group quota applies to. MethodDetails []*MethodDetails `protobuf:"bytes,4,rep,name=method_details,json=methodDetails,proto3" json:"method_details,omitempty"` // contains filtered or unexported fields }
The group information for methods in the CSS API. The quota is shared between all methods in the group. Even if none of the methods within the group have usage the information for the group is returned.
func (*QuotaGroup) Descriptor
deprecated
added in
v0.19.0
func (*QuotaGroup) Descriptor() ([]byte, []int)
Deprecated: Use QuotaGroup.ProtoReflect.Descriptor instead.
func (*QuotaGroup) GetMethodDetails ¶ added in v0.19.0
func (x *QuotaGroup) GetMethodDetails() []*MethodDetails
func (*QuotaGroup) GetName ¶ added in v0.19.0
func (x *QuotaGroup) GetName() string
func (*QuotaGroup) GetQuotaLimit ¶ added in v0.19.0
func (x *QuotaGroup) GetQuotaLimit() int64
func (*QuotaGroup) GetQuotaMinuteLimit ¶ added in v0.19.0
func (x *QuotaGroup) GetQuotaMinuteLimit() int64
func (*QuotaGroup) GetQuotaUsage ¶ added in v0.19.0
func (x *QuotaGroup) GetQuotaUsage() int64
func (*QuotaGroup) ProtoMessage ¶ added in v0.19.0
func (*QuotaGroup) ProtoMessage()
func (*QuotaGroup) ProtoReflect ¶ added in v0.19.0
func (x *QuotaGroup) ProtoReflect() protoreflect.Message
func (*QuotaGroup) Reset ¶ added in v0.19.0
func (x *QuotaGroup) Reset()
func (*QuotaGroup) String ¶ added in v0.19.0
func (x *QuotaGroup) String() string
type QuotaServiceClient ¶ added in v0.19.0
type QuotaServiceClient interface { // Lists the daily call quota and usage per group for your CSS Center account. ListQuotaGroups(ctx context.Context, in *ListQuotaGroupsRequest, opts ...grpc.CallOption) (*ListQuotaGroupsResponse, error) }
QuotaServiceClient is the client API for QuotaService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQuotaServiceClient ¶ added in v0.19.0
func NewQuotaServiceClient(cc grpc.ClientConnInterface) QuotaServiceClient
type QuotaServiceServer ¶ added in v0.19.0
type QuotaServiceServer interface { // Lists the daily call quota and usage per group for your CSS Center account. ListQuotaGroups(context.Context, *ListQuotaGroupsRequest) (*ListQuotaGroupsResponse, error) }
QuotaServiceServer is the server API for QuotaService service.
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) Descriptor() protoreflect.EnumDescriptor
func (SubscriptionPeriod) Enum ¶ added in v0.12.0
func (x SubscriptionPeriod) Enum() *SubscriptionPeriod
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 (x SubscriptionPeriod) Number() protoreflect.EnumNumber
func (SubscriptionPeriod) String ¶ added in v0.12.0
func (x SubscriptionPeriod) String() string
func (SubscriptionPeriod) Type ¶ added in v0.12.0
func (SubscriptionPeriod) Type() protoreflect.EnumType
type UnimplementedAccountLabelsServiceServer ¶
type UnimplementedAccountLabelsServiceServer struct { }
UnimplementedAccountLabelsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAccountLabelsServiceServer) CreateAccountLabel ¶
func (*UnimplementedAccountLabelsServiceServer) CreateAccountLabel(context.Context, *CreateAccountLabelRequest) (*AccountLabel, error)
func (*UnimplementedAccountLabelsServiceServer) DeleteAccountLabel ¶
func (*UnimplementedAccountLabelsServiceServer) DeleteAccountLabel(context.Context, *DeleteAccountLabelRequest) (*emptypb.Empty, error)
func (*UnimplementedAccountLabelsServiceServer) ListAccountLabels ¶
func (*UnimplementedAccountLabelsServiceServer) ListAccountLabels(context.Context, *ListAccountLabelsRequest) (*ListAccountLabelsResponse, error)
func (*UnimplementedAccountLabelsServiceServer) UpdateAccountLabel ¶
func (*UnimplementedAccountLabelsServiceServer) UpdateAccountLabel(context.Context, *UpdateAccountLabelRequest) (*AccountLabel, error)
type UnimplementedAccountsServiceServer ¶
type UnimplementedAccountsServiceServer struct { }
UnimplementedAccountsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAccountsServiceServer) GetAccount ¶
func (*UnimplementedAccountsServiceServer) GetAccount(context.Context, *GetAccountRequest) (*Account, error)
func (*UnimplementedAccountsServiceServer) ListChildAccounts ¶
func (*UnimplementedAccountsServiceServer) ListChildAccounts(context.Context, *ListChildAccountsRequest) (*ListChildAccountsResponse, error)
func (*UnimplementedAccountsServiceServer) UpdateLabels ¶
func (*UnimplementedAccountsServiceServer) UpdateLabels(context.Context, *UpdateAccountLabelsRequest) (*Account, error)
type UnimplementedCssProductInputsServiceServer ¶
type UnimplementedCssProductInputsServiceServer struct { }
UnimplementedCssProductInputsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedCssProductInputsServiceServer) DeleteCssProductInput ¶
func (*UnimplementedCssProductInputsServiceServer) DeleteCssProductInput(context.Context, *DeleteCssProductInputRequest) (*emptypb.Empty, error)
func (*UnimplementedCssProductInputsServiceServer) InsertCssProductInput ¶
func (*UnimplementedCssProductInputsServiceServer) InsertCssProductInput(context.Context, *InsertCssProductInputRequest) (*CssProductInput, error)
func (*UnimplementedCssProductInputsServiceServer) UpdateCssProductInput ¶ added in v0.15.0
func (*UnimplementedCssProductInputsServiceServer) UpdateCssProductInput(context.Context, *UpdateCssProductInputRequest) (*CssProductInput, error)
type UnimplementedCssProductsServiceServer ¶
type UnimplementedCssProductsServiceServer struct { }
UnimplementedCssProductsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedCssProductsServiceServer) GetCssProduct ¶
func (*UnimplementedCssProductsServiceServer) GetCssProduct(context.Context, *GetCssProductRequest) (*CssProduct, error)
func (*UnimplementedCssProductsServiceServer) ListCssProducts ¶
func (*UnimplementedCssProductsServiceServer) ListCssProducts(context.Context, *ListCssProductsRequest) (*ListCssProductsResponse, error)
type UnimplementedQuotaServiceServer ¶ added in v0.19.0
type UnimplementedQuotaServiceServer struct { }
UnimplementedQuotaServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedQuotaServiceServer) ListQuotaGroups ¶ added in v0.19.0
func (*UnimplementedQuotaServiceServer) ListQuotaGroups(context.Context, *ListQuotaGroupsRequest) (*ListQuotaGroupsResponse, error)
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 (x *UpdateAccountLabelRequest) ProtoReflect() protoreflect.Message
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 (x *UpdateAccountLabelsRequest) ProtoReflect() protoreflect.Message
func (*UpdateAccountLabelsRequest) Reset ¶
func (x *UpdateAccountLabelsRequest) Reset()
func (*UpdateAccountLabelsRequest) String ¶
func (x *UpdateAccountLabelsRequest) String() string
type UpdateCssProductInputRequest ¶ added in v0.15.0
type UpdateCssProductInputRequest struct { // Required. The CSS product input resource to update. Information you submit // will be applied to the processed CSS product as well. CssProductInput *CssProductInput `protobuf:"bytes,1,opt,name=css_product_input,json=cssProductInput,proto3" json:"css_product_input,omitempty"` // The list of CSS product attributes to be updated. // // If the update mask is omitted, then it is treated as implied field mask // equivalent to all fields that are populated (have a non-empty value). // // Attributes specified in the update mask without a value specified in the // body will be deleted from the CSS product. // // Update mask can only be specified for top level fields in // attributes and custom attributes. // // To specify the update mask for custom attributes you need to add the // `custom_attribute.` prefix. // // Providing special "*" value for full CSS product replacement is not // supported. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request message for the UpdateCssProductInput method.
func (*UpdateCssProductInputRequest) Descriptor
deprecated
added in
v0.15.0
func (*UpdateCssProductInputRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCssProductInputRequest.ProtoReflect.Descriptor instead.
func (*UpdateCssProductInputRequest) GetCssProductInput ¶ added in v0.15.0
func (x *UpdateCssProductInputRequest) GetCssProductInput() *CssProductInput
func (*UpdateCssProductInputRequest) GetUpdateMask ¶ added in v0.15.0
func (x *UpdateCssProductInputRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateCssProductInputRequest) ProtoMessage ¶ added in v0.15.0
func (*UpdateCssProductInputRequest) ProtoMessage()
func (*UpdateCssProductInputRequest) ProtoReflect ¶ added in v0.15.0
func (x *UpdateCssProductInputRequest) ProtoReflect() protoreflect.Message
func (*UpdateCssProductInputRequest) Reset ¶ added in v0.15.0
func (x *UpdateCssProductInputRequest) Reset()
func (*UpdateCssProductInputRequest) String ¶ added in v0.15.0
func (x *UpdateCssProductInputRequest) String() string