Package cloud.google.com/go/shopping/merchant/datasources/apiv1beta/datasourcespb (v0.12.1)

Variables

DataSource_Input_name, DataSource_Input_value

var (
	DataSource_Input_name = map[int32]string{
		0: "INPUT_UNSPECIFIED",
		1: "API",
		2: "FILE",
		3: "UI",
		4: "AUTOFEED",
	}
	DataSource_Input_value = map[string]int32{
		"INPUT_UNSPECIFIED": 0,
		"API":               1,
		"FILE":              2,
		"UI":                3,
		"AUTOFEED":          4,
	}
)

Enum value maps for DataSource_Input.

PrimaryProductDataSource_Channel_name, PrimaryProductDataSource_Channel_value

var (
	PrimaryProductDataSource_Channel_name = map[int32]string{
		0: "CHANNEL_UNSPECIFIED",
		1: "ONLINE_PRODUCTS",
		2: "LOCAL_PRODUCTS",
		3: "PRODUCTS",
	}
	PrimaryProductDataSource_Channel_value = map[string]int32{
		"CHANNEL_UNSPECIFIED": 0,
		"ONLINE_PRODUCTS":     1,
		"LOCAL_PRODUCTS":      2,
		"PRODUCTS":            3,
	}
)

Enum value maps for PrimaryProductDataSource_Channel.

FileInput_FileInputType_name, FileInput_FileInputType_value

var (
	FileInput_FileInputType_name = map[int32]string{
		0: "FILE_INPUT_TYPE_UNSPECIFIED",
		1: "UPLOAD",
		2: "FETCH",
		3: "GOOGLE_SHEETS",
	}
	FileInput_FileInputType_value = map[string]int32{
		"FILE_INPUT_TYPE_UNSPECIFIED": 0,
		"UPLOAD":                      1,
		"FETCH":                       2,
		"GOOGLE_SHEETS":               3,
	}
)

Enum value maps for FileInput_FileInputType.

FileInput_FetchSettings_Frequency_name, FileInput_FetchSettings_Frequency_value

var (
	FileInput_FetchSettings_Frequency_name = map[int32]string{
		0: "FREQUENCY_UNSPECIFIED",
		1: "FREQUENCY_DAILY",
		2: "FREQUENCY_WEEKLY",
		3: "FREQUENCY_MONTHLY",
	}
	FileInput_FetchSettings_Frequency_value = map[string]int32{
		"FREQUENCY_UNSPECIFIED": 0,
		"FREQUENCY_DAILY":       1,
		"FREQUENCY_WEEKLY":      2,
		"FREQUENCY_MONTHLY":     3,
	}
)

Enum value maps for FileInput_FetchSettings_Frequency.

FileUpload_ProcessingState_name, FileUpload_ProcessingState_value

var (
	FileUpload_ProcessingState_name = map[int32]string{
		0: "PROCESSING_STATE_UNSPECIFIED",
		1: "FAILED",
		2: "IN_PROGRESS",
		3: "SUCCEEDED",
	}
	FileUpload_ProcessingState_value = map[string]int32{
		"PROCESSING_STATE_UNSPECIFIED": 0,
		"FAILED":                       1,
		"IN_PROGRESS":                  2,
		"SUCCEEDED":                    3,
	}
)

Enum value maps for FileUpload_ProcessingState.

FileUpload_Issue_Severity_name, FileUpload_Issue_Severity_value

var (
	FileUpload_Issue_Severity_name = map[int32]string{
		0: "SEVERITY_UNSPECIFIED",
		1: "WARNING",
		2: "ERROR",
	}
	FileUpload_Issue_Severity_value = map[string]int32{
		"SEVERITY_UNSPECIFIED": 0,
		"WARNING":              1,
		"ERROR":                2,
	}
)

Enum value maps for FileUpload_Issue_Severity.

File_google_shopping_merchant_datasources_v1beta_datasources_proto

var File_google_shopping_merchant_datasources_v1beta_datasources_proto protoreflect.FileDescriptor

File_google_shopping_merchant_datasources_v1beta_datasourcetypes_proto

var File_google_shopping_merchant_datasources_v1beta_datasourcetypes_proto protoreflect.FileDescriptor

File_google_shopping_merchant_datasources_v1beta_fileinputs_proto

var File_google_shopping_merchant_datasources_v1beta_fileinputs_proto protoreflect.FileDescriptor

File_google_shopping_merchant_datasources_v1beta_fileuploads_proto

var File_google_shopping_merchant_datasources_v1beta_fileuploads_proto protoreflect.FileDescriptor

Functions

func RegisterDataSourcesServiceServer

func RegisterDataSourcesServiceServer(s *grpc.Server, srv DataSourcesServiceServer)

func RegisterFileUploadsServiceServer

func RegisterFileUploadsServiceServer(s *grpc.Server, srv FileUploadsServiceServer)

CreateDataSourceRequest

type CreateDataSourceRequest struct {

	// Required. The account where this data source will be created.
	// Format: `accounts/{account}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The data source to create.
	DataSource *DataSource `protobuf:"bytes,2,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"`
	// contains filtered or unexported fields
}

Request message for the CreateDataSource method.

func (*CreateDataSourceRequest) Descriptor

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

Deprecated: Use CreateDataSourceRequest.ProtoReflect.Descriptor instead.

func (*CreateDataSourceRequest) GetDataSource

func (x *CreateDataSourceRequest) GetDataSource() *DataSource

func (*CreateDataSourceRequest) GetParent

func (x *CreateDataSourceRequest) GetParent() string

func (*CreateDataSourceRequest) ProtoMessage

func (*CreateDataSourceRequest) ProtoMessage()

func (*CreateDataSourceRequest) ProtoReflect

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

func (*CreateDataSourceRequest) Reset

func (x *CreateDataSourceRequest) Reset()

func (*CreateDataSourceRequest) String

func (x *CreateDataSourceRequest) String() string

DataSource

type DataSource struct {
	Type isDataSource_Type `protobuf_oneof:"Type"`

	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	DataSourceId int64 `protobuf:"varint,2,opt,name=data_source_id,json=dataSourceId,proto3" json:"data_source_id,omitempty"`

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

	Input DataSource_Input "" /* 131 byte string literal not displayed */

	FileInput *FileInput `protobuf:"bytes,11,opt,name=file_input,json=fileInput,proto3" json:"file_input,omitempty"`

}

