Struct google_content2::Datafeed [−][src]
pub struct Datafeed { pub kind: Option<String>, pub content_type: Option<String>, pub name: Option<String>, pub content_language: Option<String>, pub format: Option<DatafeedFormat>, pub fetch_schedule: Option<DatafeedFetchSchedule>, pub target_country: Option<i64>, pub file_name: Option<String>, pub intended_destinations: Option<Vec<String>>, pub id: Option<String>, pub targets: Option<Vec<DatafeedTarget>>, pub attribute_language: Option<String>, }
Datafeed configuration data.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- insert datafeeds (request|response)
- custombatch datafeeds (none)
- patch datafeeds (request|response)
- list datafeeds (none)
- delete datafeeds (none)
- get datafeeds (response)
- update datafeeds (request|response)
Fields
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string "content#datafeed".
content_type: Option<String>
The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported.
name: Option<String>
A descriptive name of the data feed.
content_language: Option<String>
[DEPRECATED] Please use targets[].language instead. The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for targetCountry.
format: Option<DatafeedFormat>
Format of the feed file.
fetch_schedule: Option<DatafeedFetchSchedule>
Fetch schedule for the feed file.
target_country: Option<i64>
[DEPRECATED] Please use targets[].country instead. The country where the items in the feed will be included in the search index, represented as a CLDR territory code.
file_name: Option<String>
The filename of the feed. All feeds must have a unique file name.
intended_destinations: Option<Vec<String>>
[DEPRECATED] Please use targets[].includedDestinations instead. The list of intended destinations (corresponds to checked check boxes in Merchant Center).
id: Option<String>
The ID of the data feed.
targets: Option<Vec<DatafeedTarget>>
The targets this feed should apply to (country, language, destinations).
attribute_language: Option<String>
The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
Trait Implementations
impl Default for Datafeed
[src]
impl Default for Datafeed
impl Clone for Datafeed
[src]
impl Clone for Datafeed
fn clone(&self) -> Datafeed
[src]
fn clone(&self) -> Datafeed
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Datafeed
[src]
impl Debug for Datafeed
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for Datafeed
[src]
impl RequestValue for Datafeed
impl Resource for Datafeed
[src]
impl Resource for Datafeed
impl ResponseResult for Datafeed
[src]
impl ResponseResult for Datafeed