Skip to content

Commit b31319d

Browse files
1 parent 460e95c commit b31319d

File tree

48 files changed

+15784
-8825
lines changed

Some content is hidden

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

48 files changed

+15784
-8825
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-rev20250606-2.0.0</version>
25+
<version>v1-rev20250613-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-rev20250606-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20250613-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: 289 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5060,6 +5060,154 @@ public Get set(String parameterName, Object value) {
50605060
return (Get) super.set(parameterName, value);
50615061
}
50625062
}
5063+
/**
5064+
* Gets a RagEngineConfig.
5065+
*
5066+
* Create a request for the method "locations.getRagEngineConfig".
5067+
*
5068+
* This request holds the parameters needed by the aiplatform server. After setting any optional
5069+
* parameters, call the {@link GetRagEngineConfig#execute()} method to invoke the remote operation.
5070+
*
5071+
* @param name Required. The name of the RagEngineConfig resource. Format:
5072+
* `projects/{project}/locations/{location}/ragEngineConfig`
5073+
* @return the request
5074+
*/
5075+
public GetRagEngineConfig getRagEngineConfig(java.lang.String name) throws java.io.IOException {
5076+
GetRagEngineConfig result = new GetRagEngineConfig(name);
5077+
initialize(result);
5078+
return result;
5079+
}
5080+
5081+
public class GetRagEngineConfig extends AiplatformRequest<com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1RagEngineConfig> {
5082+
5083+
private static final String REST_PATH = "v1/{+name}";
5084+
5085+
private final java.util.regex.Pattern NAME_PATTERN =
5086+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/ragEngineConfig$");
5087+
5088+
/**
5089+
* Gets a RagEngineConfig.
5090+
*
5091+
* Create a request for the method "locations.getRagEngineConfig".
5092+
*
5093+
* This request holds the parameters needed by the the aiplatform server. After setting any
5094+
* optional parameters, call the {@link GetRagEngineConfig#execute()} method to invoke the remote
5095+
* operation. <p> {@link GetRagEngineConfig#initialize(com.google.api.client.googleapis.services.A
5096+
* bstractGoogleClientRequest)} must be called to initialize this instance immediately after
5097+
* invoking the constructor. </p>
5098+
*
5099+
* @param name Required. The name of the RagEngineConfig resource. Format:
5100+
* `projects/{project}/locations/{location}/ragEngineConfig`
5101+
* @since 1.13
5102+
*/
5103+
protected GetRagEngineConfig(java.lang.String name) {
5104+
super(Aiplatform.this, "GET", REST_PATH, null, com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1RagEngineConfig.class);
5105+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
5106+
if (!getSuppressPatternChecks()) {
5107+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
5108+
"Parameter name must conform to the pattern " +
5109+
"^projects/[^/]+/locations/[^/]+/ragEngineConfig$");
5110+
}
5111+
}
5112+
5113+
@Override
5114+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
5115+
return super.executeUsingHead();
5116+
}
5117+
5118+
@Override
5119+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
5120+
return super.buildHttpRequestUsingHead();
5121+
}
5122+
5123+
@Override
5124+
public GetRagEngineConfig set$Xgafv(java.lang.String $Xgafv) {
5125+
return (GetRagEngineConfig) super.set$Xgafv($Xgafv);
5126+
}
5127+
5128+
@Override
5129+
public GetRagEngineConfig setAccessToken(java.lang.String accessToken) {
5130+
return (GetRagEngineConfig) super.setAccessToken(accessToken);
5131+
}
5132+
5133+
@Override
5134+
public GetRagEngineConfig setAlt(java.lang.String alt) {
5135+
return (GetRagEngineConfig) super.setAlt(alt);
5136+
}
5137+
5138+
@Override
5139+
public GetRagEngineConfig setCallback(java.lang.String callback) {
5140+
return (GetRagEngineConfig) super.setCallback(callback);
5141+
}
5142+
5143+
@Override
5144+
public GetRagEngineConfig setFields(java.lang.String fields) {
5145+
return (GetRagEngineConfig) super.setFields(fields);
5146+
}
5147+
5148+
@Override
5149+
public GetRagEngineConfig setKey(java.lang.String key) {
5150+
return (GetRagEngineConfig) super.setKey(key);
5151+
}
5152+
5153+
@Override
5154+
public GetRagEngineConfig setOauthToken(java.lang.String oauthToken) {
5155+
return (GetRagEngineConfig) super.setOauthToken(oauthToken);
5156+
}
5157+
5158+
@Override
5159+
public GetRagEngineConfig setPrettyPrint(java.lang.Boolean prettyPrint) {
5160+
return (GetRagEngineConfig) super.setPrettyPrint(prettyPrint);
5161+
}
5162+
5163+
@Override
5164+
public GetRagEngineConfig setQuotaUser(java.lang.String quotaUser) {
5165+
return (GetRagEngineConfig) super.setQuotaUser(quotaUser);
5166+
}
5167+
5168+
@Override
5169+
public GetRagEngineConfig setUploadType(java.lang.String uploadType) {
5170+
return (GetRagEngineConfig) super.setUploadType(uploadType);
5171+
}
5172+
5173+
@Override
5174+
public GetRagEngineConfig setUploadProtocol(java.lang.String uploadProtocol) {
5175+
return (GetRagEngineConfig) super.setUploadProtocol(uploadProtocol);
5176+
}
5177+
5178+
/**
5179+
* Required. The name of the RagEngineConfig resource. Format:
5180+
* `projects/{project}/locations/{location}/ragEngineConfig`
5181+
*/
5182+
@com.google.api.client.util.Key
5183+
private java.lang.String name;
5184+
5185+
/** Required. The name of the RagEngineConfig resource. Format:
5186+
`projects/{project}/locations/{location}/ragEngineConfig`
5187+
*/
5188+
public java.lang.String getName() {
5189+
return name;
5190+
}
5191+
5192+
/**
5193+
* Required. The name of the RagEngineConfig resource. Format:
5194+
* `projects/{project}/locations/{location}/ragEngineConfig`
5195+
*/
5196+
public GetRagEngineConfig setName(java.lang.String name) {
5197+
if (!getSuppressPatternChecks()) {
5198+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
5199+
"Parameter name must conform to the pattern " +
5200+
"^projects/[^/]+/locations/[^/]+/ragEngineConfig$");
5201+
}
5202+
this.name = name;
5203+
return this;
5204+
}
5205+
5206+
@Override
5207+
public GetRagEngineConfig set(String parameterName, Object value) {
5208+
return (GetRagEngineConfig) super.set(parameterName, value);
5209+
}
5210+
}
50635211
/**
50645212
* Lists information about the supported locations for this service.
50655213
*
@@ -5429,6 +5577,147 @@ public RetrieveContexts set(String parameterName, Object value) {
54295577
return (RetrieveContexts) super.set(parameterName, value);
54305578
}
54315579
}
5580+
/**
5581+
* Updates a RagEngineConfig.
5582+
*
5583+
* Create a request for the method "locations.updateRagEngineConfig".
5584+
*
5585+
* This request holds the parameters needed by the aiplatform server. After setting any optional
5586+
* parameters, call the {@link UpdateRagEngineConfig#execute()} method to invoke the remote
5587+
* operation.
5588+
*
5589+
* @param name Identifier. The name of the RagEngineConfig. Format:
5590+
* `projects/{project}/locations/{location}/ragEngineConfig`
5591+
* @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1RagEngineConfig}
5592+
* @return the request
5593+
*/
5594+
public UpdateRagEngineConfig updateRagEngineConfig(java.lang.String name, com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1RagEngineConfig content) throws java.io.IOException {
5595+
UpdateRagEngineConfig result = new UpdateRagEngineConfig(name, content);
5596+
initialize(result);
5597+
return result;
5598+
}
5599+
5600+
public class UpdateRagEngineConfig extends AiplatformRequest<com.google.api.services.aiplatform.v1.model.GoogleLongrunningOperation> {
5601+
5602+
private static final String REST_PATH = "v1/{+name}";
5603+
5604+
private final java.util.regex.Pattern NAME_PATTERN =
5605+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/ragEngineConfig$");
5606+
5607+
/**
5608+
* Updates a RagEngineConfig.
5609+
*
5610+
* Create a request for the method "locations.updateRagEngineConfig".
5611+
*
5612+
* This request holds the parameters needed by the the aiplatform server. After setting any
5613+
* optional parameters, call the {@link UpdateRagEngineConfig#execute()} method to invoke the
5614+
* remote operation. <p> {@link UpdateRagEngineConfig#initialize(com.google.api.client.googleapis.
5615+
* services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
5616+
* after invoking the constructor. </p>
5617+
*
5618+
* @param name Identifier. The name of the RagEngineConfig. Format:
5619+
* `projects/{project}/locations/{location}/ragEngineConfig`
5620+
* @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1RagEngineConfig}
5621+
* @since 1.13
5622+
*/
5623+
protected UpdateRagEngineConfig(java.lang.String name, com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1RagEngineConfig content) {
5624+
super(Aiplatform.this, "PATCH", REST_PATH, content, com.google.api.services.aiplatform.v1.model.GoogleLongrunningOperation.class);
5625+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
5626+
if (!getSuppressPatternChecks()) {
5627+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
5628+
"Parameter name must conform to the pattern " +
5629+
"^projects/[^/]+/locations/[^/]+/ragEngineConfig$");
5630+
}
5631+
}
5632+
5633+
@Override
5634+
public UpdateRagEngineConfig set$Xgafv(java.lang.String $Xgafv) {
5635+
return (UpdateRagEngineConfig) super.set$Xgafv($Xgafv);
5636+
}
5637+
5638+
@Override
5639+
public UpdateRagEngineConfig setAccessToken(java.lang.String accessToken) {
5640+
return (UpdateRagEngineConfig) super.setAccessToken(accessToken);
5641+
}
5642+
5643+
@Override
5644+
public UpdateRagEngineConfig setAlt(java.lang.String alt) {
5645+
return (UpdateRagEngineConfig) super.setAlt(alt);
5646+
}
5647+
5648+
@Override
5649+
public UpdateRagEngineConfig setCallback(java.lang.String callback) {
5650+
return (UpdateRagEngineConfig) super.setCallback(callback);
5651+
}
5652+
5653+
@Override
5654+
public UpdateRagEngineConfig setFields(java.lang.String fields) {
5655+
return (UpdateRagEngineConfig) super.setFields(fields);
5656+
}
5657+
5658+
@Override
5659+
public UpdateRagEngineConfig setKey(java.lang.String key) {
5660+
return (UpdateRagEngineConfig) super.setKey(key);
5661+
}
5662+
5663+
@Override
5664+
public UpdateRagEngineConfig setOauthToken(java.lang.String oauthToken) {
5665+
return (UpdateRagEngineConfig) super.setOauthToken(oauthToken);
5666+
}
5667+
5668+
@Override
5669+
public UpdateRagEngineConfig setPrettyPrint(java.lang.Boolean prettyPrint) {
5670+
return (UpdateRagEngineConfig) super.setPrettyPrint(prettyPrint);
5671+
}
5672+
5673+
@Override
5674+
public UpdateRagEngineConfig setQuotaUser(java.lang.String quotaUser) {
5675+
return (UpdateRagEngineConfig) super.setQuotaUser(quotaUser);
5676+
}
5677+
5678+
@Override
5679+
public UpdateRagEngineConfig setUploadType(java.lang.String uploadType) {
5680+
return (UpdateRagEngineConfig) super.setUploadType(uploadType);
5681+
}
5682+
5683+
@Override
5684+
public UpdateRagEngineConfig setUploadProtocol(java.lang.String uploadProtocol) {
5685+
return (UpdateRagEngineConfig) super.setUploadProtocol(uploadProtocol);
5686+
}
5687+
5688+
/**
5689+
* Identifier. The name of the RagEngineConfig. Format:
5690+
* `projects/{project}/locations/{location}/ragEngineConfig`
5691+
*/
5692+
@com.google.api.client.util.Key
5693+
private java.lang.String name;
5694+
5695+
/** Identifier. The name of the RagEngineConfig. Format:
5696+
`projects/{project}/locations/{location}/ragEngineConfig`
5697+
*/
5698+
public java.lang.String getName() {
5699+
return name;
5700+
}
5701+
5702+
/**
5703+
* Identifier. The name of the RagEngineConfig. Format:
5704+
* `projects/{project}/locations/{location}/ragEngineConfig`
5705+
*/
5706+
public UpdateRagEngineConfig setName(java.lang.String name) {
5707+
if (!getSuppressPatternChecks()) {
5708+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
5709+
"Parameter name must conform to the pattern " +
5710+
"^projects/[^/]+/locations/[^/]+/ragEngineConfig$");
5711+
}
5712+
this.name = name;
5713+
return this;
5714+
}
5715+
5716+
@Override
5717+
public UpdateRagEngineConfig set(String parameterName, Object value) {
5718+
return (UpdateRagEngineConfig) super.set(parameterName, value);
5719+
}
5720+
}
54325721

