Skip to content

Commit 4724591

Browse files
chore: regenerate bigqueryconnection client (#19617)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml
1 parent dbdc4c5 commit 4724591

File tree

16 files changed

+496
-20
lines changed

16 files changed

+496
-20
lines changed

clients/google-api-services-bigqueryconnection/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-bigqueryconnection</artifactId>
25-
<version>v1-rev20240106-2.0.0</version>
25+
<version>v1-rev20240124-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-bigqueryconnection:v1-rev20240106-2.0.0'
38+
implementation 'com.google.apis:google-api-services-bigqueryconnection:v1-rev20240124-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-bigqueryconnection/v1/2.0.0/com/google/api/services/bigqueryconnection/v1/BigQueryConnectionService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*
2626
* <p>
2727
* For more information about this service, see the
28-
* <a href="https://cloud.google.com/bigquery/" target="_blank">API Documentation</a>
28+
* <a href="https://cloud.google.com/bigquery/docs/connections-api-intro" target="_blank">API Documentation</a>
2929
* </p>
3030
*
3131
* <p>

clients/google-api-services-bigqueryconnection/v1/2.0.0/com/google/api/services/bigqueryconnection/v1/model/Binding.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ public final class Binding extends com.google.api.client.json.GenericJson {
9595

9696
/**
9797
* Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`,
98-
* `roles/editor`, or `roles/owner`.
98+
* `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the
99+
* [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the
100+
* available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
99101
* The value may be {@code null}.
100102
*/
101103
@com.google.api.client.util.Key
@@ -235,7 +237,9 @@ public Binding setMembers(java.util.List<java.lang.String> members) {
235237

236238
/**
237239
* Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`,
238-
* `roles/editor`, or `roles/owner`.
240+
* `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the
241+
* [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the
242+
* available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
239243
* @return value or {@code null} for none
240244
*/
241245
public java.lang.String getRole() {
@@ -244,7 +248,9 @@ public java.lang.String getRole() {
244248

245249
/**
246250
* Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`,
247-
* `roles/editor`, or `roles/owner`.
251+
* `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the
252+
* [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the
253+
* available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
248254
* @param role role or {@code null} for none
249255
*/
250256
public Binding setRole(java.lang.String role) {

clients/google-api-services-bigqueryconnection/v1/2.0.0/com/google/api/services/bigqueryconnection/v1/model/Connection.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@ public final class Connection extends com.google.api.client.json.GenericJson {
6666
@com.google.api.client.util.Key
6767
private CloudSqlProperties cloudSql;
6868

69+
/**
70+
* Optional. Connector configuration.
71+
* The value may be {@code null}.
72+
*/
73+
@com.google.api.client.util.Key
74+
private ConnectorConfiguration configuration;
75+
6976
/**
7077
* Output only. The creation timestamp of the connection.
7178
* The value may be {@code null}.
@@ -217,6 +224,23 @@ public Connection setCloudSql(CloudSqlProperties cloudSql) {
217224
return this;
218225
}
219226

227+
/**
228+
* Optional. Connector configuration.
229+
* @return value or {@code null} for none
230+
*/
231+
public ConnectorConfiguration getConfiguration() {
232+
return configuration;
233+
}
234+
235+
/**
236+
* Optional. Connector configuration.
237+
* @param configuration configuration or {@code null} for none
238+
*/
239+
public Connection setConfiguration(ConnectorConfiguration configuration) {
240+
this.configuration = configuration;
241+
return this;
242+
}
243+
220244
/**
221245
* Output only. The creation timestamp of the connection.
222246
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.bigqueryconnection.v1.model;
18+
19+
/**
20+
* Represents concrete parameter values for Connector Configuration.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the BigQuery Connection API. For a detailed explanation
24+
* see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class ConnectorConfiguration extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Client authentication.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private ConnectorConfigurationAuthentication authentication;
39+
40+
/**
41+
* Required. Immutable. The ID of the Connector these parameters are configured for.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String connectorId;
46+
47+
/**
48+
* Specifies how to reach the remote system this connection is pointing to.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private ConnectorConfigurationEndpoint endpoint;
53+
54+
/**
55+
* Client authentication.
56+
* @return value or {@code null} for none
57+
*/
58+
public ConnectorConfigurationAuthentication getAuthentication() {
59+
return authentication;
60+
}
61+
62+
/**
63+
* Client authentication.
64+
* @param authentication authentication or {@code null} for none
65+
*/
66+
public ConnectorConfiguration setAuthentication(ConnectorConfigurationAuthentication authentication) {
67+
this.authentication = authentication;
68+
return this;
69+
}
70+
71+
/**
72+
* Required. Immutable. The ID of the Connector these parameters are configured for.
73+
* @return value or {@code null} for none
74+
*/
75+
public java.lang.String getConnectorId() {
76+
return connectorId;
77+
}
78+
79+
/**
80+
* Required. Immutable. The ID of the Connector these parameters are configured for.
81+
* @param connectorId connectorId or {@code null} for none
82+
*/
83+
public ConnectorConfiguration setConnectorId(java.lang.String connectorId) {
84+
this.connectorId = connectorId;
85+
return this;
86+
}
87+
88+
/**
89+
* Specifies how to reach the remote system this connection is pointing to.
90+
* @return value or {@code null} for none
91+
*/
92+
public ConnectorConfigurationEndpoint getEndpoint() {
93+
return endpoint;
94+
}
95+
96+
/**
97+
* Specifies how to reach the remote system this connection is pointing to.
98+
* @param endpoint endpoint or {@code null} for none
99+
*/
100+
public ConnectorConfiguration setEndpoint(ConnectorConfigurationEndpoint endpoint) {
101+
this.endpoint = endpoint;
102+
return this;
103+
}
104+
105+
@Override
106+
public ConnectorConfiguration set(String fieldName, Object value) {
107+
return (ConnectorConfiguration) super.set(fieldName, value);
108+
}
109+
110+
@Override
111+
public ConnectorConfiguration clone() {
112+
return (ConnectorConfiguration) super.clone();
113+
}
114+
115+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.bigqueryconnection.v1.model;
18+
19+
/**
20+
* Client authentication.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the BigQuery Connection API. For a detailed explanation
24+
* see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class ConnectorConfigurationAuthentication extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Username/password authentication.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private ConnectorConfigurationUsernamePassword usernamePassword;
39+
40+
/**
41+
* Username/password authentication.
42+
* @return value or {@code null} for none
43+
*/
44+
public ConnectorConfigurationUsernamePassword getUsernamePassword() {
45+
return usernamePassword;
46+
}
47+
48+
/**
49+
* Username/password authentication.
50+
* @param usernamePassword usernamePassword or {@code null} for none
51+
*/
52+
public ConnectorConfigurationAuthentication setUsernamePassword(ConnectorConfigurationUsernamePassword usernamePassword) {
53+
this.usernamePassword = usernamePassword;
54+
return this;
55+
}
56+
57+
@Override
58+
public ConnectorConfigurationAuthentication set(String fieldName, Object value) {
59+
return (ConnectorConfigurationAuthentication) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public ConnectorConfigurationAuthentication clone() {
64+
return (ConnectorConfigurationAuthentication) super.clone();
65+
}
66+
67+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.bigqueryconnection.v1.model;
18+
19+
/**
20+
* Remote endpoint specification.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the BigQuery Connection API. For a detailed explanation
24+
* see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class ConnectorConfigurationEndpoint extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Host and port in a format of `hostname:port` as defined in
35+
* https://www.ietf.org/rfc/rfc3986.html#section-3.2.2 and
36+
* https://www.ietf.org/rfc/rfc3986.html#section-3.2.3.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.String hostPort;
41+
42+
/**
43+
* Host and port in a format of `hostname:port` as defined in
44+
* https://www.ietf.org/rfc/rfc3986.html#section-3.2.2 and
45+
* https://www.ietf.org/rfc/rfc3986.html#section-3.2.3.
46+
* @return value or {@code null} for none
47+
*/
48+
public java.lang.String getHostPort() {
49+
return hostPort;
50+
}
51+
52+
/**
53+
* Host and port in a format of `hostname:port` as defined in
54+
* https://www.ietf.org/rfc/rfc3986.html#section-3.2.2 and
55+
* https://www.ietf.org/rfc/rfc3986.html#section-3.2.3.
56+
* @param hostPort hostPort or {@code null} for none
57+
*/
58+
public ConnectorConfigurationEndpoint setHostPort(java.lang.String hostPort) {
59+
this.hostPort = hostPort;
60+
return this;
61+
}
62+
63+
@Override
64+
public ConnectorConfigurationEndpoint set(String fieldName, Object value) {
65+
return (ConnectorConfigurationEndpoint) super.set(fieldName, value);
66+
}
67+
68+
@Override
69+
public ConnectorConfigurationEndpoint clone() {
70+
return (ConnectorConfigurationEndpoint) super.clone();
71+
}
72+
73+
}

0 commit comments

Comments
 (0)