Skip to content

Commit 8182167

Browse files
chore: generate libraries at Tue Dec 24 02:27:11 UTC 2024
1 parent e1f950b commit 8182167

25 files changed

+795
-441
lines changed

java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/CatalogServiceClient.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3679,7 +3679,9 @@ public final UnaryCallable<LookupEntryRequest, Entry> lookupEntryCallable() {
36793679
*
36803680
* @param name Required. The project to which the request should be attributed in the following
36813681
* form: `projects/{project}/locations/{location}`.
3682-
* @param query Required. The query against which entries in scope should be matched.
3682+
* @param query Required. The query against which entries in scope should be matched. The query
3683+
* syntax is defined in [Search syntax for Dataplex
3684+
* Catalog](https://cloud.google.com/dataplex/docs/search-syntax).
36833685
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
36843686
*/
36853687
public final SearchEntriesPagedResponse searchEntries(LocationName name, String query) {
@@ -3715,7 +3717,9 @@ public final SearchEntriesPagedResponse searchEntries(LocationName name, String
37153717
*
37163718
* @param name Required. The project to which the request should be attributed in the following
37173719
* form: `projects/{project}/locations/{location}`.
3718-
* @param query Required. The query against which entries in scope should be matched.
3720+
* @param query Required. The query against which entries in scope should be matched. The query
3721+
* syntax is defined in [Search syntax for Dataplex
3722+
* Catalog](https://cloud.google.com/dataplex/docs/search-syntax).
37193723
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
37203724
*/
37213725
public final SearchEntriesPagedResponse searchEntries(String name, String query) {

java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceClient.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ public final UnaryCallable<CreateDataScanRequest, Operation> createDataScanCalla
622622
*
623623
* @param dataScan Required. DataScan resource to be updated.
624624
* <p>Only fields specified in `update_mask` are updated.
625-
* @param updateMask Required. Mask of fields to update.
625+
* @param updateMask Optional. Mask of fields to update.
626626
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
627627
*/
628628
public final OperationFuture<DataScan, OperationMetadata> updateDataScanAsync(
@@ -799,6 +799,7 @@ public final OperationFuture<Empty, OperationMetadata> deleteDataScanAsync(Strin
799799
* DeleteDataScanRequest request =
800800
* DeleteDataScanRequest.newBuilder()
801801
* .setName(DataScanName.of("[PROJECT]", "[LOCATION]", "[DATASCAN]").toString())
802+
* .setForce(true)
802803
* .build();
803804
* dataScanServiceClient.deleteDataScanAsync(request).get();
804805
* }
@@ -828,6 +829,7 @@ public final OperationFuture<Empty, OperationMetadata> deleteDataScanAsync(
828829
* DeleteDataScanRequest request =
829830
* DeleteDataScanRequest.newBuilder()
830831
* .setName(DataScanName.of("[PROJECT]", "[LOCATION]", "[DATASCAN]").toString())
832+
* .setForce(true)
831833
* .build();
832834
* OperationFuture<Empty, OperationMetadata> future =
833835
* dataScanServiceClient.deleteDataScanOperationCallable().futureCall(request);
@@ -857,6 +859,7 @@ public final OperationFuture<Empty, OperationMetadata> deleteDataScanAsync(
857859
* DeleteDataScanRequest request =
858860
* DeleteDataScanRequest.newBuilder()
859861
* .setName(DataScanName.of("[PROJECT]", "[LOCATION]", "[DATASCAN]").toString())
862+
* .setForce(true)
860863
* .build();
861864
* ApiFuture<Operation> future =
862865
* dataScanServiceClient.deleteDataScanCallable().futureCall(request);

java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceStub.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ public class HttpJsonDataScanServiceStub extends DataScanServiceStub {
192192
Map<String, List<String>> fields = new HashMap<>();
193193
ProtoRestSerializer<DeleteDataScanRequest> serializer =
194194
ProtoRestSerializer.create();
195+
serializer.putQueryParam(fields, "force", request.getForce());
195196
serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int");
196197
return fields;
197198
})

0 commit comments

Comments
 (0)