Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions gapic-libraries-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1102,6 +1102,13 @@
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-spanneradapter-bom</artifactId>
<version>0.0.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-spanneradapter:current} -->
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-speech-bom</artifactId>
Expand Down
19 changes: 18 additions & 1 deletion generation_config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
gapic_generator_version: 2.55.1
googleapis_commitish: c8280d7c3c36cb97aac54d661dcdfc4076ac4d32
googleapis_commitish: 4631c76028fc2451ed3d86ce4349c7eafcac31fb
libraries_bom_version: 26.56.0

# the libraries are ordered with respect to library name, which is
Expand Down Expand Up @@ -2237,6 +2237,23 @@ libraries:
requires_billing: true
library_name: shopping-merchant-reviews

- api_shortname: spanneradapter
name_pretty: Cloud Spanner Adapter API
product_documentation: https://cloud.google.com/spanner
api_description: The Cloud Spanner Adapter service allows native drivers of supported
database dialects to interact directly with Cloud Spanner by wrapping the underlying
wire protocol used by the driver in a gRPC stream.
client_documentation:
https://cloud.google.com/java/docs/reference/google-cloud-spanneradapter/latest/overview
release_level: preview
distribution_name: com.google.cloud:google-cloud-spanneradapter
api_id: spanner.googleapis.com
library_type: GAPIC_AUTO
group_id: com.google.cloud
cloud_api: true
GAPICs:
- proto_path: google/spanner/adapter/v1
requires_billing: true
- api_shortname: speech
name_pretty: Cloud Speech
product_documentation: https://cloud.google.com/speech-to-text/docs/
Expand Down
8 changes: 4 additions & 4 deletions java-aiplatform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.60.0</version>
<version>3.61.0</version>
</dependency>
```

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

```Groovy
implementation 'com.google.cloud:google-cloud-aiplatform:3.60.0'
implementation 'com.google.cloud:google-cloud-aiplatform:3.61.0'
```

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

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "3.60.0"
libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "3.61.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.60.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-aiplatform/3.61.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 @@ -1041,6 +1041,7 @@ public final OperationFuture<Empty, DeleteOperationMetadata> deleteReasoningEngi
* .setName(
* ReasoningEngineName.of("[PROJECT]", "[LOCATION]", "[REASONING_ENGINE]")
* .toString())
* .setForce(true)
* .build();
* reasoningEngineServiceClient.deleteReasoningEngineAsync(request).get();
* }
Expand Down Expand Up @@ -1073,6 +1074,7 @@ public final OperationFuture<Empty, DeleteOperationMetadata> deleteReasoningEngi
* .setName(
* ReasoningEngineName.of("[PROJECT]", "[LOCATION]", "[REASONING_ENGINE]")
* .toString())
* .setForce(true)
* .build();
* OperationFuture<Empty, DeleteOperationMetadata> future =
* reasoningEngineServiceClient.deleteReasoningEngineOperationCallable().futureCall(request);
Expand Down Expand Up @@ -1105,6 +1107,7 @@ public final OperationFuture<Empty, DeleteOperationMetadata> deleteReasoningEngi
* .setName(
* ReasoningEngineName.of("[PROJECT]", "[LOCATION]", "[REASONING_ENGINE]")
* .toString())
* .setForce(true)
* .build();
* ApiFuture<Operation> future =
* reasoningEngineServiceClient.deleteReasoningEngineCallable().futureCall(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@
* </tr>
* <tr>
* <td><p> ListAnnotations</td>
* <td><p> Lists Annotations belongs to a dataitem</td>
* <td><p> Lists Annotations belongs to a dataitem.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
Expand All @@ -446,6 +446,36 @@
* </td>
* </tr>
* <tr>
* <td><p> AssessData</td>
* <td><p> Assesses the state or validity of the dataset with respect to a given use case.</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> assessDataAsync(AssessDataRequest 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> assessDataOperationCallable()
* <li><p> assessDataCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td><p> AssembleData</td>
* <td><p> Assembles each row of a multimodal dataset and writes the result into a BigQuery table.</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> assembleDataAsync(AssembleDataRequest 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> assembleDataOperationCallable()
* <li><p> assembleDataCallable()
* </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 @@ -3227,7 +3257,7 @@ public final UnaryCallable<GetAnnotationSpecRequest, AnnotationSpec> getAnnotati

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Lists Annotations belongs to a dataitem
* Lists Annotations belongs to a dataitem.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -3259,7 +3289,7 @@ public final ListAnnotationsPagedResponse listAnnotations(DataItemName parent) {

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Lists Annotations belongs to a dataitem
* Lists Annotations belongs to a dataitem.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -3289,7 +3319,7 @@ public final ListAnnotationsPagedResponse listAnnotations(String parent) {

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Lists Annotations belongs to a dataitem
* Lists Annotations belongs to a dataitem.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -3325,7 +3355,7 @@ public final ListAnnotationsPagedResponse listAnnotations(ListAnnotationsRequest

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Lists Annotations belongs to a dataitem
* Lists Annotations belongs to a dataitem.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -3362,7 +3392,7 @@ public final ListAnnotationsPagedResponse listAnnotations(ListAnnotationsRequest

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Lists Annotations belongs to a dataitem
* Lists Annotations belongs to a dataitem.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -3404,6 +3434,177 @@ public final ListAnnotationsPagedResponse listAnnotations(ListAnnotationsRequest
return stub.listAnnotationsCallable();
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Assesses the state or validity of the dataset with respect to a given use case.
*
* <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 (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
* AssessDataRequest request =
* AssessDataRequest.newBuilder()
* .setName(DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]").toString())
* .build();
* AssessDataResponse response = datasetServiceClient.assessDataAsync(request).get();
* }
* }</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 OperationFuture<AssessDataResponse, AssessDataOperationMetadata> assessDataAsync(
AssessDataRequest request) {
return assessDataOperationCallable().futureCall(request);
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Assesses the state or validity of the dataset with respect to a given use case.
*
* <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 (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
* AssessDataRequest request =
* AssessDataRequest.newBuilder()
* .setName(DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]").toString())
* .build();
* OperationFuture<AssessDataResponse, AssessDataOperationMetadata> future =
* datasetServiceClient.assessDataOperationCallable().futureCall(request);
* // Do something.
* AssessDataResponse response = future.get();
* }
* }</pre>
*/
public final OperationCallable<AssessDataRequest, AssessDataResponse, AssessDataOperationMetadata>
assessDataOperationCallable() {
return stub.assessDataOperationCallable();
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Assesses the state or validity of the dataset with respect to a given use case.
*
* <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 (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
* AssessDataRequest request =
* AssessDataRequest.newBuilder()
* .setName(DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]").toString())
* .build();
* ApiFuture<Operation> future = datasetServiceClient.assessDataCallable().futureCall(request);
* // Do something.
* Operation response = future.get();
* }
* }</pre>
*/
public final UnaryCallable<AssessDataRequest, Operation> assessDataCallable() {
return stub.assessDataCallable();
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Assembles each row of a multimodal dataset and writes the result into a BigQuery table.
*
* <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 (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
* AssembleDataRequest request =
* AssembleDataRequest.newBuilder()
* .setName(DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]").toString())
* .build();
* AssembleDataResponse response = datasetServiceClient.assembleDataAsync(request).get();
* }
* }</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 OperationFuture<AssembleDataResponse, AssembleDataOperationMetadata>
assembleDataAsync(AssembleDataRequest request) {
return assembleDataOperationCallable().futureCall(request);
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Assembles each row of a multimodal dataset and writes the result into a BigQuery table.
*
* <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 (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
* AssembleDataRequest request =
* AssembleDataRequest.newBuilder()
* .setName(DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]").toString())
* .build();
* OperationFuture<AssembleDataResponse, AssembleDataOperationMetadata> future =
* datasetServiceClient.assembleDataOperationCallable().futureCall(request);
* // Do something.
* AssembleDataResponse response = future.get();
* }
* }</pre>
*/
public final OperationCallable<
AssembleDataRequest, AssembleDataResponse, AssembleDataOperationMetadata>
assembleDataOperationCallable() {
return stub.assembleDataOperationCallable();
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Assembles each row of a multimodal dataset and writes the result into a BigQuery table.
*
* <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 (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
* AssembleDataRequest request =
* AssembleDataRequest.newBuilder()
* .setName(DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]").toString())
* .build();
* ApiFuture<Operation> future = datasetServiceClient.assembleDataCallable().futureCall(request);
* // Do something.
* Operation response = future.get();
* }
* }</pre>
*/
public final UnaryCallable<AssembleDataRequest, Operation> assembleDataCallable() {
return stub.assembleDataCallable();
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Lists information about the supported locations for this service.
Expand Down
Loading
Loading