Package cloud.google.com/go/shopping/merchant/inventories/apiv1beta/inventoriespb (v0.8.0)

Variables

File_google_shopping_merchant_inventories_v1beta_localinventory_proto

var File_google_shopping_merchant_inventories_v1beta_localinventory_proto protoreflect.FileDescriptor

File_google_shopping_merchant_inventories_v1beta_regionalinventory_proto

var File_google_shopping_merchant_inventories_v1beta_regionalinventory_proto protoreflect.FileDescriptor

Functions

func RegisterLocalInventoryServiceServer

func RegisterLocalInventoryServiceServer(s *grpc.Server, srv LocalInventoryServiceServer)

func RegisterRegionalInventoryServiceServer

func RegisterRegionalInventoryServiceServer(s *grpc.Server, srv RegionalInventoryServiceServer)

DeleteLocalInventoryRequest

type DeleteLocalInventoryRequest struct {

	// Required. The name of the local inventory for the given product to delete.
	// Format:
	// `accounts/{account}/products/{product}/localInventories/{store_code}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the DeleteLocalInventory method.

func (*DeleteLocalInventoryRequest) Descriptor

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

Deprecated: Use DeleteLocalInventoryRequest.ProtoReflect.Descriptor instead.

func (*DeleteLocalInventoryRequest) GetName

func (x *DeleteLocalInventoryRequest) GetName() string

func (*DeleteLocalInventoryRequest) ProtoMessage

func (*DeleteLocalInventoryRequest) ProtoMessage()

func (*DeleteLocalInventoryRequest) ProtoReflect

func (*DeleteLocalInventoryRequest) Reset

func (x *DeleteLocalInventoryRequest) Reset()

func (*DeleteLocalInventoryRequest) String

func (x *DeleteLocalInventoryRequest) String() string

DeleteRegionalInventoryRequest

type DeleteRegionalInventoryRequest struct {

	// Required. The name of the `RegionalInventory` resource to delete.
	// Format:
	// `accounts/{account}/products/{product}/regionalInventories/{region}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the DeleteRegionalInventory method.

func (*DeleteRegionalInventoryRequest) Descriptor

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

Deprecated: Use DeleteRegionalInventoryRequest.ProtoReflect.Descriptor instead.

func (*DeleteRegionalInventoryRequest) GetName

func (*DeleteRegionalInventoryRequest) ProtoMessage

func (*DeleteRegionalInventoryRequest) ProtoMessage()

func (*DeleteRegionalInventoryRequest) ProtoReflect

func (*DeleteRegionalInventoryRequest) Reset

func (x *DeleteRegionalInventoryRequest) Reset()

func (*DeleteRegionalInventoryRequest) String

InsertLocalInventoryRequest

type InsertLocalInventoryRequest struct {

	// Required. The account and product where this inventory will be inserted.
	// Format: `accounts/{account}/products/{product}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Local inventory information of the product. If the product
	// already has a `LocalInventory` resource for the same `storeCode`, full
	// replacement of the `LocalInventory` resource is performed.
	LocalInventory *LocalInventory `protobuf:"bytes,2,opt,name=local_inventory,json=localInventory,proto3" json:"local_inventory,omitempty"`
	// contains filtered or unexported fields
}

Request message for the InsertLocalInventory method.

func (*InsertLocalInventoryRequest) Descriptor

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

Deprecated: Use InsertLocalInventoryRequest.ProtoReflect.Descriptor instead.

func (*InsertLocalInventoryRequest) GetLocalInventory

func (x *InsertLocalInventoryRequest) GetLocalInventory() *LocalInventory

func (*InsertLocalInventoryRequest) GetParent

func (x *InsertLocalInventoryRequest) GetParent() string

func (*InsertLocalInventoryRequest) ProtoMessage

func (*InsertLocalInventoryRequest) ProtoMessage()

func (*InsertLocalInventoryRequest) ProtoReflect

func (*InsertLocalInventoryRequest) Reset

func (x *InsertLocalInventoryRequest) Reset()

func (*InsertLocalInventoryRequest) String

func (x *InsertLocalInventoryRequest) String() string

InsertRegionalInventoryRequest

type InsertRegionalInventoryRequest struct {

	// Required. The account and product where this inventory will be inserted.
	// Format: `accounts/{account}/products/{product}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Regional inventory information to add to the product. If the
	// product already has a `RegionalInventory` resource for the same `region`,
	// full replacement of the `RegionalInventory` resource is performed.
	RegionalInventory *RegionalInventory `protobuf:"bytes,2,opt,name=regional_inventory,json=regionalInventory,proto3" json:"regional_inventory,omitempty"`
	// contains filtered or unexported fields
}

Request message for the InsertRegionalInventory method.

func (*InsertRegionalInventoryRequest) Descriptor

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

Deprecated: Use InsertRegionalInventoryRequest.ProtoReflect.Descriptor instead.

func (*InsertRegionalInventoryRequest) GetParent

func (x *InsertRegionalInventoryRequest) GetParent() string

func (*InsertRegionalInventoryRequest) GetRegionalInventory

func (x *InsertRegionalInventoryRequest) GetRegionalInventory() *RegionalInventory

func (*InsertRegionalInventoryRequest) ProtoMessage

func (*InsertRegionalInventoryRequest) ProtoMessage()

func (*InsertRegionalInventoryRequest) ProtoReflect

func (*InsertRegionalInventoryRequest) Reset

func (x *InsertRegionalInventoryRequest) Reset()

func (*InsertRegionalInventoryRequest) String

ListLocalInventoriesRequest

type ListLocalInventoriesRequest struct {

	// Required. The `name` of the parent product to list local inventories for.
	// Format:
	// `accounts/{account}/products/{product}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of `LocalInventory` resources for the given
	// product to return. The service returns fewer than this value if the number
	// of inventories for the given product is less that than the `pageSize`. The
	// default value is 25000. The maximum value is 25000; If a value higher than
	// the maximum is specified, then the `pageSize` will default to the maximum
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListLocalInventories` call.
	// Provide the page token to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListLocalInventories`
	// must match the call that provided the page token. The token returned as
	// [nextPageToken][google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.next_page_token]
	// in the response to the previous request.
	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 ListLocalInventories method.

func (*ListLocalInventoriesRequest) Descriptor

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

Deprecated: Use ListLocalInventoriesRequest.ProtoReflect.Descriptor instead.

func (*ListLocalInventoriesRequest) GetPageSize

func (x *ListLocalInventoriesRequest) GetPageSize() int32

func (*ListLocalInventoriesRequest) GetPageToken

func (x *ListLocalInventoriesRequest) GetPageToken() string

func (*ListLocalInventoriesRequest) GetParent

func (x *ListLocalInventoriesRequest) GetParent() string

func (*ListLocalInventoriesRequest) ProtoMessage

func (*ListLocalInventoriesRequest) ProtoMessage()

func (*ListLocalInventoriesRequest) ProtoReflect

func (*ListLocalInventoriesRequest) Reset

func (x *ListLocalInventoriesRequest) Reset()

func (*ListLocalInventoriesRequest) String

func (x *ListLocalInventoriesRequest) String() string

ListLocalInventoriesResponse

type ListLocalInventoriesResponse struct {

	// The `LocalInventory` resources for the given product from the specified
	// account.
	LocalInventories []*LocalInventory `protobuf:"bytes,1,rep,name=local_inventories,json=localInventories,proto3" json:"local_inventories,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 ListLocalInventories method.

func (*ListLocalInventoriesResponse) Descriptor

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

Deprecated: Use ListLocalInventoriesResponse.ProtoReflect.Descriptor instead.

func (*ListLocalInventoriesResponse) GetLocalInventories

func (x *ListLocalInventoriesResponse) GetLocalInventories() []*LocalInventory

func (*ListLocalInventoriesResponse) GetNextPageToken

func (x *ListLocalInventoriesResponse) GetNextPageToken() string

func (*ListLocalInventoriesResponse) ProtoMessage

func (*ListLocalInventoriesResponse) ProtoMessage()

func (*ListLocalInventoriesResponse) ProtoReflect

func (*ListLocalInventoriesResponse) Reset

func (x *ListLocalInventoriesResponse) Reset()

func (*ListLocalInventoriesResponse) String

ListRegionalInventoriesRequest

type ListRegionalInventoriesRequest struct {

	// Required. The `name` of the parent product to list `RegionalInventory`
	// resources for. Format: `accounts/{account}/products/{product}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of `RegionalInventory` resources for the given product
	// to return. The service returns fewer than this value if the number of
	// inventories for the given product is less that than the `pageSize`. The
	// default value is 25000. The maximum value is 100000; If a value higher than
	// the maximum is specified, then the `pageSize` will default to the maximum.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListRegionalInventories` call.
	// Provide the page token to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListRegionalInventories`
	// must match the call that provided the page token. The token returned as
	// [nextPageToken][google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.next_page_token]
	// in the response to the previous request.
	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 ListRegionalInventories method.

func (*ListRegionalInventoriesRequest) Descriptor

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

Deprecated: Use ListRegionalInventoriesRequest.ProtoReflect.Descriptor instead.

func (*ListRegionalInventoriesRequest) GetPageSize

func (x *ListRegionalInventoriesRequest) GetPageSize() int32

func (*ListRegionalInventoriesRequest) GetPageToken

func (x *ListRegionalInventoriesRequest) GetPageToken() string

func (*ListRegionalInventoriesRequest) GetParent

func (x *ListRegionalInventoriesRequest) GetParent() string

func (*ListRegionalInventoriesRequest) ProtoMessage

func (*ListRegionalInventoriesRequest) ProtoMessage()

func (*ListRegionalInventoriesRequest) ProtoReflect

func (*ListRegionalInventoriesRequest) Reset

func (x *ListRegionalInventoriesRequest) Reset()

func (*ListRegionalInventoriesRequest) String

ListRegionalInventoriesResponse

type ListRegionalInventoriesResponse struct {

	// The `RegionalInventory` resources for the given product from the specified
	// account.
	RegionalInventories []*RegionalInventory `protobuf:"bytes,1,rep,name=regional_inventories,json=regionalInventories,proto3" json:"regional_inventories,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 ListRegionalInventories method.

func (*ListRegionalInventoriesResponse) Descriptor

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

Deprecated: Use ListRegionalInventoriesResponse.ProtoReflect.Descriptor instead.

func (*ListRegionalInventoriesResponse) GetNextPageToken

func (x *ListRegionalInventoriesResponse) GetNextPageToken() string

func (*ListRegionalInventoriesResponse) GetRegionalInventories

func (x *ListRegionalInventoriesResponse) GetRegionalInventories() []*RegionalInventory

func (*ListRegionalInventoriesResponse) ProtoMessage

func (*ListRegionalInventoriesResponse) ProtoMessage()

func (*ListRegionalInventoriesResponse) ProtoReflect

func (*ListRegionalInventoriesResponse) Reset

func (*ListRegionalInventoriesResponse) String

LocalInventory

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

	Account int64 `protobuf:"varint,2,opt,name=account,proto3" json:"account,omitempty"`

	StoreCode string `protobuf:"bytes,3,opt,name=store_code,json=storeCode,proto3" json:"store_code,omitempty"`

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

	SalePrice *typepb.Price `protobuf:"bytes,5,opt,name=sale_price,json=salePrice,proto3" json:"sale_price,omitempty"`

	SalePriceEffectiveDate *interval.Interval "" /* 131 byte string literal not displayed */

	Availability *string `protobuf:"bytes,7,opt,name=availability,proto3,oneof" json:"availability,omitempty"`

	Quantity *int64 `protobuf:"varint,8,opt,name=quantity,proto3,oneof" json:"quantity,omitempty"`

	PickupMethod *string `protobuf:"bytes,9,opt,name=pickup_method,json=pickupMethod,proto3,oneof" json:"pickup_method,omitempty"`

	PickupSla *string `protobuf:"bytes,10,opt,name=pickup_sla,json=pickupSla,proto3,oneof" json:"pickup_sla,omitempty"`

	InstoreProductLocation *string "" /* 136 byte string literal not displayed */

	CustomAttributes []*typepb.CustomAttribute `protobuf:"bytes,12,rep,name=custom_attributes,json=customAttributes,proto3" json:"custom_attributes,omitempty"`

}

Local inventory information for the product. Represents in-store information for a specific product at the store specified by [storeCode][google.shopping.merchant.inventories.v1beta.LocalInventory.store_code]. For a list of all accepted attribute values, see the local product inventory data specification.

func (*LocalInventory) Descriptor

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

Deprecated: Use LocalInventory.ProtoReflect.Descriptor instead.

func (*LocalInventory) GetAccount

func (x *LocalInventory) GetAccount() int64

func (*LocalInventory) GetAvailability

func (x *LocalInventory) GetAvailability() string

func (*LocalInventory) GetCustomAttributes

func (x *LocalInventory) GetCustomAttributes() []*typepb.CustomAttribute

func (*LocalInventory) GetInstoreProductLocation

func (x *LocalInventory) GetInstoreProductLocation() string

func (*LocalInventory) GetName

func (x *LocalInventory) GetName() string

func (*LocalInventory) GetPickupMethod

func (x *LocalInventory) GetPickupMethod() string

func (*LocalInventory) GetPickupSla

func (x *LocalInventory) GetPickupSla() string

func (*LocalInventory) GetPrice

func (x *LocalInventory) GetPrice() *typepb.Price

func (*LocalInventory) GetQuantity

func (x *LocalInventory) GetQuantity() int64

func (*LocalInventory) GetSalePrice

func (x *LocalInventory) GetSalePrice() *typepb.Price

func (*LocalInventory) GetSalePriceEffectiveDate

func (x *LocalInventory) GetSalePriceEffectiveDate() *interval.Interval

func (*LocalInventory) GetStoreCode

func (x *LocalInventory) GetStoreCode() string

func (*LocalInventory) ProtoMessage

func (*LocalInventory) ProtoMessage()

func (*LocalInventory) ProtoReflect

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

func (*LocalInventory) Reset

func (x *LocalInventory) Reset()

func (*LocalInventory) String

func (x *LocalInventory) String() string

LocalInventoryServiceClient

type LocalInventoryServiceClient interface {
	// Lists the `LocalInventory` resources for the given product in your merchant
	// account. The response might contain fewer items than specified by
	// `pageSize`. If `pageToken` was returned in previous request, it can be used
	// to obtain additional results.
	//
	// `LocalInventory` resources are listed per product for a given account.
	ListLocalInventories(ctx context.Context, in *ListLocalInventoriesRequest, opts ...grpc.CallOption) (*ListLocalInventoriesResponse, error)
	// Inserts a `LocalInventory` resource to a product in your merchant
	// account.
	//
	// Replaces the full `LocalInventory` resource if an entry with the same
	// [`storeCode`][google.shopping.merchant.inventories.v1beta.LocalInventory.store_code]
	// already exists for the product.
	//
	// It might take up to 30 minutes for the new or updated `LocalInventory`
	// resource to appear in products.
	InsertLocalInventory(ctx context.Context, in *InsertLocalInventoryRequest, opts ...grpc.CallOption) (*LocalInventory, error)
	// Deletes the specified `LocalInventory` from the given product in your
	// merchant account. It might take a up to an hour for the
	// `LocalInventory` to be deleted from the specific product.
	// Once you have received a successful delete response, wait for that
	// period before attempting a delete again.
	DeleteLocalInventory(ctx context.Context, in *DeleteLocalInventoryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

LocalInventoryServiceClient is the client API for LocalInventoryService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewLocalInventoryServiceClient

func NewLocalInventoryServiceClient(cc grpc.ClientConnInterface) LocalInventoryServiceClient

LocalInventoryServiceServer

type LocalInventoryServiceServer interface {
	// Lists the `LocalInventory` resources for the given product in your merchant
	// account. The response might contain fewer items than specified by
	// `pageSize`. If `pageToken` was returned in previous request, it can be used
	// to obtain additional results.
	//
	// `LocalInventory` resources are listed per product for a given account.
	ListLocalInventories(context.Context, *ListLocalInventoriesRequest) (*ListLocalInventoriesResponse, error)
	// Inserts a `LocalInventory` resource to a product in your merchant
	// account.
	//
	// Replaces the full `LocalInventory` resource if an entry with the same
	// [`storeCode`][google.shopping.merchant.inventories.v1beta.LocalInventory.store_code]
	// already exists for the product.
	//
	// It might take up to 30 minutes for the new or updated `LocalInventory`
	// resource to appear in products.
	InsertLocalInventory(context.Context, *InsertLocalInventoryRequest) (*LocalInventory, error)
	// Deletes the specified `LocalInventory` from the given product in your
	// merchant account. It might take a up to an hour for the
	// `LocalInventory` to be deleted from the specific product.
	// Once you have received a successful delete response, wait for that
	// period before attempting a delete again.
	DeleteLocalInventory(context.Context, *DeleteLocalInventoryRequest) (*emptypb.Empty, error)
}

LocalInventoryServiceServer is the server API for LocalInventoryService service.

RegionalInventory

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

	Account int64 `protobuf:"varint,2,opt,name=account,proto3" json:"account,omitempty"`

	Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`

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

	SalePrice *typepb.Price `protobuf:"bytes,5,opt,name=sale_price,json=salePrice,proto3" json:"sale_price,omitempty"`

	SalePriceEffectiveDate *interval.Interval "" /* 131 byte string literal not displayed */

	Availability *string `protobuf:"bytes,7,opt,name=availability,proto3,oneof" json:"availability,omitempty"`

	CustomAttributes []*typepb.CustomAttribute `protobuf:"bytes,8,rep,name=custom_attributes,json=customAttributes,proto3" json:"custom_attributes,omitempty"`

}

Regional inventory information for the product. Represents specific information like price and availability for a given product in a specific [region][google.shopping.merchant.inventories.v1beta.RegionalInventory.region]. For a list of all accepted attribute values, see the regional product inventory data specification.

func (*RegionalInventory) Descriptor

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

Deprecated: Use RegionalInventory.ProtoReflect.Descriptor instead.

func (*RegionalInventory) GetAccount

func (x *RegionalInventory) GetAccount() int64

func (*RegionalInventory) GetAvailability

func (x *RegionalInventory) GetAvailability() string

func (*RegionalInventory) GetCustomAttributes

func (x *RegionalInventory) GetCustomAttributes() []*typepb.CustomAttribute

func (*RegionalInventory) GetName

func (x *RegionalInventory) GetName() string

func (*RegionalInventory) GetPrice

func (x *RegionalInventory) GetPrice() *typepb.Price

func (*RegionalInventory) GetRegion

func (x *RegionalInventory) GetRegion() string

func (*RegionalInventory) GetSalePrice

func (x *RegionalInventory) GetSalePrice() *typepb.Price

func (*RegionalInventory) GetSalePriceEffectiveDate

func (x *RegionalInventory) GetSalePriceEffectiveDate() *interval.Interval

func (*RegionalInventory) ProtoMessage

func (*RegionalInventory) ProtoMessage()

func (*RegionalInventory) ProtoReflect

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

func (*RegionalInventory) Reset

func (x *RegionalInventory) Reset()

func (*RegionalInventory) String

func (x *RegionalInventory) String() string

RegionalInventoryServiceClient

type RegionalInventoryServiceClient interface {
	// Lists the `RegionalInventory` resources for the given product in your
	// merchant account. The response might contain fewer items than specified by
	// `pageSize`.  If `pageToken` was returned in previous request, it can be
	// used to obtain additional results.
	//
	// `RegionalInventory` resources are listed per product for a given account.
	ListRegionalInventories(ctx context.Context, in *ListRegionalInventoriesRequest, opts ...grpc.CallOption) (*ListRegionalInventoriesResponse, error)
	// Inserts a `RegionalInventory` to a given product in your
	// merchant account.
	//
	// Replaces the full `RegionalInventory` resource if an entry with the same
	// [`region`][google.shopping.merchant.inventories.v1beta.RegionalInventory.region]
	// already exists for the product.
	//
	// It might take up to 30 minutes for the new or updated `RegionalInventory`
	// resource to appear in products.
	InsertRegionalInventory(ctx context.Context, in *InsertRegionalInventoryRequest, opts ...grpc.CallOption) (*RegionalInventory, error)
	// Deletes the specified `RegionalInventory` resource from the given product
	// in your merchant account.  It might take up to an hour for the
	// `RegionalInventory` to be deleted from the specific product.
	// Once you have received a successful delete response, wait for that
	// period before attempting a delete again.
	DeleteRegionalInventory(ctx context.Context, in *DeleteRegionalInventoryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

RegionalInventoryServiceClient is the client API for RegionalInventoryService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewRegionalInventoryServiceClient

func NewRegionalInventoryServiceClient(cc grpc.ClientConnInterface) RegionalInventoryServiceClient

RegionalInventoryServiceServer

type RegionalInventoryServiceServer interface {
	// Lists the `RegionalInventory` resources for the given product in your
	// merchant account. The response might contain fewer items than specified by
	// `pageSize`.  If `pageToken` was returned in previous request, it can be
	// used to obtain additional results.
	//
	// `RegionalInventory` resources are listed per product for a given account.
	ListRegionalInventories(context.Context, *ListRegionalInventoriesRequest) (*ListRegionalInventoriesResponse, error)
	// Inserts a `RegionalInventory` to a given product in your
	// merchant account.
	//
	// Replaces the full `RegionalInventory` resource if an entry with the same
	// [`region`][google.shopping.merchant.inventories.v1beta.RegionalInventory.region]
	// already exists for the product.
	//
	// It might take up to 30 minutes for the new or updated `RegionalInventory`
	// resource to appear in products.
	InsertRegionalInventory(context.Context, *InsertRegionalInventoryRequest) (*RegionalInventory, error)
	// Deletes the specified `RegionalInventory` resource from the given product
	// in your merchant account.  It might take up to an hour for the
	// `RegionalInventory` to be deleted from the specific product.
	// Once you have received a successful delete response, wait for that
	// period before attempting a delete again.
	DeleteRegionalInventory(context.Context, *DeleteRegionalInventoryRequest) (*emptypb.Empty, error)
}

RegionalInventoryServiceServer is the server API for RegionalInventoryService service.

UnimplementedLocalInventoryServiceServer

type UnimplementedLocalInventoryServiceServer struct {
}

UnimplementedLocalInventoryServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedLocalInventoryServiceServer) DeleteLocalInventory

func (*UnimplementedLocalInventoryServiceServer) InsertLocalInventory

func (*UnimplementedLocalInventoryServiceServer) ListLocalInventories

UnimplementedRegionalInventoryServiceServer

type UnimplementedRegionalInventoryServiceServer struct {
}

UnimplementedRegionalInventoryServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedRegionalInventoryServiceServer) DeleteRegionalInventory

func (*UnimplementedRegionalInventoryServiceServer) InsertRegionalInventory

func (*UnimplementedRegionalInventoryServiceServer) ListRegionalInventories