Class: Google::Shopping::Merchant::DataSources::V1::PrimaryProductDataSource::DefaultRule
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::DataSources::V1::PrimaryProductDataSource::DefaultRule
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/datasources/v1/datasourcetypes.rb
Overview
Default rule management of the data source.
Instance Attribute Summary collapse
Instance Attribute Details
#take_from_data_sources ⇒ ::Array<::Google::Shopping::Merchant::DataSources::V1::DataSourceReference>
Returns Required. The list of data sources linked in the default
rule.
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.
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.
121 122 123 124 |
# File 'proto_docs/google/shopping/merchant/datasources/v1/datasourcetypes.rb', line 121 class DefaultRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |