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
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-bigqueryconnection</artifactId>
<version>v1-rev20240727-2.0.0</version>
<version>v1-rev20260601-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-bigqueryconnection:v1-rev20240727-2.0.0'
implementation 'com.google.apis:google-api-services-bigqueryconnection:v1-rev20260601-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,17 @@ public final class ConnectorConfiguration extends com.google.api.client.json.Gen
@com.google.api.client.util.Key
private ConnectorConfigurationNetwork network;

/**
* Optional. A map of name-value pairs for connector-specific parameters. Extra configuration
* parameters, that are not standardized in configuration sections. To update a single parameter
* value call ConnectionService.UpdateConnection with `update_mask` set to
* `configuration.parameters.parameter_id`. If parameter id does not fit `[a-zA-Z0-9_]+` pattern,
* it should be escaped with backticks - for example ``configuration.parameters.`parameter id` ``.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map<String, ConnectorConfigurationParameterValue> parameters;

/**
* Data asset.
* @return value or {@code null} for none
Expand Down Expand Up @@ -150,6 +161,31 @@ public ConnectorConfiguration setNetwork(ConnectorConfigurationNetwork network)
return this;
}

/**
* Optional. A map of name-value pairs for connector-specific parameters. Extra configuration
* parameters, that are not standardized in configuration sections. To update a single parameter
* value call ConnectionService.UpdateConnection with `update_mask` set to
* `configuration.parameters.parameter_id`. If parameter id does not fit `[a-zA-Z0-9_]+` pattern,
* it should be escaped with backticks - for example ``configuration.parameters.`parameter id` ``.
* @return value or {@code null} for none
*/
public java.util.Map<String, ConnectorConfigurationParameterValue> getParameters() {
return parameters;
}

/**
* Optional. A map of name-value pairs for connector-specific parameters. Extra configuration
* parameters, that are not standardized in configuration sections. To update a single parameter
* value call ConnectionService.UpdateConnection with `update_mask` set to
* `configuration.parameters.parameter_id`. If parameter id does not fit `[a-zA-Z0-9_]+` pattern,
* it should be escaped with backticks - for example ``configuration.parameters.`parameter id` ``.
* @param parameters parameters or {@code null} for none
*/
public ConnectorConfiguration setParameters(java.util.Map<String, ConnectorConfigurationParameterValue> parameters) {
this.parameters = parameters;
return this;
}

