Skip to content
Permalink
Browse files
feat: Added support for BigQuery connections entries feat: Added supp…
…ort for BigQuery routines entries feat: Added usage_signal field feat: Added labels field feat: Added ReplaceTaxonomy in Policy Tag Manager Serialization API feat: Added support for public tag templates feat: Added support for rich text tags docs: Documentation improvements (#587)

PiperOrigin-RevId: 387350333

Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed Jul 28 08:01:37 2021 -0700
Source-Repo: googleapis/googleapis
Source-Sha: 5b1f7cf1d2e2f8ab028a7090d0981fc774028906
Source-Link: googleapis/googleapis@5b1f7cf
  • Loading branch information
yoshi-automation committed Aug 9, 2021
1 parent 93013ec commit 2e7535b13cd6fb1ffa1caa8cb818f6d9be63a247
Showing with 21,669 additions and 6,963 deletions.
  1. +782 −647 google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java
  2. +75 −80 google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java
  3. +97 −28 ...atacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java
  4. +14 −3 ...acatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java
  5. +3 −0 google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/gapic_metadata.json
  6. +13 −12 google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/package-info.java
  7. +35 −0 ...log/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationStub.java
  8. +6 −0 ...catalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStub.java
  9. +28 −5 ...src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStubSettings.java
  10. +20 −0 google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientTest.java
  11. +21 −0 ...acatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerializationImpl.java
  12. +52 −0 ...atalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientTest.java
  13. +570 −558 grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java
  14. +57 −57 ...ogle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java
  15. +213 −61 ...tacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java
  16. +1,256 −0 ...le-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpec.java
  17. +104 −0 ...datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpecOrBuilder.java
  18. +43 −34 ...e-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java
  19. +10 −8 ...atacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java
  20. +110 −0 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java
  21. +737 −0 ...oogle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpec.java
  22. +76 −0 ...ud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpecOrBuilder.java
  23. +48 −48 ...-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpec.java
  24. +12 −12 ...loud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpecOrBuilder.java
  25. +1,149 −0 ...-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpec.java
  26. +100 −0 ...log-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpecOrBuilder.java
  27. +9 −9 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchema.java
  28. +2 −2 ...gle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchemaOrBuilder.java
  29. +19 −26 ...e-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequest.java
  30. +5 −7 ...atacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequestOrBuilder.java
  31. +7 −14 ...google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequest.java
  32. +2 −4 ...oud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequestOrBuilder.java
  33. +26 −19 ...le-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java
  34. +7 −5 ...datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java
  35. +21 −21 ...o-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequest.java
  36. +6 −6 ...cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequestOrBuilder.java
  37. +0 −14 ...d-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequest.java
  38. +0 −4 ...alog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequestOrBuilder.java
  39. +0 −14 ...-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequest.java
  40. +0 −4 ...tacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequestOrBuilder.java
  41. +12 −12 ...gle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequest.java
  42. +3 −3 ...-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequestOrBuilder.java
  43. +7 −7 ...oogle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSource.java
  44. +2 −2 ...ud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java
  45. +24 −24 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSource.java
  46. +754 −0 ...-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpec.java
  47. +61 −0 ...tacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpecOrBuilder.java
  48. +6 −6 ...oogle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceOrBuilder.java
  49. +4 −4 ...-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpec.java
  50. +433 −339 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java
  51. +7 −14 ...e-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequest.java
  52. +2 −4 ...atacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java
  53. +7 −14 ...google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequest.java
  54. +2 −4 ...oud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java
  55. +14 −14 ...le-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequest.java
  56. +4 −4 ...datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java
  57. +7 −14 ...o-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequest.java
  58. +2 −4 ...cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java
  59. +15 −26 ...d-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequest.java
  60. +4 −7 ...alog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java
  61. +15 −26 ...-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequest.java
  62. +4 −7 ...tacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java
  63. +14 −14 ...gle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequest.java
  64. +4 −4 ...-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java
  65. +1,758 −386 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java
  66. +44 −51 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroup.java
  67. +11 −13 ...oogle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupOrBuilder.java
  68. +313 −106 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java
  69. +82 −15 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryType.java
  70. +25 −25 ...e-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequest.java
  71. +8 −8 ...atacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequestOrBuilder.java
  72. +23 −23 ...-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponse.java
  73. +5 −5 ...tacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponseOrBuilder.java
  74. +73 −51 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java
  75. +6 −6 ...google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java
  76. +25 −25 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpec.java
  77. +6 −6 ...ogle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpecOrBuilder.java
  78. +130 −143 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpec.java
  79. +40 −44 ...e-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOrBuilder.java
  80. +19 −26 ...ogle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequest.java
  81. +5 −7 ...d-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequestOrBuilder.java
  82. +7 −14 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequest.java
  83. +2 −4 ...-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java
  84. +7 −7 ...oogle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequest.java
  85. +2 −2 ...ud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java
  86. +7 −14 ...gle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequest.java
  87. +2 −4 ...-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java
  88. +7 −7 ...google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequest.java
  89. +2 −2 ...oud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java
  90. +24 −24 ...e-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequest.java
  91. +6 −6 ...atacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequestOrBuilder.java
  92. +23 −23 ...-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponse.java
  93. +5 −5 ...tacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponseOrBuilder.java
  94. +23 −23 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSource.java
  95. +5 −5 ...gle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.java
  96. +1 −2 ...o-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/IntegratedSystem.java
  97. +72 −79 ...google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequest.java
  98. +19 −21 ...oud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequestOrBuilder.java
  99. +14 −14 ...oogle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponse.java
  100. +4 −4 ...ud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponseOrBuilder.java
  101. +40 −43 ...le-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequest.java
  102. +11 −12 ...datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequestOrBuilder.java
  103. +37 −37 ...e-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponse.java
  104. +9 −9 ...atacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponseOrBuilder.java
  105. +29 −18 ...gle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequest.java
  106. +8 −5 ...-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequestOrBuilder.java
  107. +30 −30 ...le-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponse.java
  108. +7 −7 ...datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponseOrBuilder.java
  109. +46 −60 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequest.java
  110. +13 −17 ...-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequestOrBuilder.java
  111. +14 −14 ...o-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponse.java
  112. +4 −4 ...cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponseOrBuilder.java
  113. +29 −22 ...gle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequest.java
  114. +8 −6 ...-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java
  115. +7 −7 ...le-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponse.java
  116. +2 −2 ...datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponseOrBuilder.java
  117. +126 −126 ...google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java
  118. +42 −42 ...oud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java
  119. +118 −134 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java
  120. +66 −46 ...acatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java
  121. +32 −36 ...google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java
  122. +7 −14 ...alog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.java
  123. +2 −4 ...rc/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java
  124. +7 −14 ...d-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java
  125. +2 −4 ...alog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java
  126. +960 −0 ...le-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequest.java
  127. +95 −0 ...datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java
  128. +3,492 −0 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpec.java
  129. +223 −0 ...ogle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpecOrBuilder.java
  130. +2 −2 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Schema.java
  131. +616 −495 ...ogle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java
  132. +54 −56 ...d-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java
  133. +79 −59 ...gle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponse.java
  134. +24 −18 ...-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponseOrBuilder.java
  135. +197 −199 ...oogle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java
  136. +56 −57 ...ud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java
  137. +1 −1 ...o-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchResultType.java
  138. +39 −32 ...oogle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTag.java
  139. +10 −8 ...ud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTagOrBuilder.java
  140. +20 −18 ...google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomy.java
  141. +4 −4 ...oud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomyOrBuilder.java
  142. +110 −50 ...o-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestamps.java
  143. +27 −12 ...cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestampsOrBuilder.java
  144. +30 −30 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpec.java
  145. +8 −8 ...google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOrBuilder.java
  146. +74 −70 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java
  147. +345 −81 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java
  148. +67 −21 ...-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java
  149. +26 −23 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java
  150. +270 −85 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplate.java
  151. +34 −30 ...o-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateField.java
  152. +9 −8 ...cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldOrBuilder.java
  153. +70 −29 ...ogle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateOrBuilder.java
  154. +39 −37 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java
  155. +96 −87 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java
  156. +24 −22 ...-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyOrBuilder.java
  157. +12 −12 ...e-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequest.java
  158. +3 −3 ...atacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java
  159. +216 −216 ...google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequest.java
  160. +54 −54 ...oud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequestOrBuilder.java
  161. +84 −108 ...le-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequest.java
  162. +21 −27 ...datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequestOrBuilder.java
  163. +43 −50 ...d-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequest.java
  164. +11 −13 ...alog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequestOrBuilder.java
  165. +24 −24 ...-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java
  166. +6 −6 ...tacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java
  167. +72 −72 ...gle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequest.java
  168. +18 −18 ...-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequestOrBuilder.java
  169. +108 −0 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java
  170. +1,115 −0 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignal.java
  171. +127 −0 ...ogle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.java
  172. +837 −0 proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.java
  173. +77 −0 ...oogle-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStatsOrBuilder.java
  174. +82 −0 proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/bigquery.proto
  175. +1 −2 proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/common.proto
  176. +6 −5 proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/data_source.proto
  177. +545 −396 proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto
  178. +16 −15 proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/gcs_fileset_spec.proto
  179. +102 −85 proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto
  180. +72 −35 ...oud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanagerserialization.proto
  181. +3 −3 proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/schema.proto
  182. +45 −31 proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/search.proto
  183. +23 −16 proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/table_spec.proto
  184. +101 −53 proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/tags.proto
  185. +12 −5 proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/timestamps.proto
  186. +65 −0 proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/usage.proto
  187. +24 −4 synth.metadata

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -27,22 +27,23 @@

// AUTO-GENERATED DOCUMENTATION AND CLASS.
/**
* Service Description: Policy Tag Manager serialization API service allows clients to manipulate
* their policy tags and taxonomies in serialized format, where taxonomy is a hierarchical group of
* policy tags.
* Service Description: Policy Tag Manager Serialization API service allows you to manipulate your
* policy tags and taxonomies in a serialized format.
*
* <p>Taxonomy is a hierarchical group of policy tags.
*
* <p>This class provides the ability to make remote calls to the backing service through method
* calls that map to API methods. Sample code to get started:
*
* <pre>{@code
* try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
* PolicyTagManagerSerializationClient.create()) {
* ImportTaxonomiesRequest request =
* ImportTaxonomiesRequest.newBuilder()
* .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* ReplaceTaxonomyRequest request =
* ReplaceTaxonomyRequest.newBuilder()
* .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .setSerializedTaxonomy(SerializedTaxonomy.newBuilder().build())
* .build();
* ImportTaxonomiesResponse response =
* policyTagManagerSerializationClient.importTaxonomies(request);
* Taxonomy response = policyTagManagerSerializationClient.replaceTaxonomy(request);
* }
* }</pre>
*
@@ -154,14 +155,82 @@ public PolicyTagManagerSerializationStub getStub() {

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates new taxonomies (including their policy tags) by importing from inlined source or
* cross-regional source. New taxonomies will be created in a given parent project.
* Replaces (updates) a taxonomy and all its policy tags.
*
* <p>The taxonomy and its entire hierarchy of policy tags must be represented literally by
* `SerializedTaxonomy` and the nested `SerializedPolicyTag` messages.
*
* <p>This operation automatically does the following:
*
* <p>- Deletes the existing policy tags that are missing from the `SerializedPolicyTag`. -
* Creates policy tags that don't have resource names. They are considered new. - Updates policy
* tags with valid resources names accordingly.
*
* <p>Sample code:
*
* <pre>{@code
* try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
* PolicyTagManagerSerializationClient.create()) {
* ReplaceTaxonomyRequest request =
* ReplaceTaxonomyRequest.newBuilder()
* .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .setSerializedTaxonomy(SerializedTaxonomy.newBuilder().build())
* .build();
* Taxonomy response = policyTagManagerSerializationClient.replaceTaxonomy(request);
* }
* }</pre>
*
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Taxonomy replaceTaxonomy(ReplaceTaxonomyRequest request) {
return replaceTaxonomyCallable().call(request);
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Replaces (updates) a taxonomy and all its policy tags.
*
* <p>The taxonomy and its entire hierarchy of policy tags must be represented literally by
* `SerializedTaxonomy` and the nested `SerializedPolicyTag` messages.
*
* <p>This operation automatically does the following:
*
* <p>- Deletes the existing policy tags that are missing from the `SerializedPolicyTag`. -
* Creates policy tags that don't have resource names. They are considered new. - Updates policy
* tags with valid resources names accordingly.
*
* <p>Sample code:
*
* <pre>{@code
* try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
* PolicyTagManagerSerializationClient.create()) {
* ReplaceTaxonomyRequest request =
* ReplaceTaxonomyRequest.newBuilder()
* .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .setSerializedTaxonomy(SerializedTaxonomy.newBuilder().build())
* .build();
* ApiFuture<Taxonomy> future =
* policyTagManagerSerializationClient.replaceTaxonomyCallable().futureCall(request);
* // Do something.
* Taxonomy response = future.get();
* }
* }</pre>
*/
public final UnaryCallable<ReplaceTaxonomyRequest, Taxonomy> replaceTaxonomyCallable() {
return stub.replaceTaxonomyCallable();
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates new taxonomies (including their policy tags) in a given project by importing from
* inlined or cross-regional sources.
*
* <p>If using the cross-regional source, a new taxonomy is created by copying from a source in
* another region.
* <p>For a cross-regional source, new taxonomies are created by copying from a source in another
* region.
*
* <p>If using the inlined source, this method provides a way to bulk create taxonomies and policy
* tags using nested proto structure.
* <p>For an inlined source, taxonomies and policy tags are created in bulk using nested protocol
* buffer structures.
*
* <p>Sample code:
*
@@ -186,14 +255,14 @@ public final ImportTaxonomiesResponse importTaxonomies(ImportTaxonomiesRequest r

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates new taxonomies (including their policy tags) by importing from inlined source or
* cross-regional source. New taxonomies will be created in a given parent project.
* Creates new taxonomies (including their policy tags) in a given project by importing from
* inlined or cross-regional sources.
*
* <p>If using the cross-regional source, a new taxonomy is created by copying from a source in
* another region.
* <p>For a cross-regional source, new taxonomies are created by copying from a source in another
* region.
*
* <p>If using the inlined source, this method provides a way to bulk create taxonomies and policy
* tags using nested proto structure.
* <p>For an inlined source, taxonomies and policy tags are created in bulk using nested protocol
* buffer structures.
*
* <p>Sample code:
*
@@ -218,11 +287,11 @@ public final ImportTaxonomiesResponse importTaxonomies(ImportTaxonomiesRequest r

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Exports taxonomies as the requested type and returns the taxonomies including their policy
* tags. The requested taxonomies must belong to one project.
* Exports taxonomies in the requested type and returns them, including their policy tags. The
* requested taxonomies must belong to the same project.
*
* <p>SerializedTaxonomy protos with nested policy tags that are generated by this method can be
* used as input for future ImportTaxonomies calls.
* <p>This method generates `SerializedTaxonomy` protocol buffers with nested policy tags that can
* be used as input for `ImportTaxonomies` calls.
*
* <p>Sample code:
*
@@ -248,11 +317,11 @@ public final ExportTaxonomiesResponse exportTaxonomies(ExportTaxonomiesRequest r

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Exports taxonomies as the requested type and returns the taxonomies including their policy
* tags. The requested taxonomies must belong to one project.
* Exports taxonomies in the requested type and returns them, including their policy tags. The
* requested taxonomies must belong to the same project.
*
* <p>SerializedTaxonomy protos with nested policy tags that are generated by this method can be
* used as input for future ImportTaxonomies calls.
* <p>This method generates `SerializedTaxonomy` protocol buffers with nested policy tags that can
* be used as input for `ImportTaxonomies` calls.
*
* <p>Sample code:
*
@@ -46,16 +46,16 @@
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
* build() is called, the tree of builders is called to create the complete settings object.
*
* <p>For example, to set the total timeout of importTaxonomies to 30 seconds:
* <p>For example, to set the total timeout of replaceTaxonomy to 30 seconds:
*
* <pre>{@code
* PolicyTagManagerSerializationSettings.Builder policyTagManagerSerializationSettingsBuilder =
* PolicyTagManagerSerializationSettings.newBuilder();
* policyTagManagerSerializationSettingsBuilder
* .importTaxonomiesSettings()
* .replaceTaxonomySettings()
* .setRetrySettings(
* policyTagManagerSerializationSettingsBuilder
* .importTaxonomiesSettings()
* .replaceTaxonomySettings()
* .getRetrySettings()
* .toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
@@ -68,6 +68,12 @@
public class PolicyTagManagerSerializationSettings
extends ClientSettings<PolicyTagManagerSerializationSettings> {

/** Returns the object with the settings used for calls to replaceTaxonomy. */
public UnaryCallSettings<ReplaceTaxonomyRequest, Taxonomy> replaceTaxonomySettings() {
return ((PolicyTagManagerSerializationStubSettings) getStubSettings())
.replaceTaxonomySettings();
}

/** Returns the object with the settings used for calls to importTaxonomies. */
public UnaryCallSettings<ImportTaxonomiesRequest, ImportTaxonomiesResponse>
importTaxonomiesSettings() {
@@ -181,6 +187,11 @@ public Builder applyToAllUnaryMethods(
return this;
}

/** Returns the builder for the settings used for calls to replaceTaxonomy. */
public UnaryCallSettings.Builder<ReplaceTaxonomyRequest, Taxonomy> replaceTaxonomySettings() {
return getStubSettingsBuilder().replaceTaxonomySettings();
}

/** Returns the builder for the settings used for calls to importTaxonomies. */
public UnaryCallSettings.Builder<ImportTaxonomiesRequest, ImportTaxonomiesResponse>
importTaxonomiesSettings() {
@@ -156,6 +156,9 @@
},
"ImportTaxonomies": {
"methods": ["importTaxonomies", "importTaxonomiesCallable"]
},
"ReplaceTaxonomy": {
"methods": ["replaceTaxonomy", "replaceTaxonomyCallable"]
}
}
}
@@ -19,8 +19,8 @@
*
* <p>======================= DataCatalogClient =======================
*
* <p>Service Description: Data Catalog API service allows clients to discover, understand, and
* manage their data.
* <p>Service Description: Data Catalog API service allows you to discover, understand, and manage
* your data.
*
* <p>Sample for DataCatalogClient:
*
@@ -35,8 +35,8 @@
*
* <p>======================= PolicyTagManagerClient =======================
*
* <p>Service Description: Policy Tag Manager API service allows clients to manage their policy tags
* and taxonomies.
* <p>Service Description: Policy Tag Manager API service allows you to manage your policy tags and
* taxonomies.
*
* <p>Policy tags are used to tag BigQuery columns and apply additional access control policies. A
* taxonomy is a hierarchical grouping of policy tags that classify data along a common axis.
@@ -53,21 +53,22 @@
*
* <p>======================= PolicyTagManagerSerializationClient =======================
*
* <p>Service Description: Policy Tag Manager serialization API service allows clients to manipulate
* their policy tags and taxonomies in serialized format, where taxonomy is a hierarchical group of
* policy tags.
* <p>Service Description: Policy Tag Manager Serialization API service allows you to manipulate
* your policy tags and taxonomies in a serialized format.
*
* <p>Taxonomy is a hierarchical group of policy tags.
*
* <p>Sample for PolicyTagManagerSerializationClient:
*
* <pre>{@code
* try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
* PolicyTagManagerSerializationClient.create()) {
* ImportTaxonomiesRequest request =
* ImportTaxonomiesRequest.newBuilder()
* .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* ReplaceTaxonomyRequest request =
* ReplaceTaxonomyRequest.newBuilder()
* .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .setSerializedTaxonomy(SerializedTaxonomy.newBuilder().build())
* .build();
* ImportTaxonomiesResponse response =
* policyTagManagerSerializationClient.importTaxonomies(request);
* Taxonomy response = policyTagManagerSerializationClient.replaceTaxonomy(request);
* }
* }</pre>
*/
@@ -27,6 +27,8 @@
import com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse;
import com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest;
import com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse;
import com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest;
import com.google.cloud.datacatalog.v1.Taxonomy;
import com.google.common.collect.ImmutableMap;
import com.google.longrunning.stub.GrpcOperationsStub;
import io.grpc.MethodDescriptor;
@@ -44,6 +46,17 @@
*/
@Generated("by gapic-generator-java")
public class GrpcPolicyTagManagerSerializationStub extends PolicyTagManagerSerializationStub {
private static final MethodDescriptor<ReplaceTaxonomyRequest, Taxonomy>
replaceTaxonomyMethodDescriptor =
MethodDescriptor.<ReplaceTaxonomyRequest, Taxonomy>newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
.setFullMethodName(
"google.cloud.datacatalog.v1.PolicyTagManagerSerialization/ReplaceTaxonomy")
.setRequestMarshaller(
ProtoUtils.marshaller(ReplaceTaxonomyRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Taxonomy.getDefaultInstance()))
.build();

private static final MethodDescriptor<ImportTaxonomiesRequest, ImportTaxonomiesResponse>
importTaxonomiesMethodDescriptor =
MethodDescriptor.<ImportTaxonomiesRequest, ImportTaxonomiesResponse>newBuilder()
@@ -68,6 +81,7 @@ public class GrpcPolicyTagManagerSerializationStub extends PolicyTagManagerSeria
ProtoUtils.marshaller(ExportTaxonomiesResponse.getDefaultInstance()))
.build();

private final UnaryCallable<ReplaceTaxonomyRequest, Taxonomy> replaceTaxonomyCallable;
private final UnaryCallable<ImportTaxonomiesRequest, ImportTaxonomiesResponse>
importTaxonomiesCallable;
private final UnaryCallable<ExportTaxonomiesRequest, ExportTaxonomiesResponse>
@@ -120,6 +134,19 @@ protected GrpcPolicyTagManagerSerializationStub(
this.callableFactory = callableFactory;
this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);

GrpcCallSettings<ReplaceTaxonomyRequest, Taxonomy> replaceTaxonomyTransportSettings =
GrpcCallSettings.<ReplaceTaxonomyRequest, Taxonomy>newBuilder()
.setMethodDescriptor(replaceTaxonomyMethodDescriptor)
.setParamsExtractor(
new RequestParamsExtractor<ReplaceTaxonomyRequest>() {
@Override
public Map<String, String> extract(ReplaceTaxonomyRequest request) {
ImmutableMap.Builder<String, String> params = ImmutableMap.builder();
params.put("name", String.valueOf(request.getName()));
return params.build();
}
})
.build();
GrpcCallSettings<ImportTaxonomiesRequest, ImportTaxonomiesResponse>
importTaxonomiesTransportSettings =
GrpcCallSettings.<ImportTaxonomiesRequest, ImportTaxonomiesResponse>newBuilder()
@@ -149,6 +176,9 @@ public Map<String, String> extract(ExportTaxonomiesRequest request) {
})
.build();

this.replaceTaxonomyCallable =
callableFactory.createUnaryCallable(
replaceTaxonomyTransportSettings, settings.replaceTaxonomySettings(), clientContext);
this.importTaxonomiesCallable =
callableFactory.createUnaryCallable(
importTaxonomiesTransportSettings, settings.importTaxonomiesSettings(), clientContext);
@@ -164,6 +194,11 @@ public GrpcOperationsStub getOperationsStub() {
return operationsStub;
}

@Override
public UnaryCallable<ReplaceTaxonomyRequest, Taxonomy> replaceTaxonomyCallable() {
return replaceTaxonomyCallable;
}

@Override
public UnaryCallable<ImportTaxonomiesRequest, ImportTaxonomiesResponse>
importTaxonomiesCallable() {
@@ -22,6 +22,8 @@
import com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse;
import com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest;
import com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse;
import com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest;
import com.google.cloud.datacatalog.v1.Taxonomy;
import javax.annotation.Generated;

// AUTO-GENERATED DOCUMENTATION AND CLASS.
@@ -33,6 +35,10 @@
@Generated("by gapic-generator-java")
public abstract class PolicyTagManagerSerializationStub implements BackgroundResource {

public UnaryCallable<ReplaceTaxonomyRequest, Taxonomy> replaceTaxonomyCallable() {
throw new UnsupportedOperationException("Not implemented: replaceTaxonomyCallable()");
}

public UnaryCallable<ImportTaxonomiesRequest, ImportTaxonomiesResponse>
importTaxonomiesCallable() {
throw new UnsupportedOperationException("Not implemented: importTaxonomiesCallable()");

0 comments on commit 2e7535b

Please sign in to comment.