54335722
/**
54345723
* An accessor for creating requests from the BatchPredictionJobs collection.

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

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ public final class GoogleCloudAiplatformV1Blob extends com.google.api.client.jso
3838

3939
/**
4040
* Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs.
41-
* This field is only returned in PromptMessage for prompt management. It is not currently used in
42-
* the Gemini GenerateContent calls.
41+
* This field is only returned in PromptMessage for prompt management. It is currently used in the
42+
* Gemini GenerateContent calls only when server side tools (code_execution, google_search, and
43+
* url_context) are enabled.
4344
* The value may be {@code null}.
4445
*/
4546
@com.google.api.client.util.Key
@@ -99,8 +100,9 @@ public GoogleCloudAiplatformV1Blob encodeData(byte[] data) {
99100

100101
/**
101102
* Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs.
102-
* This field is only returned in PromptMessage for prompt management. It is not currently used in
103-
* the Gemini GenerateContent calls.
103+
* This field is only returned in PromptMessage for prompt management. It is currently used in the
104+
* Gemini GenerateContent calls only when server side tools (code_execution, google_search, and
105+
* url_context) are enabled.
104106
* @return value or {@code null} for none
105107
*/
106108
public java.lang.String getDisplayName() {
@@ -109,8 +111,9 @@ public java.lang.String getDisplayName() {
109111

110112
/**
111113
* Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs.
112-
* This field is only returned in PromptMessage for prompt management. It is not currently used in
113-
* the Gemini GenerateContent calls.
114+
* This field is only returned in PromptMessage for prompt management. It is currently used in the
115+
* Gemini GenerateContent calls only when server side tools (code_execution, google_search, and
116+
* url_context) are enabled.
114117
* @param displayName displayName or {@code null} for none
115118
*/
116119
public GoogleCloudAiplatformV1Blob setDisplayName(java.lang.String displayName) {

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

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ public final class GoogleCloudAiplatformV1FileData extends com.google.api.client
3131

3232
/**
3333
* Optional. Display name of the file data. Used to provide a label or filename to distinguish
34-
* file datas. This field is only returned in PromptMessage for prompt management. It is not
35-
* currently used in the Gemini GenerateContent calls.
34+
* file datas. This field is only returned in PromptMessage for prompt management. It is currently
35+
* used in the Gemini GenerateContent calls only when server side tools (code_execution,
36+
* google_search, and url_context) are enabled.
3637
* The value may be {@code null}.
3738
*/
3839
@com.google.api.client.util.Key
@@ -54,8 +55,9 @@ public final class GoogleCloudAiplatformV1FileData extends com.google.api.client
5455

5556
/**
5657
* Optional. Display name of the file data. Used to provide a label or filename to distinguish
57-
* file datas. This field is only returned in PromptMessage for prompt management. It is not
58-
* currently used in the Gemini GenerateContent calls.
58+
* file datas. This field is only returned in PromptMessage for prompt management. It is currently
59+
* used in the Gemini GenerateContent calls only when server side tools (code_execution,
60+
* google_search, and url_context) are enabled.
5961
* @return value or {@code null} for none
6062
*/
6163
public java.lang.String getDisplayName() {
@@ -64,8 +66,9 @@ public java.lang.String getDisplayName() {
6466

6567
/**
6668
* Optional. Display name of the file data. Used to provide a label or filename to distinguish
67-
* file datas. This field is only returned in PromptMessage for prompt management. It is not
68-
* currently used in the Gemini GenerateContent calls.
69+
* file datas. This field is only returned in PromptMessage for prompt management. It is currently
70+
* used in the Gemini GenerateContent calls only when server side tools (code_execution,
71+
* google_search, and url_context) are enabled.
6972
* @param displayName displayName or {@code null} for none
7073
*/
7174
public GoogleCloudAiplatformV1FileData setDisplayName(java.lang.String displayName) {

0 commit comments

Comments
 (0)