The data source for the Merchant Center account.

func (*DataSource) Descriptor

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

Deprecated: Use DataSource.ProtoReflect.Descriptor instead.

func (*DataSource) GetDataSourceId

func (x *DataSource) GetDataSourceId() int64

func (*DataSource) GetDisplayName

func (x *DataSource) GetDisplayName() string

func (*DataSource) GetFileInput

func (x *DataSource) GetFileInput() *FileInput

func (*DataSource) GetInput

func (x *DataSource) GetInput() DataSource_Input

func (*DataSource) GetLocalInventoryDataSource

func (x *DataSource) GetLocalInventoryDataSource() *LocalInventoryDataSource

func (*DataSource) GetName

func (x *DataSource) GetName() string

func (*DataSource) GetPrimaryProductDataSource

func (x *DataSource) GetPrimaryProductDataSource() *PrimaryProductDataSource

func (*DataSource) GetPromotionDataSource

func (x *DataSource) GetPromotionDataSource() *PromotionDataSource

func (*DataSource) GetRegionalInventoryDataSource

func (x *DataSource) GetRegionalInventoryDataSource() *RegionalInventoryDataSource

func (*DataSource) GetSupplementalProductDataSource

func (x *DataSource) GetSupplementalProductDataSource() *SupplementalProductDataSource

func (*DataSource) GetType

func (m *DataSource) GetType() isDataSource_Type

func (*DataSource) ProtoMessage

func (*DataSource) ProtoMessage()

func (*DataSource) ProtoReflect

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

func (*DataSource) Reset

func (x *DataSource) Reset()

func (*DataSource) String

func (x *DataSource) String() string

DataSourceReference

type DataSourceReference struct {

	// Types that are assignable to DataSourceId:
	//
	//	*DataSourceReference_Self
	//	*DataSourceReference_PrimaryDataSourceName
	//	*DataSourceReference_SupplementalDataSourceName
	DataSourceId isDataSourceReference_DataSourceId `protobuf_oneof:"data_source_id"`
	// contains filtered or unexported fields
}

Data source reference can be used to manage related data sources within the data source service.

func (*DataSourceReference) Descriptor

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

Deprecated: Use DataSourceReference.ProtoReflect.Descriptor instead.

func (*DataSourceReference) GetDataSourceId

func (m *DataSourceReference) GetDataSourceId() isDataSourceReference_DataSourceId

func (*DataSourceReference) GetPrimaryDataSourceName

func (x *DataSourceReference) GetPrimaryDataSourceName() string

func (*DataSourceReference) GetSelf

func (x *DataSourceReference) GetSelf() bool

func (*DataSourceReference) GetSupplementalDataSourceName

func (x *DataSourceReference) GetSupplementalDataSourceName() string

func (*DataSourceReference) ProtoMessage

func (*DataSourceReference) ProtoMessage()

func (*DataSourceReference) ProtoReflect

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

func (*DataSourceReference) Reset

func (x *DataSourceReference) Reset()

func (*DataSourceReference) String

func (x *DataSourceReference) String() string

DataSourceReference_PrimaryDataSourceName

type DataSourceReference_PrimaryDataSourceName struct {
	// Optional. The name of the primary data source.
	// Format:
	// `accounts/{account}/dataSources/{datasource}`
	PrimaryDataSourceName string `protobuf:"bytes,3,opt,name=primary_data_source_name,json=primaryDataSourceName,proto3,oneof"`
}

DataSourceReference_Self

type DataSourceReference_Self struct {
	// Self should be used to reference the primary data source itself.
	Self bool `protobuf:"varint,1,opt,name=self,proto3,oneof"`
}

DataSourceReference_SupplementalDataSourceName

type DataSourceReference_SupplementalDataSourceName struct {
	// Optional. The name of the supplemental data source.
	// Format:
	// `accounts/{account}/dataSources/{datasource}`
	SupplementalDataSourceName string `protobuf:"bytes,2,opt,name=supplemental_data_source_name,json=supplementalDataSourceName,proto3,oneof"`
}

DataSource_Input

type DataSource_Input int32

Determines the type of input to the data source. Based on the input some settings might not be supported.

DataSource_INPUT_UNSPECIFIED, DataSource_API, DataSource_FILE, DataSource_UI, DataSource_AUTOFEED

const (
	// Input unspecified.
	DataSource_INPUT_UNSPECIFIED DataSource_Input = 0
	// Represents data sources for which the data is primarily provided through
	// the API.
	DataSource_API DataSource_Input = 1
	// Represents data sources for which the data is primarily provided through
	// file input. Data can still be provided through the API.
	DataSource_FILE DataSource_Input = 2
	// The data source for products added directly in Merchant Center.
	//
	// This type of data source can not be created or updated through this API,
	// only by Merchant Center UI.
	//
	// This type of data source is read only.
	DataSource_UI DataSource_Input = 3
	// This is also known as
	// [Automated feeds](https://support.google.com/merchants/answer/12158480)
	// used to automatically build your product data. This type of data source
	// can be enabled or disabled through the Accounts bundle.
	DataSource_AUTOFEED DataSource_Input = 4
)

func (DataSource_Input) Descriptor

func (DataSource_Input) Enum

func (DataSource_Input) EnumDescriptor

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

Deprecated: Use DataSource_Input.Descriptor instead.

func (DataSource_Input) Number

func (DataSource_Input) String

func (x DataSource_Input) String() string

func (DataSource_Input) Type

DataSource_LocalInventoryDataSource

type DataSource_LocalInventoryDataSource struct {
	// Required. The [local
	// inventory](https://support.google.com/merchants/answer/7023001) data
	// source.
	LocalInventoryDataSource *LocalInventoryDataSource `protobuf:"bytes,6,opt,name=local_inventory_data_source,json=localInventoryDataSource,proto3,oneof"`
}

DataSource_PrimaryProductDataSource

