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

target.apidocs.com.google.api.services.sql.model.Operation.html Maven / Gradle / Ivy







Operation (Cloud SQL Admin API v1beta4-rev20201026-1.30.10)












com.google.api.services.sql.model

Class Operation

    • Constructor Detail

      • Operation

        public Operation()
    • Method Detail

      • getEndTime

        public String getEndTime()
        The time this operation finished in UTC timezone in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*.
        Returns:
        value or null for none
      • setEndTime

        public Operation setEndTime(String endTime)
        The time this operation finished in UTC timezone in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*.
        Parameters:
        endTime - endTime or null for none
      • getError

        public OperationErrors getError()
        If errors occurred during processing of this operation, this field will be populated.
        Returns:
        value or null for none
      • setError

        public Operation setError(OperationErrors error)
        If errors occurred during processing of this operation, this field will be populated.
        Parameters:
        error - error or null for none
      • getExportContext

        public ExportContext getExportContext()
        The context for export operation, if applicable.
        Returns:
        value or null for none
      • setExportContext

        public Operation setExportContext(ExportContext exportContext)
        The context for export operation, if applicable.
        Parameters:
        exportContext - exportContext or null for none
      • getImportContext

        public ImportContext getImportContext()
        The context for import operation, if applicable.
        Returns:
        value or null for none
      • setImportContext

        public Operation setImportContext(ImportContext importContext)
        The context for import operation, if applicable.
        Parameters:
        importContext - importContext or null for none
      • getInsertTime

        public String getInsertTime()
        The time this operation was enqueued in UTC timezone in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*.
        Returns:
        value or null for none
      • setInsertTime

        public Operation setInsertTime(String insertTime)
        The time this operation was enqueued in UTC timezone in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*.
        Parameters:
        insertTime - insertTime or null for none
      • getKind

        public String getKind()
        This is always *sql#operation*.
        Returns:
        value or null for none
      • setKind

        public Operation setKind(String kind)
        This is always *sql#operation*.
        Parameters:
        kind - kind or null for none
      • getName

        public String getName()
        An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation.
        Returns:
        value or null for none
      • setName

        public Operation setName(String name)
        An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation.
        Parameters:
        name - name or null for none
      • getOperationType

        public String getOperationType()
        The type of the operation. Valid values are: *CREATE* *DELETE* *UPDATE* *RESTART* *IMPORT* *EXPORT* *BACKUP_VOLUME* *RESTORE_VOLUME* *CREATE_USER* *DELETE_USER* *CREATE_DATABASE* *DELETE_DATABASE*
        Returns:
        value or null for none
      • setOperationType

        public Operation setOperationType(String operationType)
        The type of the operation. Valid values are: *CREATE* *DELETE* *UPDATE* *RESTART* *IMPORT* *EXPORT* *BACKUP_VOLUME* *RESTORE_VOLUME* *CREATE_USER* *DELETE_USER* *CREATE_DATABASE* *DELETE_DATABASE*
        Parameters:
        operationType - operationType or null for none
      • getSelfLink

        public String getSelfLink()
        The URI of this resource.
        Returns:
        value or null for none
      • setSelfLink

        public Operation setSelfLink(String selfLink)
        The URI of this resource.
        Parameters:
        selfLink - selfLink or null for none
      • getStartTime

        public String getStartTime()
        The time this operation actually started in UTC timezone in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*.
        Returns:
        value or null for none
      • setStartTime

        public Operation setStartTime(String startTime)
        The time this operation actually started in UTC timezone in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*.
        Parameters:
        startTime - startTime or null for none
      • getStatus

        public String getStatus()
        The status of an operation. Valid values are: *PENDING* *RUNNING* *DONE* *SQL_OPERATION_STATUS_UNSPECIFIED*
        Returns:
        value or null for none
      • setStatus

        public Operation setStatus(String status)
        The status of an operation. Valid values are: *PENDING* *RUNNING* *DONE* *SQL_OPERATION_STATUS_UNSPECIFIED*
        Parameters:
        status - status or null for none
      • getTargetId

        public String getTargetId()
        Name of the database instance related to this operation.
        Returns:
        value or null for none
      • setTargetId

        public Operation setTargetId(String targetId)
        Name of the database instance related to this operation.
        Parameters:
        targetId - targetId or null for none
      • getTargetLink

        public String getTargetLink()
        Returns:
        value or null for none
      • setTargetLink

        public Operation setTargetLink(String targetLink)
        Parameters:
        targetLink - targetLink or null for none
      • getTargetProject

        public String getTargetProject()
        The project ID of the target instance related to this operation.
        Returns:
        value or null for none
      • setTargetProject

        public Operation setTargetProject(String targetProject)
        The project ID of the target instance related to this operation.
        Parameters:
        targetProject - targetProject or null for none
      • getUser

        public String getUser()
        The email address of the user who initiated this operation.
        Returns:
        value or null for none
      • setUser

        public Operation setUser(String user)
        The email address of the user who initiated this operation.
        Parameters:
        user - user or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy