Liking cljdoc? Tell your friends :D

happygapi.bigquery.tables

BigQuery API: tables. A data platform for customers to create, manage, share and query data. See: https://cloud.google.com/bigquery/api/reference/rest/v2/tables

BigQuery API: tables.
A data platform for customers to create, manage, share and query data.
See: https://cloud.google.com/bigquery/api/reference/rest/v2/tables
raw docstring

delete$clj

(delete$ auth parameters)

https://cloud.google.com/bigquery/api/reference/rest/v2/tables/delete

Required parameters: tableId, datasetId, projectId

Optional parameters: none

Deletes the table specified by tableId from the dataset. If the table contains data, all the data will be deleted.

https://cloud.google.com/bigquery/api/reference/rest/v2/tables/delete

Required parameters: tableId, datasetId, projectId

Optional parameters: none

Deletes the table specified by tableId from the dataset. If the table contains data, all the data will be deleted.
raw docstring

get$clj

(get$ auth parameters)

https://cloud.google.com/bigquery/api/reference/rest/v2/tables/get

Required parameters: datasetId, projectId, tableId

Optional parameters: selectedFields

Gets the specified table resource by table ID. This method does not return the data in the table, it only returns the table resource, which describes the structure of this table.

https://cloud.google.com/bigquery/api/reference/rest/v2/tables/get

Required parameters: datasetId, projectId, tableId

Optional parameters: selectedFields

Gets the specified table resource by table ID. This method does not return the data in the table, it only returns the table resource, which describes the structure of this table.
raw docstring

getIamPolicy$clj

(getIamPolicy$ auth parameters body)

https://cloud.google.com/bigquery/api/reference/rest/v2/tables/getIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

https://cloud.google.com/bigquery/api/reference/rest/v2/tables/getIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
raw docstring

insert$clj

(insert$ auth parameters body)

https://cloud.google.com/bigquery/api/reference/rest/v2/tables/insert

Required parameters: datasetId, projectId

Optional parameters: none

Body:

{:creationTime string, :description string, :numBytes string, :schema {:fields [TableFieldSchema]}, :labels {}, :numLongTermBytes string, :numPhysicalBytes string, :numRows string, :expirationTime string, :selfLink string, :type string, :etag string, :timePartitioning {:type string, :requirePartitionFilter boolean, :expirationMs string, :field string}, :requirePartitionFilter boolean, :externalDataConfiguration {:schema TableSchema, :bigtableOptions BigtableOptions, :connectionId string, :csvOptions CsvOptions, :parquetOptions ParquetOptions, :autodetect boolean, :compression string, :sourceFormat string, :ignoreUnknownValues boolean, :googleSheetsOptions GoogleSheetsOptions, :hivePartitioningOptions HivePartitioningOptions, :decimalTargetTypes [string], :sourceUris [string], :maxBadRecords integer}, :lastModifiedTime string, :clustering {:fields [string]}, :friendlyName string, :tableReference {:datasetId string, :projectId string, :tableId string}, :id string, :rangePartitioning {:range {:start string, :end string, :interval string}, :field string}, :kind string, :streamingBuffer {:estimatedBytes string, :estimatedRows string, :oldestEntryTime string}, :location string, :materializedView {:enableRefresh boolean, :lastRefreshTime string, :query string, :refreshIntervalMs string}, :encryptionConfiguration {:kmsKeyName string}, :snapshotDefinition {:baseTableReference TableReference, :snapshotTime string}, :view {:useExplicitColumnNames boolean, :useLegacySql boolean, :query string, :userDefinedFunctionResources [UserDefinedFunctionResource]}, :model {:trainingRuns [BqmlTrainingRun], :modelOptions {:lossType string, :modelType string, :labels [string]}}}

Creates a new, empty table in the dataset.

https://cloud.google.com/bigquery/api/reference/rest/v2/tables/insert

Required parameters: datasetId, projectId

Optional parameters: none

Body: 

{:creationTime string,
 :description string,
 :numBytes string,
 :schema {:fields [TableFieldSchema]},
 :labels {},
 :numLongTermBytes string,
 :numPhysicalBytes string,
 :numRows string,
 :expirationTime string,
 :selfLink string,
 :type string,
 :etag string,
 :timePartitioning {:type string,
                    :requirePartitionFilter boolean,
                    :expirationMs string,
                    :field string},
 :requirePartitionFilter boolean,
 :externalDataConfiguration {:schema TableSchema,
                             :bigtableOptions BigtableOptions,
                             :connectionId string,
                             :csvOptions CsvOptions,
                             :parquetOptions ParquetOptions,
                             :autodetect boolean,
                             :compression string,
                             :sourceFormat string,
                             :ignoreUnknownValues boolean,
                             :googleSheetsOptions GoogleSheetsOptions,
                             :hivePartitioningOptions HivePartitioningOptions,
                             :decimalTargetTypes [string],
                             :sourceUris [string],
                             :maxBadRecords integer},
 :lastModifiedTime string,
 :clustering {:fields [string]},
 :friendlyName string,
 :tableReference {:datasetId string,
                  :projectId string,
                  :tableId string},
 :id string,
 :rangePartitioning {:range {:start string,
                             :end string,
                             :interval string},
                     :field string},
 :kind string,
 :streamingBuffer {:estimatedBytes string,
                   :estimatedRows string,
                   :oldestEntryTime string},
 :location string,
 :materializedView {:enableRefresh boolean,
                    :lastRefreshTime string,
                    :query string,
                    :refreshIntervalMs string},
 :encryptionConfiguration {:kmsKeyName string},
 :snapshotDefinition {:baseTableReference TableReference,
                      :snapshotTime string},
 :view {:useExplicitColumnNames boolean,
        :useLegacySql boolean,
        :query string,
        :userDefinedFunctionResources [UserDefinedFunctionResource]},
 :model {:trainingRuns [BqmlTrainingRun],
         :modelOptions {:lossType string,
                        :modelType string,
                        :labels [string]}}}

Creates a new, empty table in the dataset.
raw docstring

list$clj

(list$ auth parameters)

https://cloud.google.com/bigquery/api/reference/rest/v2/tables/list

Required parameters: projectId, datasetId

Optional parameters: pageToken, maxResults

Lists all tables in the specified dataset. Requires the READER dataset role.

https://cloud.google.com/bigquery/api/reference/rest/v2/tables/list

Required parameters: projectId, datasetId

Optional parameters: pageToken, maxResults

Lists all tables in the specified dataset. Requires the READER dataset role.
raw docstring

patch$clj

(patch$ auth parameters body)

https://cloud.google.com/bigquery/api/reference/rest/v2/tables/patch

Required parameters: datasetId, projectId, tableId

Optional parameters: none

Body:

{:creationTime string, :description string, :numBytes string, :schema {:fields [TableFieldSchema]}, :labels {}, :numLongTermBytes string, :numPhysicalBytes string, :numRows string, :expirationTime string, :selfLink string, :type string, :etag string, :timePartitioning {:type string, :requirePartitionFilter boolean, :expirationMs string, :field string}, :requirePartitionFilter boolean, :externalDataConfiguration {:schema TableSchema, :bigtableOptions BigtableOptions, :connectionId string, :csvOptions CsvOptions, :parquetOptions ParquetOptions, :autodetect boolean, :compression string, :sourceFormat string, :ignoreUnknownValues boolean, :googleSheetsOptions GoogleSheetsOptions, :hivePartitioningOptions HivePartitioningOptions, :decimalTargetTypes [string], :sourceUris [string], :maxBadRecords integer}, :lastModifiedTime string, :clustering {:fields [string]}, :friendlyName string, :tableReference {:datasetId string, :projectId string, :tableId string}, :id string, :rangePartitioning {:range {:start string, :end string, :interval string}, :field string}, :kind string, :streamingBuffer {:estimatedBytes string, :estimatedRows string, :oldestEntryTime string}, :location string, :materializedView {:enableRefresh boolean, :lastRefreshTime string, :query string, :refreshIntervalMs string}, :encryptionConfiguration {:kmsKeyName string}, :snapshotDefinition {:baseTableReference TableReference, :snapshotTime string}, :view {:useExplicitColumnNames boolean, :useLegacySql boolean, :query string, :userDefinedFunctionResources [UserDefinedFunctionResource]}, :model {:trainingRuns [BqmlTrainingRun], :modelOptions {:lossType string, :modelType string, :labels [string]}}}

Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource. This method supports patch semantics.

https://cloud.google.com/bigquery/api/reference/rest/v2/tables/patch

Required parameters: datasetId, projectId, tableId

Optional parameters: none

Body: 

{:creationTime string,
 :description string,
 :numBytes string,
 :schema {:fields [TableFieldSchema]},
 :labels {},
 :numLongTermBytes string,
 :numPhysicalBytes string,
 :numRows string,
 :expirationTime string,
 :selfLink string,
 :type string,
 :etag string,
 :timePartitioning {:type string,
                    :requirePartitionFilter boolean,
                    :expirationMs string,
                    :field string},
 :requirePartitionFilter boolean,
 :externalDataConfiguration {:schema TableSchema,
                             :bigtableOptions BigtableOptions,
                             :connectionId string,
                             :csvOptions CsvOptions,
                             :parquetOptions ParquetOptions,
                             :autodetect boolean,
                             :compression string,
                             :sourceFormat string,
                             :ignoreUnknownValues boolean,
                             :googleSheetsOptions GoogleSheetsOptions,
                             :hivePartitioningOptions HivePartitioningOptions,
                             :decimalTargetTypes [string],
                             :sourceUris [string],
                             :maxBadRecords integer},
 :lastModifiedTime string,
 :clustering {:fields [string]},
 :friendlyName string,
 :tableReference {:datasetId string,
                  :projectId string,
                  :tableId string},
 :id string,
 :rangePartitioning {:range {:start string,
                             :end string,
                             :interval string},
                     :field string},
 :kind string,
 :streamingBuffer {:estimatedBytes string,
                   :estimatedRows string,
                   :oldestEntryTime string},
 :location string,
 :materializedView {:enableRefresh boolean,
                    :lastRefreshTime string,
                    :query string,
                    :refreshIntervalMs string},
 :encryptionConfiguration {:kmsKeyName string},
 :snapshotDefinition {:baseTableReference TableReference,
                      :snapshotTime string},
 :view {:useExplicitColumnNames boolean,
        :useLegacySql boolean,
        :query string,
        :userDefinedFunctionResources [UserDefinedFunctionResource]},
 :model {:trainingRuns [BqmlTrainingRun],
         :modelOptions {:lossType string,
                        :modelType string,
                        :labels [string]}}}

Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource. This method supports patch semantics.
raw docstring

setIamPolicy$clj

(setIamPolicy$ auth parameters body)

https://cloud.google.com/bigquery/api/reference/rest/v2/tables/setIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:policy {:etag string, :bindings [Binding], :version integer, :auditConfigs [AuditConfig]}, :updateMask string}

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

https://cloud.google.com/bigquery/api/reference/rest/v2/tables/setIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:policy {:etag string,
          :bindings [Binding],
          :version integer,
          :auditConfigs [AuditConfig]},
 :updateMask string}

Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
raw docstring

testIamPermissions$clj

(testIamPermissions$ auth parameters body)

https://cloud.google.com/bigquery/api/reference/rest/v2/tables/testIamPermissions

Required parameters: resource

Optional parameters: none

Body:

{:permissions [string]}

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

https://cloud.google.com/bigquery/api/reference/rest/v2/tables/testIamPermissions

Required parameters: resource

Optional parameters: none

Body: 

{:permissions [string]}

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
raw docstring

update$clj

(update$ auth parameters body)

https://cloud.google.com/bigquery/api/reference/rest/v2/tables/update

Required parameters: tableId, datasetId, projectId

Optional parameters: none

Body:

{:creationTime string, :description string, :numBytes string, :schema {:fields [TableFieldSchema]}, :labels {}, :numLongTermBytes string, :numPhysicalBytes string, :numRows string, :expirationTime string, :selfLink string, :type string, :etag string, :timePartitioning {:type string, :requirePartitionFilter boolean, :expirationMs string, :field string}, :requirePartitionFilter boolean, :externalDataConfiguration {:schema TableSchema, :bigtableOptions BigtableOptions, :connectionId string, :csvOptions CsvOptions, :parquetOptions ParquetOptions, :autodetect boolean, :compression string, :sourceFormat string, :ignoreUnknownValues boolean, :googleSheetsOptions GoogleSheetsOptions, :hivePartitioningOptions HivePartitioningOptions, :decimalTargetTypes [string], :sourceUris [string], :maxBadRecords integer}, :lastModifiedTime string, :clustering {:fields [string]}, :friendlyName string, :tableReference {:datasetId string, :projectId string, :tableId string}, :id string, :rangePartitioning {:range {:start string, :end string, :interval string}, :field string}, :kind string, :streamingBuffer {:estimatedBytes string, :estimatedRows string, :oldestEntryTime string}, :location string, :materializedView {:enableRefresh boolean, :lastRefreshTime string, :query string, :refreshIntervalMs string}, :encryptionConfiguration {:kmsKeyName string}, :snapshotDefinition {:baseTableReference TableReference, :snapshotTime string}, :view {:useExplicitColumnNames boolean, :useLegacySql boolean, :query string, :userDefinedFunctionResources [UserDefinedFunctionResource]}, :model {:trainingRuns [BqmlTrainingRun], :modelOptions {:lossType string, :modelType string, :labels [string]}}}

Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource.

https://cloud.google.com/bigquery/api/reference/rest/v2/tables/update

Required parameters: tableId, datasetId, projectId

Optional parameters: none

Body: 

{:creationTime string,
 :description string,
 :numBytes string,
 :schema {:fields [TableFieldSchema]},
 :labels {},
 :numLongTermBytes string,
 :numPhysicalBytes string,
 :numRows string,
 :expirationTime string,
 :selfLink string,
 :type string,
 :etag string,
 :timePartitioning {:type string,
                    :requirePartitionFilter boolean,
                    :expirationMs string,
                    :field string},
 :requirePartitionFilter boolean,
 :externalDataConfiguration {:schema TableSchema,
                             :bigtableOptions BigtableOptions,
                             :connectionId string,
                             :csvOptions CsvOptions,
                             :parquetOptions ParquetOptions,
                             :autodetect boolean,
                             :compression string,
                             :sourceFormat string,
                             :ignoreUnknownValues boolean,
                             :googleSheetsOptions GoogleSheetsOptions,
                             :hivePartitioningOptions HivePartitioningOptions,
                             :decimalTargetTypes [string],
                             :sourceUris [string],
                             :maxBadRecords integer},
 :lastModifiedTime string,
 :clustering {:fields [string]},
 :friendlyName string,
 :tableReference {:datasetId string,
                  :projectId string,
                  :tableId string},
 :id string,
 :rangePartitioning {:range {:start string,
                             :end string,
                             :interval string},
                     :field string},
 :kind string,
 :streamingBuffer {:estimatedBytes string,
                   :estimatedRows string,
                   :oldestEntryTime string},
 :location string,
 :materializedView {:enableRefresh boolean,
                    :lastRefreshTime string,
                    :query string,
                    :refreshIntervalMs string},
 :encryptionConfiguration {:kmsKeyName string},
 :snapshotDefinition {:baseTableReference TableReference,
                      :snapshotTime string},
 :view {:useExplicitColumnNames boolean,
        :useLegacySql boolean,
        :query string,
        :userDefinedFunctionResources [UserDefinedFunctionResource]},
 :model {:trainingRuns [BqmlTrainingRun],
         :modelOptions {:lossType string,
                        :modelType string,
                        :labels [string]}}}

Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close