Show / Hide Table of Contents

Class DefaultRule

Default rule management of the data source.

Inheritance
object
DefaultRule
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Merchant.datasources_v1beta.Data
Assembly: Google.Apis.Merchant.datasources_v1beta.dll
Syntax
public class DefaultRule : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

TakeFromDataSources

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.

Declaration
[JsonProperty("takeFromDataSources")]
public virtual IList<DataSourceReference> TakeFromDataSources { get; set; }
Property Value
Type Description
IList<DataSourceReference>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX