Skip to content

Commit 397d458

Browse files
1 parent b1e2cbe commit 397d458

File tree

40 files changed

+2325
-17
lines changed

40 files changed

+2325
-17
lines changed

clients/google-api-services-aiplatform/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-aiplatform</artifactId>
25-
<version>v1-rev20250502-2.0.0</version>
25+
<version>v1-rev20250519-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-aiplatform:v1-rev20250502-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20250519-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1ApiAuthApiKeyConfig.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ public final class GoogleCloudAiplatformV1ApiAuthApiKeyConfig extends com.google
3737
@com.google.api.client.util.Key
3838
private java.lang.String apiKeySecretVersion;
3939

40+
/**
41+
* The API key string. Either this or `api_key_secret_version` must be set.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String apiKeyString;
46+
4047
/**
4148
* Required. The SecretManager secret version resource name storing API key. e.g.
4249
* projects/{project}/secrets/{secret}/versions/{version}
@@ -56,6 +63,23 @@ public GoogleCloudAiplatformV1ApiAuthApiKeyConfig setApiKeySecretVersion(java.la
5663
return this;
5764
}
5865

66+
/**
67+
* The API key string. Either this or `api_key_secret_version` must be set.
68+
* @return value or {@code null} for none
69+
*/
70+
public java.lang.String getApiKeyString() {
71+
return apiKeyString;
72+
}
73+
74+
/**
75+
* The API key string. Either this or `api_key_secret_version` must be set.
76+
* @param apiKeyString apiKeyString or {@code null} for none
77+
*/
78+
public GoogleCloudAiplatformV1ApiAuthApiKeyConfig setApiKeyString(java.lang.String apiKeyString) {
79+
this.apiKeyString = apiKeyString;
80+
return this;
81+
}
82+
5983
@Override
6084
public GoogleCloudAiplatformV1ApiAuthApiKeyConfig set(String fieldName, Object value) {
6185
return (GoogleCloudAiplatformV1ApiAuthApiKeyConfig) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,186 @@
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.aiplatform.v1.model;
18+
19+
/**
20+
* Auth configuration to run the extension.
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 Vertex AI API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GoogleCloudAiplatformV1AuthConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Config for API key auth.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleCloudAiplatformV1AuthConfigApiKeyConfig apiKeyConfig;
38+
39+
/**
40+
* Type of auth scheme.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String authType;
45+
46+
/**
47+
* Config for Google Service Account auth.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig googleServiceAccountConfig;
52+
53+
/**
54+
* Config for HTTP Basic auth.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig httpBasicAuthConfig;
59+
60+
/**
61+
* Config for user oauth.
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private GoogleCloudAiplatformV1AuthConfigOauthConfig oauthConfig;
66+
67+
/**
68+
* Config for user OIDC auth.
69+
* The value may be {@code null}.
70+
*/
71+
@com.google.api.client.util.Key
72+
private GoogleCloudAiplatformV1AuthConfigOidcConfig oidcConfig;
73+
74+
/**
75+
* Config for API key auth.
76+
* @return value or {@code null} for none
77+
*/
78+
public GoogleCloudAiplatformV1AuthConfigApiKeyConfig getApiKeyConfig() {
79+
return apiKeyConfig;
80+
}
81+
82+
/**
83+
* Config for API key auth.
84+
* @param apiKeyConfig apiKeyConfig or {@code null} for none
85+
*/
86+
public GoogleCloudAiplatformV1AuthConfig setApiKeyConfig(GoogleCloudAiplatformV1AuthConfigApiKeyConfig apiKeyConfig) {
87+
this.apiKeyConfig = apiKeyConfig;
88+
return this;
89+
}
90+
91+
/**
92+
* Type of auth scheme.
93+
* @return value or {@code null} for none
94+
*/
95+
public java.lang.String getAuthType() {
96+
return authType;
97+
}
98+
99+
/**
100+
* Type of auth scheme.
101+
* @param authType authType or {@code null} for none
102+
*/
103+
public GoogleCloudAiplatformV1AuthConfig setAuthType(java.lang.String authType) {
104+
this.authType = authType;
105+
return this;
106+
}
107+
108+
/**
109+
* Config for Google Service Account auth.
110+
* @return value or {@code null} for none
111+
*/
112+
public GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig getGoogleServiceAccountConfig() {
113+
return googleServiceAccountConfig;
114+
}
115+
116+
/**
117+
* Config for Google Service Account auth.
118+
* @param googleServiceAccountConfig googleServiceAccountConfig or {@code null} for none
119+
*/
120+
public GoogleCloudAiplatformV1AuthConfig setGoogleServiceAccountConfig(GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig googleServiceAccountConfig) {
121+
this.googleServiceAccountConfig = googleServiceAccountConfig;
122+
return this;
123+
}
124+
125+
/**
126+
* Config for HTTP Basic auth.
127+
* @return value or {@code null} for none
128+
*/
129+
public GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig getHttpBasicAuthConfig() {
130+
return httpBasicAuthConfig;
131+
}
132+
133+
/**
134+
* Config for HTTP Basic auth.
135+
* @param httpBasicAuthConfig httpBasicAuthConfig or {@code null} for none
136+
*/
137+
public GoogleCloudAiplatformV1AuthConfig setHttpBasicAuthConfig(GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig httpBasicAuthConfig) {
138+
this.httpBasicAuthConfig = httpBasicAuthConfig;
139+
return this;
140+
}
141+
142+
/**
143+
* Config for user oauth.
144+
* @return value or {@code null} for none
145+
*/
146+
public GoogleCloudAiplatformV1AuthConfigOauthConfig getOauthConfig() {
147+
return oauthConfig;
148+
}
149+
150+
/**
151+
* Config for user oauth.
152+
* @param oauthConfig oauthConfig or {@code null} for none
153+
*/
154+
public GoogleCloudAiplatformV1AuthConfig setOauthConfig(GoogleCloudAiplatformV1AuthConfigOauthConfig oauthConfig) {
155+
this.oauthConfig = oauthConfig;
156+
return this;
157+
}
158+
159+
/**
160+
* Config for user OIDC auth.
161+
* @return value or {@code null} for none
162+
*/
163+
public GoogleCloudAiplatformV1AuthConfigOidcConfig getOidcConfig() {
164+
return oidcConfig;
165+
}
166+
167+
/**
168+
* Config for user OIDC auth.
169+
* @param oidcConfig oidcConfig or {@code null} for none
170+
*/
171+
public GoogleCloudAiplatformV1AuthConfig setOidcConfig(GoogleCloudAiplatformV1AuthConfigOidcConfig oidcConfig) {
172+
this.oidcConfig = oidcConfig;
173+
return this;
174+
}
175+
176+
@Override
177+
public GoogleCloudAiplatformV1AuthConfig set(String fieldName, Object value) {
178+
return (GoogleCloudAiplatformV1AuthConfig) super.set(fieldName, value);
179+
}
180+
181+
@Override
182+
public GoogleCloudAiplatformV1AuthConfig clone() {
183+
return (GoogleCloudAiplatformV1AuthConfig) super.clone();
184+
}
185+
186+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,156 @@
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.aiplatform.v1.model;
18+
19+
/**
20+
* Config for authentication with API key.
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 Vertex AI API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GoogleCloudAiplatformV1AuthConfigApiKeyConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. The name of the SecretManager secret version resource storing the API key. Format:
34+
* `projects/{project}/secrets/{secrete}/versions/{version}` - If both `api_key_secret` and
35+
* `api_key_string` are specified, this field takes precedence over `api_key_string`. - If
36+
* specified, the `secretmanager.versions.access` permission should be granted to Vertex AI
37+
* Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-
38+
* control#service-agents) on the specified resource.
39+
* The value may be {@code null}.
40+
*/
41+
@com.google.api.client.util.Key
42+
private java.lang.String apiKeySecret;
43+
44+
/**
45+
* Optional. The API key to be used in the request directly.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private java.lang.String apiKeyString;
50+
51+
/**
52+
* Optional. The location of the API key.
53+
* The value may be {@code null}.
54+
*/
55+
@com.google.api.client.util.Key
56+
private java.lang.String httpElementLocation;
57+
58+
/**
59+
* Optional. The parameter name of the API key. E.g. If the API request is
60+
* "https://example.com/act?api_key=", "api_key" would be the parameter name.
61+
* The value may be {@code null}.
62+
*/
63+
@com.google.api.client.util.Key
64+
private java.lang.String name;
65+
66+
/**
67+
* Optional. The name of the SecretManager secret version resource storing the API key. Format:
68+
* `projects/{project}/secrets/{secrete}/versions/{version}` - If both `api_key_secret` and
69+
* `api_key_string` are specified, this field takes precedence over `api_key_string`. - If
70+
* specified, the `secretmanager.versions.access` permission should be granted to Vertex AI
71+
* Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-
72+
* control#service-agents) on the specified resource.
73+
* @return value or {@code null} for none
74+
*/
75+
public java.lang.String getApiKeySecret() {
76+
return apiKeySecret;
77+
}
78+
79+
/**
80+
* Optional. The name of the SecretManager secret version resource storing the API key. Format:
81+
* `projects/{project}/secrets/{secrete}/versions/{version}` - If both `api_key_secret` and
82+
* `api_key_string` are specified, this field takes precedence over `api_key_string`. - If
83+
* specified, the `secretmanager.versions.access` permission should be granted to Vertex AI
84+
* Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-
85+
* control#service-agents) on the specified resource.
86+
* @param apiKeySecret apiKeySecret or {@code null} for none
87+
*/
88+
public GoogleCloudAiplatformV1AuthConfigApiKeyConfig setApiKeySecret(java.lang.String apiKeySecret) {
89+
this.apiKeySecret = apiKeySecret;
90+
return this;
91+
}
92+
93+
/**
94+
* Optional. The API key to be used in the request directly.
95+
* @return value or {@code null} for none
96+
*/
97+
public java.lang.String getApiKeyString() {
98+
return apiKeyString;
99+
}
100+
101+
/**
102+
* Optional. The API key to be used in the request directly.
103+
* @param apiKeyString apiKeyString or {@code null} for none
104+
*/
105+
public GoogleCloudAiplatformV1AuthConfigApiKeyConfig setApiKeyString(java.lang.String apiKeyString) {
106+
this.apiKeyString = apiKeyString;
107+
return this;
108+
}
109+
110+
/**
111+
* Optional. The location of the API key.
112+
* @return value or {@code null} for none
113+
*/
114+
public java.lang.String getHttpElementLocation() {
115+
return httpElementLocation;
116+
}
117+
118+
/**
119+
* Optional. The location of the API key.
120+
* @param httpElementLocation httpElementLocation or {@code null} for none
121+
*/
122+
public GoogleCloudAiplatformV1AuthConfigApiKeyConfig setHttpElementLocation(java.lang.String httpElementLocation) {
123+
this.httpElementLocation = httpElementLocation;
124+
return this;
125+
}
126+
127+
/**
128+
* Optional. The parameter name of the API key. E.g. If the API request is
129+
* "https://example.com/act?api_key=", "api_key" would be the parameter name.
130+
* @return value or {@code null} for none
131+
*/
132+
public java.lang.String getName() {
133+
return name;
134+
}
135+
136+
/**
137+
* Optional. The parameter name of the API key. E.g. If the API request is
138+
* "https://example.com/act?api_key=", "api_key" would be the parameter name.
139+
* @param name name or {@code null} for none
140+
*/
141+
public GoogleCloudAiplatformV1AuthConfigApiKeyConfig setName(java.lang.String name) {
142+
this.name = name;
143+
return this;
144+
}
145+
146+
@Override
147+
public GoogleCloudAiplatformV1AuthConfigApiKeyConfig set(String fieldName, Object value) {
148+
return (GoogleCloudAiplatformV1AuthConfigApiKeyConfig) super.set(fieldName, value);
149+
}
150+
151+
@Override
152+
public GoogleCloudAiplatformV1AuthConfigApiKeyConfig clone() {
153+
return (GoogleCloudAiplatformV1AuthConfigApiKeyConfig) super.clone();
154+
}
155+
156+
}

0 commit comments

Comments
 (0)