Skip to content

Commit bf30bf1

Browse files
chore: Update generation configuration at Sat Oct 11 02:27:02 UTC 2025 (#11764)
This pull request is generated with proto changes between [googleapis/googleapis@6e79e73](googleapis/googleapis@6e79e73) (exclusive) and [googleapis/googleapis@6821943](googleapis/googleapis@6821943) (inclusive). BEGIN_COMMIT_OVERRIDE BEGIN_NESTED_COMMIT chore: update the libraries_bom version to 26.70.0 END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [dlp] inspect and deid templates in RedactImage feat: [dlp] store DlpJob findings in a Cloud Storage bucket feat: [dlp] publish DlpJob findings to Dataplex Universal Catalog feat: [dlp] Cloud Storage discovery filters based on tag filters docs: [dlp] clarify ListProjectDataProfiles API supports filter by project_id docs: [dlp] clarify List*DataProfiles APIs supports filter by profile_last_generated docs: [dlp] clarify filter syntax for List* APIs PiperOrigin-RevId: 817724737 Source Link: [googleapis/googleapis@1135291](googleapis/googleapis@1135291) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [aiplatform] Add JAILBREAK category to SafetySettings for prediction service PiperOrigin-RevId: 817718770 Source Link: [googleapis/googleapis@251a3d8](googleapis/googleapis@251a3d8) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [aiplatform] add additional proto fields and GenerateFetchAccessToken API PiperOrigin-RevId: 817715744 Source Link: [googleapis/googleapis@eadc874](googleapis/googleapis@eadc874) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [aiplatform] Add JAILBREAK as a new Prompt block reason in PredictionService PiperOrigin-RevId: 817715315 Source Link: [googleapis/googleapis@8d338e2](googleapis/googleapis@8d338e2) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [aiplatform] Add JAILBREAK category to SafetySettings for prediction service PiperOrigin-RevId: 817714487 Source Link: [googleapis/googleapis@d034736](googleapis/googleapis@d034736) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [dialogflow-cx] Add parameters to adjust LLM input and output token limit and temperature in v3beta1 API feat: [dialogflow-cx] add input and output parameters for Flows feat: [dialogflow-cx] Return Vertex search document metadata with a datastore response feat: [dialogflow-cx] add prompt security settings to the SDK feat: [dialogflow-cx] Add generators in fulfillment for v3beta and v3 feat: [dialogflow-cx] Add ToolVersion APIs docs: [dialogflow-cx] Update environment documentation to add support for ToolVersions feat: [dialogflow-cx] add Import/Export playbook functionality to client lib feat: [dialogflow-cx] add RestorePlaybookVersion functionality to client lib feat: [dialogflow-cx] enable unified tracing API docs: [dialogflow-cx] A comment for message `PlaybookInvocation` is changed docs: [dialogflow-cx] A comment for message `FlowInvocation` is changed docs: [dialogflow-cx] A comment for field `flow` in message `.google.cloud.dialogflow.cx.v3beta1.FlowInvocation` is changed feat: [dialogflow-cx] support using secret manager to manage tool/webhook credentials feat: [dialogflow-cx] add Event action to Examples feat: [dialogflow-cx] add routine and task (existing) playbook types fix!: [dialogflow-cx] An existing message `PlaybookInput` is moved from `google/cloud/dialogflow/cx/v3beta1/example.proto` to `google/cloud/dialogflow/cx/v3beta1/trace.proto` fix!: [dialogflow-cx] An existing message `PlaybookOutput` is moved from `google/cloud/dialogflow/cx/v3beta1/example.proto` to `google/cloud/dialogflow/cx/v3beta1/trace.proto` fix!: [dialogflow-cx] An existing message `Action` is moved from `google/cloud/dialogflow/cx/v3beta1/example.proto` to `google/cloud/dialogflow/cx/v3beta1/trace.proto` fix!: [dialogflow-cx] An existing message `UserUtterance` is moved from `google/cloud/dialogflow/cx/v3beta1/example.proto` to `google/cloud/dialogflow/cx/v3beta1/trace.proto` fix!: [dialogflow-cx] An existing message `AgentUtterance` is moved from `google/cloud/dialogflow/cx/v3beta1/example.proto` to `google/cloud/dialogflow/cx/v3beta1/trace.proto` fix!: [dialogflow-cx] An existing message `ToolUse` is moved from `google/cloud/dialogflow/cx/v3beta1/example.proto` to `google/cloud/dialogflow/cx/v3beta1/trace.proto` fix!: [dialogflow-cx] An existing message `PlaybookInvocation` is moved from `google/cloud/dialogflow/cx/v3beta1/example.proto` to `google/cloud/dialogflow/cx/v3beta1/trace.proto` fix!: [dialogflow-cx] An existing message `FlowInvocation` is moved from `google/cloud/dialogflow/cx/v3beta1/example.proto` to `google/cloud/dialogflow/cx/v3beta1/trace.proto` fix!: [dialogflow-cx] An existing value `JSON` is removed from enum `DataFormat` PiperOrigin-RevId: 817327474 Source Link: [googleapis/googleapis@8dc86c1](googleapis/googleapis@8dc86c1) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [aiplatform] A new message `ScaleToZeroSpec` is added feat: [aiplatform] A new field `initial_replica_count` is added to message `.google.cloud.aiplatform.v1beta1.DedicatedResources` feat: [aiplatform] A new field `scale_to_zero_spec` is added to message `.google.cloud.aiplatform.v1beta1.DedicatedResources` PiperOrigin-RevId: 817290056 Source Link: [googleapis/googleapis@bd4166c](googleapis/googleapis@bd4166c) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [compute] Update Compute Engine v1 API to revision 20250916 (#1107) Source Link: [googleapis/googleapis@a23c956](googleapis/googleapis@a23c956) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [document-ai] Added new messages `EntityValidationOutput` and `EntitiesRevision` feat: [document-ai] Added new fields `entity_validation_output`, `entities_revisions`, and `entities_revision_id` to the `Document` message docs: [document-ai] The field `training_method` in `TrainProcessorVersionRequest` is now marked as optional PiperOrigin-RevId: 816853859 Source Link: [googleapis/googleapis@1a87094](googleapis/googleapis@1a87094) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [document-ai] A new field `signature_value` is added to message `.google.cloud.documentai.v1beta3.Document` feat: [document-ai] A new enum `Method` is added feat: [document-ai] A new field `method` is added to message `.google.cloud.documentai.v1beta3.Document` feat: [document-ai] A new field `annotations` is added to message `.google.cloud.documentai.v1beta3.Document` feat: [document-ai] A new field `annotations` is added to message `.google.cloud.documentai.v1beta3.Document` feat: [document-ai] A new message `EntityValidationOutput` is added feat: [document-ai] A new message `EntitiesRevision` is added feat: [document-ai] A new field `entity_validation_output` is added to message `.google.cloud.documentai.v1beta3.Document` feat: [document-ai] A new field `entities_revisions` is added to message `.google.cloud.documentai.v1beta3.Document` feat: [document-ai] A new field `entities_revision_id` is added to message `.google.cloud.documentai.v1beta3.Document` feat: [document-ai] A new enum `Method` is added feat: [document-ai] A new field `method` is added to message `.google.cloud.documentai.v1beta3.DocumentSchema` docs: [document-ai] A comment for field `training_method` in message `.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest` is changed docs: [document-ai] A comment for field `processor_version_source` in message `.google.cloud.documentai.v1beta3.ImportProcessorVersionRequest` is changed docs: [document-ai] A comment for field `document_schema` in message `.google.cloud.documentai.v1beta3.ProcessorVersion` is changed docs: [document-ai] A comment for field `create_time` in message `.google.cloud.documentai.v1beta3.ProcessorVersion` is changed docs: [document-ai] A comment for field `latest_evaluation` in message `.google.cloud.documentai.v1beta3.ProcessorVersion` is changed docs: [document-ai] A comment for field `kms_key_name` in message `.google.cloud.documentai.v1beta3.ProcessorVersion` is changed docs: [document-ai] A comment for field `kms_key_version_name` in message `.google.cloud.documentai.v1beta3.ProcessorVersion` is changed docs: [document-ai] A comment for field `deprecation_info` in message `.google.cloud.documentai.v1beta3.ProcessorVersion` is changed docs: [document-ai] A comment for field `create_time` in message `.google.cloud.documentai.v1beta3.Processor` is changed PiperOrigin-RevId: 816756608 Source Link: [googleapis/googleapis@50a2632](googleapis/googleapis@50a2632) END_NESTED_COMMIT END_COMMIT_OVERRIDE
1 parent 6498808 commit bf30bf1

File tree

696 files changed

+174731
-19518
lines changed

Some content is hidden

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

696 files changed

+174731
-19518
lines changed

generation_config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
gapic_generator_version: 2.62.3
2-
googleapis_commitish: 6e79e73204aed17b11e724beebb9cf11f36ea57d
3-
libraries_bom_version: 26.69.0
2+
googleapis_commitish: 6821943108fe3284f483defc9b60774a3752de2b
3+
libraries_bom_version: 26.70.0
44

55
# the libraries are ordered with respect to library name, which is
66
# java-{library.library_name} or java-{library.api-shortname} when

java-accessapproval/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
2020
<dependency>
2121
<groupId>com.google.cloud</groupId>
2222
<artifactId>libraries-bom</artifactId>
23-
<version>26.69.0</version>
23+
<version>26.70.0</version>
2424
<type>pom</type>
2525
<scope>import</scope>
2626
</dependency>
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
4242
<dependency>
4343
<groupId>com.google.cloud</groupId>
4444
<artifactId>google-cloud-accessapproval</artifactId>
45-
<version>2.76.0</version>
45+
<version>2.77.0</version>
4646
</dependency>
4747
```
4848

4949
If you are using Gradle without BOM, add this to your dependencies:
5050

5151
```Groovy
52-
implementation 'com.google.cloud:google-cloud-accessapproval:2.76.0'
52+
implementation 'com.google.cloud:google-cloud-accessapproval:2.77.0'
5353
```
5454

5555
If you are using SBT, add this to your dependencies:
5656

5757
```Scala
58-
libraryDependencies += "com.google.cloud" % "google-cloud-accessapproval" % "2.76.0"
58+
libraryDependencies += "com.google.cloud" % "google-cloud-accessapproval" % "2.77.0"
5959
```
6060

6161
## Authentication
@@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
194194
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
195195
[stability-image]: https://img.shields.io/badge/stability-stable-green
196196
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-accessapproval.svg
197-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.76.0
197+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.77.0
198198
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
199199
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
200200
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-accesscontextmanager/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
2020
<dependency>
2121
<groupId>com.google.cloud</groupId>
2222
<artifactId>libraries-bom</artifactId>
23-
<version>26.69.0</version>
23+
<version>26.70.0</version>
2424
<type>pom</type>
2525
<scope>import</scope>
2626
</dependency>
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
4242
<dependency>
4343
<groupId>com.google.cloud</groupId>
4444
<artifactId>google-identity-accesscontextmanager</artifactId>
45-
<version>1.76.0</version>
45+
<version>1.77.0</version>
4646
</dependency>
4747
```
4848

4949
If you are using Gradle without BOM, add this to your dependencies:
5050

5151
```Groovy
52-
implementation 'com.google.cloud:google-identity-accesscontextmanager:1.76.0'
52+
implementation 'com.google.cloud:google-identity-accesscontextmanager:1.77.0'
5353
```
5454

5555
If you are using SBT, add this to your dependencies:
5656

5757
```Scala
58-
libraryDependencies += "com.google.cloud" % "google-identity-accesscontextmanager" % "1.76.0"
58+
libraryDependencies += "com.google.cloud" % "google-identity-accesscontextmanager" % "1.77.0"
5959
```
6060

6161
## Authentication
@@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
194194
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
195195
[stability-image]: https://img.shields.io/badge/stability-stable-green
196196
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-identity-accesscontextmanager.svg
197-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.76.0
197+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.77.0
198198
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
199199
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
200200
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-admanager/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
2323
<dependency>
2424
<groupId>com.google.cloud</groupId>
2525
<artifactId>libraries-bom</artifactId>
26-
<version>26.69.0</version>
26+
<version>26.70.0</version>
2727
<type>pom</type>
2828
<scope>import</scope>
2929
</dependency>
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
4545
<dependency>
4646
<groupId>com.google.api-ads</groupId>
4747
<artifactId>ad-manager</artifactId>
48-
<version>0.34.0</version>
48+
<version>0.35.0</version>
4949
</dependency>
5050
```
5151

5252
If you are using Gradle without BOM, add this to your dependencies:
5353

5454
```Groovy
55-
implementation 'com.google.api-ads:ad-manager:0.34.0'
55+
implementation 'com.google.api-ads:ad-manager:0.35.0'
5656
```
5757

5858
If you are using SBT, add this to your dependencies:
5959

6060
```Scala
61-
libraryDependencies += "com.google.api-ads" % "ad-manager" % "0.34.0"
61+
libraryDependencies += "com.google.api-ads" % "ad-manager" % "0.35.0"
6262
```
6363

6464
## Authentication
@@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
200200
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
201201
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
202202
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.api-ads/ad-manager.svg
203-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.api-ads/ad-manager/0.34.0
203+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.api-ads/ad-manager/0.35.0
204204
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
205205
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
206206
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-advisorynotifications/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
2020
<dependency>
2121
<groupId>com.google.cloud</groupId>
2222
<artifactId>libraries-bom</artifactId>
23-
<version>26.69.0</version>
23+
<version>26.70.0</version>
2424
<type>pom</type>
2525
<scope>import</scope>
2626
</dependency>
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
4242
<dependency>
4343
<groupId>com.google.cloud</groupId>
4444
<artifactId>google-cloud-advisorynotifications</artifactId>
45-
<version>0.64.0</version>
45+
<version>0.65.0</version>
4646
</dependency>
4747
```
4848

4949
If you are using Gradle without BOM, add this to your dependencies:
5050

5151
```Groovy
52-
implementation 'com.google.cloud:google-cloud-advisorynotifications:0.64.0'
52+
implementation 'com.google.cloud:google-cloud-advisorynotifications:0.65.0'
5353
```
5454

5555
If you are using SBT, add this to your dependencies:
5656

5757
```Scala
58-
libraryDependencies += "com.google.cloud" % "google-cloud-advisorynotifications" % "0.64.0"
58+
libraryDependencies += "com.google.cloud" % "google-cloud-advisorynotifications" % "0.65.0"
5959
```
6060

6161
## Authentication
@@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
194194
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
195195
[stability-image]: https://img.shields.io/badge/stability-stable-green
196196
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-advisorynotifications.svg
197-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-advisorynotifications/0.64.0
197+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-advisorynotifications/0.65.0
198198
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
199199
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
200200
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-aiplatform/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
2020
<dependency>
2121
<groupId>com.google.cloud</groupId>
2222
<artifactId>libraries-bom</artifactId>
23-
<version>26.69.0</version>
23+
<version>26.70.0</version>
2424
<type>pom</type>
2525
<scope>import</scope>
2626
</dependency>
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
4242
<dependency>
4343
<groupId>com.google.cloud</groupId>
4444
<artifactId>google-cloud-aiplatform</artifactId>
45-
<version>3.76.0</version>
45+
<version>3.77.0</version>
4646
</dependency>
4747
```
4848

4949
If you are using Gradle without BOM, add this to your dependencies:
5050

5151
```Groovy
52-
implementation 'com.google.cloud:google-cloud-aiplatform:3.76.0'
52+
implementation 'com.google.cloud:google-cloud-aiplatform:3.77.0'
5353
```
5454

5555
If you are using SBT, add this to your dependencies:
5656

5757
```Scala
58-
libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "3.76.0"
58+
libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "3.77.0"
5959
```
6060

6161
## Authentication
@@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
194194
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
195195
[stability-image]: https://img.shields.io/badge/stability-stable-green
196196
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-aiplatform.svg
197-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-aiplatform/3.76.0
197+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-aiplatform/3.77.0
198198
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
199199
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
200200
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeatureOnlineStoreServiceClient.java

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,20 @@
120120
* </td>
121121
* </tr>
122122
* <tr>
123+
* <td><p> GenerateFetchAccessToken</td>
124+
* <td><p> RPC to generate an access token for the given feature view. FeatureViews under the same FeatureOnlineStore share the same access token.</td>
125+
* <td>
126+
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
127+
* <ul>
128+
* <li><p> generateFetchAccessToken(GenerateFetchAccessTokenRequest request)
129+
* </ul>
130+
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
131+
* <ul>
132+
* <li><p> generateFetchAccessTokenCallable()
133+
* </ul>
134+
* </td>
135+
* </tr>
136+
* <tr>
123137
* <td><p> ListLocations</td>
124138
* <td><p> Lists information about the supported locations for this service.</td>
125139
* <td>
@@ -544,6 +558,75 @@ public final SearchNearestEntitiesResponse searchNearestEntities(
544558
return stub.featureViewDirectWriteCallable();
545559
}
546560

561+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
562+
/**
563+
* RPC to generate an access token for the given feature view. FeatureViews under the same
564+
* FeatureOnlineStore share the same access token.
565+
*
566+
* <p>Sample code:
567+
*
568+
* <pre>{@code
569+
* // This snippet has been automatically generated and should be regarded as a code template only.
570+
* // It will require modifications to work:
571+
* // - It may require correct/in-range values for request initialization.
572+
* // - It may require specifying regional endpoints when creating the service client as shown in
573+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
574+
* try (FeatureOnlineStoreServiceClient featureOnlineStoreServiceClient =
575+
* FeatureOnlineStoreServiceClient.create()) {
576+
* GenerateFetchAccessTokenRequest request =
577+
* GenerateFetchAccessTokenRequest.newBuilder()
578+
* .setFeatureView(
579+
* FeatureViewName.of(
580+
* "[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]")
581+
* .toString())
582+
* .build();
583+
* GenerateFetchAccessTokenResponse response =
584+
* featureOnlineStoreServiceClient.generateFetchAccessToken(request);
585+
* }
586+
* }</pre>
587+
*
588+
* @param request The request object containing all of the parameters for the API call.
589+
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
590+
*/
591+
public final GenerateFetchAccessTokenResponse generateFetchAccessToken(
592+
GenerateFetchAccessTokenRequest request) {
593+
return generateFetchAccessTokenCallable().call(request);
594+
}
595+
596+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
597+
/**
598+
* RPC to generate an access token for the given feature view. FeatureViews under the same
599+
* FeatureOnlineStore share the same access token.
600+
*
601+
* <p>Sample code:
602+
*
603+
* <pre>{@code
604+
* // This snippet has been automatically generated and should be regarded as a code template only.
605+
* // It will require modifications to work:
606+
* // - It may require correct/in-range values for request initialization.
607+
* // - It may require specifying regional endpoints when creating the service client as shown in
608+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
609+
* try (FeatureOnlineStoreServiceClient featureOnlineStoreServiceClient =
610+
* FeatureOnlineStoreServiceClient.create()) {
611+
* GenerateFetchAccessTokenRequest request =
612+
* GenerateFetchAccessTokenRequest.newBuilder()
613+
* .setFeatureView(
614+
* FeatureViewName.of(
615+
* "[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]")
616+
* .toString())
617+
* .build();
618+
* ApiFuture<GenerateFetchAccessTokenResponse> future =
619+
* featureOnlineStoreServiceClient.generateFetchAccessTokenCallable().futureCall(request);
620+
* // Do something.
621+
* GenerateFetchAccessTokenResponse response = future.get();
622+
* }
623+
* }</pre>
624+
*/
625+
public final UnaryCallable<GenerateFetchAccessTokenRequest, GenerateFetchAccessTokenResponse>
626+
generateFetchAccessTokenCallable() {
627+
return stub.generateFetchAccessTokenCallable();
628+
}
629+
547630
// AUTO-GENERATED DOCUMENTATION AND METHOD.
548631
/**
549632
* Lists information about the supported locations for this service.

java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeatureOnlineStoreServiceSettings.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,13 @@ public class FeatureOnlineStoreServiceSettings
118118
.featureViewDirectWriteSettings();
119119
}
120120

121+
/** Returns the object with the settings used for calls to generateFetchAccessToken. */
122+
public UnaryCallSettings<GenerateFetchAccessTokenRequest, GenerateFetchAccessTokenResponse>
123+
generateFetchAccessTokenSettings() {
124+
return ((FeatureOnlineStoreServiceStubSettings) getStubSettings())
125+
.generateFetchAccessTokenSettings();
126+
}
127+
121128
/** Returns the object with the settings used for calls to listLocations. */
122129
public PagedCallSettings<ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
123130
listLocationsSettings() {
@@ -261,6 +268,13 @@ public Builder applyToAllUnaryMethods(
261268
return getStubSettingsBuilder().featureViewDirectWriteSettings();
262269
}
263270

271+
/** Returns the builder for the settings used for calls to generateFetchAccessToken. */
272+
public UnaryCallSettings.Builder<
273+
GenerateFetchAccessTokenRequest, GenerateFetchAccessTokenResponse>
274+
generateFetchAccessTokenSettings() {
275+
return getStubSettingsBuilder().generateFetchAccessTokenSettings();
276+
}
277+
264278
/** Returns the builder for the settings used for calls to listLocations. */
265279
public PagedCallSettings.Builder<
266280
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>

java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/gapic_metadata.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,9 @@
307307
"FetchFeatureValues": {
308308
"methods": ["fetchFeatureValues", "fetchFeatureValues", "fetchFeatureValues", "fetchFeatureValuesCallable"]
309309
},
310+
"GenerateFetchAccessToken": {
311+
"methods": ["generateFetchAccessToken", "generateFetchAccessTokenCallable"]
312+
},
310313
"GetIamPolicy": {
311314
"methods": ["getIamPolicy", "getIamPolicyCallable"]
312315
},

java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeatureOnlineStoreServiceStub.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
import com.google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse;
2626
import com.google.cloud.aiplatform.v1.FetchFeatureValuesRequest;
2727
import com.google.cloud.aiplatform.v1.FetchFeatureValuesResponse;
28+
import com.google.cloud.aiplatform.v1.GenerateFetchAccessTokenRequest;
29+
import com.google.cloud.aiplatform.v1.GenerateFetchAccessTokenResponse;
2830
import com.google.cloud.aiplatform.v1.SearchNearestEntitiesRequest;
2931
import com.google.cloud.aiplatform.v1.SearchNearestEntitiesResponse;
3032
import com.google.cloud.location.GetLocationRequest;
@@ -62,6 +64,11 @@ public abstract class FeatureOnlineStoreServiceStub implements BackgroundResourc
6264
throw new UnsupportedOperationException("Not implemented: featureViewDirectWriteCallable()");
6365
}
6466

67+
public UnaryCallable<GenerateFetchAccessTokenRequest, GenerateFetchAccessTokenResponse>
68+
generateFetchAccessTokenCallable() {
69+
throw new UnsupportedOperationException("Not implemented: generateFetchAccessTokenCallable()");
70+
}
71+
6572
public UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse>
6673
listLocationsPagedCallable() {
6774
throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()");

0 commit comments

Comments
 (0)