type DataSource_PrimaryProductDataSource struct {
	// Required. The [primary data
	// source](https://support.google.com/merchants/answer/7439058) for local
	// and online products.
	PrimaryProductDataSource *PrimaryProductDataSource `protobuf:"bytes,4,opt,name=primary_product_data_source,json=primaryProductDataSource,proto3,oneof"`
}

DataSource_PromotionDataSource

type DataSource_PromotionDataSource struct {
	// Required. The
	// [promotion](https://support.google.com/merchants/answer/2906014) data
	// source.
	PromotionDataSource *PromotionDataSource `protobuf:"bytes,8,opt,name=promotion_data_source,json=promotionDataSource,proto3,oneof"`
}

DataSource_RegionalInventoryDataSource

type DataSource_RegionalInventoryDataSource struct {
	// Required. The [regional
	// inventory](https://support.google.com/merchants/answer/7439058) data
	// source.
	RegionalInventoryDataSource *RegionalInventoryDataSource `protobuf:"bytes,7,opt,name=regional_inventory_data_source,json=regionalInventoryDataSource,proto3,oneof"`
}

DataSource_SupplementalProductDataSource

type DataSource_SupplementalProductDataSource struct {
	// Required. The [supplemental data
	// source](https://support.google.com/merchants/answer/7439058) for local
	// and online products.
	SupplementalProductDataSource *SupplementalProductDataSource `protobuf:"bytes,5,opt,name=supplemental_product_data_source,json=supplementalProductDataSource,proto3,oneof"`
}

DataSourcesServiceClient

