diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java index f487b5b6..d0f5e3ba 100644 --- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java +++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java @@ -770,9 +770,13 @@ public final UnaryCallable createPolicyTagCal // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes a policy tag. This method also deletes - all of its descendant policy tags, if any, - - * the policies associated with the policy tag and its descendants, and - references from BigQuery - * table schema of the policy tag and its descendants. + * Deletes a policy tag. This method also deletes: + * + * * *

Sample code: * @@ -796,9 +800,13 @@ public final void deletePolicyTag(PolicyTagName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes a policy tag. This method also deletes - all of its descendant policy tags, if any, - - * the policies associated with the policy tag and its descendants, and - references from BigQuery - * table schema of the policy tag and its descendants. + * Deletes a policy tag. This method also deletes: + * + *

* *

Sample code: * @@ -821,9 +829,13 @@ public final void deletePolicyTag(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes a policy tag. This method also deletes - all of its descendant policy tags, if any, - - * the policies associated with the policy tag and its descendants, and - references from BigQuery - * table schema of the policy tag and its descendants. + * Deletes a policy tag. This method also deletes: + * + *

* *

Sample code: * @@ -848,9 +860,13 @@ public final void deletePolicyTag(DeletePolicyTagRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes a policy tag. This method also deletes - all of its descendant policy tags, if any, - - * the policies associated with the policy tag and its descendants, and - references from BigQuery - * table schema of the policy tag and its descendants. + * Deletes a policy tag. This method also deletes: + * + *

* *

Sample code: * diff --git a/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java b/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java index 6b179377..757c62a7 100644 --- a/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java +++ b/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java @@ -764,11 +764,11 @@ public void createPolicyTag( * * *

-     * Deletes a policy tag. This method also deletes
-     *   - all of its descendant policy tags, if any,
-     *   - the policies associated with the policy tag and its descendants, and
-     *   - references from BigQuery table schema of the policy tag and its
-     *     descendants.
+     * Deletes a policy tag. This method also deletes:
+     * * all of its descendant policy tags, if any
+     * * the policies associated with the policy tag and its descendants
+     * * references from BigQuery table schema of the policy tag and its
+     *   descendants.
      * 
*/ public void deletePolicyTag( @@ -1082,11 +1082,11 @@ public void createPolicyTag( * * *
-     * Deletes a policy tag. This method also deletes
-     *   - all of its descendant policy tags, if any,
-     *   - the policies associated with the policy tag and its descendants, and
-     *   - references from BigQuery table schema of the policy tag and its
-     *     descendants.
+     * Deletes a policy tag. This method also deletes:
+     * * all of its descendant policy tags, if any
+     * * the policies associated with the policy tag and its descendants
+     * * references from BigQuery table schema of the policy tag and its
+     *   descendants.
      * 
*/ public void deletePolicyTag( @@ -1309,11 +1309,11 @@ public com.google.cloud.datacatalog.v1.PolicyTag createPolicyTag( * * *
-     * Deletes a policy tag. This method also deletes
-     *   - all of its descendant policy tags, if any,
-     *   - the policies associated with the policy tag and its descendants, and
-     *   - references from BigQuery table schema of the policy tag and its
-     *     descendants.
+     * Deletes a policy tag. This method also deletes:
+     * * all of its descendant policy tags, if any
+     * * the policies associated with the policy tag and its descendants
+     * * references from BigQuery table schema of the policy tag and its
+     *   descendants.
      * 
*/ public com.google.protobuf.Empty deletePolicyTag( @@ -1516,11 +1516,11 @@ protected PolicyTagManagerFutureStub build( * * *
-     * Deletes a policy tag. This method also deletes
-     *   - all of its descendant policy tags, if any,
-     *   - the policies associated with the policy tag and its descendants, and
-     *   - references from BigQuery table schema of the policy tag and its
-     *     descendants.
+     * Deletes a policy tag. This method also deletes:
+     * * all of its descendant policy tags, if any
+     * * the policies associated with the policy tag and its descendants
+     * * references from BigQuery table schema of the policy tag and its
+     *   descendants.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java index 145bc681..8a118c29 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java @@ -24,10 +24,12 @@ *
  * Denotes one policy tag in a taxonomy (e.g. ssn). Policy tags can be defined
  * in a hierarchy. For example, consider the following hierarchy:
+ * ```
  * + Geolocation
  *   + LatLong
  *   + City
  *   + ZipCode
+ * ```
  * Policy tag "Geolocation" contains 3 child policy tags: "LatLong", "City", and
  * "ZipCode".
  * 
@@ -654,10 +656,12 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build *
    * Denotes one policy tag in a taxonomy (e.g. ssn). Policy tags can be defined
    * in a hierarchy. For example, consider the following hierarchy:
+   * ```
    * + Geolocation
    *   + LatLong
    *   + City
    *   + ZipCode
+   * ```
    * Policy tag "Geolocation" contains 3 child policy tags: "LatLong", "City", and
    * "ZipCode".
    * 
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java index ebb7c2a1..f0ec0624 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java @@ -25,6 +25,7 @@ * A taxonomy is a collection of hierarchical policy tags that classify data * along a common axis. For instance a "data sensitivity" taxonomy could contain * the following policy tags: + * ``` * + PII * + Account number * + Age @@ -32,11 +33,14 @@ * + Zipcode * + Financials * + Revenue + * ``` * A "data origin" taxonomy could contain the following policy tags: + * ``` * + User data * + Employee data * + Partner data * + Public data + * ``` * * * Protobuf type {@code google.cloud.datacatalog.v1.Taxonomy} @@ -909,6 +913,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * A taxonomy is a collection of hierarchical policy tags that classify data * along a common axis. For instance a "data sensitivity" taxonomy could contain * the following policy tags: + * ``` * + PII * + Account number * + Age @@ -916,11 +921,14 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * + Zipcode * + Financials * + Revenue + * ``` * A "data origin" taxonomy could contain the following policy tags: + * ``` * + User data * + Employee data * + Partner data * + Public data + * ``` * * * Protobuf type {@code google.cloud.datacatalog.v1.Taxonomy} diff --git a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto index cc52f7d1..0412acc9 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto +++ b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto @@ -101,11 +101,12 @@ service PolicyTagManager { option (google.api.method_signature) = "parent,policy_tag"; } - // Deletes a policy tag. This method also deletes - // - all of its descendant policy tags, if any, - // - the policies associated with the policy tag and its descendants, and - // - references from BigQuery table schema of the policy tag and its - // descendants. + // Deletes a policy tag. This method also deletes: + // + // * all of its descendant policy tags, if any + // * the policies associated with the policy tag and its descendants + // * references from BigQuery table schema of the policy tag and its + // descendants. rpc DeletePolicyTag(DeletePolicyTagRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/taxonomies/*/policyTags/*}" @@ -180,6 +181,8 @@ service PolicyTagManager { // A taxonomy is a collection of hierarchical policy tags that classify data // along a common axis. For instance a "data sensitivity" taxonomy could contain // the following policy tags: +// +// ``` // + PII // + Account number // + Age @@ -187,11 +190,16 @@ service PolicyTagManager { // + Zipcode // + Financials // + Revenue +// ``` +// // A "data origin" taxonomy could contain the following policy tags: +// +// ``` // + User data // + Employee data // + Partner data // + Public data +// ``` message Taxonomy { option (google.api.resource) = { type: "datacatalog.googleapis.com/Taxonomy" @@ -236,10 +244,14 @@ message Taxonomy { // Denotes one policy tag in a taxonomy (e.g. ssn). Policy tags can be defined // in a hierarchy. For example, consider the following hierarchy: +// +// ``` // + Geolocation // + LatLong // + City // + ZipCode +// ``` +// // Policy tag "Geolocation" contains 3 child policy tags: "LatLong", "City", and // "ZipCode". message PolicyTag { diff --git a/synth.metadata b/synth.metadata index 79254b40..d0e3bc12 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,23 +4,23 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-datacatalog.git", - "sha": "638ce6ad2a31609117ed10b75ff9b899fb4ae5ce" + "sha": "5243cd799592056159fb7d6b37188bf7c5814f60" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "a1ab4d44db02d59ff58810c6d4182d84e4b9abaa", - "internalRef": "365620142" + "sha": "91eee3d039fbdbadee008393504900287bbc6f43", + "internalRef": "368687296" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "a1ab4d44db02d59ff58810c6d4182d84e4b9abaa", - "internalRef": "365620142" + "sha": "91eee3d039fbdbadee008393504900287bbc6f43", + "internalRef": "368687296" } }, {