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

target.apidocs.com.google.api.services.sheets.v4.model.DataExecutionStatus.html Maven / Gradle / Ivy

There is a newer version: v4-rev20240423-2.0.0
Show newest version






DataExecutionStatus (Google Sheets API v4-rev20240319-2.0.0)












com.google.api.services.sheets.v4.model

Class DataExecutionStatus

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


    public final class DataExecutionStatus
    extends com.google.api.client.json.GenericJson
    The data execution status. A data execution is created to sync a data source object with the latest data from a DataSource. It is usually scheduled to run at background, you can check its state to tell if an execution completes There are several scenarios where a data execution is triggered to run: * Adding a data source creates an associated data source sheet as well as a data execution to sync the data from the data source to the sheet. * Updating a data source creates a data execution to refresh the associated data source sheet similarly. * You can send refresh request to explicitly refresh one or multiple data source objects.

    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 Google Sheets API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • DataExecutionStatus

        public DataExecutionStatus()
    • Method Detail

      • getErrorCode

        public String getErrorCode()
        The error code.
        Returns:
        value or null for none
      • setErrorCode

        public DataExecutionStatus setErrorCode(String errorCode)
        The error code.
        Parameters:
        errorCode - errorCode or null for none
      • getErrorMessage

        public String getErrorMessage()
        The error message, which may be empty.
        Returns:
        value or null for none
      • setErrorMessage

        public DataExecutionStatus setErrorMessage(String errorMessage)
        The error message, which may be empty.
        Parameters:
        errorMessage - errorMessage or null for none
      • getLastRefreshTime

        public String getLastRefreshTime()
        Gets the time the data last successfully refreshed.
        Returns:
        value or null for none
      • setLastRefreshTime

        public DataExecutionStatus setLastRefreshTime(String lastRefreshTime)
        Gets the time the data last successfully refreshed.
        Parameters:
        lastRefreshTime - lastRefreshTime or null for none
      • getState

        public String getState()
        The state of the data execution.
        Returns:
        value or null for none
      • setState

        public DataExecutionStatus setState(String state)
        The state of the data execution.
        Parameters:
        state - state or null for none
      • clone

        public DataExecutionStatus 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