type DataSourcesServiceClient interface {
	// Retrieves the data source configuration for the given account.
	GetDataSource(ctx context.Context, in *GetDataSourceRequest, opts ...grpc.CallOption) (*DataSource, error)
	// Lists the configurations for data sources for the given account.
	ListDataSources(ctx context.Context, in *ListDataSourcesRequest, opts ...grpc.CallOption) (*ListDataSourcesResponse, error)
	// Creates the new data source configuration for the given account.
	CreateDataSource(ctx context.Context, in *CreateDataSourceRequest, opts ...grpc.CallOption) (*DataSource, error)
	// Updates the existing data source configuration. The fields that are
	// set in the update mask but not provided in the resource will be deleted.
	UpdateDataSource(ctx context.Context, in *UpdateDataSourceRequest, opts ...grpc.CallOption) (*DataSource, error)
	// Deletes a data source from your Merchant Center account.
	DeleteDataSource(ctx context.Context, in *DeleteDataSourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Performs the data fetch immediately (even outside fetch schedule) on a
	// data source from your Merchant Center Account. If you need to call
	// this method more than once per day, you should use the Products service to
	// update your product data instead.
	// This method only works on data sources with a file input set.
	FetchDataSource(ctx context.Context, in *FetchDataSourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

DataSourcesServiceClient is the client API for DataSourcesService service.

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

func NewDataSourcesServiceClient

func NewDataSourcesServiceClient(cc grpc.ClientConnInterface) DataSourcesServiceClient

DataSourcesServiceServer

type DataSourcesServiceServer interface {
	// Retrieves the data source configuration for the given account.
	GetDataSource(context.Context, *GetDataSourceRequest) (*DataSource, error)
	// Lists the configurations for data sources for the given account.
	ListDataSources(context.Context, *ListDataSourcesRequest) (*ListDataSourcesResponse, error)
	// Creates the new data source configuration for the given account.
	CreateDataSource(context.Context, *CreateDataSourceRequest) (*DataSource, error)
	// Updates the existing data source configuration. The fields that are
	// set in the update mask but not provided in the resource will be deleted.
	UpdateDataSource(context.Context, *UpdateDataSourceRequest) (*DataSource, error)
	// Deletes a data source from your Merchant Center account.
	DeleteDataSource(context.Context, *DeleteDataSourceRequest) (*emptypb.Empty, error)
	// Performs the data fetch immediately (even outside fetch schedule) on a
	// data source from your Merchant Center Account. If you need to call
	// this method more than once per day, you should use the Products service to
	// update your product data instead.
	// This method only works on data sources with a file input set.
	FetchDataSource(context.Context, *FetchDataSourceRequest) (*emptypb.Empty, error)
}

DataSourcesServiceServer is the server API for DataSourcesService service.

DeleteDataSourceRequest

type DeleteDataSourceRequest struct {

	// Required. The name of the data source to delete.
	// Format: `accounts/{account}/dataSources/{datasource}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the DeleteDataSource method.

func (*DeleteDataSourceRequest) Descriptor

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

Deprecated: Use DeleteDataSourceRequest.ProtoReflect.Descriptor instead.

func (*DeleteDataSourceRequest) GetName

func (x *DeleteDataSourceRequest) GetName() string

func (*DeleteDataSourceRequest) ProtoMessage

func (*DeleteDataSourceRequest) ProtoMessage()

func (*DeleteDataSourceRequest) ProtoReflect

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

func (*DeleteDataSourceRequest) Reset

func (x *DeleteDataSourceRequest) Reset()

func (*DeleteDataSourceRequest) String

func (x *DeleteDataSourceRequest) String() string

FetchDataSourceRequest

type FetchDataSourceRequest struct {

	// Required. The name of the data source resource to fetch.
	// Format: `accounts/{account}/dataSources/{datasource}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the FetchDataSource method.

func (*FetchDataSourceRequest) Descriptor

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

Deprecated: Use FetchDataSourceRequest.ProtoReflect.Descriptor instead.

func (*FetchDataSourceRequest) GetName

func (x *FetchDataSourceRequest) GetName() string

func (*FetchDataSourceRequest) ProtoMessage

func (*FetchDataSourceRequest) ProtoMessage()

func (*FetchDataSourceRequest) ProtoReflect

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

func (*FetchDataSourceRequest) Reset

func (x *FetchDataSourceRequest) Reset()

func (*FetchDataSourceRequest) String

func (x *FetchDataSourceRequest) String() string

FileInput

type FileInput struct {
	FetchSettings *FileInput_FetchSettings `protobuf:"bytes,1,opt,name=fetch_settings,json=fetchSettings,proto3" json:"fetch_settings,omitempty"`

	FileName string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`

	FileInputType FileInput_FileInputType "" /* 176 byte string literal not displayed */

}

The data specific for file data sources. This field is empty for other data source inputs.

func (*FileInput) Descriptor

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

Deprecated: Use FileInput.ProtoReflect.Descriptor instead.

func (*FileInput) GetFetchSettings

func (x *FileInput) GetFetchSettings() *FileInput_FetchSettings

func (*FileInput) GetFileInputType

func (x *FileInput) GetFileInputType() FileInput_FileInputType

func (*FileInput) GetFileName

func (x *FileInput) GetFileName() string

func (*FileInput) ProtoMessage

func (*FileInput) ProtoMessage()

func (*FileInput) ProtoReflect

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

func (*FileInput) Reset

func (x *FileInput) Reset()

func (*FileInput) String

func (x *FileInput) String() string

FileInput_FetchSettings

type FileInput_FetchSettings struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`

	DayOfMonth int32 `protobuf:"varint,2,opt,name=day_of_month,json=dayOfMonth,proto3" json:"day_of_month,omitempty"`

	TimeOfDay *timeofday.TimeOfDay `protobuf:"bytes,3,opt,name=time_of_day,json=timeOfDay,proto3" json:"time_of_day,omitempty"`

	DayOfWeek dayofweek.DayOfWeek `protobuf:"varint,4,opt,name=day_of_week,json=dayOfWeek,proto3,enum=google.type.DayOfWeek" json:"day_of_week,omitempty"`

	TimeZone string `protobuf:"bytes,5,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`

	Frequency FileInput_FetchSettings_Frequency "" /* 155 byte string literal not displayed */

	FetchUri string `protobuf:"bytes,7,opt,name=fetch_uri,json=fetchUri,proto3" json:"fetch_uri,omitempty"`

	Username string `protobuf:"bytes,8,opt,name=username,proto3" json:"username,omitempty"`

	Password string `protobuf:"bytes,9,opt,name=password,proto3" json:"password,omitempty"`

}

Fetch details to deliver the data source.

func (*FileInput_FetchSettings) Descriptor

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

Deprecated: Use FileInput_FetchSettings.ProtoReflect.Descriptor instead.

func (*FileInput_FetchSettings) GetDayOfMonth

func (x *FileInput_FetchSettings) GetDayOfMonth() int32

func (*FileInput_FetchSettings) GetDayOfWeek

func (x *FileInput_FetchSettings) GetDayOfWeek() dayofweek.DayOfWeek

func (*FileInput_FetchSettings) GetEnabled

func (x *FileInput_FetchSettings) GetEnabled() bool

func (*FileInput_FetchSettings) GetFetchUri

func (x *FileInput_FetchSettings) GetFetchUri() string

func (*FileInput_FetchSettings) GetFrequency

func (*FileInput_FetchSettings) GetPassword

func (x *FileInput_FetchSettings) GetPassword() string

func (*FileInput_FetchSettings) GetTimeOfDay

func (x *FileInput_FetchSettings) GetTimeOfDay() *timeofday.TimeOfDay

func (*FileInput_FetchSettings) GetTimeZone

func (x *FileInput_FetchSettings) GetTimeZone() string

func (*FileInput_FetchSettings) GetUsername

func (x *FileInput_FetchSettings) GetUsername() string

func (*FileInput_FetchSettings) ProtoMessage

func (*FileInput_FetchSettings) ProtoMessage()

func (*FileInput_FetchSettings) ProtoReflect

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

func (*FileInput_FetchSettings) Reset

func (x *FileInput_FetchSettings) Reset()

func (*FileInput_FetchSettings) String

func (x *FileInput_FetchSettings) String() string

FileInput_FetchSettings_Frequency

type FileInput_FetchSettings_Frequency int32

The required fields vary based on the frequency of fetching. For a monthly fetch schedule, [day of month][google.shopping.content.bundles.DataSources.FileInput.FetchSchedule.day_of_month] and [hour of day][google.shopping.content.bundles.DataSources.FileInput.FetchSchedule.time_of_day] are required. For a weekly fetch schedule, [day of week][google.shopping.content.bundles.DataSources.FileInput.FetchSchedule.day_of_week] and [hour of day][google.shopping.content.bundles.DataSources.FileInput.FetchSchedule.time_of_day] are required. For a daily fetch schedule, only an [hour of day][google.shopping.content.bundles.DataSources.FileInput.FetchSchedule.time_of_day] is required.

FileInput_FetchSettings_FREQUENCY_UNSPECIFIED, FileInput_FetchSettings_FREQUENCY_DAILY, FileInput_FetchSettings_FREQUENCY_WEEKLY, FileInput_FetchSettings_FREQUENCY_MONTHLY

const (
	// Frequency unspecified.
	FileInput_FetchSettings_FREQUENCY_UNSPECIFIED FileInput_FetchSettings_Frequency = 0
	// The fetch happens every day.
	FileInput_FetchSettings_FREQUENCY_DAILY FileInput_FetchSettings_Frequency = 1
	// The fetch happens every week.
	FileInput_FetchSettings_FREQUENCY_WEEKLY FileInput_FetchSettings_Frequency = 2
	// The fetch happens every month.
	FileInput_FetchSettings_FREQUENCY_MONTHLY FileInput_FetchSettings_Frequency = 3
)

func (FileInput_FetchSettings_Frequency) Descriptor

func (FileInput_FetchSettings_Frequency) Enum

func (FileInput_FetchSettings_Frequency) EnumDescriptor

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

Deprecated: Use FileInput_FetchSettings_Frequency.Descriptor instead.

func (FileInput_FetchSettings_Frequency) Number

func (FileInput_FetchSettings_Frequency) String

func (FileInput_FetchSettings_Frequency) Type

FileInput_FileInputType

type FileInput_FileInputType int32

The method of file delivery.

FileInput_FILE_INPUT_TYPE_UNSPECIFIED, FileInput_UPLOAD, FileInput_FETCH, FileInput_GOOGLE_SHEETS

const (
	// File input type unspecified.
	FileInput_FILE_INPUT_TYPE_UNSPECIFIED FileInput_FileInputType = 0
	// The file is uploaded through SFTP, Google Cloud Storage or manually in
	// the Merchant Center.
	FileInput_UPLOAD FileInput_FileInputType = 1
	// The file is fetched from the configured
	// [fetch_uri][google.shopping.content.bundles.DataSources.FileInput.FetchSettings.fetch_uri].
	FileInput_FETCH FileInput_FileInputType = 2
	// The file is fetched from Google Sheets specified in the
	// [fetch_uri][google.shopping.content.bundles.DataSources.FileInput.FetchSettings.fetch_uri].
	FileInput_GOOGLE_SHEETS FileInput_FileInputType = 3
)

func (FileInput_FileInputType) Descriptor

func (FileInput_FileInputType) Enum

func (FileInput_FileInputType) EnumDescriptor

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

Deprecated: Use FileInput_FileInputType.Descriptor instead.

func (FileInput_FileInputType) Number

func (FileInput_FileInputType) String

func (x FileInput_FileInputType) String() string

func (FileInput_FileInputType) Type

FileUpload

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

	DataSourceId int64 `protobuf:"varint,2,opt,name=data_source_id,json=dataSourceId,proto3" json:"data_source_id,omitempty"`

	ProcessingState FileUpload_ProcessingState "" /* 183 byte string literal not displayed */

	Issues []*FileUpload_Issue `protobuf:"bytes,4,rep,name=issues,proto3" json:"issues,omitempty"`

	ItemsTotal int64 `protobuf:"varint,5,opt,name=items_total,json=itemsTotal,proto3" json:"items_total,omitempty"`

	ItemsCreated int64 `protobuf:"varint,6,opt,name=items_created,json=itemsCreated,proto3" json:"items_created,omitempty"`

	ItemsUpdated int64 `protobuf:"varint,7,opt,name=items_updated,json=itemsUpdated,proto3" json:"items_updated,omitempty"`

	UploadTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=upload_time,json=uploadTime,proto3" json:"upload_time,omitempty"`

}

The file upload of a specific data source, that is, the result of the retrieval of the data source at a certain timestamp computed asynchronously when the data source processing is finished. Only applicable to file data sources.

func (*FileUpload) Descriptor

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

Deprecated: Use FileUpload.ProtoReflect.Descriptor instead.

func (*FileUpload) GetDataSourceId

func (x *FileUpload) GetDataSourceId() int64

func (*FileUpload) GetIssues

func (x *FileUpload) GetIssues() []*FileUpload_Issue

func (*FileUpload) GetItemsCreated

func (x *FileUpload) GetItemsCreated() int64

func (*FileUpload) GetItemsTotal

func (x *FileUpload) GetItemsTotal() int64

func (*FileUpload) GetItemsUpdated

func (x *FileUpload) GetItemsUpdated() int64

func (*FileUpload) GetName

func (x *FileUpload) GetName() string

func (*FileUpload) GetProcessingState

func (x *FileUpload) GetProcessingState() FileUpload_ProcessingState

func (*FileUpload) GetUploadTime

func (x *FileUpload) GetUploadTime() *timestamppb.Timestamp

func (*FileUpload) ProtoMessage

func (*FileUpload) ProtoMessage()

func (*FileUpload) ProtoReflect

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

func (*FileUpload) Reset

func (x *FileUpload) Reset()

func (*FileUpload) String

func (x *FileUpload) String() string

FileUpload_Issue

type FileUpload_Issue struct {
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`

	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`

	Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`

	Count int64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`

	Severity FileUpload_Issue_Severity "" /* 145 byte string literal not displayed */

	DocumentationUri string `protobuf:"bytes,6,opt,name=documentation_uri,json=documentationUri,proto3" json:"documentation_uri,omitempty"`

}

An error occurring in the data source, like "invalid price".

func (*FileUpload_Issue) Descriptor

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

Deprecated: Use FileUpload_Issue.ProtoReflect.Descriptor instead.

func (*FileUpload_Issue) GetCode

func (x *FileUpload_Issue) GetCode() string

func (*FileUpload_Issue) GetCount

func (x *FileUpload_Issue) GetCount() int64

func (*FileUpload_Issue) GetDescription

func (x *FileUpload_Issue) GetDescription() string

func (*FileUpload_Issue) GetDocumentationUri

func (x *FileUpload_Issue) GetDocumentationUri() string

func (*FileUpload_Issue) GetSeverity

func (*FileUpload_Issue) GetTitle

func (x *FileUpload_Issue) GetTitle() string

func (*FileUpload_Issue) ProtoMessage

func (*FileUpload_Issue) ProtoMessage()

func (*FileUpload_Issue) ProtoReflect

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

func (*FileUpload_Issue) Reset

func (x *FileUpload_Issue) Reset()

func (*FileUpload_Issue) String

func (x *FileUpload_Issue) String() string

FileUpload_Issue_Severity

type FileUpload_Issue_Severity int32

The severity of the issue.

FileUpload_Issue_SEVERITY_UNSPECIFIED, FileUpload_Issue_WARNING, FileUpload_Issue_ERROR

const (
	// Severity unspecified.
	FileUpload_Issue_SEVERITY_UNSPECIFIED FileUpload_Issue_Severity = 0
	// The issue is the warning.
	FileUpload_Issue_WARNING FileUpload_Issue_Severity = 1
	// The issue is an error.
	FileUpload_Issue_ERROR FileUpload_Issue_Severity = 2
)

func (FileUpload_Issue_Severity) Descriptor

func (FileUpload_Issue_Severity) Enum

func (FileUpload_Issue_Severity) EnumDescriptor

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

Deprecated: Use FileUpload_Issue_Severity.Descriptor instead.

func (FileUpload_Issue_Severity) Number

func (FileUpload_Issue_Severity) String

func (x FileUpload_Issue_Severity) String() string

func (FileUpload_Issue_Severity) Type

FileUpload_ProcessingState

type FileUpload_ProcessingState int32

The processing state of the data source.

FileUpload_PROCESSING_STATE_UNSPECIFIED, FileUpload_FAILED, FileUpload_IN_PROGRESS, FileUpload_SUCCEEDED

const (
	// Processing state unspecified.
	FileUpload_PROCESSING_STATE_UNSPECIFIED FileUpload_ProcessingState = 0
	// The data source could not be processed or all the items had errors.
	FileUpload_FAILED FileUpload_ProcessingState = 1
	// The data source is being processed.
	FileUpload_IN_PROGRESS FileUpload_ProcessingState = 2
	// The data source was processed successfully, though some items might have
	// had errors.
	FileUpload_SUCCEEDED FileUpload_ProcessingState = 3
)

func (FileUpload_ProcessingState) Descriptor

func (FileUpload_ProcessingState) Enum

func (FileUpload_ProcessingState) EnumDescriptor

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

Deprecated: Use FileUpload_ProcessingState.Descriptor instead.

func (FileUpload_ProcessingState) Number

func (FileUpload_ProcessingState) String

func (FileUpload_ProcessingState) Type

FileUploadsServiceClient

type FileUploadsServiceClient interface {
	// Gets the latest data source file upload. Only the `latest` alias is
	// accepted for a file upload.
	GetFileUpload(ctx context.Context, in *GetFileUploadRequest, opts ...grpc.CallOption) (*FileUpload, error)
}

FileUploadsServiceClient is the client API for FileUploadsService service.

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

func NewFileUploadsServiceClient

func NewFileUploadsServiceClient(cc grpc.ClientConnInterface) FileUploadsServiceClient

FileUploadsServiceServer

type FileUploadsServiceServer interface {
	// Gets the latest data source file upload. Only the `latest` alias is
	// accepted for a file upload.
	GetFileUpload(context.Context, *GetFileUploadRequest) (*FileUpload, error)
}

FileUploadsServiceServer is the server API for FileUploadsService service.

GetDataSourceRequest

type GetDataSourceRequest struct {

	// Required. The name of the data source to retrieve.
	// Format: `accounts/{account}/dataSources/{datasource}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the GetDataSource method.

func (*GetDataSourceRequest) Descriptor

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

Deprecated: Use GetDataSourceRequest.ProtoReflect.Descriptor instead.

func (*GetDataSourceRequest) GetName

func (x *GetDataSourceRequest) GetName() string

func (*GetDataSourceRequest) ProtoMessage

func (*GetDataSourceRequest) ProtoMessage()

func (*GetDataSourceRequest) ProtoReflect

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

func (*GetDataSourceRequest) Reset

func (x *GetDataSourceRequest) Reset()

func (*GetDataSourceRequest) String

func (x *GetDataSourceRequest) String() string

GetFileUploadRequest

type GetFileUploadRequest struct {

	// Required. The name of the data source file upload to retrieve.
	// Format:
	// `accounts/{account}/dataSources/{datasource}/fileUploads/latest`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the GetFileUploadRequest method.

func (*GetFileUploadRequest) Descriptor

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

Deprecated: Use GetFileUploadRequest.ProtoReflect.Descriptor instead.

func (*GetFileUploadRequest) GetName

func (x *GetFileUploadRequest) GetName() string

func (*GetFileUploadRequest) ProtoMessage

func (*GetFileUploadRequest) ProtoMessage()

func (*GetFileUploadRequest) ProtoReflect

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

func (*GetFileUploadRequest) Reset

func (x *GetFileUploadRequest) Reset()

func (*GetFileUploadRequest) String

func (x *GetFileUploadRequest) String() string

ListDataSourcesRequest

type ListDataSourcesRequest struct {

	// Required. The account to list data sources for.
	// Format: `accounts/{account}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of data sources 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 data sources
	// will be returned.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListDataSources` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListDataSources`
	// 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 ListDataSources method.

func (*ListDataSourcesRequest) Descriptor

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

Deprecated: Use ListDataSourcesRequest.ProtoReflect.Descriptor instead.

func (*ListDataSourcesRequest) GetPageSize

func (x *ListDataSourcesRequest) GetPageSize() int32

func (*ListDataSourcesRequest) GetPageToken

func (x *ListDataSourcesRequest) GetPageToken() string

func (*ListDataSourcesRequest) GetParent

func (x *ListDataSourcesRequest) GetParent() string

func (*ListDataSourcesRequest) ProtoMessage

func (*ListDataSourcesRequest) ProtoMessage()

func (*ListDataSourcesRequest) ProtoReflect

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

func (*ListDataSourcesRequest) Reset

func (x *ListDataSourcesRequest) Reset()

func (*ListDataSourcesRequest) String

func (x *ListDataSourcesRequest) String() string

ListDataSourcesResponse

type ListDataSourcesResponse struct {

	// The data sources from the specified account.
	DataSources []*DataSource `protobuf:"bytes,1,rep,name=data_sources,json=dataSources,proto3" json:"data_sources,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 ListDataSources method.

func (*ListDataSourcesResponse) Descriptor

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

Deprecated: Use ListDataSourcesResponse.ProtoReflect.Descriptor instead.

func (*ListDataSourcesResponse) GetDataSources

func (x *ListDataSourcesResponse) GetDataSources() []*DataSource

func (*ListDataSourcesResponse) GetNextPageToken

func (x *ListDataSourcesResponse) GetNextPageToken() string

func (*ListDataSourcesResponse) ProtoMessage

func (*ListDataSourcesResponse) ProtoMessage()

func (*ListDataSourcesResponse) ProtoReflect

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

func (*ListDataSourcesResponse) Reset

func (x *ListDataSourcesResponse) Reset()

func (*ListDataSourcesResponse) String

func (x *ListDataSourcesResponse) String() string

LocalInventoryDataSource

type LocalInventoryDataSource struct {

	// Required. Immutable. The feed label of the offers to which the local
	// inventory is provided.
	//
	// Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9),
	// and dashes (-).
	//
	// See also [migration to feed
	// labels](https://developers.google.com/shopping-content/guides/products/feed-labels).
	FeedLabel string `protobuf:"bytes,4,opt,name=feed_label,json=feedLabel,proto3" json:"feed_label,omitempty"`
	// Required. Immutable. The two-letter ISO 639-1 language of the items to
	// which the local inventory is provided.
	ContentLanguage string `protobuf:"bytes,5,opt,name=content_language,json=contentLanguage,proto3" json:"content_language,omitempty"`
	// contains filtered or unexported fields
}

The local inventory data source.

func (*LocalInventoryDataSource) Descriptor

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

Deprecated: Use LocalInventoryDataSource.ProtoReflect.Descriptor instead.

func (*LocalInventoryDataSource) GetContentLanguage

func (x *LocalInventoryDataSource) GetContentLanguage() string

func (*LocalInventoryDataSource) GetFeedLabel

func (x *LocalInventoryDataSource) GetFeedLabel() string

func (*LocalInventoryDataSource) ProtoMessage

func (*LocalInventoryDataSource) ProtoMessage()

func (*LocalInventoryDataSource) ProtoReflect

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

func (*LocalInventoryDataSource) Reset

func (x *LocalInventoryDataSource) Reset()

func (*LocalInventoryDataSource) String

func (x *LocalInventoryDataSource) String() string

PrimaryProductDataSource

type PrimaryProductDataSource struct {
	Channel PrimaryProductDataSource_Channel "" /* 150 byte string literal not displayed */

	FeedLabel *string `protobuf:"bytes,4,opt,name=feed_label,json=feedLabel,proto3,oneof" json:"feed_label,omitempty"`

	ContentLanguage *string `protobuf:"bytes,5,opt,name=content_language,json=contentLanguage,proto3,oneof" json:"content_language,omitempty"`

	Countries []string `protobuf:"bytes,6,rep,name=countries,proto3" json:"countries,omitempty"`

	DefaultRule *PrimaryProductDataSource_DefaultRule `protobuf:"bytes,7,opt,name=default_rule,json=defaultRule,proto3" json:"default_rule,omitempty"`

}

The primary data source for local and online products.

func (*PrimaryProductDataSource) Descriptor

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

Deprecated: Use PrimaryProductDataSource.ProtoReflect.Descriptor instead.

func (*PrimaryProductDataSource) GetChannel

func (*PrimaryProductDataSource) GetContentLanguage

func (x *PrimaryProductDataSource) GetContentLanguage() string

func (*PrimaryProductDataSource) GetCountries

func (x *PrimaryProductDataSource) GetCountries() []string

func (*PrimaryProductDataSource) GetDefaultRule

func (*PrimaryProductDataSource) GetFeedLabel

func (x *PrimaryProductDataSource) GetFeedLabel() string

func (*PrimaryProductDataSource) ProtoMessage

func (*PrimaryProductDataSource) ProtoMessage()

func (*PrimaryProductDataSource) ProtoReflect

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

func (*PrimaryProductDataSource) Reset

func (x *PrimaryProductDataSource) Reset()

func (*PrimaryProductDataSource) String

func (x *PrimaryProductDataSource) String() string

PrimaryProductDataSource_Channel

type PrimaryProductDataSource_Channel int32

Data Source Channel.

Channel is used to distinguish between data sources for different product verticals.

PrimaryProductDataSource_CHANNEL_UNSPECIFIED, PrimaryProductDataSource_ONLINE_PRODUCTS, PrimaryProductDataSource_LOCAL_PRODUCTS, PrimaryProductDataSource_PRODUCTS

const (
	// Not specified.
	PrimaryProductDataSource_CHANNEL_UNSPECIFIED PrimaryProductDataSource_Channel = 0
	// Online product.
	PrimaryProductDataSource_ONLINE_PRODUCTS PrimaryProductDataSource_Channel = 1
	// Local product.
	PrimaryProductDataSource_LOCAL_PRODUCTS PrimaryProductDataSource_Channel = 2
	// Unified data source for both local and online products.
	// Note: Products management through the API is not possible for this
	// channel.
	PrimaryProductDataSource_PRODUCTS PrimaryProductDataSource_Channel = 3
)

func (PrimaryProductDataSource_Channel) Descriptor

func (PrimaryProductDataSource_Channel) Enum

func (PrimaryProductDataSource_Channel) EnumDescriptor

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

Deprecated: Use PrimaryProductDataSource_Channel.Descriptor instead.

func (PrimaryProductDataSource_Channel) Number

func (PrimaryProductDataSource_Channel) String

func (PrimaryProductDataSource_Channel) Type

PrimaryProductDataSource_DefaultRule

type PrimaryProductDataSource_DefaultRule struct {

	// Required. The list of data sources linked in the [default
	// rule](https://support.google.com/merchants/answer/7450276).
	// This list is ordered by the default rule priority of joining the data.
	// It might include none or multiple references to `self` and supplemental
	// data sources.
	//
	// The list must not be empty.
	//
	// To link the data source to the default rule, you need to add a
	// new reference to this list (in sequential order).
	//
	// To unlink the data source from the default rule, you need to remove the
	// given reference from this list. To create attribute rules that are
	// different from the default rule, see [Set up your attribute
	// rules](//support.google.com/merchants/answer/14994083).
	//
	// Changing the order of this list will result in changing the priority of
	// data sources in the default rule.
	//
	// For example, providing the following list: [`1001`, `self`] will
	// take attribute values from supplemental data source `1001`, and fallback
	// to `self` if the attribute is not set in `1001`.
	TakeFromDataSources []*DataSourceReference `protobuf:"bytes,1,rep,name=take_from_data_sources,json=takeFromDataSources,proto3" json:"take_from_data_sources,omitempty"`
	// contains filtered or unexported fields
}

Default rule management of the data source.

func (*PrimaryProductDataSource_DefaultRule) Descriptor

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

Deprecated: Use PrimaryProductDataSource_DefaultRule.ProtoReflect.Descriptor instead.

func (*PrimaryProductDataSource_DefaultRule) GetTakeFromDataSources

func (x *PrimaryProductDataSource_DefaultRule) GetTakeFromDataSources() []*DataSourceReference

func (*PrimaryProductDataSource_DefaultRule) ProtoMessage

func (*PrimaryProductDataSource_DefaultRule) ProtoMessage()

func (*PrimaryProductDataSource_DefaultRule) ProtoReflect

func (*PrimaryProductDataSource_DefaultRule) Reset

func (*PrimaryProductDataSource_DefaultRule) String

PromotionDataSource

type PromotionDataSource struct {

	// Required. Immutable. The target country used as part of the unique
	// identifier. Represented as a [CLDR territory
	// code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml).
	//
	// Promotions are only available in selected
	// [countries](https://support.google.com/merchants/answer/4588460).
	TargetCountry string `protobuf:"bytes,1,opt,name=target_country,json=targetCountry,proto3" json:"target_country,omitempty"`
	// Required. Immutable. The two-letter ISO 639-1 language of the items in the
	// data source.
	ContentLanguage string `protobuf:"bytes,2,opt,name=content_language,json=contentLanguage,proto3" json:"content_language,omitempty"`
	// contains filtered or unexported fields
}

The promotion data source.

func (*PromotionDataSource) Descriptor

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

Deprecated: Use PromotionDataSource.ProtoReflect.Descriptor instead.

func (*PromotionDataSource) GetContentLanguage

func (x *PromotionDataSource) GetContentLanguage() string

func (*PromotionDataSource) GetTargetCountry

func (x *PromotionDataSource) GetTargetCountry() string

func (*PromotionDataSource) ProtoMessage

func (*PromotionDataSource) ProtoMessage()

func (*PromotionDataSource) ProtoReflect

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

func (*PromotionDataSource) Reset

func (x *PromotionDataSource) Reset()

func (*PromotionDataSource) String

func (x *PromotionDataSource) String() string

RegionalInventoryDataSource

type RegionalInventoryDataSource struct {

	// Required. Immutable. The feed label of the offers to which the regional
	// inventory is provided.
	//
	// Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9),
	// and dashes (-).
	//
	// See also [migration to feed
	// labels](https://developers.google.com/shopping-content/guides/products/feed-labels).
	FeedLabel string `protobuf:"bytes,4,opt,name=feed_label,json=feedLabel,proto3" json:"feed_label,omitempty"`
	// Required. Immutable. The two-letter ISO 639-1 language of the items to
	// which the regional inventory is provided.
	ContentLanguage string `protobuf:"bytes,5,opt,name=content_language,json=contentLanguage,proto3" json:"content_language,omitempty"`
	// contains filtered or unexported fields
}

The regional inventory data source.

func (*RegionalInventoryDataSource) Descriptor

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

Deprecated: Use RegionalInventoryDataSource.ProtoReflect.Descriptor instead.

func (*RegionalInventoryDataSource) GetContentLanguage

func (x *RegionalInventoryDataSource) GetContentLanguage() string

func (*RegionalInventoryDataSource) GetFeedLabel

func (x *RegionalInventoryDataSource) GetFeedLabel() string

func (*RegionalInventoryDataSource) ProtoMessage

func (*RegionalInventoryDataSource) ProtoMessage()

func (*RegionalInventoryDataSource) ProtoReflect

func (*RegionalInventoryDataSource) Reset

func (x *RegionalInventoryDataSource) Reset()

func (*RegionalInventoryDataSource) String

func (x *RegionalInventoryDataSource) String() string

SupplementalProductDataSource

type SupplementalProductDataSource struct {
	FeedLabel *string `protobuf:"bytes,4,opt,name=feed_label,json=feedLabel,proto3,oneof" json:"feed_label,omitempty"`

	ContentLanguage *string `protobuf:"bytes,5,opt,name=content_language,json=contentLanguage,proto3,oneof" json:"content_language,omitempty"`

	ReferencingPrimaryDataSources []*DataSourceReference "" /* 152 byte string literal not displayed */

}

The supplemental data source for local and online products. Supplemental API data sources must not have feedLabel and contentLanguage fields set. You can only use supplemental data sources to update existing products. For information about creating a supplemental data source, see Create a supplemental data source and link it to the primary data source.

func (*SupplementalProductDataSource) Descriptor

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

Deprecated: Use SupplementalProductDataSource.ProtoReflect.Descriptor instead.

func (*SupplementalProductDataSource) GetContentLanguage

func (x *SupplementalProductDataSource) GetContentLanguage() string

func (*SupplementalProductDataSource) GetFeedLabel

func (x *SupplementalProductDataSource) GetFeedLabel() string

func (*SupplementalProductDataSource) GetReferencingPrimaryDataSources

func (x *SupplementalProductDataSource) GetReferencingPrimaryDataSources() []*DataSourceReference

func (*SupplementalProductDataSource) ProtoMessage

func (*SupplementalProductDataSource) ProtoMessage()

func (*SupplementalProductDataSource) ProtoReflect

func (*SupplementalProductDataSource) Reset

func (x *SupplementalProductDataSource) Reset()

func (*SupplementalProductDataSource) String

UnimplementedDataSourcesServiceServer

type UnimplementedDataSourcesServiceServer struct {
}

UnimplementedDataSourcesServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedDataSourcesServiceServer) CreateDataSource

func (*UnimplementedDataSourcesServiceServer) DeleteDataSource

func (*UnimplementedDataSourcesServiceServer) FetchDataSource

func (*UnimplementedDataSourcesServiceServer) GetDataSource

func (*UnimplementedDataSourcesServiceServer) ListDataSources

func (*UnimplementedDataSourcesServiceServer) UpdateDataSource

UnimplementedFileUploadsServiceServer

type UnimplementedFileUploadsServiceServer struct {
}

UnimplementedFileUploadsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedFileUploadsServiceServer) GetFileUpload

UpdateDataSourceRequest

type UpdateDataSourceRequest struct {

	// Required. The data source resource to update.
	DataSource *DataSource `protobuf:"bytes,1,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"`
	// Required. The list of data source fields to be updated.
	//
	// Fields specified in the update mask without a value specified in the
	// body will be deleted from the data source.
	//
	// Providing special "*" value for full data source 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 UpdateDataSource method.

func (*UpdateDataSourceRequest) Descriptor

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

Deprecated: Use UpdateDataSourceRequest.ProtoReflect.Descriptor instead.

func (*UpdateDataSourceRequest) GetDataSource

func (x *UpdateDataSourceRequest) GetDataSource() *DataSource

func (*UpdateDataSourceRequest) GetUpdateMask

func (x *UpdateDataSourceRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateDataSourceRequest) ProtoMessage

func (*UpdateDataSourceRequest) ProtoMessage()

func (*UpdateDataSourceRequest) ProtoReflect

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

func (*UpdateDataSourceRequest) Reset

func (x *UpdateDataSourceRequest) Reset()

func (*UpdateDataSourceRequest) String

func (x *UpdateDataSourceRequest) String() string