Skip to content

Commit 72561a4

Browse files
1 parent 350652f commit 72561a4

File tree

92 files changed

+49769
-39378
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+49769
-39378
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-rev20241112-2.0.0</version>
25+
<version>v1-rev20241119-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-rev20241112-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20241119-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 42228 additions & 39244 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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+
* The generic reusable api auth config.
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 GoogleCloudAiplatformV1ApiAuth extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The API secret.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleCloudAiplatformV1ApiAuthApiKeyConfig apiKeyConfig;
38+
39+
/**
40+
* The API secret.
41+
* @return value or {@code null} for none
42+
*/
43+
public GoogleCloudAiplatformV1ApiAuthApiKeyConfig getApiKeyConfig() {
44+
return apiKeyConfig;
45+
}
46+
47+
/**
48+
* The API secret.
49+
* @param apiKeyConfig apiKeyConfig or {@code null} for none
50+
*/
51+
public GoogleCloudAiplatformV1ApiAuth setApiKeyConfig(GoogleCloudAiplatformV1ApiAuthApiKeyConfig apiKeyConfig) {
52+
this.apiKeyConfig = apiKeyConfig;
53+
return this;
54+
}
55+
56+
@Override
57+
public GoogleCloudAiplatformV1ApiAuth set(String fieldName, Object value) {
58+
return (GoogleCloudAiplatformV1ApiAuth) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GoogleCloudAiplatformV1ApiAuth clone() {
63+
return (GoogleCloudAiplatformV1ApiAuth) super.clone();
64+
}
65+
66+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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+
* The API secret.
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 GoogleCloudAiplatformV1ApiAuthApiKeyConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. The SecretManager secret version resource name storing API key. e.g.
34+
* projects/{project}/secrets/{secret}/versions/{version}
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String apiKeySecretVersion;
39+
40+
/**
41+
* Required. The SecretManager secret version resource name storing API key. e.g.
42+
* projects/{project}/secrets/{secret}/versions/{version}
43+
* @return value or {@code null} for none
44+
*/
45+
public java.lang.String getApiKeySecretVersion() {
46+
return apiKeySecretVersion;
47+
}
48+
49+
/**
50+
* Required. The SecretManager secret version resource name storing API key. e.g.
51+
* projects/{project}/secrets/{secret}/versions/{version}
52+
* @param apiKeySecretVersion apiKeySecretVersion or {@code null} for none
53+
*/
54+
public GoogleCloudAiplatformV1ApiAuthApiKeyConfig setApiKeySecretVersion(java.lang.String apiKeySecretVersion) {
55+
this.apiKeySecretVersion = apiKeySecretVersion;
56+
return this;
57+
}
58+
59+
@Override
60+
public GoogleCloudAiplatformV1ApiAuthApiKeyConfig set(String fieldName, Object value) {
61+
return (GoogleCloudAiplatformV1ApiAuthApiKeyConfig) super.set(fieldName, value);
62+
}
63+
64+
@Override
65+
public GoogleCloudAiplatformV1ApiAuthApiKeyConfig clone() {
66+
return (GoogleCloudAiplatformV1ApiAuthApiKeyConfig) super.clone();
67+
}
68+
69+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
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+
* Request message for AugmentPrompt.
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 GoogleCloudAiplatformV1AugmentPromptRequest extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Input content to augment, only text format is supported for now.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<GoogleCloudAiplatformV1Content> contents;
38+
39+
/**
40+
* Optional. Metadata of the backend deployed model.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private GoogleCloudAiplatformV1AugmentPromptRequestModel model;
45+
46+
/**
47+
* Optional. Retrieves contexts from the Vertex RagStore.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private GoogleCloudAiplatformV1VertexRagStore vertexRagStore;
52+
53+
/**
54+
* Optional. Input content to augment, only text format is supported for now.
55+
* @return value or {@code null} for none
56+
*/
57+
public java.util.List<GoogleCloudAiplatformV1Content> getContents() {
58+
return contents;
59+
}
60+
61+
/**
62+
* Optional. Input content to augment, only text format is supported for now.
63+
* @param contents contents or {@code null} for none
64+
*/
65+
public GoogleCloudAiplatformV1AugmentPromptRequest setContents(java.util.List<GoogleCloudAiplatformV1Content> contents) {
66+
this.contents = contents;
67+
return this;
68+
}
69+
70+
/**
71+
* Optional. Metadata of the backend deployed model.
72+
* @return value or {@code null} for none
73+
*/
74+
public GoogleCloudAiplatformV1AugmentPromptRequestModel getModel() {
75+
return model;
76+
}
77+
78+
/**
79+
* Optional. Metadata of the backend deployed model.
80+
* @param model model or {@code null} for none
81+
*/
82+
public GoogleCloudAiplatformV1AugmentPromptRequest setModel(GoogleCloudAiplatformV1AugmentPromptRequestModel model) {
83+
this.model = model;
84+
return this;
85+
}
86+
87+
/**
88+
* Optional. Retrieves contexts from the Vertex RagStore.
89+
* @return value or {@code null} for none
90+
*/
91+
public GoogleCloudAiplatformV1VertexRagStore getVertexRagStore() {
92+
return vertexRagStore;
93+
}
94+
95+
/**
96+
* Optional. Retrieves contexts from the Vertex RagStore.
97+
* @param vertexRagStore vertexRagStore or {@code null} for none
98+
*/
99+
public GoogleCloudAiplatformV1AugmentPromptRequest setVertexRagStore(GoogleCloudAiplatformV1VertexRagStore vertexRagStore) {
100+
this.vertexRagStore = vertexRagStore;
101+
return this;
102+
}
103+
104+
@Override
105+
public GoogleCloudAiplatformV1AugmentPromptRequest set(String fieldName, Object value) {
106+
return (GoogleCloudAiplatformV1AugmentPromptRequest) super.set(fieldName, value);
107+
}
108+
109+
@Override
110+
public GoogleCloudAiplatformV1AugmentPromptRequest clone() {
111+
return (GoogleCloudAiplatformV1AugmentPromptRequest) super.clone();
112+
}
113+
114+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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+
* Metadata of the backend deployed model.
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 GoogleCloudAiplatformV1AugmentPromptRequestModel extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. The model that the user will send the augmented prompt for content generation.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String model;
38+
39+
/**
40+
* Optional. The model version of the backend deployed model.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String modelVersion;
45+
46+
/**
47+
* Optional. The model that the user will send the augmented prompt for content generation.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getModel() {
51+
return model;
52+
}
53+
54+
/**
55+
* Optional. The model that the user will send the augmented prompt for content generation.
56+
* @param model model or {@code null} for none
57+
*/
58+
public GoogleCloudAiplatformV1AugmentPromptRequestModel setModel(java.lang.String model) {
59+
this.model = model;
60+
return this;
61+
}
62+
63+
/**
64+
* Optional. The model version of the backend deployed model.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.String getModelVersion() {
68+
return modelVersion;
69+
}
70+
71+
/**
72+
* Optional. The model version of the backend deployed model.
73+
* @param modelVersion modelVersion or {@code null} for none
74+
*/
75+
public GoogleCloudAiplatformV1AugmentPromptRequestModel setModelVersion(java.lang.String modelVersion) {
76+
this.modelVersion = modelVersion;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleCloudAiplatformV1AugmentPromptRequestModel set(String fieldName, Object value) {
82+
return (GoogleCloudAiplatformV1AugmentPromptRequestModel) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleCloudAiplatformV1AugmentPromptRequestModel clone() {
87+
return (GoogleCloudAiplatformV1AugmentPromptRequestModel) super.clone();
88+
}
89+
90+
}

0 commit comments

Comments
 (0)