diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/CatalogServiceClient.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/CatalogServiceClient.java index dc7f4f3a5660..ad9738de1d03 100644 --- a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/CatalogServiceClient.java +++ b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/CatalogServiceClient.java @@ -3679,7 +3679,9 @@ public final UnaryCallable 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) { @@ -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) { diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceClient.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceClient.java index b0e763e713ab..614c566ae72a 100644 --- a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceClient.java +++ b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceClient.java @@ -622,7 +622,7 @@ public final UnaryCallable createDataScanCalla * * @param dataScan Required. DataScan resource to be updated. *

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 updateDataScanAsync( @@ -799,6 +799,7 @@ public final OperationFuture deleteDataScanAsync(Strin * DeleteDataScanRequest request = * DeleteDataScanRequest.newBuilder() * .setName(DataScanName.of("[PROJECT]", "[LOCATION]", "[DATASCAN]").toString()) + * .setForce(true) * .build(); * dataScanServiceClient.deleteDataScanAsync(request).get(); * } @@ -828,6 +829,7 @@ public final OperationFuture deleteDataScanAsync( * DeleteDataScanRequest request = * DeleteDataScanRequest.newBuilder() * .setName(DataScanName.of("[PROJECT]", "[LOCATION]", "[DATASCAN]").toString()) + * .setForce(true) * .build(); * OperationFuture future = * dataScanServiceClient.deleteDataScanOperationCallable().futureCall(request); @@ -857,6 +859,7 @@ public final OperationFuture deleteDataScanAsync( * DeleteDataScanRequest request = * DeleteDataScanRequest.newBuilder() * .setName(DataScanName.of("[PROJECT]", "[LOCATION]", "[DATASCAN]").toString()) + * .setForce(true) * .build(); * ApiFuture future = * dataScanServiceClient.deleteDataScanCallable().futureCall(request); diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceStub.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceStub.java index 40240205d1c2..da2fc4f7e85c 100644 --- a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceStub.java +++ b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceStub.java @@ -192,6 +192,7 @@ public class HttpJsonDataScanServiceStub extends DataScanServiceStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "force", request.getForce()); serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScan.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScan.java index 378a3261b992..d4b829448280 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScan.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScan.java @@ -1310,10 +1310,12 @@ public interface ExecutionStatusOrBuilder * * *

-     * The time when the latest DataScanJob started.
+     * Optional. The time when the latest DataScanJob started.
      * 
* - * .google.protobuf.Timestamp latest_job_start_time = 4; + * + * .google.protobuf.Timestamp latest_job_start_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the latestJobStartTime field is set. */ @@ -1322,10 +1324,12 @@ public interface ExecutionStatusOrBuilder * * *
-     * The time when the latest DataScanJob started.
+     * Optional. The time when the latest DataScanJob started.
      * 
* - * .google.protobuf.Timestamp latest_job_start_time = 4; + * + * .google.protobuf.Timestamp latest_job_start_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The latestJobStartTime. */ @@ -1334,10 +1338,12 @@ public interface ExecutionStatusOrBuilder * * *
-     * The time when the latest DataScanJob started.
+     * Optional. The time when the latest DataScanJob started.
      * 
* - * .google.protobuf.Timestamp latest_job_start_time = 4; + * + * .google.protobuf.Timestamp latest_job_start_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.TimestampOrBuilder getLatestJobStartTimeOrBuilder(); @@ -1345,10 +1351,12 @@ public interface ExecutionStatusOrBuilder * * *
-     * The time when the latest DataScanJob ended.
+     * Optional. The time when the latest DataScanJob ended.
      * 
* - * .google.protobuf.Timestamp latest_job_end_time = 5; + * + * .google.protobuf.Timestamp latest_job_end_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the latestJobEndTime field is set. */ @@ -1357,10 +1365,12 @@ public interface ExecutionStatusOrBuilder * * *
-     * The time when the latest DataScanJob ended.
+     * Optional. The time when the latest DataScanJob ended.
      * 
* - * .google.protobuf.Timestamp latest_job_end_time = 5; + * + * .google.protobuf.Timestamp latest_job_end_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The latestJobEndTime. */ @@ -1369,10 +1379,12 @@ public interface ExecutionStatusOrBuilder * * *
-     * The time when the latest DataScanJob ended.
+     * Optional. The time when the latest DataScanJob ended.
      * 
* - * .google.protobuf.Timestamp latest_job_end_time = 5; + * + * .google.protobuf.Timestamp latest_job_end_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.TimestampOrBuilder getLatestJobEndTimeOrBuilder(); @@ -1466,10 +1478,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-     * The time when the latest DataScanJob started.
+     * Optional. The time when the latest DataScanJob started.
      * 
* - * .google.protobuf.Timestamp latest_job_start_time = 4; + * + * .google.protobuf.Timestamp latest_job_start_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the latestJobStartTime field is set. */ @@ -1481,10 +1495,12 @@ public boolean hasLatestJobStartTime() { * * *
-     * The time when the latest DataScanJob started.
+     * Optional. The time when the latest DataScanJob started.
      * 
* - * .google.protobuf.Timestamp latest_job_start_time = 4; + * + * .google.protobuf.Timestamp latest_job_start_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The latestJobStartTime. */ @@ -1498,10 +1514,12 @@ public com.google.protobuf.Timestamp getLatestJobStartTime() { * * *
-     * The time when the latest DataScanJob started.
+     * Optional. The time when the latest DataScanJob started.
      * 
* - * .google.protobuf.Timestamp latest_job_start_time = 4; + * + * .google.protobuf.Timestamp latest_job_start_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLatestJobStartTimeOrBuilder() { @@ -1516,10 +1534,12 @@ public com.google.protobuf.TimestampOrBuilder getLatestJobStartTimeOrBuilder() { * * *
-     * The time when the latest DataScanJob ended.
+     * Optional. The time when the latest DataScanJob ended.
      * 
* - * .google.protobuf.Timestamp latest_job_end_time = 5; + * + * .google.protobuf.Timestamp latest_job_end_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the latestJobEndTime field is set. */ @@ -1531,10 +1551,12 @@ public boolean hasLatestJobEndTime() { * * *
-     * The time when the latest DataScanJob ended.
+     * Optional. The time when the latest DataScanJob ended.
      * 
* - * .google.protobuf.Timestamp latest_job_end_time = 5; + * + * .google.protobuf.Timestamp latest_job_end_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The latestJobEndTime. */ @@ -1548,10 +1570,12 @@ public com.google.protobuf.Timestamp getLatestJobEndTime() { * * *
-     * The time when the latest DataScanJob ended.
+     * Optional. The time when the latest DataScanJob ended.
      * 
* - * .google.protobuf.Timestamp latest_job_end_time = 5; + * + * .google.protobuf.Timestamp latest_job_end_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLatestJobEndTimeOrBuilder() { @@ -2072,10 +2096,12 @@ public Builder mergeFrom( * * *
-       * The time when the latest DataScanJob started.
+       * Optional. The time when the latest DataScanJob started.
        * 
* - * .google.protobuf.Timestamp latest_job_start_time = 4; + * + * .google.protobuf.Timestamp latest_job_start_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the latestJobStartTime field is set. */ @@ -2086,10 +2112,12 @@ public boolean hasLatestJobStartTime() { * * *
-       * The time when the latest DataScanJob started.
+       * Optional. The time when the latest DataScanJob started.
        * 
* - * .google.protobuf.Timestamp latest_job_start_time = 4; + * + * .google.protobuf.Timestamp latest_job_start_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The latestJobStartTime. */ @@ -2106,10 +2134,12 @@ public com.google.protobuf.Timestamp getLatestJobStartTime() { * * *
-       * The time when the latest DataScanJob started.
+       * Optional. The time when the latest DataScanJob started.
        * 
* - * .google.protobuf.Timestamp latest_job_start_time = 4; + * + * .google.protobuf.Timestamp latest_job_start_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setLatestJobStartTime(com.google.protobuf.Timestamp value) { if (latestJobStartTimeBuilder_ == null) { @@ -2128,10 +2158,12 @@ public Builder setLatestJobStartTime(com.google.protobuf.Timestamp value) { * * *
-       * The time when the latest DataScanJob started.
+       * Optional. The time when the latest DataScanJob started.
        * 
* - * .google.protobuf.Timestamp latest_job_start_time = 4; + * + * .google.protobuf.Timestamp latest_job_start_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setLatestJobStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (latestJobStartTimeBuilder_ == null) { @@ -2147,10 +2179,12 @@ public Builder setLatestJobStartTime(com.google.protobuf.Timestamp.Builder build * * *
-       * The time when the latest DataScanJob started.
+       * Optional. The time when the latest DataScanJob started.
        * 
* - * .google.protobuf.Timestamp latest_job_start_time = 4; + * + * .google.protobuf.Timestamp latest_job_start_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeLatestJobStartTime(com.google.protobuf.Timestamp value) { if (latestJobStartTimeBuilder_ == null) { @@ -2174,10 +2208,12 @@ public Builder mergeLatestJobStartTime(com.google.protobuf.Timestamp value) { * * *
-       * The time when the latest DataScanJob started.
+       * Optional. The time when the latest DataScanJob started.
        * 
* - * .google.protobuf.Timestamp latest_job_start_time = 4; + * + * .google.protobuf.Timestamp latest_job_start_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearLatestJobStartTime() { bitField0_ = (bitField0_ & ~0x00000001); @@ -2193,10 +2229,12 @@ public Builder clearLatestJobStartTime() { * * *
-       * The time when the latest DataScanJob started.
+       * Optional. The time when the latest DataScanJob started.
        * 
* - * .google.protobuf.Timestamp latest_job_start_time = 4; + * + * .google.protobuf.Timestamp latest_job_start_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Timestamp.Builder getLatestJobStartTimeBuilder() { bitField0_ |= 0x00000001; @@ -2207,10 +2245,12 @@ public com.google.protobuf.Timestamp.Builder getLatestJobStartTimeBuilder() { * * *
-       * The time when the latest DataScanJob started.
+       * Optional. The time when the latest DataScanJob started.
        * 
* - * .google.protobuf.Timestamp latest_job_start_time = 4; + * + * .google.protobuf.Timestamp latest_job_start_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.TimestampOrBuilder getLatestJobStartTimeOrBuilder() { if (latestJobStartTimeBuilder_ != null) { @@ -2225,10 +2265,12 @@ public com.google.protobuf.TimestampOrBuilder getLatestJobStartTimeOrBuilder() { * * *
-       * The time when the latest DataScanJob started.
+       * Optional. The time when the latest DataScanJob started.
        * 
* - * .google.protobuf.Timestamp latest_job_start_time = 4; + * + * .google.protobuf.Timestamp latest_job_start_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, @@ -2257,10 +2299,12 @@ public com.google.protobuf.TimestampOrBuilder getLatestJobStartTimeOrBuilder() { * * *
-       * The time when the latest DataScanJob ended.
+       * Optional. The time when the latest DataScanJob ended.
        * 
* - * .google.protobuf.Timestamp latest_job_end_time = 5; + * + * .google.protobuf.Timestamp latest_job_end_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the latestJobEndTime field is set. */ @@ -2271,10 +2315,12 @@ public boolean hasLatestJobEndTime() { * * *
-       * The time when the latest DataScanJob ended.
+       * Optional. The time when the latest DataScanJob ended.
        * 
* - * .google.protobuf.Timestamp latest_job_end_time = 5; + * + * .google.protobuf.Timestamp latest_job_end_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The latestJobEndTime. */ @@ -2291,10 +2337,12 @@ public com.google.protobuf.Timestamp getLatestJobEndTime() { * * *
-       * The time when the latest DataScanJob ended.
+       * Optional. The time when the latest DataScanJob ended.
        * 
* - * .google.protobuf.Timestamp latest_job_end_time = 5; + * + * .google.protobuf.Timestamp latest_job_end_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setLatestJobEndTime(com.google.protobuf.Timestamp value) { if (latestJobEndTimeBuilder_ == null) { @@ -2313,10 +2361,12 @@ public Builder setLatestJobEndTime(com.google.protobuf.Timestamp value) { * * *
-       * The time when the latest DataScanJob ended.
+       * Optional. The time when the latest DataScanJob ended.
        * 
* - * .google.protobuf.Timestamp latest_job_end_time = 5; + * + * .google.protobuf.Timestamp latest_job_end_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setLatestJobEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (latestJobEndTimeBuilder_ == null) { @@ -2332,10 +2382,12 @@ public Builder setLatestJobEndTime(com.google.protobuf.Timestamp.Builder builder * * *
-       * The time when the latest DataScanJob ended.
+       * Optional. The time when the latest DataScanJob ended.
        * 
* - * .google.protobuf.Timestamp latest_job_end_time = 5; + * + * .google.protobuf.Timestamp latest_job_end_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeLatestJobEndTime(com.google.protobuf.Timestamp value) { if (latestJobEndTimeBuilder_ == null) { @@ -2359,10 +2411,12 @@ public Builder mergeLatestJobEndTime(com.google.protobuf.Timestamp value) { * * *
-       * The time when the latest DataScanJob ended.
+       * Optional. The time when the latest DataScanJob ended.
        * 
* - * .google.protobuf.Timestamp latest_job_end_time = 5; + * + * .google.protobuf.Timestamp latest_job_end_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearLatestJobEndTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -2378,10 +2432,12 @@ public Builder clearLatestJobEndTime() { * * *
-       * The time when the latest DataScanJob ended.
+       * Optional. The time when the latest DataScanJob ended.
        * 
* - * .google.protobuf.Timestamp latest_job_end_time = 5; + * + * .google.protobuf.Timestamp latest_job_end_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Timestamp.Builder getLatestJobEndTimeBuilder() { bitField0_ |= 0x00000002; @@ -2392,10 +2448,12 @@ public com.google.protobuf.Timestamp.Builder getLatestJobEndTimeBuilder() { * * *
-       * The time when the latest DataScanJob ended.
+       * Optional. The time when the latest DataScanJob ended.
        * 
* - * .google.protobuf.Timestamp latest_job_end_time = 5; + * + * .google.protobuf.Timestamp latest_job_end_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.TimestampOrBuilder getLatestJobEndTimeOrBuilder() { if (latestJobEndTimeBuilder_ != null) { @@ -2410,10 +2468,12 @@ public com.google.protobuf.TimestampOrBuilder getLatestJobEndTimeOrBuilder() { * * *
-       * The time when the latest DataScanJob ended.
+       * Optional. The time when the latest DataScanJob ended.
        * 
* - * .google.protobuf.Timestamp latest_job_end_time = 5; + * + * .google.protobuf.Timestamp latest_job_end_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, @@ -2812,13 +2872,15 @@ public ResultCase getResultCase() { * * *
-   * Output only. The relative resource name of the scan, of the form:
-   * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
+   * Output only. Identifier. The relative resource name of the scan, of the
+   * form: `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
    * where `project` refers to a *project_id* or *project_number* and
    * `location_id` refers to a GCP region.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return The name. */ @@ -2838,13 +2900,15 @@ public java.lang.String getName() { * * *
-   * Output only. The relative resource name of the scan, of the form:
-   * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
+   * Output only. Identifier. The relative resource name of the scan, of the
+   * form: `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
    * where `project` refers to a *project_id* or *project_number* and
    * `location_id` refers to a GCP region.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return The bytes for name. */ @@ -2873,7 +2937,9 @@ public com.google.protobuf.ByteString getNameBytes() { * be different if the scan is deleted and re-created with the same name. * * - * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @return The uid. */ @@ -2897,7 +2963,9 @@ public java.lang.String getUid() { * be different if the scan is deleted and re-created with the same name. * * - * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @return The bytes for uid. */ @@ -4763,13 +4831,15 @@ public Builder clearResult() { * * *
-     * Output only. The relative resource name of the scan, of the form:
-     * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
+     * Output only. Identifier. The relative resource name of the scan, of the
+     * form: `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
      * where `project` refers to a *project_id* or *project_number* and
      * `location_id` refers to a GCP region.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return The name. */ @@ -4788,13 +4858,15 @@ public java.lang.String getName() { * * *
-     * Output only. The relative resource name of the scan, of the form:
-     * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
+     * Output only. Identifier. The relative resource name of the scan, of the
+     * form: `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
      * where `project` refers to a *project_id* or *project_number* and
      * `location_id` refers to a GCP region.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return The bytes for name. */ @@ -4813,13 +4885,15 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. The relative resource name of the scan, of the form:
-     * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
+     * Output only. Identifier. The relative resource name of the scan, of the
+     * form: `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
      * where `project` refers to a *project_id* or *project_number* and
      * `location_id` refers to a GCP region.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; + * * * @param value The name to set. * @return This builder for chaining. @@ -4837,13 +4911,15 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. The relative resource name of the scan, of the form:
-     * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
+     * Output only. Identifier. The relative resource name of the scan, of the
+     * form: `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
      * where `project` refers to a *project_id* or *project_number* and
      * `location_id` refers to a GCP region.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return This builder for chaining. */ @@ -4857,13 +4933,15 @@ public Builder clearName() { * * *
-     * Output only. The relative resource name of the scan, of the form:
-     * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
+     * Output only. Identifier. The relative resource name of the scan, of the
+     * form: `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
      * where `project` refers to a *project_id* or *project_number* and
      * `location_id` refers to a GCP region.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; + * * * @param value The bytes for name to set. * @return This builder for chaining. @@ -4888,7 +4966,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * be different if the scan is deleted and re-created with the same name. * * - * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @return The uid. */ @@ -4911,7 +4991,9 @@ public java.lang.String getUid() { * be different if the scan is deleted and re-created with the same name. * * - * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @return The bytes for uid. */ @@ -4934,7 +5016,9 @@ public com.google.protobuf.ByteString getUidBytes() { * be different if the scan is deleted and re-created with the same name. * * - * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @param value The uid to set. * @return This builder for chaining. @@ -4956,7 +5040,9 @@ public Builder setUid(java.lang.String value) { * be different if the scan is deleted and re-created with the same name. * * - * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @return This builder for chaining. */ @@ -4974,7 +5060,9 @@ public Builder clearUid() { * be different if the scan is deleted and re-created with the same name. * * - * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @param value The bytes for uid to set. * @return This builder for chaining. diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJob.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJob.java index d61f0d74880b..ffd926d5126b 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJob.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJob.java @@ -425,13 +425,16 @@ public ResultCase getResultCase() { * * *
-   * Output only. The relative resource name of the DataScanJob, of the form:
+   * Output only. Identifier. The relative resource name of the DataScanJob, of
+   * the form:
    * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
    * where `project` refers to a *project_id* or *project_number* and
    * `location_id` refers to a GCP region.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return The name. */ @@ -451,13 +454,16 @@ public java.lang.String getName() { * * *
-   * Output only. The relative resource name of the DataScanJob, of the form:
+   * Output only. Identifier. The relative resource name of the DataScanJob, of
+   * the form:
    * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
    * where `project` refers to a *project_id* or *project_number* and
    * `location_id` refers to a GCP region.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return The bytes for name. */ @@ -485,7 +491,9 @@ public com.google.protobuf.ByteString getNameBytes() { * Output only. System generated globally unique ID for the DataScanJob. * * - * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @return The uid. */ @@ -508,7 +516,9 @@ public java.lang.String getUid() { * Output only. System generated globally unique ID for the DataScanJob. * * - * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @return The bytes for uid. */ @@ -1956,13 +1966,16 @@ public Builder clearResult() { * * *
-     * Output only. The relative resource name of the DataScanJob, of the form:
+     * Output only. Identifier. The relative resource name of the DataScanJob, of
+     * the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
      * where `project` refers to a *project_id* or *project_number* and
      * `location_id` refers to a GCP region.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return The name. */ @@ -1981,13 +1994,16 @@ public java.lang.String getName() { * * *
-     * Output only. The relative resource name of the DataScanJob, of the form:
+     * Output only. Identifier. The relative resource name of the DataScanJob, of
+     * the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
      * where `project` refers to a *project_id* or *project_number* and
      * `location_id` refers to a GCP region.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return The bytes for name. */ @@ -2006,13 +2022,16 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. The relative resource name of the DataScanJob, of the form:
+     * Output only. Identifier. The relative resource name of the DataScanJob, of
+     * the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
      * where `project` refers to a *project_id* or *project_number* and
      * `location_id` refers to a GCP region.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; + * * * @param value The name to set. * @return This builder for chaining. @@ -2030,13 +2049,16 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. The relative resource name of the DataScanJob, of the form:
+     * Output only. Identifier. The relative resource name of the DataScanJob, of
+     * the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
      * where `project` refers to a *project_id* or *project_number* and
      * `location_id` refers to a GCP region.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return This builder for chaining. */ @@ -2050,13 +2072,16 @@ public Builder clearName() { * * *
-     * Output only. The relative resource name of the DataScanJob, of the form:
+     * Output only. Identifier. The relative resource name of the DataScanJob, of
+     * the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
      * where `project` refers to a *project_id* or *project_number* and
      * `location_id` refers to a GCP region.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; + * * * @param value The bytes for name to set. * @return This builder for chaining. @@ -2080,7 +2105,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * Output only. System generated globally unique ID for the DataScanJob. * * - * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @return The uid. */ @@ -2102,7 +2129,9 @@ public java.lang.String getUid() { * Output only. System generated globally unique ID for the DataScanJob. * * - * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @return The bytes for uid. */ @@ -2124,7 +2153,9 @@ public com.google.protobuf.ByteString getUidBytes() { * Output only. System generated globally unique ID for the DataScanJob. * * - * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @param value The uid to set. * @return This builder for chaining. @@ -2145,7 +2176,9 @@ public Builder setUid(java.lang.String value) { * Output only. System generated globally unique ID for the DataScanJob. * * - * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @return This builder for chaining. */ @@ -2162,7 +2195,9 @@ public Builder clearUid() { * Output only. System generated globally unique ID for the DataScanJob. * * - * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @param value The bytes for uid to set. * @return This builder for chaining. diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobOrBuilder.java index f29fc744cc3d..bf50cc70c9d4 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobOrBuilder.java @@ -28,13 +28,16 @@ public interface DataScanJobOrBuilder * * *
-   * Output only. The relative resource name of the DataScanJob, of the form:
+   * Output only. Identifier. The relative resource name of the DataScanJob, of
+   * the form:
    * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
    * where `project` refers to a *project_id* or *project_number* and
    * `location_id` refers to a GCP region.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return The name. */ @@ -43,13 +46,16 @@ public interface DataScanJobOrBuilder * * *
-   * Output only. The relative resource name of the DataScanJob, of the form:
+   * Output only. Identifier. The relative resource name of the DataScanJob, of
+   * the form:
    * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
    * where `project` refers to a *project_id* or *project_number* and
    * `location_id` refers to a GCP region.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return The bytes for name. */ @@ -62,7 +68,9 @@ public interface DataScanJobOrBuilder * Output only. System generated globally unique ID for the DataScanJob. * * - * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @return The uid. */ @@ -74,7 +82,9 @@ public interface DataScanJobOrBuilder * Output only. System generated globally unique ID for the DataScanJob. * * - * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @return The bytes for uid. */ diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanOrBuilder.java index 34cba7f03437..df1c0e03a48e 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanOrBuilder.java @@ -28,13 +28,15 @@ public interface DataScanOrBuilder * * *
-   * Output only. The relative resource name of the scan, of the form:
-   * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
+   * Output only. Identifier. The relative resource name of the scan, of the
+   * form: `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
    * where `project` refers to a *project_id* or *project_number* and
    * `location_id` refers to a GCP region.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return The name. */ @@ -43,13 +45,15 @@ public interface DataScanOrBuilder * * *
-   * Output only. The relative resource name of the scan, of the form:
-   * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
+   * Output only. Identifier. The relative resource name of the scan, of the
+   * form: `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
    * where `project` refers to a *project_id* or *project_number* and
    * `location_id` refers to a GCP region.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return The bytes for name. */ @@ -63,7 +67,9 @@ public interface DataScanOrBuilder * be different if the scan is deleted and re-created with the same name. * * - * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @return The uid. */ @@ -76,7 +82,9 @@ public interface DataScanOrBuilder * be different if the scan is deleted and re-created with the same name. * * - * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @return The bytes for uid. */ diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScansProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScansProto.java index 84f55a43dc01..8397eb2fa679 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScansProto.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScansProto.java @@ -112,184 +112,186 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n(google/cloud/dataplex/v1/datascans.pro" + "to\022\030google.cloud.dataplex.v1\032\034google/api" + "/annotations.proto\032\027google/api/client.pr" - + "oto\032\037google/api/field_behavior.proto\032\031go" - + "ogle/api/resource.proto\032-google/cloud/da" - + "taplex/v1/data_discovery.proto\032+google/c" - + "loud/dataplex/v1/data_profile.proto\032+goo" - + "gle/cloud/dataplex/v1/data_quality.proto" - + "\032)google/cloud/dataplex/v1/processing.pr" - + "oto\032(google/cloud/dataplex/v1/resources." - + "proto\032&google/cloud/dataplex/v1/service." - + "proto\032#google/longrunning/operations.pro" - + "to\032\033google/protobuf/empty.proto\032 google/" - + "protobuf/field_mask.proto\032\037google/protob" - + "uf/timestamp.proto\"\305\001\n\025CreateDataScanReq" - + "uest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations." - + "googleapis.com/Location\022:\n\tdata_scan\030\002 \001" - + "(\0132\".google.cloud.dataplex.v1.DataScanB\003" - + "\340A\002\022\031\n\014data_scan_id\030\003 \001(\tB\003\340A\002\022\032\n\rvalida" - + "te_only\030\004 \001(\010B\003\340A\001\"\245\001\n\025UpdateDataScanReq" - + "uest\022:\n\tdata_scan\030\001 \001(\0132\".google.cloud.d" - + "ataplex.v1.DataScanB\003\340A\002\0224\n\013update_mask\030" - + "\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\022\032" - + "\n\rvalidate_only\030\003 \001(\010B\003\340A\001\"O\n\025DeleteData" - + "ScanRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n datap" - + "lex.googleapis.com/DataScan\"\337\001\n\022GetDataS" - + "canRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n datapl" - + "ex.googleapis.com/DataScan\022L\n\004view\030\002 \001(\016" - + "29.google.cloud.dataplex.v1.GetDataScanR" - + "equest.DataScanViewB\003\340A\001\"C\n\014DataScanView" - + "\022\036\n\032DATA_SCAN_VIEW_UNSPECIFIED\020\000\022\t\n\005BASI" - + "C\020\001\022\010\n\004FULL\020\n\"\256\001\n\024ListDataScansRequest\0229" - + "\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.google" - + "apis.com/Location\022\026\n\tpage_size\030\002 \001(\005B\003\340A" - + "\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\022\023\n\006filter\030\004 \001" - + "(\tB\003\340A\001\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"}\n\025ListDa" - + "taScansResponse\0226\n\ndata_scans\030\001 \003(\0132\".go" - + "ogle.cloud.dataplex.v1.DataScan\022\027\n\017next_" - + "page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"L\n" - + "\022RunDataScanRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A" - + "\"\n dataplex.googleapis.com/DataScan\"I\n\023R" - + "unDataScanResponse\0222\n\003job\030\001 \001(\0132%.google" - + ".cloud.dataplex.v1.DataScanJob\"\362\001\n\025GetDa" - + "taScanJobRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#" - + "dataplex.googleapis.com/DataScanJob\022R\n\004v" - + "iew\030\002 \001(\0162?.google.cloud.dataplex.v1.Get" - + "DataScanJobRequest.DataScanJobViewB\003\340A\001\"" - + "J\n\017DataScanJobView\022\"\n\036DATA_SCAN_JOB_VIEW" - + "_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\n\"\231\001\n\027" - + "ListDataScanJobsRequest\0228\n\006parent\030\001 \001(\tB" - + "(\340A\002\372A\"\n dataplex.googleapis.com/DataSca" - + "n\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030" - + "\003 \001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\"r\n\030ListD" - + "ataScanJobsResponse\022=\n\016data_scan_jobs\030\001 " - + "\003(\0132%.google.cloud.dataplex.v1.DataScanJ" - + "ob\022\027\n\017next_page_token\030\002 \001(\t\"4\n\037GenerateD" - + "ataQualityRulesRequest\022\021\n\004name\030\001 \001(\tB\003\340A" - + "\002\"[\n GenerateDataQualityRulesResponse\0227\n" - + "\004rule\030\001 \003(\0132).google.cloud.dataplex.v1.D" - + "ataQualityRule\"\224\014\n\010DataScan\022\021\n\004name\030\001 \001(" - + "\tB\003\340A\003\022\020\n\003uid\030\002 \001(\tB\003\340A\003\022\030\n\013description\030" - + "\003 \001(\tB\003\340A\001\022\031\n\014display_name\030\004 \001(\tB\003\340A\001\022C\n" - + "\006labels\030\005 \003(\0132..google.cloud.dataplex.v1" - + ".DataScan.LabelsEntryB\003\340A\001\0223\n\005state\030\006 \001(" - + "\0162\037.google.cloud.dataplex.v1.StateB\003\340A\003\022" - + "4\n\013create_time\030\007 \001(\0132\032.google.protobuf.T" - + "imestampB\003\340A\003\0224\n\013update_time\030\010 \001(\0132\032.goo" - + "gle.protobuf.TimestampB\003\340A\003\0227\n\004data\030\t \001(" - + "\0132$.google.cloud.dataplex.v1.DataSourceB" - + "\003\340A\002\022M\n\016execution_spec\030\n \001(\01320.google.cl" - + "oud.dataplex.v1.DataScan.ExecutionSpecB\003" - + "\340A\001\022Q\n\020execution_status\030\013 \001(\01322.google.c" - + "loud.dataplex.v1.DataScan.ExecutionStatu" - + "sB\003\340A\003\0229\n\004type\030\014 \001(\0162&.google.cloud.data" - + "plex.v1.DataScanTypeB\003\340A\003\022F\n\021data_qualit" - + "y_spec\030d \001(\0132).google.cloud.dataplex.v1." - + "DataQualitySpecH\000\022F\n\021data_profile_spec\030e" - + " \001(\0132).google.cloud.dataplex.v1.DataProf" - + "ileSpecH\000\022J\n\023data_discovery_spec\030f \001(\0132+" - + ".google.cloud.dataplex.v1.DataDiscoveryS" - + "pecH\000\022P\n\023data_quality_result\030\310\001 \001(\0132+.go" - + "ogle.cloud.dataplex.v1.DataQualityResult" - + "B\003\340A\003H\001\022P\n\023data_profile_result\030\311\001 \001(\0132+." - + "google.cloud.dataplex.v1.DataProfileResu" - + "ltB\003\340A\003H\001\022T\n\025data_discovery_result\030\312\001 \001(" - + "\0132-.google.cloud.dataplex.v1.DataDiscove" - + "ryResultB\003\340A\003H\001\032m\n\rExecutionSpec\0227\n\007trig" - + "ger\030\001 \001(\0132!.google.cloud.dataplex.v1.Tri" - + "ggerB\003\340A\001\022\024\n\005field\030d \001(\tB\003\340A\005H\000B\r\n\013incre" - + "mental\032\306\001\n\017ExecutionStatus\0229\n\025latest_job" - + "_start_time\030\004 \001(\0132\032.google.protobuf.Time" - + "stamp\0227\n\023latest_job_end_time\030\005 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\022?\n\026latest_job_cre" - + "ate_time\030\006 \001(\0132\032.google.protobuf.Timesta" - + "mpB\003\340A\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" - + "alue\030\002 \001(\t:\0028\001:c\352A`\n dataplex.googleapis" - + ".com/DataScan\022\332A\006parent\202\323\344\223\002/\022-/v1/{parent" - + "=projects/*/locations/*}/dataScans\022\257\001\n\013R" - + "unDataScan\022,.google.cloud.dataplex.v1.Ru" - + "nDataScanRequest\032-.google.cloud.dataplex" - + ".v1.RunDataScanResponse\"C\332A\004name\202\323\344\223\0026\"1" - + "/v1/{name=projects/*/locations/*/dataSca" - + "ns/*}:run:\001*\022\255\001\n\016GetDataScanJob\022/.google" - + ".cloud.dataplex.v1.GetDataScanJobRequest" - + "\032%.google.cloud.dataplex.v1.DataScanJob\"" - + "C\332A\004name\202\323\344\223\0026\0224/v1/{name=projects/*/loc" - + "ations/*/dataScans/*/jobs/*}\022\300\001\n\020ListDat" - + "aScanJobs\0221.google.cloud.dataplex.v1.Lis" - + "tDataScanJobsRequest\0322.google.cloud.data" - + "plex.v1.ListDataScanJobsResponse\"E\332A\006par" - + "ent\202\323\344\223\0026\0224/v1/{parent=projects/*/locati" - + "ons/*/dataScans/*}/jobs\022\301\002\n\030GenerateData" - + "QualityRules\0229.google.cloud.dataplex.v1." - + "GenerateDataQualityRulesRequest\032:.google" - + ".cloud.dataplex.v1.GenerateDataQualityRu" - + "lesResponse\"\255\001\332A\004name\202\323\344\223\002\237\001\"F/v1/{name=" - + "projects/*/locations/*/dataScans/*}:gene" - + "rateDataQualityRules:\001*ZR\"M/v1/{name=pro" - + "jects/*/locations/*/dataScans/*/jobs/*}:" - + "generateDataQualityRules:\001*\032K\312A\027dataplex" - + ".googleapis.com\322A.https://www.googleapis" - + ".com/auth/cloud-platformBj\n\034com.google.c" - + "loud.dataplex.v1B\016DataScansProtoP\001Z8clou" - + "d.google.com/go/dataplex/apiv1/dataplexp" - + "b;dataplexpbb\006proto3" + + "oto\032\037google/api/field_behavior.proto\032\033go" + + "ogle/api/field_info.proto\032\031google/api/re" + + "source.proto\032-google/cloud/dataplex/v1/d" + + "ata_discovery.proto\032+google/cloud/datapl" + + "ex/v1/data_profile.proto\032+google/cloud/d" + + "ataplex/v1/data_quality.proto\032)google/cl" + + "oud/dataplex/v1/processing.proto\032(google" + + "/cloud/dataplex/v1/resources.proto\032&goog" + + "le/cloud/dataplex/v1/service.proto\032#goog" + + "le/longrunning/operations.proto\032\033google/" + + "protobuf/empty.proto\032 google/protobuf/fi" + + "eld_mask.proto\032\037google/protobuf/timestam" + + "p.proto\"\305\001\n\025CreateDataScanRequest\0229\n\006par" + + "ent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis." + + "com/Location\022:\n\tdata_scan\030\002 \001(\0132\".google" + + ".cloud.dataplex.v1.DataScanB\003\340A\002\022\031\n\014data" + + "_scan_id\030\003 \001(\tB\003\340A\002\022\032\n\rvalidate_only\030\004 \001" + + "(\010B\003\340A\001\"\245\001\n\025UpdateDataScanRequest\022:\n\tdat" + + "a_scan\030\001 \001(\0132\".google.cloud.dataplex.v1." + + "DataScanB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.goo" + + "gle.protobuf.FieldMaskB\003\340A\001\022\032\n\rvalidate_" + + "only\030\003 \001(\010B\003\340A\001\"c\n\025DeleteDataScanRequest" + + "\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n dataplex.googlea" + + "pis.com/DataScan\022\022\n\005force\030\002 \001(\010B\003\340A\001\"\337\001\n" + + "\022GetDataScanRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A" + + "\"\n dataplex.googleapis.com/DataScan\022L\n\004v" + + "iew\030\002 \001(\01629.google.cloud.dataplex.v1.Get" + + "DataScanRequest.DataScanViewB\003\340A\001\"C\n\014Dat" + + "aScanView\022\036\n\032DATA_SCAN_VIEW_UNSPECIFIED\020" + + "\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\n\"\256\001\n\024ListDataScans" + + "Request\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locatio" + + "ns.googleapis.com/Location\022\026\n\tpage_size\030" + + "\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\022\023\n\006f" + + "ilter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"" + + "}\n\025ListDataScansResponse\0226\n\ndata_scans\030\001" + + " \003(\0132\".google.cloud.dataplex.v1.DataScan" + + "\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachable" + + "\030\003 \003(\t\"L\n\022RunDataScanRequest\0226\n\004name\030\001 \001" + + "(\tB(\340A\002\372A\"\n dataplex.googleapis.com/Data" + + "Scan\"I\n\023RunDataScanResponse\0222\n\003job\030\001 \001(\013" + + "2%.google.cloud.dataplex.v1.DataScanJob\"" + + "\362\001\n\025GetDataScanJobRequest\0229\n\004name\030\001 \001(\tB" + + "+\340A\002\372A%\n#dataplex.googleapis.com/DataSca" + + "nJob\022R\n\004view\030\002 \001(\0162?.google.cloud.datapl" + + "ex.v1.GetDataScanJobRequest.DataScanJobV" + + "iewB\003\340A\001\"J\n\017DataScanJobView\022\"\n\036DATA_SCAN" + + "_JOB_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FU" + + "LL\020\n\"\231\001\n\027ListDataScanJobsRequest\0228\n\006pare" + + "nt\030\001 \001(\tB(\340A\002\372A\"\n dataplex.googleapis.co" + + "m/DataScan\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npa" + + "ge_token\030\003 \001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001" + + "\"r\n\030ListDataScanJobsResponse\022=\n\016data_sca" + + "n_jobs\030\001 \003(\0132%.google.cloud.dataplex.v1." + + "DataScanJob\022\027\n\017next_page_token\030\002 \001(\t\"4\n\037" + + "GenerateDataQualityRulesRequest\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\002\"[\n GenerateDataQualityRulesRe" + + "sponse\0227\n\004rule\030\001 \003(\0132).google.cloud.data" + + "plex.v1.DataQualityRule\"\251\014\n\010DataScan\022\024\n\004" + + "name\030\001 \001(\tB\006\340A\003\340A\010\022\030\n\003uid\030\002 \001(\tB\013\340A\003\342\214\317\327" + + "\010\002\010\001\022\030\n\013description\030\003 \001(\tB\003\340A\001\022\031\n\014displa" + + "y_name\030\004 \001(\tB\003\340A\001\022C\n\006labels\030\005 \003(\0132..goog" + + "le.cloud.dataplex.v1.DataScan.LabelsEntr" + + "yB\003\340A\001\0223\n\005state\030\006 \001(\0162\037.google.cloud.dat" + + "aplex.v1.StateB\003\340A\003\0224\n\013create_time\030\007 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upd" + + "ate_time\030\010 \001(\0132\032.google.protobuf.Timesta" + + "mpB\003\340A\003\0227\n\004data\030\t \001(\0132$.google.cloud.dat" + + "aplex.v1.DataSourceB\003\340A\002\022M\n\016execution_sp" + + "ec\030\n \001(\01320.google.cloud.dataplex.v1.Data" + + "Scan.ExecutionSpecB\003\340A\001\022Q\n\020execution_sta" + + "tus\030\013 \001(\01322.google.cloud.dataplex.v1.Dat" + + "aScan.ExecutionStatusB\003\340A\003\0229\n\004type\030\014 \001(\016" + + "2&.google.cloud.dataplex.v1.DataScanType" + + "B\003\340A\003\022F\n\021data_quality_spec\030d \001(\0132).googl" + + "e.cloud.dataplex.v1.DataQualitySpecH\000\022F\n" + + "\021data_profile_spec\030e \001(\0132).google.cloud." + + "dataplex.v1.DataProfileSpecH\000\022J\n\023data_di" + + "scovery_spec\030f \001(\0132+.google.cloud.datapl" + + "ex.v1.DataDiscoverySpecH\000\022P\n\023data_qualit" + + "y_result\030\310\001 \001(\0132+.google.cloud.dataplex." + + "v1.DataQualityResultB\003\340A\003H\001\022P\n\023data_prof" + + "ile_result\030\311\001 \001(\0132+.google.cloud.dataple" + + "x.v1.DataProfileResultB\003\340A\003H\001\022T\n\025data_di" + + "scovery_result\030\312\001 \001(\0132-.google.cloud.dat" + + "aplex.v1.DataDiscoveryResultB\003\340A\003H\001\032m\n\rE" + + "xecutionSpec\0227\n\007trigger\030\001 \001(\0132!.google.c" + + "loud.dataplex.v1.TriggerB\003\340A\001\022\024\n\005field\030d" + + " \001(\tB\003\340A\005H\000B\r\n\013incremental\032\320\001\n\017Execution" + + "Status\022>\n\025latest_job_start_time\030\004 \001(\0132\032." + + "google.protobuf.TimestampB\003\340A\001\022<\n\023latest" + + "_job_end_time\030\005 \001(\0132\032.google.protobuf.Ti" + + "mestampB\003\340A\001\022?\n\026latest_job_create_time\030\006" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\001\032-\n" + + "\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" + + ":\0028\001:c\352A`\n dataplex.googleapis.com/DataS" + + "can\022\332A\006parent\202\323\344\223\002/\022-/v1/{paren" + + "t=projects/*/locations/*}/dataScans\022\257\001\n\013" + + "RunDataScan\022,.google.cloud.dataplex.v1.R" + + "unDataScanRequest\032-.google.cloud.dataple" + + "x.v1.RunDataScanResponse\"C\332A\004name\202\323\344\223\0026\"" + + "1/v1/{name=projects/*/locations/*/dataSc" + + "ans/*}:run:\001*\022\255\001\n\016GetDataScanJob\022/.googl" + + "e.cloud.dataplex.v1.GetDataScanJobReques" + + "t\032%.google.cloud.dataplex.v1.DataScanJob" + + "\"C\332A\004name\202\323\344\223\0026\0224/v1/{name=projects/*/lo" + + "cations/*/dataScans/*/jobs/*}\022\300\001\n\020ListDa" + + "taScanJobs\0221.google.cloud.dataplex.v1.Li" + + "stDataScanJobsRequest\0322.google.cloud.dat" + + "aplex.v1.ListDataScanJobsResponse\"E\332A\006pa" + + "rent\202\323\344\223\0026\0224/v1/{parent=projects/*/locat" + + "ions/*/dataScans/*}/jobs\022\301\002\n\030GenerateDat" + + "aQualityRules\0229.google.cloud.dataplex.v1" + + ".GenerateDataQualityRulesRequest\032:.googl" + + "e.cloud.dataplex.v1.GenerateDataQualityR" + + "ulesResponse\"\255\001\332A\004name\202\323\344\223\002\237\001\"F/v1/{name" + + "=projects/*/locations/*/dataScans/*}:gen" + + "erateDataQualityRules:\001*ZR\"M/v1/{name=pr" + + "ojects/*/locations/*/dataScans/*/jobs/*}" + + ":generateDataQualityRules:\001*\032K\312A\027dataple" + + "x.googleapis.com\322A.https://www.googleapi" + + "s.com/auth/cloud-platformBj\n\034com.google." + + "cloud.dataplex.v1B\016DataScansProtoP\001Z8clo" + + "ud.google.com/go/dataplex/apiv1/dataplex" + + "pb;dataplexpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -298,6 +300,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.AnnotationsProto.getDescriptor(), com.google.api.ClientProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.FieldInfoProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.dataplex.v1.DataDiscoveryProto.getDescriptor(), com.google.cloud.dataplex.v1.DataProfileProto.getDescriptor(), @@ -332,7 +335,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor, new java.lang.String[] { - "Name", + "Name", "Force", }); internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor = getDescriptor().getMessageTypes().get(3); @@ -492,6 +495,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.FieldInfoProto.fieldInfo); registry.add(com.google.api.AnnotationsProto.http); registry.add(com.google.api.ClientProto.methodSignature); registry.add(com.google.api.ClientProto.oauthScopes); @@ -503,6 +507,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.AnnotationsProto.getDescriptor(); com.google.api.ClientProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.FieldInfoProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.dataplex.v1.DataDiscoveryProto.getDescriptor(); com.google.cloud.dataplex.v1.DataProfileProto.getDescriptor(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequest.java index 231b9577d1aa..5fbd69701c98 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequest.java @@ -124,6 +124,26 @@ public com.google.protobuf.ByteString getNameBytes() { } } + public static final int FORCE_FIELD_NUMBER = 2; + private boolean force_ = false; + /** + * + * + *
+   * Optional. If set to true, any child resources of this data scan will also
+   * be deleted. (Otherwise, the request will only work if the data scan has no
+   * child resources.)
+   * 
+ * + * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The force. + */ + @java.lang.Override + public boolean getForce() { + return force_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -141,6 +161,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } + if (force_ != false) { + output.writeBool(2, force_); + } getUnknownFields().writeTo(output); } @@ -153,6 +176,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } + if (force_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -170,6 +196,7 @@ public boolean equals(final java.lang.Object obj) { (com.google.cloud.dataplex.v1.DeleteDataScanRequest) obj; if (!getName().equals(other.getName())) return false; + if (getForce() != other.getForce()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,6 +210,8 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + FORCE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +352,7 @@ public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; + force_ = false; return this; } @@ -362,6 +392,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DeleteDataScanRequest re if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.force_ = force_; + } } @java.lang.Override @@ -415,6 +448,9 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DeleteDataScanRequest othe bitField0_ |= 0x00000001; onChanged(); } + if (other.getForce() != false) { + setForce(other.getForce()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -447,6 +483,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000001; break; } // case 10 + case 16: + { + force_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -597,6 +639,65 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } + private boolean force_; + /** + * + * + *
+     * Optional. If set to true, any child resources of this data scan will also
+     * be deleted. (Otherwise, the request will only work if the data scan has no
+     * child resources.)
+     * 
+ * + * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The force. + */ + @java.lang.Override + public boolean getForce() { + return force_; + } + /** + * + * + *
+     * Optional. If set to true, any child resources of this data scan will also
+     * be deleted. (Otherwise, the request will only work if the data scan has no
+     * child resources.)
+     * 
+ * + * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The force to set. + * @return This builder for chaining. + */ + public Builder setForce(boolean value) { + + force_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. If set to true, any child resources of this data scan will also
+     * be deleted. (Otherwise, the request will only work if the data scan has no
+     * child resources.)
+     * 
+ * + * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearForce() { + bitField0_ = (bitField0_ & ~0x00000002); + force_ = false; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequestOrBuilder.java index 0602a74b8958..09fe611032f2 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequestOrBuilder.java @@ -58,4 +58,19 @@ public interface DeleteDataScanRequestOrBuilder * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Optional. If set to true, any child resources of this data scan will also
+   * be deleted. (Otherwise, the request will only work if the data scan has no
+   * child resources.)
+   * 
+ * + * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The force. + */ + boolean getForce(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ImportItem.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ImportItem.java index 724cbeadc983..9c0552dc75e2 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ImportItem.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ImportItem.java @@ -229,9 +229,9 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * aspect type and are attached directly to the entry. * * `{aspect_type_reference}@{path}`: matches aspects that belong to the * specified aspect type and path. - * * `{aspect_type_reference}@*`: matches aspects that belong to the specified - * aspect type for all paths. - * + * * `<aspect_type_reference>@*` : matches aspects of the given type for all + * paths. + * * `*@path` : matches aspects of all types on the given path. * Replace `{aspect_type_reference}` with a reference to the aspect type, in * the format * `{project_id_or_number}.{location_id}.{aspect_type_id}`. @@ -260,9 +260,9 @@ public com.google.protobuf.ProtocolStringList getAspectKeysList() { * aspect type and are attached directly to the entry. * * `{aspect_type_reference}@{path}`: matches aspects that belong to the * specified aspect type and path. - * * `{aspect_type_reference}@*`: matches aspects that belong to the specified - * aspect type for all paths. - * + * * `<aspect_type_reference>@*` : matches aspects of the given type for all + * paths. + * * `*@path` : matches aspects of all types on the given path. * Replace `{aspect_type_reference}` with a reference to the aspect type, in * the format * `{project_id_or_number}.{location_id}.{aspect_type_id}`. @@ -291,9 +291,9 @@ public int getAspectKeysCount() { * aspect type and are attached directly to the entry. * * `{aspect_type_reference}@{path}`: matches aspects that belong to the * specified aspect type and path. - * * `{aspect_type_reference}@*`: matches aspects that belong to the specified - * aspect type for all paths. - * + * * `<aspect_type_reference>@*` : matches aspects of the given type for all + * paths. + * * `*@path` : matches aspects of all types on the given path. * Replace `{aspect_type_reference}` with a reference to the aspect type, in * the format * `{project_id_or_number}.{location_id}.{aspect_type_id}`. @@ -323,9 +323,9 @@ public java.lang.String getAspectKeys(int index) { * aspect type and are attached directly to the entry. * * `{aspect_type_reference}@{path}`: matches aspects that belong to the * specified aspect type and path. - * * `{aspect_type_reference}@*`: matches aspects that belong to the specified - * aspect type for all paths. - * + * * `<aspect_type_reference>@*` : matches aspects of the given type for all + * paths. + * * `*@path` : matches aspects of all types on the given path. * Replace `{aspect_type_reference}` with a reference to the aspect type, in * the format * `{project_id_or_number}.{location_id}.{aspect_type_id}`. @@ -1321,9 +1321,9 @@ private void ensureAspectKeysIsMutable() { * aspect type and are attached directly to the entry. * * `{aspect_type_reference}@{path}`: matches aspects that belong to the * specified aspect type and path. - * * `{aspect_type_reference}@*`: matches aspects that belong to the specified - * aspect type for all paths. - * + * * `<aspect_type_reference>@*` : matches aspects of the given type for all + * paths. + * * `*@path` : matches aspects of all types on the given path. * Replace `{aspect_type_reference}` with a reference to the aspect type, in * the format * `{project_id_or_number}.{location_id}.{aspect_type_id}`. @@ -1353,9 +1353,9 @@ public com.google.protobuf.ProtocolStringList getAspectKeysList() { * aspect type and are attached directly to the entry. * * `{aspect_type_reference}@{path}`: matches aspects that belong to the * specified aspect type and path. - * * `{aspect_type_reference}@*`: matches aspects that belong to the specified - * aspect type for all paths. - * + * * `<aspect_type_reference>@*` : matches aspects of the given type for all + * paths. + * * `*@path` : matches aspects of all types on the given path. * Replace `{aspect_type_reference}` with a reference to the aspect type, in * the format * `{project_id_or_number}.{location_id}.{aspect_type_id}`. @@ -1384,9 +1384,9 @@ public int getAspectKeysCount() { * aspect type and are attached directly to the entry. * * `{aspect_type_reference}@{path}`: matches aspects that belong to the * specified aspect type and path. - * * `{aspect_type_reference}@*`: matches aspects that belong to the specified - * aspect type for all paths. - * + * * `<aspect_type_reference>@*` : matches aspects of the given type for all + * paths. + * * `*@path` : matches aspects of all types on the given path. * Replace `{aspect_type_reference}` with a reference to the aspect type, in * the format * `{project_id_or_number}.{location_id}.{aspect_type_id}`. @@ -1416,9 +1416,9 @@ public java.lang.String getAspectKeys(int index) { * aspect type and are attached directly to the entry. * * `{aspect_type_reference}@{path}`: matches aspects that belong to the * specified aspect type and path. - * * `{aspect_type_reference}@*`: matches aspects that belong to the specified - * aspect type for all paths. - * + * * `<aspect_type_reference>@*` : matches aspects of the given type for all + * paths. + * * `*@path` : matches aspects of all types on the given path. * Replace `{aspect_type_reference}` with a reference to the aspect type, in * the format * `{project_id_or_number}.{location_id}.{aspect_type_id}`. @@ -1448,9 +1448,9 @@ public com.google.protobuf.ByteString getAspectKeysBytes(int index) { * aspect type and are attached directly to the entry. * * `{aspect_type_reference}@{path}`: matches aspects that belong to the * specified aspect type and path. - * * `{aspect_type_reference}@*`: matches aspects that belong to the specified - * aspect type for all paths. - * + * * `<aspect_type_reference>@*` : matches aspects of the given type for all + * paths. + * * `*@path` : matches aspects of all types on the given path. * Replace `{aspect_type_reference}` with a reference to the aspect type, in * the format * `{project_id_or_number}.{location_id}.{aspect_type_id}`. @@ -1488,9 +1488,9 @@ public Builder setAspectKeys(int index, java.lang.String value) { * aspect type and are attached directly to the entry. * * `{aspect_type_reference}@{path}`: matches aspects that belong to the * specified aspect type and path. - * * `{aspect_type_reference}@*`: matches aspects that belong to the specified - * aspect type for all paths. - * + * * `<aspect_type_reference>@*` : matches aspects of the given type for all + * paths. + * * `*@path` : matches aspects of all types on the given path. * Replace `{aspect_type_reference}` with a reference to the aspect type, in * the format * `{project_id_or_number}.{location_id}.{aspect_type_id}`. @@ -1527,9 +1527,9 @@ public Builder addAspectKeys(java.lang.String value) { * aspect type and are attached directly to the entry. * * `{aspect_type_reference}@{path}`: matches aspects that belong to the * specified aspect type and path. - * * `{aspect_type_reference}@*`: matches aspects that belong to the specified - * aspect type for all paths. - * + * * `<aspect_type_reference>@*` : matches aspects of the given type for all + * paths. + * * `*@path` : matches aspects of all types on the given path. * Replace `{aspect_type_reference}` with a reference to the aspect type, in * the format * `{project_id_or_number}.{location_id}.{aspect_type_id}`. @@ -1563,9 +1563,9 @@ public Builder addAllAspectKeys(java.lang.Iterable values) { * aspect type and are attached directly to the entry. * * `{aspect_type_reference}@{path}`: matches aspects that belong to the * specified aspect type and path. - * * `{aspect_type_reference}@*`: matches aspects that belong to the specified - * aspect type for all paths. - * + * * `<aspect_type_reference>@*` : matches aspects of the given type for all + * paths. + * * `*@path` : matches aspects of all types on the given path. * Replace `{aspect_type_reference}` with a reference to the aspect type, in * the format * `{project_id_or_number}.{location_id}.{aspect_type_id}`. @@ -1598,9 +1598,9 @@ public Builder clearAspectKeys() { * aspect type and are attached directly to the entry. * * `{aspect_type_reference}@{path}`: matches aspects that belong to the * specified aspect type and path. - * * `{aspect_type_reference}@*`: matches aspects that belong to the specified - * aspect type for all paths. - * + * * `<aspect_type_reference>@*` : matches aspects of the given type for all + * paths. + * * `*@path` : matches aspects of all types on the given path. * Replace `{aspect_type_reference}` with a reference to the aspect type, in * the format * `{project_id_or_number}.{location_id}.{aspect_type_id}`. diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ImportItemOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ImportItemOrBuilder.java index c9380373a09d..ae7eba45564e 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ImportItemOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ImportItemOrBuilder.java @@ -155,9 +155,9 @@ public interface ImportItemOrBuilder * aspect type and are attached directly to the entry. * * `{aspect_type_reference}@{path}`: matches aspects that belong to the * specified aspect type and path. - * * `{aspect_type_reference}@*`: matches aspects that belong to the specified - * aspect type for all paths. - * + * * `<aspect_type_reference>@*` : matches aspects of the given type for all + * paths. + * * `*@path` : matches aspects of all types on the given path. * Replace `{aspect_type_reference}` with a reference to the aspect type, in * the format * `{project_id_or_number}.{location_id}.{aspect_type_id}`. @@ -184,9 +184,9 @@ public interface ImportItemOrBuilder * aspect type and are attached directly to the entry. * * `{aspect_type_reference}@{path}`: matches aspects that belong to the * specified aspect type and path. - * * `{aspect_type_reference}@*`: matches aspects that belong to the specified - * aspect type for all paths. - * + * * `<aspect_type_reference>@*` : matches aspects of the given type for all + * paths. + * * `*@path` : matches aspects of all types on the given path. * Replace `{aspect_type_reference}` with a reference to the aspect type, in * the format * `{project_id_or_number}.{location_id}.{aspect_type_id}`. @@ -213,9 +213,9 @@ public interface ImportItemOrBuilder * aspect type and are attached directly to the entry. * * `{aspect_type_reference}@{path}`: matches aspects that belong to the * specified aspect type and path. - * * `{aspect_type_reference}@*`: matches aspects that belong to the specified - * aspect type for all paths. - * + * * `<aspect_type_reference>@*` : matches aspects of the given type for all + * paths. + * * `*@path` : matches aspects of all types on the given path. * Replace `{aspect_type_reference}` with a reference to the aspect type, in * the format * `{project_id_or_number}.{location_id}.{aspect_type_id}`. @@ -243,9 +243,9 @@ public interface ImportItemOrBuilder * aspect type and are attached directly to the entry. * * `{aspect_type_reference}@{path}`: matches aspects that belong to the * specified aspect type and path. - * * `{aspect_type_reference}@*`: matches aspects that belong to the specified - * aspect type for all paths. - * + * * `<aspect_type_reference>@*` : matches aspects of the given type for all + * paths. + * * `*@path` : matches aspects of all types on the given path. * Replace `{aspect_type_reference}` with a reference to the aspect type, in * the format * `{project_id_or_number}.{location_id}.{aspect_type_id}`. diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SearchEntriesRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SearchEntriesRequest.java index 637ce237ca5e..4f36b9a80335 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SearchEntriesRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SearchEntriesRequest.java @@ -125,6 +125,8 @@ public com.google.protobuf.ByteString getNameBytes() { * *
    * 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).
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -148,6 +150,8 @@ public java.lang.String getQuery() { * *
    * 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).
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -249,6 +253,10 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * *
    * Optional. Specifies the ordering of results.
+   * Supported values are:
+   * * `relevance` (default)
+   * * `last_modified_timestamp`
+   * * `last_modified_timestamp asc`
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -272,6 +280,10 @@ public java.lang.String getOrderBy() { * *
    * Optional. Specifies the ordering of results.
+   * Supported values are:
+   * * `relevance` (default)
+   * * `last_modified_timestamp`
+   * * `last_modified_timestamp asc`
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -927,6 +939,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * *
      * 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).
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -949,6 +963,8 @@ public java.lang.String getQuery() { * *
      * 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).
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -971,6 +987,8 @@ public com.google.protobuf.ByteString getQueryBytes() { * *
      * 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).
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -992,6 +1010,8 @@ public Builder setQuery(java.lang.String value) { * *
      * 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).
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1009,6 +1029,8 @@ public Builder clearQuery() { * *
      * 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).
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1203,6 +1225,10 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { * *
      * Optional. Specifies the ordering of results.
+     * Supported values are:
+     * * `relevance` (default)
+     * * `last_modified_timestamp`
+     * * `last_modified_timestamp asc`
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1225,6 +1251,10 @@ public java.lang.String getOrderBy() { * *
      * Optional. Specifies the ordering of results.
+     * Supported values are:
+     * * `relevance` (default)
+     * * `last_modified_timestamp`
+     * * `last_modified_timestamp asc`
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1247,6 +1277,10 @@ public com.google.protobuf.ByteString getOrderByBytes() { * *
      * Optional. Specifies the ordering of results.
+     * Supported values are:
+     * * `relevance` (default)
+     * * `last_modified_timestamp`
+     * * `last_modified_timestamp asc`
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1268,6 +1302,10 @@ public Builder setOrderBy(java.lang.String value) { * *
      * Optional. Specifies the ordering of results.
+     * Supported values are:
+     * * `relevance` (default)
+     * * `last_modified_timestamp`
+     * * `last_modified_timestamp asc`
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1285,6 +1323,10 @@ public Builder clearOrderBy() { * *
      * Optional. Specifies the ordering of results.
+     * Supported values are:
+     * * `relevance` (default)
+     * * `last_modified_timestamp`
+     * * `last_modified_timestamp asc`
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SearchEntriesRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SearchEntriesRequestOrBuilder.java index 7a5df001fe5e..ecbbe7727366 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SearchEntriesRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SearchEntriesRequestOrBuilder.java @@ -60,6 +60,8 @@ public interface SearchEntriesRequestOrBuilder * *
    * 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).
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -72,6 +74,8 @@ public interface SearchEntriesRequestOrBuilder * *
    * 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).
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -127,6 +131,10 @@ public interface SearchEntriesRequestOrBuilder * *
    * Optional. Specifies the ordering of results.
+   * Supported values are:
+   * * `relevance` (default)
+   * * `last_modified_timestamp`
+   * * `last_modified_timestamp asc`
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -139,6 +147,10 @@ public interface SearchEntriesRequestOrBuilder * *
    * Optional. Specifies the ordering of results.
+   * Supported values are:
+   * * `relevance` (default)
+   * * `last_modified_timestamp`
+   * * `last_modified_timestamp asc`
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SearchEntriesResult.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SearchEntriesResult.java index 26622dacdc05..4bd83ae95389 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SearchEntriesResult.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SearchEntriesResult.java @@ -79,7 +79,7 @@ public interface SnippetsOrBuilder * .google.cloud.dataplex.v1.Entry dataplex_entry = 1 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.Snippets.dataplex_entry is - * deprecated. See google/cloud/dataplex/v1/catalog.proto;l=1387 + * deprecated. See google/cloud/dataplex/v1/catalog.proto;l=1393 * @return Whether the dataplexEntry field is set. */ @java.lang.Deprecated @@ -94,7 +94,7 @@ public interface SnippetsOrBuilder * .google.cloud.dataplex.v1.Entry dataplex_entry = 1 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.Snippets.dataplex_entry is - * deprecated. See google/cloud/dataplex/v1/catalog.proto;l=1387 + * deprecated. See google/cloud/dataplex/v1/catalog.proto;l=1393 * @return The dataplexEntry. */ @java.lang.Deprecated @@ -168,7 +168,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * .google.cloud.dataplex.v1.Entry dataplex_entry = 1 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.Snippets.dataplex_entry is - * deprecated. See google/cloud/dataplex/v1/catalog.proto;l=1387 + * deprecated. See google/cloud/dataplex/v1/catalog.proto;l=1393 * @return Whether the dataplexEntry field is set. */ @java.lang.Override @@ -186,7 +186,7 @@ public boolean hasDataplexEntry() { * .google.cloud.dataplex.v1.Entry dataplex_entry = 1 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.Snippets.dataplex_entry is - * deprecated. See google/cloud/dataplex/v1/catalog.proto;l=1387 + * deprecated. See google/cloud/dataplex/v1/catalog.proto;l=1393 * @return The dataplexEntry. */ @java.lang.Override @@ -597,7 +597,7 @@ public Builder mergeFrom( * .google.cloud.dataplex.v1.Entry dataplex_entry = 1 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.Snippets.dataplex_entry is - * deprecated. See google/cloud/dataplex/v1/catalog.proto;l=1387 + * deprecated. See google/cloud/dataplex/v1/catalog.proto;l=1393 * @return Whether the dataplexEntry field is set. */ @java.lang.Deprecated @@ -614,7 +614,7 @@ public boolean hasDataplexEntry() { * .google.cloud.dataplex.v1.Entry dataplex_entry = 1 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.Snippets.dataplex_entry is - * deprecated. See google/cloud/dataplex/v1/catalog.proto;l=1387 + * deprecated. See google/cloud/dataplex/v1/catalog.proto;l=1393 * @return The dataplexEntry. */ @java.lang.Deprecated @@ -857,7 +857,7 @@ public com.google.cloud.dataplex.v1.SearchEntriesResult.Snippets getDefaultInsta * string linked_resource = 8 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.linked_resource is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1391 + * google/cloud/dataplex/v1/catalog.proto;l=1397 * @return The linkedResource. */ @java.lang.Override @@ -883,7 +883,7 @@ public java.lang.String getLinkedResource() { * string linked_resource = 8 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.linked_resource is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1391 + * google/cloud/dataplex/v1/catalog.proto;l=1397 * @return The bytes for linkedResource. */ @java.lang.Override @@ -943,7 +943,7 @@ public com.google.cloud.dataplex.v1.EntryOrBuilder getDataplexEntryOrBuilder() { * * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.snippets is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1396 + * google/cloud/dataplex/v1/catalog.proto;l=1402 * @return Whether the snippets field is set. */ @java.lang.Override @@ -962,7 +962,7 @@ public boolean hasSnippets() { * * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.snippets is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1396 + * google/cloud/dataplex/v1/catalog.proto;l=1402 * @return The snippets. */ @java.lang.Override @@ -1420,7 +1420,7 @@ public Builder mergeFrom( * string linked_resource = 8 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.linked_resource is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1391 + * google/cloud/dataplex/v1/catalog.proto;l=1397 * @return The linkedResource. */ @java.lang.Deprecated @@ -1445,7 +1445,7 @@ public java.lang.String getLinkedResource() { * string linked_resource = 8 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.linked_resource is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1391 + * google/cloud/dataplex/v1/catalog.proto;l=1397 * @return The bytes for linkedResource. */ @java.lang.Deprecated @@ -1470,7 +1470,7 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { * string linked_resource = 8 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.linked_resource is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1391 + * google/cloud/dataplex/v1/catalog.proto;l=1397 * @param value The linkedResource to set. * @return This builder for chaining. */ @@ -1494,7 +1494,7 @@ public Builder setLinkedResource(java.lang.String value) { * string linked_resource = 8 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.linked_resource is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1391 + * google/cloud/dataplex/v1/catalog.proto;l=1397 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1514,7 +1514,7 @@ public Builder clearLinkedResource() { * string linked_resource = 8 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.linked_resource is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1391 + * google/cloud/dataplex/v1/catalog.proto;l=1397 * @param value The bytes for linkedResource to set. * @return This builder for chaining. */ @@ -1665,7 +1665,7 @@ public com.google.cloud.dataplex.v1.EntryOrBuilder getDataplexEntryOrBuilder() { * * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.snippets is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1396 + * google/cloud/dataplex/v1/catalog.proto;l=1402 * @return Whether the snippets field is set. */ @java.lang.Deprecated @@ -1684,7 +1684,7 @@ public boolean hasSnippets() { * * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.snippets is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1396 + * google/cloud/dataplex/v1/catalog.proto;l=1402 * @return The snippets. */ @java.lang.Deprecated diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SearchEntriesResultOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SearchEntriesResultOrBuilder.java index d58174aa8497..cdbe37f71ee4 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SearchEntriesResultOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SearchEntriesResultOrBuilder.java @@ -34,7 +34,7 @@ public interface SearchEntriesResultOrBuilder * string linked_resource = 8 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.linked_resource is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1391 + * google/cloud/dataplex/v1/catalog.proto;l=1397 * @return The linkedResource. */ @java.lang.Deprecated @@ -49,7 +49,7 @@ public interface SearchEntriesResultOrBuilder * string linked_resource = 8 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.linked_resource is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1391 + * google/cloud/dataplex/v1/catalog.proto;l=1397 * @return The bytes for linkedResource. */ @java.lang.Deprecated @@ -81,7 +81,7 @@ public interface SearchEntriesResultOrBuilder * * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.snippets is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1396 + * google/cloud/dataplex/v1/catalog.proto;l=1402 * @return Whether the snippets field is set. */ @java.lang.Deprecated @@ -97,7 +97,7 @@ public interface SearchEntriesResultOrBuilder * * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.snippets is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1396 + * google/cloud/dataplex/v1/catalog.proto;l=1402 * @return The snippets. */ @java.lang.Deprecated diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequest.java index 7d26da552362..a097401a4dd8 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequest.java @@ -130,10 +130,10 @@ public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScanOrBuilder() { * * *
-   * Required. Mask of fields to update.
+   * Optional. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the updateMask field is set. @@ -146,10 +146,10 @@ public boolean hasUpdateMask() { * * *
-   * Required. Mask of fields to update.
+   * Optional. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The updateMask. @@ -162,10 +162,10 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * Required. Mask of fields to update.
+   * Optional. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override @@ -839,10 +839,10 @@ public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScanOrBuilder() { * * *
-     * Required. Mask of fields to update.
+     * Optional. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the updateMask field is set. @@ -854,10 +854,10 @@ public boolean hasUpdateMask() { * * *
-     * Required. Mask of fields to update.
+     * Optional. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The updateMask. @@ -875,10 +875,10 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * Required. Mask of fields to update.
+     * Optional. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { @@ -898,10 +898,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. Mask of fields to update.
+     * Optional. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { @@ -918,10 +918,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * Required. Mask of fields to update.
+     * Optional. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { @@ -946,10 +946,10 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. Mask of fields to update.
+     * Optional. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder clearUpdateMask() { @@ -966,10 +966,10 @@ public Builder clearUpdateMask() { * * *
-     * Required. Mask of fields to update.
+     * Optional. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { @@ -981,10 +981,10 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * Required. Mask of fields to update.
+     * Optional. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -1000,10 +1000,10 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * Required. Mask of fields to update.
+     * Optional. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ private com.google.protobuf.SingleFieldBuilderV3< diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequestOrBuilder.java index b77688737de5..13e5e2546c41 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequestOrBuilder.java @@ -75,10 +75,10 @@ public interface UpdateDataScanRequestOrBuilder * * *
-   * Required. Mask of fields to update.
+   * Optional. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the updateMask field is set. @@ -88,10 +88,10 @@ public interface UpdateDataScanRequestOrBuilder * * *
-   * Required. Mask of fields to update.
+   * Optional. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The updateMask. @@ -101,10 +101,10 @@ public interface UpdateDataScanRequestOrBuilder * * *
-   * Required. Mask of fields to update.
+   * Optional. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntryRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntryRequest.java index 0392b9b78641..ec97c89ff423 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntryRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntryRequest.java @@ -231,7 +231,7 @@ public boolean getDeleteMissingAspects() { * specified path. For example, to attach an aspect to a field that is * specified by the `schema` aspect, the path should have the format * `Schema.<field_name>`. - * * `<aspect_type_reference>*` - matches aspects of the given type for all + * * `<aspect_type_reference>@*` - matches aspects of the given type for all * paths. * * `*@path` - matches aspects of all types on the given path. * @@ -262,7 +262,7 @@ public com.google.protobuf.ProtocolStringList getAspectKeysList() { * specified path. For example, to attach an aspect to a field that is * specified by the `schema` aspect, the path should have the format * `Schema.<field_name>`. - * * `<aspect_type_reference>*` - matches aspects of the given type for all + * * `<aspect_type_reference>@*` - matches aspects of the given type for all * paths. * * `*@path` - matches aspects of all types on the given path. * @@ -293,7 +293,7 @@ public int getAspectKeysCount() { * specified path. For example, to attach an aspect to a field that is * specified by the `schema` aspect, the path should have the format * `Schema.<field_name>`. - * * `<aspect_type_reference>*` - matches aspects of the given type for all + * * `<aspect_type_reference>@*` - matches aspects of the given type for all * paths. * * `*@path` - matches aspects of all types on the given path. * @@ -325,7 +325,7 @@ public java.lang.String getAspectKeys(int index) { * specified path. For example, to attach an aspect to a field that is * specified by the `schema` aspect, the path should have the format * `Schema.<field_name>`. - * * `<aspect_type_reference>*` - matches aspects of the given type for all + * * `<aspect_type_reference>@*` - matches aspects of the given type for all * paths. * * `*@path` - matches aspects of all types on the given path. * @@ -1378,7 +1378,7 @@ private void ensureAspectKeysIsMutable() { * specified path. For example, to attach an aspect to a field that is * specified by the `schema` aspect, the path should have the format * `Schema.<field_name>`. - * * `<aspect_type_reference>*` - matches aspects of the given type for all + * * `<aspect_type_reference>@*` - matches aspects of the given type for all * paths. * * `*@path` - matches aspects of all types on the given path. * @@ -1410,7 +1410,7 @@ public com.google.protobuf.ProtocolStringList getAspectKeysList() { * specified path. For example, to attach an aspect to a field that is * specified by the `schema` aspect, the path should have the format * `Schema.<field_name>`. - * * `<aspect_type_reference>*` - matches aspects of the given type for all + * * `<aspect_type_reference>@*` - matches aspects of the given type for all * paths. * * `*@path` - matches aspects of all types on the given path. * @@ -1441,7 +1441,7 @@ public int getAspectKeysCount() { * specified path. For example, to attach an aspect to a field that is * specified by the `schema` aspect, the path should have the format * `Schema.<field_name>`. - * * `<aspect_type_reference>*` - matches aspects of the given type for all + * * `<aspect_type_reference>@*` - matches aspects of the given type for all * paths. * * `*@path` - matches aspects of all types on the given path. * @@ -1473,7 +1473,7 @@ public java.lang.String getAspectKeys(int index) { * specified path. For example, to attach an aspect to a field that is * specified by the `schema` aspect, the path should have the format * `Schema.<field_name>`. - * * `<aspect_type_reference>*` - matches aspects of the given type for all + * * `<aspect_type_reference>@*` - matches aspects of the given type for all * paths. * * `*@path` - matches aspects of all types on the given path. * @@ -1505,7 +1505,7 @@ public com.google.protobuf.ByteString getAspectKeysBytes(int index) { * specified path. For example, to attach an aspect to a field that is * specified by the `schema` aspect, the path should have the format * `Schema.<field_name>`. - * * `<aspect_type_reference>*` - matches aspects of the given type for all + * * `<aspect_type_reference>@*` - matches aspects of the given type for all * paths. * * `*@path` - matches aspects of all types on the given path. * @@ -1545,7 +1545,7 @@ public Builder setAspectKeys(int index, java.lang.String value) { * specified path. For example, to attach an aspect to a field that is * specified by the `schema` aspect, the path should have the format * `Schema.<field_name>`. - * * `<aspect_type_reference>*` - matches aspects of the given type for all + * * `<aspect_type_reference>@*` - matches aspects of the given type for all * paths. * * `*@path` - matches aspects of all types on the given path. * @@ -1584,7 +1584,7 @@ public Builder addAspectKeys(java.lang.String value) { * specified path. For example, to attach an aspect to a field that is * specified by the `schema` aspect, the path should have the format * `Schema.<field_name>`. - * * `<aspect_type_reference>*` - matches aspects of the given type for all + * * `<aspect_type_reference>@*` - matches aspects of the given type for all * paths. * * `*@path` - matches aspects of all types on the given path. * @@ -1620,7 +1620,7 @@ public Builder addAllAspectKeys(java.lang.Iterable values) { * specified path. For example, to attach an aspect to a field that is * specified by the `schema` aspect, the path should have the format * `Schema.<field_name>`. - * * `<aspect_type_reference>*` - matches aspects of the given type for all + * * `<aspect_type_reference>@*` - matches aspects of the given type for all * paths. * * `*@path` - matches aspects of all types on the given path. * @@ -1655,7 +1655,7 @@ public Builder clearAspectKeys() { * specified path. For example, to attach an aspect to a field that is * specified by the `schema` aspect, the path should have the format * `Schema.<field_name>`. - * * `<aspect_type_reference>*` - matches aspects of the given type for all + * * `<aspect_type_reference>@*` - matches aspects of the given type for all * paths. * * `*@path` - matches aspects of all types on the given path. * diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntryRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntryRequestOrBuilder.java index 244c95443353..840ed8684d3c 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntryRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntryRequestOrBuilder.java @@ -154,7 +154,7 @@ public interface UpdateEntryRequestOrBuilder * specified path. For example, to attach an aspect to a field that is * specified by the `schema` aspect, the path should have the format * `Schema.<field_name>`. - * * `<aspect_type_reference>*` - matches aspects of the given type for all + * * `<aspect_type_reference>@*` - matches aspects of the given type for all * paths. * * `*@path` - matches aspects of all types on the given path. * @@ -183,7 +183,7 @@ public interface UpdateEntryRequestOrBuilder * specified path. For example, to attach an aspect to a field that is * specified by the `schema` aspect, the path should have the format * `Schema.<field_name>`. - * * `<aspect_type_reference>*` - matches aspects of the given type for all + * * `<aspect_type_reference>@*` - matches aspects of the given type for all * paths. * * `*@path` - matches aspects of all types on the given path. * @@ -212,7 +212,7 @@ public interface UpdateEntryRequestOrBuilder * specified path. For example, to attach an aspect to a field that is * specified by the `schema` aspect, the path should have the format * `Schema.<field_name>`. - * * `<aspect_type_reference>*` - matches aspects of the given type for all + * * `<aspect_type_reference>@*` - matches aspects of the given type for all * paths. * * `*@path` - matches aspects of all types on the given path. * @@ -242,7 +242,7 @@ public interface UpdateEntryRequestOrBuilder * specified path. For example, to attach an aspect to a field that is * specified by the `schema` aspect, the path should have the format * `Schema.<field_name>`. - * * `<aspect_type_reference>*` - matches aspects of the given type for all + * * `<aspect_type_reference>@*` - matches aspects of the given type for all * paths. * * `*@path` - matches aspects of all types on the given path. * diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/catalog.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/catalog.proto index 76bf4dda7a6e..36c4cc733052 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/catalog.proto +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/catalog.proto @@ -1220,7 +1220,7 @@ message UpdateEntryRequest { // specified path. For example, to attach an aspect to a field that is // specified by the `schema` aspect, the path should have the format // `Schema.`. - // * `*` - matches aspects of the given type for all + // * `@*` - matches aspects of the given type for all // paths. // * `*@path` - matches aspects of all types on the given path. // @@ -1356,6 +1356,8 @@ message SearchEntriesRequest { ]; // 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). string query = 2 [(google.api.field_behavior) = REQUIRED]; // Optional. Number of results in the search page. If <=0, then defaults @@ -1368,6 +1370,10 @@ message SearchEntriesRequest { string page_token = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. Specifies the ordering of results. + // Supported values are: + // * `relevance` (default) + // * `last_modified_timestamp` + // * `last_modified_timestamp asc` string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; // Optional. The scope under which the search should be operating. It must @@ -1452,9 +1458,9 @@ message ImportItem { // aspect type and are attached directly to the entry. // * `{aspect_type_reference}@{path}`: matches aspects that belong to the // specified aspect type and path. - // * `{aspect_type_reference}@*`: matches aspects that belong to the specified - // aspect type for all paths. - // + // * `@*` : matches aspects of the given type for all + // paths. + // * `*@path` : matches aspects of all types on the given path. // Replace `{aspect_type_reference}` with a reference to the aspect type, in // the format // `{project_id_or_number}.{location_id}.{aspect_type_id}`. diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/datascans.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/datascans.proto index 54a6aca13bc2..fc792f4577a0 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/datascans.proto +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/datascans.proto @@ -19,6 +19,7 @@ package google.cloud.dataplex.v1; import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; +import "google/api/field_info.proto"; import "google/api/resource.proto"; import "google/cloud/dataplex/v1/data_discovery.proto"; import "google/cloud/dataplex/v1/data_profile.proto"; @@ -182,9 +183,9 @@ message UpdateDataScanRequest { // Only fields specified in `update_mask` are updated. DataScan data_scan = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. Mask of fields to update. + // Optional. Mask of fields to update. google.protobuf.FieldMask update_mask = 2 - [(google.api.field_behavior) = REQUIRED]; + [(google.api.field_behavior) = OPTIONAL]; // Optional. Only validate the request, but do not perform mutations. // The default is `false`. @@ -203,6 +204,11 @@ message DeleteDataScanRequest { type: "dataplex.googleapis.com/DataScan" } ]; + + // Optional. If set to true, any child resources of this data scan will also + // be deleted. (Otherwise, the request will only work if the data scan has no + // child resources.) + bool force = 2 [(google.api.field_behavior) = OPTIONAL]; } // Get dataScan request. @@ -443,26 +449,34 @@ message DataScan { // Status of the data scan execution. message ExecutionStatus { - // The time when the latest DataScanJob started. - google.protobuf.Timestamp latest_job_start_time = 4; + // Optional. The time when the latest DataScanJob started. + google.protobuf.Timestamp latest_job_start_time = 4 + [(google.api.field_behavior) = OPTIONAL]; - // The time when the latest DataScanJob ended. - google.protobuf.Timestamp latest_job_end_time = 5; + // Optional. The time when the latest DataScanJob ended. + google.protobuf.Timestamp latest_job_end_time = 5 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The time when the DataScanJob execution was created. google.protobuf.Timestamp latest_job_create_time = 6 [(google.api.field_behavior) = OPTIONAL]; } - // Output only. The relative resource name of the scan, of the form: - // `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`, + // Output only. Identifier. The relative resource name of the scan, of the + // form: `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`, // where `project` refers to a *project_id* or *project_number* and // `location_id` refers to a GCP region. - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.field_behavior) = IDENTIFIER + ]; // Output only. System generated globally unique ID for the scan. This ID will // be different if the scan is deleted and re-created with the same name. - string uid = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + string uid = 2 [ + (google.api.field_info).format = UUID4, + (google.api.field_behavior) = OUTPUT_ONLY + ]; // Optional. Description of the scan. // @@ -565,14 +579,21 @@ message DataScanJob { PENDING = 7; } - // Output only. The relative resource name of the DataScanJob, of the form: + // Output only. Identifier. The relative resource name of the DataScanJob, of + // the form: // `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`, // where `project` refers to a *project_id* or *project_number* and // `location_id` refers to a GCP region. - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.field_behavior) = IDENTIFIER + ]; // Output only. System generated globally unique ID for the DataScanJob. - string uid = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + string uid = 2 [ + (google.api.field_info).format = UUID4, + (google.api.field_behavior) = OUTPUT_ONLY + ]; // Output only. The time when the DataScanJob was created. google.protobuf.Timestamp create_time = 8 diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScan.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScan.java index f0aab26b84d1..7fb30ea06ef0 100644 --- a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScan.java +++ b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScan.java @@ -39,6 +39,7 @@ public static void asyncDeleteDataScan() throws Exception { DeleteDataScanRequest request = DeleteDataScanRequest.newBuilder() .setName(DataScanName.of("[PROJECT]", "[LOCATION]", "[DATASCAN]").toString()) + .setForce(true) .build(); ApiFuture future = dataScanServiceClient.deleteDataScanCallable().futureCall(request); diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScanLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScanLRO.java index 3e9d37eaf806..2bffcd6e5527 100644 --- a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScanLRO.java +++ b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScanLRO.java @@ -40,6 +40,7 @@ public static void asyncDeleteDataScanLRO() throws Exception { DeleteDataScanRequest request = DeleteDataScanRequest.newBuilder() .setName(DataScanName.of("[PROJECT]", "[LOCATION]", "[DATASCAN]").toString()) + .setForce(true) .build(); OperationFuture future = dataScanServiceClient.deleteDataScanOperationCallable().futureCall(request); diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScan.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScan.java index 9b37f455977f..0eae2f51ee31 100644 --- a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScan.java +++ b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScan.java @@ -38,6 +38,7 @@ public static void syncDeleteDataScan() throws Exception { DeleteDataScanRequest request = DeleteDataScanRequest.newBuilder() .setName(DataScanName.of("[PROJECT]", "[LOCATION]", "[DATASCAN]").toString()) + .setForce(true) .build(); dataScanServiceClient.deleteDataScanAsync(request).get(); }