@Override
public ConnectorConfiguration set(String fieldName, Object value) {
return (ConnectorConfiguration) super.set(fieldName, value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,18 @@
@SuppressWarnings("javadoc")
public final class ConnectorConfigurationAuthentication extends com.google.api.client.json.GenericJson {

/**
* Optional. A map of name-value pairs for authentication-specific parameters. Extra configuration
* parameters, that are not standardized in authentication. To update a single parameter value
* call ConnectionService.UpdateConnection with `update_mask` set to
* `configuration.authentication.parameters.parameter_id`. If parameter id does not fit
* `[a-zA-Z0-9_]+` pattern, it should be escaped with backticks - for example
* ``configuration.authentication.parameters.`parameter id` ``.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map<String, ConnectorConfigurationParameterValue> parameters;

/**
* Output only. Google-managed service account associated with this connection, e.g.,
* `service-{project_number}@gcp-sa-bigqueryconnection.iam.gserviceaccount.com`. BigQuery jobs
Expand All @@ -47,6 +59,33 @@ public final class ConnectorConfigurationAuthentication extends com.google.api.c
@com.google.api.client.util.Key
private ConnectorConfigurationUsernamePassword usernamePassword;

/**
* Optional. A map of name-value pairs for authentication-specific parameters. Extra configuration
* parameters, that are not standardized in authentication. To update a single parameter value
* call ConnectionService.UpdateConnection with `update_mask` set to
* `configuration.authentication.parameters.parameter_id`. If parameter id does not fit
* `[a-zA-Z0-9_]+` pattern, it should be escaped with backticks - for example
* ``configuration.authentication.parameters.`parameter id` ``.
* @return value or {@code null} for none
*/
public java.util.Map<String, ConnectorConfigurationParameterValue> getParameters() {
return parameters;
}

/**
* Optional. A map of name-value pairs for authentication-specific parameters. Extra configuration
* parameters, that are not standardized in authentication. To update a single parameter value
* call ConnectionService.UpdateConnection with `update_mask` set to
* `configuration.authentication.parameters.parameter_id`. If parameter id does not fit
* `[a-zA-Z0-9_]+` pattern, it should be escaped with backticks - for example
* ``configuration.authentication.parameters.`parameter id` ``.
* @param parameters parameters or {@code null} for none
*/
public ConnectorConfigurationAuthentication setParameters(java.util.Map<String, ConnectorConfigurationParameterValue> parameters) {
this.parameters = parameters;
return this;
}

/**
* Output only. Google-managed service account associated with this connection, e.g.,
* `service-{project_number}@gcp-sa-bigqueryconnection.iam.gserviceaccount.com`. BigQuery jobs
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.bigqueryconnection.v1.model;

/**
* Represents a value for a connector parameter.
*
* <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 Connection API. For a detailed explanation
* see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class ConnectorConfigurationParameterValue extends com.google.api.client.json.GenericJson {

/**
* A boolean parameter value.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean boolValue;

/**
* A double parameter value.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Double doubleValue;

/**
* An int32 parameter value.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer int32Value;

/**
* A secret parameter value. Allowed only for Authentication parameters.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private ConnectorConfigurationSecret secretValue;

/**
* A string parameter value.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String stringValue;

/**
* A boolean parameter value.
* @return value or {@code null} for none
*/
public java.lang.Boolean getBoolValue() {
return boolValue;
}

/**
* A boolean parameter value.
* @param boolValue boolValue or {@code null} for none
*/
public ConnectorConfigurationParameterValue setBoolValue(java.lang.Boolean boolValue) {
this.boolValue = boolValue;
return this;
}

/**
* A double parameter value.
* @return value or {@code null} for none
*/
public java.lang.Double getDoubleValue() {
return doubleValue;
}

/**
* A double parameter value.
* @param doubleValue doubleValue or {@code null} for none
*/
public ConnectorConfigurationParameterValue setDoubleValue(java.lang.Double doubleValue) {
this.doubleValue = doubleValue;
return this;
}

/**
* An int32 parameter value.
* @return value or {@code null} for none
*/
public java.lang.Integer getInt32Value() {
return int32Value;
}

/**
* An int32 parameter value.
* @param int32Value int32Value or {@code null} for none
*/
public ConnectorConfigurationParameterValue setInt32Value(java.lang.Integer int32Value) {
this.int32Value = int32Value;
return this;
}

/**
* A secret parameter value. Allowed only for Authentication parameters.
* @return value or {@code null} for none
*/
public ConnectorConfigurationSecret getSecretValue() {
return secretValue;
}

/**
* A secret parameter value. Allowed only for Authentication parameters.
* @param secretValue secretValue or {@code null} for none
*/
public ConnectorConfigurationParameterValue setSecretValue(ConnectorConfigurationSecret secretValue) {
this.secretValue = secretValue;
return this;
}

/**
* A string parameter value.
* @return value or {@code null} for none
*/
public java.lang.String getStringValue() {
return stringValue;
}

/**
* A string parameter value.
* @param stringValue stringValue or {@code null} for none
*/
public ConnectorConfigurationParameterValue setStringValue(java.lang.String stringValue) {
this.stringValue = stringValue;
return this;
}

@Override
public ConnectorConfigurationParameterValue set(String fieldName, Object value) {
return (ConnectorConfigurationParameterValue) super.set(fieldName, value);
}

@Override
public ConnectorConfigurationParameterValue clone() {
return (ConnectorConfigurationParameterValue) super.clone();
}

}
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-bigqueryconnection</artifactId>
<version>v1-rev20240727-2.0.0</version>
<name>BigQuery Connection API v1-rev20240727-2.0.0</name>
<version>v1-rev20260601-2.0.0</version>
<name>BigQuery Connection API v1-rev20260601-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-bigqueryconnection/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-bigqueryconnection</artifactId>
<version>v1-rev20240727-2.0.0</version>
<version>v1-rev20260601-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-bigqueryconnection:v1-rev20240727-2.0.0'
implementation 'com.google.apis:google-api-services-bigqueryconnection:v1-rev20260601-2.0.0'
}
```

Expand Down
Loading