Class: Google::Apis::ContentV2::DatafeedTarget
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ContentV2::DatafeedTarget
 
- Defined in:
- generated/google/apis/content_v2/classes.rb,
 generated/google/apis/content_v2/representations.rb,
 generated/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #country  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The country where the items in the feed will be included in the search index, represented as a CLDR territory code. 
- 
  
    
      #excluded_destinations  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center). 
- 
  
    
      #included_destinations  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). 
- 
  
    
      #language  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The two-letter ISO 639-1 language of the items in the feed. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ DatafeedTarget 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of DatafeedTarget. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ DatafeedTarget
Returns a new instance of DatafeedTarget
| 1559 1560 1561 | # File 'generated/google/apis/content_v2/classes.rb', line 1559 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#country ⇒ String
The country where the items in the feed will be included in the search index,
represented as a  CLDR territory code.
Corresponds to the JSON property country
| 1538 1539 1540 | # File 'generated/google/apis/content_v2/classes.rb', line 1538 def country @country end | 
#excluded_destinations ⇒ Array<String>
The list of destinations to exclude for this target (corresponds to unchecked
check boxes in Merchant Center).
Corresponds to the JSON property excludedDestinations
| 1544 1545 1546 | # File 'generated/google/apis/content_v2/classes.rb', line 1544 def excluded_destinations @excluded_destinations end | 
#included_destinations ⇒ Array<String>
The list of destinations to include for this target (corresponds to checked
check boxes in Merchant Center). Default destinations are always included
unless provided in the excluded_destination field.
Corresponds to the JSON property includedDestinations
| 1551 1552 1553 | # File 'generated/google/apis/content_v2/classes.rb', line 1551 def included_destinations @included_destinations end | 
#language ⇒ String
The two-letter ISO 639-1 language of the items in the feed. Must be a valid
language for targets[].country.
Corresponds to the JSON property language
| 1557 1558 1559 | # File 'generated/google/apis/content_v2/classes.rb', line 1557 def language @language end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1564 1565 1566 1567 1568 1569 | # File 'generated/google/apis/content_v2/classes.rb', line 1564 def update!(**args) @country = args[:country] if args.key?(:country) @excluded_destinations = args[:excluded_destinations] if args.key?(:excluded_destinations) @included_destinations = args[:included_destinations] if args.key?(:included_destinations) @language = args[:language] if args.key?(:language) end |