Variables
LfpStore_StoreMatchingState_name, LfpStore_StoreMatchingState_value
var (
LfpStore_StoreMatchingState_name = map[int32]string{
0: "STORE_MATCHING_STATE_UNSPECIFIED",
1: "STORE_MATCHING_STATE_MATCHED",
2: "STORE_MATCHING_STATE_FAILED",
}
LfpStore_StoreMatchingState_value = map[string]int32{
"STORE_MATCHING_STATE_UNSPECIFIED": 0,
"STORE_MATCHING_STATE_MATCHED": 1,
"STORE_MATCHING_STATE_FAILED": 2,
}
)
Enum value maps for LfpStore_StoreMatchingState.
File_google_shopping_merchant_lfp_v1beta_lfpinventory_proto
var File_google_shopping_merchant_lfp_v1beta_lfpinventory_proto protoreflect.FileDescriptor
File_google_shopping_merchant_lfp_v1beta_lfpsale_proto
var File_google_shopping_merchant_lfp_v1beta_lfpsale_proto protoreflect.FileDescriptor
File_google_shopping_merchant_lfp_v1beta_lfpstore_proto
var File_google_shopping_merchant_lfp_v1beta_lfpstore_proto protoreflect.FileDescriptor
Functions
func RegisterLfpInventoryServiceServer
func RegisterLfpInventoryServiceServer(s *grpc.Server, srv LfpInventoryServiceServer)
func RegisterLfpSaleServiceServer
func RegisterLfpSaleServiceServer(s *grpc.Server, srv LfpSaleServiceServer)
func RegisterLfpStoreServiceServer
func RegisterLfpStoreServiceServer(s *grpc.Server, srv LfpStoreServiceServer)
DeleteLfpStoreRequest
type DeleteLfpStoreRequest struct {
// Required. The name of the store to delete for the target merchant account.
// Format: `accounts/{account}/lfpStores/{target_merchant}~{store_code}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for the DeleteLfpStore method.
func (*DeleteLfpStoreRequest) Descriptor
func (*DeleteLfpStoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteLfpStoreRequest.ProtoReflect.Descriptor instead.
func (*DeleteLfpStoreRequest) GetName
func (x *DeleteLfpStoreRequest) GetName() string
func (*DeleteLfpStoreRequest) ProtoMessage
func (*DeleteLfpStoreRequest) ProtoMessage()
func (*DeleteLfpStoreRequest) ProtoReflect
func (x *DeleteLfpStoreRequest) ProtoReflect() protoreflect.Message
func (*DeleteLfpStoreRequest) Reset
func (x *DeleteLfpStoreRequest) Reset()
func (*DeleteLfpStoreRequest) String
func (x *DeleteLfpStoreRequest) String() string
GetLfpStoreRequest
type GetLfpStoreRequest struct {
// Required. The name of the store to retrieve.
// Format: `accounts/{account}/lfpStores/{target_merchant}~{store_code}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for the GetLfpStore
method.
func (*GetLfpStoreRequest) Descriptor
func (*GetLfpStoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLfpStoreRequest.ProtoReflect.Descriptor instead.
func (*GetLfpStoreRequest) GetName
func (x *GetLfpStoreRequest) GetName() string
func (*GetLfpStoreRequest) ProtoMessage
func (*GetLfpStoreRequest) ProtoMessage()
func (*GetLfpStoreRequest) ProtoReflect
func (x *GetLfpStoreRequest) ProtoReflect() protoreflect.Message
func (*GetLfpStoreRequest) Reset
func (x *GetLfpStoreRequest) Reset()
func (*GetLfpStoreRequest) String
func (x *GetLfpStoreRequest) String() string
InsertLfpInventoryRequest
type InsertLfpInventoryRequest struct {
// Required. The LFP provider account.
// Format: `accounts/{account}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The inventory to insert.
LfpInventory *LfpInventory `protobuf:"bytes,2,opt,name=lfp_inventory,json=lfpInventory,proto3" json:"lfp_inventory,omitempty"`
// contains filtered or unexported fields
}
Request message for the InsertLfpInventory
method.
func (*InsertLfpInventoryRequest) Descriptor
func (*InsertLfpInventoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use InsertLfpInventoryRequest.ProtoReflect.Descriptor instead.
func (*InsertLfpInventoryRequest) GetLfpInventory
func (x *InsertLfpInventoryRequest) GetLfpInventory() *LfpInventory
func (*InsertLfpInventoryRequest) GetParent
func (x *InsertLfpInventoryRequest) GetParent() string
func (*InsertLfpInventoryRequest) ProtoMessage
func (*InsertLfpInventoryRequest) ProtoMessage()
func (*InsertLfpInventoryRequest) ProtoReflect
func (x *InsertLfpInventoryRequest) ProtoReflect() protoreflect.Message
func (*InsertLfpInventoryRequest) Reset
func (x *InsertLfpInventoryRequest) Reset()
func (*InsertLfpInventoryRequest) String
func (x *InsertLfpInventoryRequest) String() string
InsertLfpSaleRequest
type InsertLfpSaleRequest struct {
// Required. The LFP provider account.
// Format: `accounts/{lfp_partner}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The sale to insert.
LfpSale *LfpSale `protobuf:"bytes,2,opt,name=lfp_sale,json=lfpSale,proto3" json:"lfp_sale,omitempty"`
// contains filtered or unexported fields
}
Request message for the InsertLfpSale method.
func (*InsertLfpSaleRequest) Descriptor
func (*InsertLfpSaleRequest) Descriptor() ([]byte, []int)
Deprecated: Use InsertLfpSaleRequest.ProtoReflect.Descriptor instead.
func (*InsertLfpSaleRequest) GetLfpSale
func (x *InsertLfpSaleRequest) GetLfpSale() *LfpSale
func (*InsertLfpSaleRequest) GetParent
func (x *InsertLfpSaleRequest) GetParent() string
func (*InsertLfpSaleRequest) ProtoMessage
func (*InsertLfpSaleRequest) ProtoMessage()
func (*InsertLfpSaleRequest) ProtoReflect
func (x *InsertLfpSaleRequest) ProtoReflect() protoreflect.Message
func (*InsertLfpSaleRequest) Reset
func (x *InsertLfpSaleRequest) Reset()
func (*InsertLfpSaleRequest) String
func (x *InsertLfpSaleRequest) String() string
InsertLfpStoreRequest
type InsertLfpStoreRequest struct {
// Required. The LFP provider account
// Format: `accounts/{account}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The store to insert.
LfpStore *LfpStore `protobuf:"bytes,2,opt,name=lfp_store,json=lfpStore,proto3" json:"lfp_store,omitempty"`
// contains filtered or unexported fields
}
Request message for the InsertLfpStore method.
func (*InsertLfpStoreRequest) Descriptor
func (*InsertLfpStoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use InsertLfpStoreRequest.ProtoReflect.Descriptor instead.
func (*InsertLfpStoreRequest) GetLfpStore
func (x *InsertLfpStoreRequest) GetLfpStore() *LfpStore
func (*InsertLfpStoreRequest) GetParent
func (x *InsertLfpStoreRequest) GetParent() string
func (*InsertLfpStoreRequest) ProtoMessage
func (*InsertLfpStoreRequest) ProtoMessage()
func (*InsertLfpStoreRequest) ProtoReflect
func (x *InsertLfpStoreRequest) ProtoReflect() protoreflect.Message
func (*InsertLfpStoreRequest) Reset
func (x *InsertLfpStoreRequest) Reset()
func (*InsertLfpStoreRequest) String
func (x *InsertLfpStoreRequest) String() string
LfpInventory
type LfpInventory struct {
// Output only. Identifier. The name for the `LfpInventory` resource.
// Format:
// `accounts/{account}/lfpInventories/{target_merchant}~{store_code}~{offer}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The Merchant Center ID of the merchant to submit the inventory
// for.
TargetAccount int64 `protobuf:"varint,2,opt,name=target_account,json=targetAccount,proto3" json:"target_account,omitempty"`
// Required. The identifier of the merchant's store. Either the store code
// inserted through `InsertLfpStore` or the store code in the Business
// Profile.
StoreCode string `protobuf:"bytes,3,opt,name=store_code,json=storeCode,proto3" json:"store_code,omitempty"`
// Required. Immutable. A unique identifier for the product. If both
// inventories and sales are submitted for a merchant, this id should match
// for the same product.
//
// **Note**: if the merchant sells the same product new and used, they should
// have different IDs.
OfferId string `protobuf:"bytes,4,opt,name=offer_id,json=offerId,proto3" json:"offer_id,omitempty"`
// Required. The [CLDR territory
// code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml)
// for the country where the product is sold.
RegionCode string `protobuf:"bytes,5,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
// Required. The two-letter ISO 639-1 language code for the item.
ContentLanguage string `protobuf:"bytes,6,opt,name=content_language,json=contentLanguage,proto3" json:"content_language,omitempty"`
// Optional. The Global Trade Item Number of the product.
Gtin *string `protobuf:"bytes,7,opt,name=gtin,proto3,oneof" json:"gtin,omitempty"`
// Optional. The current price of the product.
Price *typepb.Price `protobuf:"bytes,8,opt,name=price,proto3" json:"price,omitempty"`
// Required. Availability of the product at this store.
// For accepted attribute values, see the [local product inventory data
// specification](https://support.google.com/merchants/answer/3061342)
Availability string `protobuf:"bytes,9,opt,name=availability,proto3" json:"availability,omitempty"`
// Optional. Quantity of the product available at this store. Must be greater
// than or equal to zero.
Quantity *int64 `protobuf:"varint,10,opt,name=quantity,proto3,oneof" json:"quantity,omitempty"`
// Optional. The time when the inventory is collected. If not set, it will be
// set to the time when the inventory is submitted.
CollectionTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=collection_time,json=collectionTime,proto3" json:"collection_time,omitempty"`
// Optional. Supported pickup method for this offer. Unless the value is "not
// supported", this field must be submitted together with `pickupSla`. For
// accepted attribute values, see the [local product inventory data
// specification](https://support.google.com/merchants/answer/3061342).
PickupMethod *string `protobuf:"bytes,12,opt,name=pickup_method,json=pickupMethod,proto3,oneof" json:"pickup_method,omitempty"`
// Optional. Expected date that an order will be ready for pickup relative to
// the order date. Must be submitted together with `pickupMethod`. For
// accepted attribute values, see the [local product inventory data
// specification](https://support.google.com/merchants/answer/3061342).
PickupSla *string `protobuf:"bytes,13,opt,name=pickup_sla,json=pickupSla,proto3,oneof" json:"pickup_sla,omitempty"`
// Optional. The [feed
// label](https://developers.google.com/shopping-content/guides/products/feed-labels)
// for the product. If this is not set, it will default to `regionCode`.
FeedLabel *string `protobuf:"bytes,14,opt,name=feed_label,json=feedLabel,proto3,oneof" json:"feed_label,omitempty"`
// contains filtered or unexported fields
}
Local Inventory for the merchant.
func (*LfpInventory) Descriptor
func (*LfpInventory) Descriptor() ([]byte, []int)
Deprecated: Use LfpInventory.ProtoReflect.Descriptor instead.
func (*LfpInventory) GetAvailability
func (x *LfpInventory) GetAvailability() string
func (*LfpInventory) GetCollectionTime
func (x *LfpInventory) GetCollectionTime() *timestamppb.Timestamp
func (*LfpInventory) GetContentLanguage
func (x *LfpInventory) GetContentLanguage() string
func (*LfpInventory) GetFeedLabel
func (x *LfpInventory) GetFeedLabel() string
func (*LfpInventory) GetGtin
func (x *LfpInventory) GetGtin() string
func (*LfpInventory) GetName
func (x *LfpInventory) GetName() string
func (*LfpInventory) GetOfferId
func (x *LfpInventory) GetOfferId() string
func (*LfpInventory) GetPickupMethod
func (x *LfpInventory) GetPickupMethod() string
func (*LfpInventory) GetPickupSla
func (x *LfpInventory) GetPickupSla() string
func (*LfpInventory) GetPrice
func (x *LfpInventory) GetPrice() *typepb.Price
func (*LfpInventory) GetQuantity
func (x *LfpInventory) GetQuantity() int64
func (*LfpInventory) GetRegionCode
func (x *LfpInventory) GetRegionCode() string
func (*LfpInventory) GetStoreCode
func (x *LfpInventory) GetStoreCode() string
func (*LfpInventory) GetTargetAccount
func (x *LfpInventory) GetTargetAccount() int64
func (*LfpInventory) ProtoMessage
func (*LfpInventory) ProtoMessage()
func (*LfpInventory) ProtoReflect
func (x *LfpInventory) ProtoReflect() protoreflect.Message
func (*LfpInventory) Reset
func (x *LfpInventory) Reset()
func (*LfpInventory) String
func (x *LfpInventory) String() string
LfpInventoryServiceClient
type LfpInventoryServiceClient interface {
// Inserts a `LfpInventory` resource for the given target merchant account. If
// the resource already exists, it will be replaced. The inventory
// automatically expires after 30 days.
InsertLfpInventory(ctx context.Context, in *InsertLfpInventoryRequest, opts ...grpc.CallOption) (*LfpInventory, error)
}
LfpInventoryServiceClient is the client API for LfpInventoryService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewLfpInventoryServiceClient
func NewLfpInventoryServiceClient(cc grpc.ClientConnInterface) LfpInventoryServiceClient
LfpInventoryServiceServer
type LfpInventoryServiceServer interface {
// Inserts a `LfpInventory` resource for the given target merchant account. If
// the resource already exists, it will be replaced. The inventory
// automatically expires after 30 days.
InsertLfpInventory(context.Context, *InsertLfpInventoryRequest) (*LfpInventory, error)
}
LfpInventoryServiceServer is the server API for LfpInventoryService service.
LfpSale
type LfpSale struct {
// Output only. Identifier. The name of the `LfpSale` resource.
// Format:
// `accounts/{account}/lfpSales/{sale}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The Merchant Center ID of the merchant to submit the sale for.
TargetAccount int64 `protobuf:"varint,2,opt,name=target_account,json=targetAccount,proto3" json:"target_account,omitempty"`
// Required. The identifier of the merchant's store. Either a `storeCode`
// inserted through the API or the code of the store in the Business Profile.
StoreCode string `protobuf:"bytes,3,opt,name=store_code,json=storeCode,proto3" json:"store_code,omitempty"`
// Required. A unique identifier for the product. If both inventories and
// sales are submitted for a merchant, this id should match for the same
// product.
//
// **Note**: if the merchant sells the same product new and used, they should
// have different IDs.
OfferId string `protobuf:"bytes,4,opt,name=offer_id,json=offerId,proto3" json:"offer_id,omitempty"`
// Required. The [CLDR territory
// code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml)
// for the country where the product is sold.
RegionCode string `protobuf:"bytes,5,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
// Required. The two-letter ISO 639-1 language code for the item.
ContentLanguage string `protobuf:"bytes,6,opt,name=content_language,json=contentLanguage,proto3" json:"content_language,omitempty"`
// Required. The Global Trade Item Number of the sold product.
Gtin string `protobuf:"bytes,7,opt,name=gtin,proto3" json:"gtin,omitempty"`
// Required. The unit price of the product.
Price *typepb.Price `protobuf:"bytes,8,opt,name=price,proto3" json:"price,omitempty"`
// Required. The relative change of the available quantity. Negative for items
// returned.
Quantity int64 `protobuf:"varint,9,opt,name=quantity,proto3" json:"quantity,omitempty"`
// Required. The timestamp for the sale.
SaleTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=sale_time,json=saleTime,proto3" json:"sale_time,omitempty"`
// Output only. System generated globally unique ID for the `LfpSale`.
Uid *string `protobuf:"bytes,11,opt,name=uid,proto3,oneof" json:"uid,omitempty"`
// Optional. The [feed
// label](https://developers.google.com/shopping-content/guides/products/feed-labels)
// for the product. If this is not set, it will default to `regionCode`.
FeedLabel *string `protobuf:"bytes,12,opt,name=feed_label,json=feedLabel,proto3,oneof" json:"feed_label,omitempty"`
// contains filtered or unexported fields
}
A sale for the merchant.
func (*LfpSale) Descriptor
Deprecated: Use LfpSale.ProtoReflect.Descriptor instead.
func (*LfpSale) GetContentLanguage
func (*LfpSale) GetFeedLabel
func (*LfpSale) GetGtin
func (*LfpSale) GetName
func (*LfpSale) GetOfferId
func (*LfpSale) GetPrice
func (*LfpSale) GetQuantity
func (*LfpSale) GetRegionCode
func (*LfpSale) GetSaleTime
func (x *LfpSale) GetSaleTime() *timestamppb.Timestamp
func (*LfpSale) GetStoreCode
func (*LfpSale) GetTargetAccount
func (*LfpSale) GetUid
func (*LfpSale) ProtoMessage
func (*LfpSale) ProtoMessage()
func (*LfpSale) ProtoReflect
func (x *LfpSale) ProtoReflect() protoreflect.Message
func (*LfpSale) Reset
func (x *LfpSale) Reset()
func (*LfpSale) String
LfpSaleServiceClient
type LfpSaleServiceClient interface {
// Inserts a `LfpSale` for the given merchant.
InsertLfpSale(ctx context.Context, in *InsertLfpSaleRequest, opts ...grpc.CallOption) (*LfpSale, error)
}
LfpSaleServiceClient is the client API for LfpSaleService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewLfpSaleServiceClient
func NewLfpSaleServiceClient(cc grpc.ClientConnInterface) LfpSaleServiceClient
LfpSaleServiceServer
type LfpSaleServiceServer interface {
// Inserts a `LfpSale` for the given merchant.
InsertLfpSale(context.Context, *InsertLfpSaleRequest) (*LfpSale, error)
}
LfpSaleServiceServer is the server API for LfpSaleService service.
LfpStore
type LfpStore struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
TargetAccount int64 `protobuf:"varint,2,opt,name=target_account,json=targetAccount,proto3" json:"target_account,omitempty"`
StoreCode string `protobuf:"bytes,3,opt,name=store_code,json=storeCode,proto3" json:"store_code,omitempty"`
StoreAddress string `protobuf:"bytes,4,opt,name=store_address,json=storeAddress,proto3" json:"store_address,omitempty"`
StoreName *string `protobuf:"bytes,5,opt,name=store_name,json=storeName,proto3,oneof" json:"store_name,omitempty"`
PhoneNumber *string `protobuf:"bytes,6,opt,name=phone_number,json=phoneNumber,proto3,oneof" json:"phone_number,omitempty"`
WebsiteUri *string `protobuf:"bytes,7,opt,name=website_uri,json=websiteUri,proto3,oneof" json:"website_uri,omitempty"`
GcidCategory []string `protobuf:"bytes,8,rep,name=gcid_category,json=gcidCategory,proto3" json:"gcid_category,omitempty"`
PlaceId *string `protobuf:"bytes,9,opt,name=place_id,json=placeId,proto3,oneof" json:"place_id,omitempty"`
MatchingState LfpStore_StoreMatchingState "" /* 171 byte string literal not displayed */
MatchingStateHint *string `protobuf:"bytes,11,opt,name=matching_state_hint,json=matchingStateHint,proto3,oneof" json:"matching_state_hint,omitempty"`
}
A store for the merchant. This will be used to match to a store under the Google Business Profile of the target merchant. If a matching store can't be found, the inventories or sales submitted with the store code will not be used.
func (*LfpStore) Descriptor
Deprecated: Use LfpStore.ProtoReflect.Descriptor instead.
func (*LfpStore) GetGcidCategory
func (*LfpStore) GetMatchingState
func (x *LfpStore) GetMatchingState() LfpStore_StoreMatchingState
func (*LfpStore) GetMatchingStateHint
func (*LfpStore) GetName
func (*LfpStore) GetPhoneNumber
func (*LfpStore) GetPlaceId
func (*LfpStore) GetStoreAddress
func (*LfpStore) GetStoreCode
func (*LfpStore) GetStoreName
func (*LfpStore) GetTargetAccount
func (*LfpStore) GetWebsiteUri
func (*LfpStore) ProtoMessage
func (*LfpStore) ProtoMessage()
func (*LfpStore) ProtoReflect
func (x *LfpStore) ProtoReflect() protoreflect.Message
func (*LfpStore) Reset
func (x *LfpStore) Reset()
func (*LfpStore) String
LfpStoreServiceClient
type LfpStoreServiceClient interface {
// Retrieves information about a store.
GetLfpStore(ctx context.Context, in *GetLfpStoreRequest, opts ...grpc.CallOption) (*LfpStore, error)
// Inserts a store for the target merchant. If the store with the same store
// code already exists, it will be replaced.
InsertLfpStore(ctx context.Context, in *InsertLfpStoreRequest, opts ...grpc.CallOption) (*LfpStore, error)
// Deletes a store for a target merchant.
DeleteLfpStore(ctx context.Context, in *DeleteLfpStoreRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Lists the stores of the target merchant, specified by the filter in
// `ListLfpStoresRequest`.
ListLfpStores(ctx context.Context, in *ListLfpStoresRequest, opts ...grpc.CallOption) (*ListLfpStoresResponse, error)
}
LfpStoreServiceClient is the client API for LfpStoreService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewLfpStoreServiceClient
func NewLfpStoreServiceClient(cc grpc.ClientConnInterface) LfpStoreServiceClient
LfpStoreServiceServer
type LfpStoreServiceServer interface {
// Retrieves information about a store.
GetLfpStore(context.Context, *GetLfpStoreRequest) (*LfpStore, error)
// Inserts a store for the target merchant. If the store with the same store
// code already exists, it will be replaced.
InsertLfpStore(context.Context, *InsertLfpStoreRequest) (*LfpStore, error)
// Deletes a store for a target merchant.
DeleteLfpStore(context.Context, *DeleteLfpStoreRequest) (*emptypb.Empty, error)
// Lists the stores of the target merchant, specified by the filter in
// `ListLfpStoresRequest`.
ListLfpStores(context.Context, *ListLfpStoresRequest) (*ListLfpStoresResponse, error)
}
LfpStoreServiceServer is the server API for LfpStoreService service.
LfpStore_StoreMatchingState
type LfpStore_StoreMatchingState int32
The state of matching LfpStore
to a Google Business Profile.
LfpStore_STORE_MATCHING_STATE_UNSPECIFIED, LfpStore_STORE_MATCHING_STATE_MATCHED, LfpStore_STORE_MATCHING_STATE_FAILED
const (
// Store matching state unspecified.
LfpStore_STORE_MATCHING_STATE_UNSPECIFIED LfpStore_StoreMatchingState = 0
// The `LfpStore` is successfully matched with a Google Business Profile
// store.
LfpStore_STORE_MATCHING_STATE_MATCHED LfpStore_StoreMatchingState = 1
// The `LfpStore` is not matched with a Google Business Profile store.
LfpStore_STORE_MATCHING_STATE_FAILED LfpStore_StoreMatchingState = 2
)
func (LfpStore_StoreMatchingState) Descriptor
func (LfpStore_StoreMatchingState) Descriptor() protoreflect.EnumDescriptor
func (LfpStore_StoreMatchingState) Enum
func (x LfpStore_StoreMatchingState) Enum() *LfpStore_StoreMatchingState
func (LfpStore_StoreMatchingState) EnumDescriptor
func (LfpStore_StoreMatchingState) EnumDescriptor() ([]byte, []int)
Deprecated: Use LfpStore_StoreMatchingState.Descriptor instead.
func (LfpStore_StoreMatchingState) Number
func (x LfpStore_StoreMatchingState) Number() protoreflect.EnumNumber
func (LfpStore_StoreMatchingState) String
func (x LfpStore_StoreMatchingState) String() string
func (LfpStore_StoreMatchingState) Type
func (LfpStore_StoreMatchingState) Type() protoreflect.EnumType
ListLfpStoresRequest
type ListLfpStoresRequest struct {
// Required. The LFP partner.
// Format: `accounts/{account}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The Merchant Center id of the merchant to list stores for.
TargetAccount int64 `protobuf:"varint,2,opt,name=target_account,json=targetAccount,proto3" json:"target_account,omitempty"`
// Optional. The maximum number of `LfpStore` resources for the given account
// to return. The service returns fewer than this value if the number of
// stores for the given account is less than the `pageSize`. The default value
// is 250. The maximum value is 1000; If a value higher than the maximum is
// specified, then the `pageSize` will default to the maximum.
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListLfpStoresRequest`
// call. Provide the page token to retrieve the subsequent page. When
// paginating, all other parameters provided to `ListLfpStoresRequest` must
// match the call that provided the page token. The token returned as
// [nextPageToken][google.shopping.merchant.lfp.v1beta.ListLfpStoresResponse.next_page_token]
// in the response to the previous request.
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Request message for the ListLfpStores method.
func (*ListLfpStoresRequest) Descriptor
func (*ListLfpStoresRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListLfpStoresRequest.ProtoReflect.Descriptor instead.
func (*ListLfpStoresRequest) GetPageSize
func (x *ListLfpStoresRequest) GetPageSize() int32
func (*ListLfpStoresRequest) GetPageToken
func (x *ListLfpStoresRequest) GetPageToken() string
func (*ListLfpStoresRequest) GetParent
func (x *ListLfpStoresRequest) GetParent() string
func (*ListLfpStoresRequest) GetTargetAccount
func (x *ListLfpStoresRequest) GetTargetAccount() int64
func (*ListLfpStoresRequest) ProtoMessage
func (*ListLfpStoresRequest) ProtoMessage()
func (*ListLfpStoresRequest) ProtoReflect
func (x *ListLfpStoresRequest) ProtoReflect() protoreflect.Message
func (*ListLfpStoresRequest) Reset
func (x *ListLfpStoresRequest) Reset()
func (*ListLfpStoresRequest) String
func (x *ListLfpStoresRequest) String() string
ListLfpStoresResponse
type ListLfpStoresResponse struct {
// The stores from the specified merchant.
LfpStores []*LfpStore `protobuf:"bytes,1,rep,name=lfp_stores,json=lfpStores,proto3" json:"lfp_stores,omitempty"`
// A token, which can be sent as `pageToken` 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 ListLfpStores method.
func (*ListLfpStoresResponse) Descriptor
func (*ListLfpStoresResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListLfpStoresResponse.ProtoReflect.Descriptor instead.
func (*ListLfpStoresResponse) GetLfpStores
func (x *ListLfpStoresResponse) GetLfpStores() []*LfpStore
func (*ListLfpStoresResponse) GetNextPageToken
func (x *ListLfpStoresResponse) GetNextPageToken() string
func (*ListLfpStoresResponse) ProtoMessage
func (*ListLfpStoresResponse) ProtoMessage()
func (*ListLfpStoresResponse) ProtoReflect
func (x *ListLfpStoresResponse) ProtoReflect() protoreflect.Message
func (*ListLfpStoresResponse) Reset
func (x *ListLfpStoresResponse) Reset()
func (*ListLfpStoresResponse) String
func (x *ListLfpStoresResponse) String() string
UnimplementedLfpInventoryServiceServer
type UnimplementedLfpInventoryServiceServer struct {
}
UnimplementedLfpInventoryServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedLfpInventoryServiceServer) InsertLfpInventory
func (*UnimplementedLfpInventoryServiceServer) InsertLfpInventory(context.Context, *InsertLfpInventoryRequest) (*LfpInventory, error)
UnimplementedLfpSaleServiceServer
type UnimplementedLfpSaleServiceServer struct {
}
UnimplementedLfpSaleServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedLfpSaleServiceServer) InsertLfpSale
func (*UnimplementedLfpSaleServiceServer) InsertLfpSale(context.Context, *InsertLfpSaleRequest) (*LfpSale, error)
UnimplementedLfpStoreServiceServer
type UnimplementedLfpStoreServiceServer struct {
}
UnimplementedLfpStoreServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedLfpStoreServiceServer) DeleteLfpStore
func (*UnimplementedLfpStoreServiceServer) DeleteLfpStore(context.Context, *DeleteLfpStoreRequest) (*emptypb.Empty, error)
func (*UnimplementedLfpStoreServiceServer) GetLfpStore
func (*UnimplementedLfpStoreServiceServer) GetLfpStore(context.Context, *GetLfpStoreRequest) (*LfpStore, error)
func (*UnimplementedLfpStoreServiceServer) InsertLfpStore
func (*UnimplementedLfpStoreServiceServer) InsertLfpStore(context.Context, *InsertLfpStoreRequest) (*LfpStore, error)
func (*UnimplementedLfpStoreServiceServer) ListLfpStores
func (*UnimplementedLfpStoreServiceServer) ListLfpStores(context.Context, *ListLfpStoresRequest) (*ListLfpStoresResponse, error)