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-rev20240825-2.0.0
Show newest version






Datafeed (Content API for Shopping v2.1-rev20240609-2.0.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
      • getContentType

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

        public Datafeed setContentType(String contentType)
        Required. The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported. Acceptable values are: - "`local products`" - "`product inventory`" - "`products`"
        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()
        Required. 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)
        Required. 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()
        Required for update. The ID of the data feed.
        Returns:
        value or null for none
      • setId

        public Datafeed setId(Long id)
        Required for update. The ID of the data feed.
        Parameters:
        id - id 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()
        Required for insert. A descriptive name of the data feed.
        Returns:
        value or null for none
      • setName

        public Datafeed setName(String name)
        Required for insert. A descriptive name of the data feed.
        Parameters:
        name - name 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–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy