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

target.apidocs.com.google.api.services.bigquery.model.JobConfigurationTableCopy.html Maven / Gradle / Ivy

There is a newer version: v2-rev20241222-2.0.0
Show newest version






JobConfigurationTableCopy (BigQuery API v2-rev20210219-1.31.0)












com.google.api.services.bigquery.model

Class JobConfigurationTableCopy

    • Constructor Detail

      • JobConfigurationTableCopy

        public JobConfigurationTableCopy()
    • Method Detail

      • getCreateDisposition

        public String getCreateDisposition()
        [Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.
        Returns:
        value or null for none
      • setCreateDisposition

        public JobConfigurationTableCopy setCreateDisposition(String createDisposition)
        [Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.
        Parameters:
        createDisposition - createDisposition or null for none
      • getDestinationEncryptionConfiguration

        public EncryptionConfiguration getDestinationEncryptionConfiguration()
        Custom encryption configuration (e.g., Cloud KMS keys).
        Returns:
        value or null for none
      • setDestinationEncryptionConfiguration

        public JobConfigurationTableCopy setDestinationEncryptionConfiguration(EncryptionConfiguration destinationEncryptionConfiguration)
        Custom encryption configuration (e.g., Cloud KMS keys).
        Parameters:
        destinationEncryptionConfiguration - destinationEncryptionConfiguration or null for none
      • getDestinationExpirationTime

        public Object getDestinationExpirationTime()
        [Optional] The time when the destination table expires. Expired tables will be deleted and their storage reclaimed.
        Returns:
        value or null for none
      • setDestinationExpirationTime

        public JobConfigurationTableCopy setDestinationExpirationTime(Object destinationExpirationTime)
        [Optional] The time when the destination table expires. Expired tables will be deleted and their storage reclaimed.
        Parameters:
        destinationExpirationTime - destinationExpirationTime or null for none
      • getDestinationTable

        public TableReference getDestinationTable()
        [Required] The destination table
        Returns:
        value or null for none
      • setDestinationTable

        public JobConfigurationTableCopy setDestinationTable(TableReference destinationTable)
        [Required] The destination table
        Parameters:
        destinationTable - destinationTable or null for none
      • getOperationType

        public String getOperationType()
        [Optional] Supported operation types in table copy job.
        Returns:
        value or null for none
      • setOperationType

        public JobConfigurationTableCopy setOperationType(String operationType)
        [Optional] Supported operation types in table copy job.
        Parameters:
        operationType - operationType or null for none
      • getSourceTable

        public TableReference getSourceTable()
        [Pick one] Source table to copy.
        Returns:
        value or null for none
      • getSourceTables

        public List<TableReference> getSourceTables()
        [Pick one] Source tables to copy.
        Returns:
        value or null for none
      • getWriteDisposition

        public String getWriteDisposition()
        [Optional] Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_EMPTY. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion.
        Returns:
        value or null for none
      • setWriteDisposition

        public JobConfigurationTableCopy setWriteDisposition(String writeDisposition)
        [Optional] Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_EMPTY. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion.
        Parameters:
        writeDisposition - writeDisposition or null for none

Copyright © 2011–2021 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy