Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clients/google-api-services-bigquery/v2.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"maven": {
"groupId": "com.google.apis",
"artifactId": "google-api-services-bigquery",
"version": "v2-rev20190807-1.30.1"
"version": "v2-rev20190825-1.30.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public class Bigquery extends com.google.api.client.googleapis.services.json.Abs
*
* @since 1.7
*/
public static final String DEFAULT_ROOT_URL = "https://www.googleapis.com/";
public static final String DEFAULT_ROOT_URL = "https://bigquery.googleapis.com/";

/**
* The default encoded service path of the service. This is determined when the library is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
public final class GoogleSheetsOptions extends com.google.api.client.json.GenericJson {

/**
* [Beta] [Optional] Range of a sheet to query from. Only used when non-empty. Typical format:
* [Optional] Range of a sheet to query from. Only used when non-empty. Typical format:
* sheet_name!top_left_cell_id:bottom_right_cell_id For example: sheet1!A1:B20
* The value may be {@code null}.
*/
Expand All @@ -53,7 +53,7 @@ public final class GoogleSheetsOptions extends com.google.api.client.json.Generi
private java.lang.Long skipLeadingRows;

/**
* [Beta] [Optional] Range of a sheet to query from. Only used when non-empty. Typical format:
* [Optional] Range of a sheet to query from. Only used when non-empty. Typical format:
* sheet_name!top_left_cell_id:bottom_right_cell_id For example: sheet1!A1:B20
* @return value or {@code null} for none
*/
Expand All @@ -62,7 +62,7 @@ public java.lang.String getRange() {
}

/**
* [Beta] [Optional] Range of a sheet to query from. Only used when non-empty. Typical format:
* [Optional] Range of a sheet to query from. Only used when non-empty. Typical format:
* sheet_name!top_left_cell_id:bottom_right_cell_id For example: sheet1!A1:B20
* @param range range or {@code null} for none
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,28 @@ public final class JobConfigurationExtract extends com.google.api.client.json.Ge
private java.lang.Boolean printHeader;

/**
* [Required] A reference to the table being exported.
* A reference to the model being exported.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private ModelReference sourceModel;

/**
* A reference to the table being exported.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private TableReference sourceTable;

/**
* [Optional] If destinationFormat is set to "AVRO", this flag indicates whether to enable
* extracting applicable column types (such as TIMESTAMP) to their corresponding AVRO logical
* types (timestamp-micros), instead of only using their raw types (avro-long).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean useAvroLogicalTypes;

/**
* [Optional] The compression type to use for exported files. Possible values include GZIP,
* DEFLATE, SNAPPY, and NONE. The default value is NONE. DEFLATE and SNAPPY are only supported for
Expand Down Expand Up @@ -226,22 +242,60 @@ public boolean isPrintHeader() {
}

/**
* [Required] A reference to the table being exported.
* A reference to the model being exported.
* @return value or {@code null} for none
*/
public ModelReference getSourceModel() {
return sourceModel;
}

/**
* A reference to the model being exported.
* @param sourceModel sourceModel or {@code null} for none
*/
public JobConfigurationExtract setSourceModel(ModelReference sourceModel) {
this.sourceModel = sourceModel;
return this;
}

/**
* A reference to the table being exported.
* @return value or {@code null} for none
*/
public TableReference getSourceTable() {
return sourceTable;
}

/**
* [Required] A reference to the table being exported.
* A reference to the table being exported.
* @param sourceTable sourceTable or {@code null} for none
*/
public JobConfigurationExtract setSourceTable(TableReference sourceTable) {
this.sourceTable = sourceTable;
return this;
}

/**
* [Optional] If destinationFormat is set to "AVRO", this flag indicates whether to enable
* extracting applicable column types (such as TIMESTAMP) to their corresponding AVRO logical
* types (timestamp-micros), instead of only using their raw types (avro-long).
* @return value or {@code null} for none
*/
public java.lang.Boolean getUseAvroLogicalTypes() {
return useAvroLogicalTypes;
}

/**
* [Optional] If destinationFormat is set to "AVRO", this flag indicates whether to enable
* extracting applicable column types (such as TIMESTAMP) to their corresponding AVRO logical
* types (timestamp-micros), instead of only using their raw types (avro-long).
* @param useAvroLogicalTypes useAvroLogicalTypes or {@code null} for none
*/
public JobConfigurationExtract setUseAvroLogicalTypes(java.lang.Boolean useAvroLogicalTypes) {
this.useAvroLogicalTypes = useAvroLogicalTypes;
return this;
}

@Override
public JobConfigurationExtract set(String fieldName, Object value) {
return (JobConfigurationExtract) super.set(fieldName, value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,14 @@ public final class Model extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String description;

/**
* Custom encryption configuration (e.g., Cloud KMS keys). This shows the encryption configuration
* of the model data while stored in BigQuery storage.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private EncryptionConfiguration encryptionConfiguration;

/**
* Output only. A hash of this resource.
* The value may be {@code null}.
Expand Down Expand Up @@ -163,6 +171,25 @@ public Model setDescription(java.lang.String description) {
return this;
}

/**
* Custom encryption configuration (e.g., Cloud KMS keys). This shows the encryption configuration
* of the model data while stored in BigQuery storage.
* @return value or {@code null} for none
*/
public EncryptionConfiguration getEncryptionConfiguration() {
return encryptionConfiguration;
}

/**
* Custom encryption configuration (e.g., Cloud KMS keys). This shows the encryption configuration
* of the model data while stored in BigQuery storage.
* @param encryptionConfiguration encryptionConfiguration or {@code null} for none
*/
public Model setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration) {
this.encryptionConfiguration = encryptionConfiguration;
return this;
}

/**
* Output only. A hash of this resource.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package com.google.api.services.bigquery.model;

/**
* Id path of a model.
* Model definition for ModelReference.
*
* <p> 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 BigQuery API. For a detailed explanation see:
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-bigquery/v2/1.28.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-bigquery</artifactId>
<version>v2-rev20190807-1.28.0</version>
<name>BigQuery API v2-rev20190807-1.28.0</name>
<version>v2-rev20190825-1.28.0</version>
<name>BigQuery API v2-rev20190825-1.28.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
Loading