Skip to content
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions generation_config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
gapic_generator_version: 2.62.3
googleapis_commitish: 6e79e73204aed17b11e724beebb9cf11f36ea57d
libraries_bom_version: 26.69.0
googleapis_commitish: 6821943108fe3284f483defc9b60774a3752de2b
libraries_bom_version: 26.70.0

# the libraries are ordered with respect to library name, which is
# java-{library.library_name} or java-{library.api-shortname} when
Expand Down
10 changes: 5 additions & 5 deletions java-accessapproval/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.69.0</version>
<version>26.70.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-accessapproval</artifactId>
<version>2.76.0</version>
<version>2.77.0</version>
</dependency>
```

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

```Groovy
implementation 'com.google.cloud:google-cloud-accessapproval:2.76.0'
implementation 'com.google.cloud:google-cloud-accessapproval:2.77.0'
```

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

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-accessapproval" % "2.76.0"
libraryDependencies += "com.google.cloud" % "google-cloud-accessapproval" % "2.77.0"
```

## Authentication
Expand Down Expand Up @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-accessapproval.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.76.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.77.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
10 changes: 5 additions & 5 deletions java-accesscontextmanager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.69.0</version>
<version>26.70.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-identity-accesscontextmanager</artifactId>
<version>1.76.0</version>
<version>1.77.0</version>
</dependency>
```

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

```Groovy
implementation 'com.google.cloud:google-identity-accesscontextmanager:1.76.0'
implementation 'com.google.cloud:google-identity-accesscontextmanager:1.77.0'
```

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

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

## Authentication
Expand Down Expand Up @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-identity-accesscontextmanager.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.76.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.77.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
10 changes: 5 additions & 5 deletions java-admanager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.69.0</version>
<version>26.70.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
<dependency>
<groupId>com.google.api-ads</groupId>
<artifactId>ad-manager</artifactId>
<version>0.34.0</version>
<version>0.35.0</version>
</dependency>
```

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

```Groovy
implementation 'com.google.api-ads:ad-manager:0.34.0'
implementation 'com.google.api-ads:ad-manager:0.35.0'
```

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

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

## Authentication
Expand Down Expand Up @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.api-ads/ad-manager.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.api-ads/ad-manager/0.34.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.api-ads/ad-manager/0.35.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
10 changes: 5 additions & 5 deletions java-advisorynotifications/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.69.0</version>
<version>26.70.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-advisorynotifications</artifactId>
<version>0.64.0</version>
<version>0.65.0</version>
</dependency>
```

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

```Groovy
implementation 'com.google.cloud:google-cloud-advisorynotifications:0.64.0'
implementation 'com.google.cloud:google-cloud-advisorynotifications:0.65.0'
```

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

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-advisorynotifications" % "0.64.0"
libraryDependencies += "com.google.cloud" % "google-cloud-advisorynotifications" % "0.65.0"
```

## Authentication
Expand Down Expand Up @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-advisorynotifications.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-advisorynotifications/0.64.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-advisorynotifications/0.65.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
10 changes: 5 additions & 5 deletions java-aiplatform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.69.0</version>
<version>26.70.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-aiplatform</artifactId>
<version>3.76.0</version>
<version>3.77.0</version>
</dependency>
```

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

```Groovy
implementation 'com.google.cloud:google-cloud-aiplatform:3.76.0'
implementation 'com.google.cloud:google-cloud-aiplatform:3.77.0'
```

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

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "3.76.0"
libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "3.77.0"
```

## Authentication
Expand Down Expand Up @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-aiplatform.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-aiplatform/3.76.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-aiplatform/3.77.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,20 @@
* </td>
* </tr>
* <tr>
* <td><p> GenerateFetchAccessToken</td>
* <td><p> RPC to generate an access token for the given feature view. FeatureViews under the same FeatureOnlineStore share the same access token.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li><p> generateFetchAccessToken(GenerateFetchAccessTokenRequest request)
* </ul>
* <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>
* <ul>
* <li><p> generateFetchAccessTokenCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td><p> ListLocations</td>
* <td><p> Lists information about the supported locations for this service.</td>
* <td>
Expand Down Expand Up @@ -544,6 +558,75 @@ public final SearchNearestEntitiesResponse searchNearestEntities(
return stub.featureViewDirectWriteCallable();
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* RPC to generate an access token for the given feature view. FeatureViews under the same
* FeatureOnlineStore share the same access token.
*
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (FeatureOnlineStoreServiceClient featureOnlineStoreServiceClient =
* FeatureOnlineStoreServiceClient.create()) {
* GenerateFetchAccessTokenRequest request =
* GenerateFetchAccessTokenRequest.newBuilder()
* .setFeatureView(
* FeatureViewName.of(
* "[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]")
* .toString())
* .build();
* GenerateFetchAccessTokenResponse response =
* featureOnlineStoreServiceClient.generateFetchAccessToken(request);
* }
* }</pre>
*
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final GenerateFetchAccessTokenResponse generateFetchAccessToken(
GenerateFetchAccessTokenRequest request) {
return generateFetchAccessTokenCallable().call(request);
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* RPC to generate an access token for the given feature view. FeatureViews under the same
* FeatureOnlineStore share the same access token.
*
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (FeatureOnlineStoreServiceClient featureOnlineStoreServiceClient =
* FeatureOnlineStoreServiceClient.create()) {
* GenerateFetchAccessTokenRequest request =
* GenerateFetchAccessTokenRequest.newBuilder()
* .setFeatureView(
* FeatureViewName.of(
* "[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]")
* .toString())
* .build();
* ApiFuture<GenerateFetchAccessTokenResponse> future =
* featureOnlineStoreServiceClient.generateFetchAccessTokenCallable().futureCall(request);
* // Do something.
* GenerateFetchAccessTokenResponse response = future.get();
* }
* }</pre>
*/
public final UnaryCallable<GenerateFetchAccessTokenRequest, GenerateFetchAccessTokenResponse>
generateFetchAccessTokenCallable() {
return stub.generateFetchAccessTokenCallable();
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Lists information about the supported locations for this service.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,13 @@ public class FeatureOnlineStoreServiceSettings
.featureViewDirectWriteSettings();
}

/** Returns the object with the settings used for calls to generateFetchAccessToken. */
public UnaryCallSettings<GenerateFetchAccessTokenRequest, GenerateFetchAccessTokenResponse>
generateFetchAccessTokenSettings() {
return ((FeatureOnlineStoreServiceStubSettings) getStubSettings())
.generateFetchAccessTokenSettings();
}

/** Returns the object with the settings used for calls to listLocations. */
public PagedCallSettings<ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
listLocationsSettings() {
Expand Down Expand Up @@ -261,6 +268,13 @@ public Builder applyToAllUnaryMethods(
return getStubSettingsBuilder().featureViewDirectWriteSettings();
}

/** Returns the builder for the settings used for calls to generateFetchAccessToken. */
public UnaryCallSettings.Builder<
GenerateFetchAccessTokenRequest, GenerateFetchAccessTokenResponse>
generateFetchAccessTokenSettings() {
return getStubSettingsBuilder().generateFetchAccessTokenSettings();
}

/** Returns the builder for the settings used for calls to listLocations. */
public PagedCallSettings.Builder<
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,9 @@
"FetchFeatureValues": {
"methods": ["fetchFeatureValues", "fetchFeatureValues", "fetchFeatureValues", "fetchFeatureValuesCallable"]
},
"GenerateFetchAccessToken": {
"methods": ["generateFetchAccessToken", "generateFetchAccessTokenCallable"]
},
"GetIamPolicy": {
"methods": ["getIamPolicy", "getIamPolicyCallable"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
import com.google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse;
import com.google.cloud.aiplatform.v1.FetchFeatureValuesRequest;
import com.google.cloud.aiplatform.v1.FetchFeatureValuesResponse;
import com.google.cloud.aiplatform.v1.GenerateFetchAccessTokenRequest;
import com.google.cloud.aiplatform.v1.GenerateFetchAccessTokenResponse;
import com.google.cloud.aiplatform.v1.SearchNearestEntitiesRequest;
import com.google.cloud.aiplatform.v1.SearchNearestEntitiesResponse;
import com.google.cloud.location.GetLocationRequest;
Expand Down Expand Up @@ -62,6 +64,11 @@ public abstract class FeatureOnlineStoreServiceStub implements BackgroundResourc
throw new UnsupportedOperationException("Not implemented: featureViewDirectWriteCallable()");
}

public UnaryCallable<GenerateFetchAccessTokenRequest, GenerateFetchAccessTokenResponse>
generateFetchAccessTokenCallable() {
throw new UnsupportedOperationException("Not implemented: generateFetchAccessTokenCallable()");
}

public UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse>
listLocationsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()");
Expand Down
Loading
Loading