All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.content.model.Datafeed.html Maven / Gradle / Ivy

There is a newer version: v2.1-rev20241217-2.0.0
Show newest version






Datafeed (Content API for Shopping v2-rev20190308-1.26.0)












com.google.api.services.content.model

Class Datafeed

    • Constructor Detail

      • Datafeed

        public Datafeed()
    • Method Detail

      • getAttributeLanguage

        public String getAttributeLanguage()
        The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
        Returns:
        value or null for none
      • setAttributeLanguage

        public Datafeed setAttributeLanguage(String attributeLanguage)
        The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
        Parameters:
        attributeLanguage - attributeLanguage or null for none
      • getContentLanguage

        public String getContentLanguage()
        [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.
        Returns:
        value or null for none
      • setContentLanguage

        public Datafeed setContentLanguage(String contentLanguage)
        [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.
        Parameters:
        contentLanguage - contentLanguage or null for none
      • getContentType

        public String getContentType()
        The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported.
        Returns:
        value or null for none
      • setContentType

        public Datafeed setContentType(String contentType)
        The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported.
        Parameters:
        contentType - contentType or null for none
      • getFetchSchedule

        public DatafeedFetchSchedule getFetchSchedule()
        Fetch schedule for the feed file.
        Returns:
        value or null for none
      • setFetchSchedule

        public Datafeed setFetchSchedule(DatafeedFetchSchedule fetchSchedule)
        Fetch schedule for the feed file.
        Parameters:
        fetchSchedule - fetchSchedule or null for none
      • getFileName

        public String getFileName()
        The filename of the feed. All feeds must have a unique file name.
        Returns:
        value or null for none
      • setFileName

        public Datafeed setFileName(String fileName)
        The filename of the feed. All feeds must have a unique file name.
        Parameters:
        fileName - fileName or null for none
      • getFormat

        public DatafeedFormat getFormat()
        Format of the feed file.
        Returns:
        value or null for none
      • setFormat

        public Datafeed setFormat(DatafeedFormat format)
        Format of the feed file.
        Parameters:
        format - format or null for none
      • getId

        public Long getId()
        The ID of the data feed.
        Returns:
        value or null for none
      • setId

        public Datafeed setId(Long id)
        The ID of the data feed.
        Parameters:
        id - id or null for none
      • getIntendedDestinations

        public List<String> getIntendedDestinations()
        [DEPRECATED] Please use targets[].includedDestinations instead. The list of intended destinations (corresponds to checked check boxes in Merchant Center).
        Returns:
        value or null for none
      • setIntendedDestinations

        public Datafeed setIntendedDestinations(List<String> intendedDestinations)
        [DEPRECATED] Please use targets[].includedDestinations instead. The list of intended destinations (corresponds to checked check boxes in Merchant Center).
        Parameters:
        intendedDestinations - intendedDestinations or null for none
      • getKind

        public String getKind()
        Identifies what kind of resource this is. Value: the fixed string "content#datafeed".
        Returns:
        value or null for none
      • setKind

        public Datafeed setKind(String kind)
        Identifies what kind of resource this is. Value: the fixed string "content#datafeed".
        Parameters:
        kind - kind or null for none
      • getName

        public String getName()
        A descriptive name of the data feed.
        Returns:
        value or null for none
      • setName

        public Datafeed setName(String name)
        A descriptive name of the data feed.
        Parameters:
        name - name or null for none
      • getTargetCountry

        public String getTargetCountry()
        [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.
        Returns:
        value or null for none
      • setTargetCountry

        public Datafeed setTargetCountry(String targetCountry)
        [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.
        Parameters:
        targetCountry - targetCountry or null for none
      • getTargets

        public List<DatafeedTarget> getTargets()
        The targets this feed should apply to (country, language, destinations).
        Returns:
        value or null for none
      • setTargets

        public Datafeed setTargets(List<DatafeedTarget> targets)
        The targets this feed should apply to (country, language, destinations).
        Parameters:
        targets - targets or null for none
      • set

        public Datafeed set(String fieldName,
                            Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public Datafeed clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2019 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy