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

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

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






DatafeedFetchSchedule (Content API for Shopping v2.1-rev20240609-2.0.0)












com.google.api.services.content.model

Class DatafeedFetchSchedule

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class DatafeedFetchSchedule
    extends com.google.api.client.json.GenericJson
    The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Content API for Shopping. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • DatafeedFetchSchedule

        public DatafeedFetchSchedule()
    • Method Detail

      • getDayOfMonth

        public Long getDayOfMonth()
        The day of the month the feed file should be fetched (1-31).
        Returns:
        value or null for none
      • setDayOfMonth

        public DatafeedFetchSchedule setDayOfMonth(Long dayOfMonth)
        The day of the month the feed file should be fetched (1-31).
        Parameters:
        dayOfMonth - dayOfMonth or null for none
      • getFetchUrl

        public String getFetchUrl()
        The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
        Returns:
        value or null for none
      • setFetchUrl

        public DatafeedFetchSchedule setFetchUrl(String fetchUrl)
        The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
        Parameters:
        fetchUrl - fetchUrl or null for none
      • getHour

        public Long getHour()
        The hour of the day the feed file should be fetched (0-23).
        Returns:
        value or null for none
      • setHour

        public DatafeedFetchSchedule setHour(Long hour)
        The hour of the day the feed file should be fetched (0-23).
        Parameters:
        hour - hour or null for none
      • getMinuteOfHour

        public Long getMinuteOfHour()
        The minute of the hour the feed file should be fetched (0-59). Read-only.
        Returns:
        value or null for none
      • setMinuteOfHour

        public DatafeedFetchSchedule setMinuteOfHour(Long minuteOfHour)
        The minute of the hour the feed file should be fetched (0-59). Read-only.
        Parameters:
        minuteOfHour - minuteOfHour or null for none
      • getPassword

        public String getPassword()
        An optional password for fetch_url.
        Returns:
        value or null for none
      • setPassword

        public DatafeedFetchSchedule setPassword(String password)
        An optional password for fetch_url.
        Parameters:
        password - password or null for none
      • getPaused

        public Boolean getPaused()
        Whether the scheduled fetch is paused or not.
        Returns:
        value or null for none
      • setPaused

        public DatafeedFetchSchedule setPaused(Boolean paused)
        Whether the scheduled fetch is paused or not.
        Parameters:
        paused - paused or null for none
      • getTimeZone

        public String getTimeZone()
        Time zone used for schedule. UTC by default. For example, "America/Los_Angeles".
        Returns:
        value or null for none
      • setTimeZone

        public DatafeedFetchSchedule setTimeZone(String timeZone)
        Time zone used for schedule. UTC by default. For example, "America/Los_Angeles".
        Parameters:
        timeZone - timeZone or null for none
      • getUsername

        public String getUsername()
        An optional user name for fetch_url.
        Returns:
        value or null for none
      • setUsername

        public DatafeedFetchSchedule setUsername(String username)
        An optional user name for fetch_url.
        Parameters:
        username - username or null for none
      • getWeekday

        public String getWeekday()
        The day of the week the feed file should be fetched. Acceptable values are: - "`monday`" - "`tuesday`" - "`wednesday`" - "`thursday`" - "`friday`" - "`saturday`" - "`sunday`"
        Returns:
        value or null for none
      • setWeekday

        public DatafeedFetchSchedule setWeekday(String weekday)
        The day of the week the feed file should be fetched. Acceptable values are: - "`monday`" - "`tuesday`" - "`wednesday`" - "`thursday`" - "`friday`" - "`saturday`" - "`sunday`"
        Parameters:
        weekday - weekday or null for none
      • clone

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

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy