Skip to content

Commit

Permalink
chore: generate libraries at Tue Dec 24 02:27:11 UTC 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
cloud-java-bot committed Dec 24, 2024
1 parent e1f950b commit 8182167
Show file tree
Hide file tree
Showing 25 changed files with 795 additions and 441 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3679,7 +3679,9 @@ public final UnaryCallable<LookupEntryRequest, Entry> lookupEntryCallable() {
*
* @param name Required. The project to which the request should be attributed in the following
* form: `projects/{project}/locations/{location}`.
* @param query Required. The query against which entries in scope should be matched.
* @param query Required. The query against which entries in scope should be matched. The query
* syntax is defined in [Search syntax for Dataplex
* Catalog](https://cloud.google.com/dataplex/docs/search-syntax).
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final SearchEntriesPagedResponse searchEntries(LocationName name, String query) {
Expand Down Expand Up @@ -3715,7 +3717,9 @@ public final SearchEntriesPagedResponse searchEntries(LocationName name, String
*
* @param name Required. The project to which the request should be attributed in the following
* form: `projects/{project}/locations/{location}`.
* @param query Required. The query against which entries in scope should be matched.
* @param query Required. The query against which entries in scope should be matched. The query
* syntax is defined in [Search syntax for Dataplex
* Catalog](https://cloud.google.com/dataplex/docs/search-syntax).
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final SearchEntriesPagedResponse searchEntries(String name, String query) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ public final UnaryCallable<CreateDataScanRequest, Operation> createDataScanCalla
*
* @param dataScan Required. DataScan resource to be updated.
* <p>Only fields specified in `update_mask` are updated.
* @param updateMask Required. Mask of fields to update.
* @param updateMask Optional. Mask of fields to update.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final OperationFuture<DataScan, OperationMetadata> updateDataScanAsync(
Expand Down Expand Up @@ -799,6 +799,7 @@ public final OperationFuture<Empty, OperationMetadata> deleteDataScanAsync(Strin
* DeleteDataScanRequest request =
* DeleteDataScanRequest.newBuilder()
* .setName(DataScanName.of("[PROJECT]", "[LOCATION]", "[DATASCAN]").toString())
* .setForce(true)
* .build();
* dataScanServiceClient.deleteDataScanAsync(request).get();
* }
Expand Down Expand Up @@ -828,6 +829,7 @@ public final OperationFuture<Empty, OperationMetadata> deleteDataScanAsync(
* DeleteDataScanRequest request =
* DeleteDataScanRequest.newBuilder()
* .setName(DataScanName.of("[PROJECT]", "[LOCATION]", "[DATASCAN]").toString())
* .setForce(true)
* .build();
* OperationFuture<Empty, OperationMetadata> future =
* dataScanServiceClient.deleteDataScanOperationCallable().futureCall(request);
Expand Down Expand Up @@ -857,6 +859,7 @@ public final OperationFuture<Empty, OperationMetadata> deleteDataScanAsync(
* DeleteDataScanRequest request =
* DeleteDataScanRequest.newBuilder()
* .setName(DataScanName.of("[PROJECT]", "[LOCATION]", "[DATASCAN]").toString())
* .setForce(true)
* .build();
* ApiFuture<Operation> future =
* dataScanServiceClient.deleteDataScanCallable().futureCall(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ public class HttpJsonDataScanServiceStub extends DataScanServiceStub {
Map<String, List<String>> fields = new HashMap<>();
ProtoRestSerializer<DeleteDataScanRequest> serializer =
ProtoRestSerializer.create();
serializer.putQueryParam(fields, "force", request.getForce());
serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int");
return fields;
})
Expand Down
Loading

0 comments on commit 8182167

Please sign in to comment.