google-api-client 0.23.0 → 0.23.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (251) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +114 -0
  3. data/CODE_OF_CONDUCT.md +43 -0
  4. data/MIGRATING.md +1 -5
  5. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1 -1
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/service.rb +3 -3
  10. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  11. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  12. data/generated/google/apis/androidmanagement_v1/classes.rb +7 -3
  13. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  14. data/generated/google/apis/androidpublisher_v2/classes.rb +9 -0
  15. data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
  16. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  17. data/generated/google/apis/androidpublisher_v3/classes.rb +9 -0
  18. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  19. data/generated/google/apis/appengine_v1.rb +1 -1
  20. data/generated/google/apis/appengine_v1/classes.rb +34 -1
  21. data/generated/google/apis/appengine_v1/representations.rb +16 -0
  22. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  23. data/generated/google/apis/appengine_v1beta.rb +1 -1
  24. data/generated/google/apis/appengine_v1beta/classes.rb +67 -3
  25. data/generated/google/apis/appengine_v1beta/representations.rb +32 -0
  26. data/generated/google/apis/appengine_v1beta4.rb +1 -1
  27. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  28. data/generated/google/apis/appsmarket_v2.rb +1 -1
  29. data/generated/google/apis/bigquery_v2.rb +1 -1
  30. data/generated/google/apis/bigquery_v2/classes.rb +6 -4
  31. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  32. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -6
  33. data/generated/google/apis/chat_v1.rb +2 -2
  34. data/generated/google/apis/chat_v1/classes.rb +76 -0
  35. data/generated/google/apis/chat_v1/representations.rb +25 -0
  36. data/generated/google/apis/chat_v1/service.rb +1 -1
  37. data/generated/google/apis/classroom_v1.rb +1 -1
  38. data/generated/google/apis/classroom_v1/classes.rb +1 -1
  39. data/generated/google/apis/classroom_v1/service.rb +12 -12
  40. data/generated/google/apis/cloudbuild_v1.rb +2 -2
  41. data/generated/google/apis/cloudbuild_v1/classes.rb +21 -33
  42. data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
  43. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  44. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  45. data/generated/google/apis/cloudfunctions_v1/classes.rb +31 -0
  46. data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
  47. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  48. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +31 -0
  49. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +3 -0
  50. data/generated/google/apis/cloudiot_v1.rb +1 -1
  51. data/generated/google/apis/cloudiot_v1/service.rb +0 -331
  52. data/generated/google/apis/cloudkms_v1.rb +1 -1
  53. data/generated/google/apis/cloudkms_v1/classes.rb +0 -1
  54. data/generated/google/apis/cloudkms_v1/service.rb +1 -1
  55. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  56. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +66 -22
  57. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  58. data/generated/google/apis/cloudresourcemanager_v1/service.rb +40 -0
  59. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  60. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  61. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -3
  62. data/generated/google/apis/cloudresourcemanager_v2/service.rb +38 -6
  63. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  64. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +9 -5
  65. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +51 -19
  66. data/generated/google/apis/cloudshell_v1.rb +1 -1
  67. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  68. data/generated/google/apis/cloudtasks_v2beta2.rb +2 -3
  69. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +9 -12
  70. data/generated/google/apis/cloudtasks_v2beta2/service.rb +4 -11
  71. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  72. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  73. data/generated/google/apis/composer_v1beta1.rb +1 -1
  74. data/generated/google/apis/composer_v1beta1/classes.rb +1 -1
  75. data/generated/google/apis/compute_alpha.rb +1 -1
  76. data/generated/google/apis/compute_alpha/classes.rb +49 -18
  77. data/generated/google/apis/compute_alpha/representations.rb +6 -1
  78. data/generated/google/apis/compute_beta.rb +1 -1
  79. data/generated/google/apis/compute_beta/classes.rb +1114 -103
  80. data/generated/google/apis/compute_beta/representations.rb +431 -0
  81. data/generated/google/apis/compute_beta/service.rb +605 -0
  82. data/generated/google/apis/compute_v1.rb +1 -1
  83. data/generated/google/apis/compute_v1/classes.rb +95 -1
  84. data/generated/google/apis/compute_v1/representations.rb +33 -0
  85. data/generated/google/apis/container_v1.rb +1 -1
  86. data/generated/google/apis/container_v1/classes.rb +1 -1
  87. data/generated/google/apis/container_v1/service.rb +1 -1
  88. data/generated/google/apis/container_v1beta1.rb +1 -1
  89. data/generated/google/apis/container_v1beta1/classes.rb +348 -2
  90. data/generated/google/apis/container_v1beta1/representations.rb +121 -0
  91. data/generated/google/apis/container_v1beta1/service.rb +114 -2
  92. data/generated/google/apis/content_v2.rb +1 -1
  93. data/generated/google/apis/content_v2/classes.rb +147 -0
  94. data/generated/google/apis/content_v2/representations.rb +65 -0
  95. data/generated/google/apis/content_v2/service.rb +81 -1
  96. data/generated/google/apis/content_v2sandbox.rb +1 -1
  97. data/generated/google/apis/content_v2sandbox/classes.rb +7 -0
  98. data/generated/google/apis/content_v2sandbox/representations.rb +1 -0
  99. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  100. data/generated/google/apis/dataflow_v1b3/classes.rb +262 -0
  101. data/generated/google/apis/dataflow_v1b3/representations.rb +130 -0
  102. data/generated/google/apis/dataproc_v1.rb +1 -1
  103. data/generated/google/apis/dataproc_v1/classes.rb +164 -1
  104. data/generated/google/apis/dataproc_v1/representations.rb +70 -0
  105. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  106. data/generated/google/apis/dataproc_v1beta2/classes.rb +28 -2
  107. data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
  108. data/generated/google/apis/datastore_v1.rb +1 -1
  109. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  110. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  111. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  112. data/generated/google/apis/deploymentmanager_alpha/service.rb +1 -1
  113. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  114. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1 -1
  115. data/generated/google/apis/dialogflow_v2.rb +1 -1
  116. data/generated/google/apis/dialogflow_v2/classes.rb +40 -21
  117. data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
  118. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  119. data/generated/google/apis/dialogflow_v2beta1/classes.rb +43 -28
  120. data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
  121. data/generated/google/apis/dialogflow_v2beta1/service.rb +74 -110
  122. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  123. data/generated/google/apis/dlp_v2.rb +1 -1
  124. data/generated/google/apis/dlp_v2/classes.rb +70 -26
  125. data/generated/google/apis/dlp_v2/representations.rb +3 -0
  126. data/generated/google/apis/dlp_v2/service.rb +78 -17
  127. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  128. data/generated/google/apis/firebaserules_v1.rb +1 -1
  129. data/generated/google/apis/firebaserules_v1/classes.rb +33 -0
  130. data/generated/google/apis/firebaserules_v1/representations.rb +17 -0
  131. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  132. data/generated/google/apis/firestore_v1beta1/classes.rb +137 -125
  133. data/generated/google/apis/firestore_v1beta1/representations.rb +39 -35
  134. data/generated/google/apis/firestore_v1beta1/service.rb +16 -16
  135. data/generated/google/apis/genomics_v1.rb +1 -1
  136. data/generated/google/apis/genomics_v1/classes.rb +0 -1
  137. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  138. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  139. data/generated/google/apis/genomics_v2alpha1/classes.rb +17 -3
  140. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  141. data/generated/google/apis/iam_v1.rb +1 -1
  142. data/generated/google/apis/{sqladmin_v1beta3.rb → iamcredentials_v1.rb} +9 -13
  143. data/generated/google/apis/iamcredentials_v1/classes.rb +272 -0
  144. data/generated/google/apis/iamcredentials_v1/representations.rb +139 -0
  145. data/generated/google/apis/iamcredentials_v1/service.rb +207 -0
  146. data/generated/google/apis/indexing_v3.rb +32 -0
  147. data/generated/google/apis/indexing_v3/classes.rb +115 -0
  148. data/generated/google/apis/indexing_v3/representations.rb +72 -0
  149. data/generated/google/apis/indexing_v3/service.rb +122 -0
  150. data/generated/google/apis/jobs_v2.rb +1 -1
  151. data/generated/google/apis/jobs_v2/classes.rb +73 -72
  152. data/generated/google/apis/jobs_v2/representations.rb +0 -1
  153. data/generated/google/apis/jobs_v2/service.rb +8 -7
  154. data/generated/google/apis/language_v1.rb +1 -1
  155. data/generated/google/apis/language_v1beta1.rb +1 -1
  156. data/generated/google/apis/language_v1beta2.rb +1 -1
  157. data/generated/google/apis/logging_v2.rb +1 -1
  158. data/generated/google/apis/logging_v2/classes.rb +42 -0
  159. data/generated/google/apis/logging_v2/representations.rb +17 -0
  160. data/generated/google/apis/logging_v2beta1.rb +1 -1
  161. data/generated/google/apis/logging_v2beta1/classes.rb +42 -0
  162. data/generated/google/apis/logging_v2beta1/representations.rb +17 -0
  163. data/generated/google/apis/manufacturers_v1.rb +1 -1
  164. data/generated/google/apis/ml_v1.rb +1 -1
  165. data/generated/google/apis/ml_v1/classes.rb +17 -0
  166. data/generated/google/apis/ml_v1/representations.rb +1 -0
  167. data/generated/google/apis/ml_v1/service.rb +4 -2
  168. data/generated/google/apis/monitoring_v3.rb +1 -1
  169. data/generated/google/apis/monitoring_v3/classes.rb +91 -7
  170. data/generated/google/apis/monitoring_v3/representations.rb +17 -0
  171. data/generated/google/apis/oslogin_v1.rb +1 -1
  172. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  173. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  174. data/generated/google/apis/pagespeedonline_v4.rb +1 -1
  175. data/generated/google/apis/partners_v2.rb +1 -1
  176. data/generated/google/apis/people_v1.rb +1 -1
  177. data/generated/google/apis/poly_v1.rb +1 -1
  178. data/generated/google/apis/poly_v1/classes.rb +12 -2
  179. data/generated/google/apis/poly_v1/representations.rb +1 -0
  180. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  181. data/generated/google/apis/pubsub_v1.rb +1 -1
  182. data/generated/google/apis/pubsub_v1/classes.rb +57 -4
  183. data/generated/google/apis/pubsub_v1/representations.rb +19 -0
  184. data/generated/google/apis/pubsub_v1/service.rb +40 -2
  185. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  186. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  187. data/generated/google/apis/redis_v1beta1.rb +1 -1
  188. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  189. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  190. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  191. data/generated/google/apis/script_v1.rb +4 -1
  192. data/generated/google/apis/searchconsole_v1.rb +1 -1
  193. data/generated/google/apis/servicebroker_v1.rb +1 -1
  194. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  195. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  196. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -4
  197. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +42 -0
  198. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +17 -0
  199. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  200. data/generated/google/apis/servicecontrol_v1/classes.rb +284 -0
  201. data/generated/google/apis/servicecontrol_v1/representations.rb +78 -0
  202. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  203. data/generated/google/apis/servicemanagement_v1/classes.rb +42 -0
  204. data/generated/google/apis/servicemanagement_v1/representations.rb +17 -0
  205. data/generated/google/apis/{replicapool_v1beta2.rb → serviceusage_v1.rb} +13 -15
  206. data/generated/google/apis/serviceusage_v1/classes.rb +4020 -0
  207. data/generated/google/apis/serviceusage_v1/representations.rb +1239 -0
  208. data/generated/google/apis/serviceusage_v1/service.rb +423 -0
  209. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  210. data/generated/google/apis/serviceusage_v1beta1/classes.rb +102 -1
  211. data/generated/google/apis/serviceusage_v1beta1/representations.rb +55 -0
  212. data/generated/google/apis/serviceuser_v1.rb +1 -1
  213. data/generated/google/apis/serviceuser_v1/classes.rb +42 -0
  214. data/generated/google/apis/serviceuser_v1/representations.rb +17 -0
  215. data/generated/google/apis/serviceuser_v1/service.rb +2 -2
  216. data/generated/google/apis/sheets_v4.rb +1 -1
  217. data/generated/google/apis/slides_v1.rb +1 -1
  218. data/generated/google/apis/slides_v1/classes.rb +9 -3
  219. data/generated/google/apis/spanner_v1.rb +1 -1
  220. data/generated/google/apis/speech_v1.rb +2 -2
  221. data/generated/google/apis/speech_v1/service.rb +1 -1
  222. data/generated/google/apis/speech_v1beta1.rb +2 -2
  223. data/generated/google/apis/speech_v1beta1/service.rb +1 -1
  224. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  225. data/generated/google/apis/testing_v1.rb +1 -1
  226. data/generated/google/apis/testing_v1/classes.rb +1 -1
  227. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  228. data/generated/google/apis/texttospeech_v1beta1/classes.rb +8 -0
  229. data/generated/google/apis/texttospeech_v1beta1/representations.rb +1 -0
  230. data/generated/google/apis/videointelligence_v1.rb +1 -1
  231. data/generated/google/apis/videointelligence_v1/classes.rb +28 -28
  232. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  233. data/generated/google/apis/videointelligence_v1beta2/classes.rb +28 -28
  234. data/generated/google/apis/vision_v1.rb +1 -1
  235. data/generated/google/apis/vision_v1/classes.rb +4 -2
  236. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  237. data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -3
  238. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  239. data/generated/google/apis/vision_v1p2beta1/classes.rb +4 -2
  240. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  241. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  242. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  243. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  244. data/lib/google/apis/version.rb +1 -1
  245. metadata +15 -10
  246. data/generated/google/apis/replicapool_v1beta2/classes.rb +0 -633
  247. data/generated/google/apis/replicapool_v1beta2/representations.rb +0 -264
  248. data/generated/google/apis/replicapool_v1beta2/service.rb +0 -583
  249. data/generated/google/apis/sqladmin_v1beta3/classes.rb +0 -1632
  250. data/generated/google/apis/sqladmin_v1beta3/representations.rb +0 -733
  251. data/generated/google/apis/sqladmin_v1beta3/service.rb +0 -995
@@ -955,6 +955,7 @@ module Google
955
955
  class Representation < Google::Apis::Core::JsonRepresentation
956
956
  hash :payload, as: 'payload'
957
957
  property :source, as: 'source'
958
+ property :version, as: 'version'
958
959
  end
959
960
  end
960
961
 
@@ -1523,6 +1524,7 @@ module Google
1523
1524
  class Representation < Google::Apis::Core::JsonRepresentation
1524
1525
  hash :payload, as: 'payload'
1525
1526
  property :source, as: 'source'
1527
+ property :version, as: 'version'
1526
1528
  end
1527
1529
  end
1528
1530
 
@@ -659,10 +659,8 @@ module Google
659
659
  # Required. The name of the session to delete all contexts from. Format:
660
660
  # `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
661
661
  # ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
662
- # ID>`. Note: Environments and users are under construction and will be
663
- # available soon. If <Environment ID> is not specified we assume default
664
- # 'draft' environment. If <User ID> is not specified, we assume default
665
- # '-' user.
662
+ # ID>`. If `Environment ID` is not specified we assume default 'draft'
663
+ # environment. If `User ID` is not specified, we assume default '-' user.
666
664
  # @param [String] fields
667
665
  # Selector specifying which fields to include in a partial response.
668
666
  # @param [String] quota_user
@@ -698,13 +696,12 @@ module Google
698
696
  # Required. The name of the session this query is sent to. Format:
699
697
  # `projects/<Project ID>/agent/sessions/<Session ID>`, or
700
698
  # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
701
- # ID>/sessions/<Session ID>`. Note: Environments and users are under
702
- # construction and will be available soon. If <Environment ID> is not
703
- # specified, we assume default 'draft' environment. If <User ID> is not
704
- # specified, we are using "-". It’s up to the API caller to choose an
705
- # appropriate <Session ID>. and <User Id>. They can be a random numbers or
706
- # some type of user and session identifiers (preferably hashed). The length
707
- # of the <Session ID> and <User ID> must not exceed 36 characters.
699
+ # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
700
+ # default 'draft' environment. If `User ID` is not specified, we are using
701
+ # "-". It’s up to the API caller to choose an appropriate `Session ID` and
702
+ # `User Id`. They can be a random numbers or some type of user and session
703
+ # identifiers (preferably hashed). The length of the `Session ID` and
704
+ # `User ID` must not exceed 36 characters.
708
705
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
709
706
  # @param [String] fields
710
707
  # Selector specifying which fields to include in a partial response.
@@ -740,10 +737,9 @@ module Google
740
737
  # Required. The session to create a context for.
741
738
  # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
742
739
  # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
743
- # ID>/sessions/<Session ID>`. Note: Environments and users are under
744
- # construction and will be available soon. If <Environment ID> is not
745
- # specified, we assume default 'draft' environment. If <User ID> is not
746
- # specified, we assume default '-' user.
740
+ # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
741
+ # default 'draft' environment. If `User ID` is not specified, we assume
742
+ # default '-' user.
747
743
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
748
744
  # @param [String] fields
749
745
  # Selector specifying which fields to include in a partial response.
@@ -779,11 +775,9 @@ module Google
779
775
  # Required. The name of the context to delete. Format:
780
776
  # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
781
777
  # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
782
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. Note: Environments and
783
- # users are under construction and will be available soon. If <Environment
784
- # ID> is not specified, we assume default 'draft' environment. If <User ID>
785
- # is not specified, we assume default
786
- # '-' user.
778
+ # ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
779
+ # not specified, we assume default 'draft' environment. If `User ID` is not
780
+ # specified, we assume default '-' user.
787
781
  # @param [String] fields
788
782
  # Selector specifying which fields to include in a partial response.
789
783
  # @param [String] quota_user
@@ -816,10 +810,9 @@ module Google
816
810
  # Required. The name of the context. Format:
817
811
  # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
818
812
  # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
819
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. Note: Environments and
820
- # users are under construction and will be available soon. If <Environment
821
- # ID> is not specified, we assume default 'draft' environment. If <User ID>
822
- # is not specified, we assume default '-' user.
813
+ # ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
814
+ # not specified, we assume default 'draft' environment. If `User ID` is not
815
+ # specified, we assume default '-' user.
823
816
  # @param [String] fields
824
817
  # Selector specifying which fields to include in a partial response.
825
818
  # @param [String] quota_user
@@ -852,10 +845,9 @@ module Google
852
845
  # Required. The session to list all contexts from.
853
846
  # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
854
847
  # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
855
- # ID>/sessions/<Session ID>`. Note: Environments and users are under
856
- # construction and will be available soon. If <Environment ID> is not
857
- # specified, we assume default 'draft' environment. If <User ID> is not
858
- # specified, we assume default '-' user.
848
+ # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
849
+ # default 'draft' environment. If `User ID` is not specified, we assume
850
+ # default '-' user.
859
851
  # @param [Fixnum] page_size
860
852
  # Optional. The maximum number of items to return in a single page. By
861
853
  # default 100 and at most 1000.
@@ -894,12 +886,10 @@ module Google
894
886
  # @param [String] name
895
887
  # Required. The unique identifier of the context. Format:
896
888
  # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
897
- # or
898
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
899
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. Note: Environments and
900
- # users are under construction and will be available soon. The Context ID is
901
- # always converted to lowercase. If <Environment ID> is not specified, we
902
- # assume default 'draft' environment. If <User ID> is not specified, we
889
+ # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
890
+ # ID>/sessions/<Session ID>/contexts/<Context ID>`. The `Context ID` is
891
+ # always converted to lowercase. If `Environment ID` is not specified, we
892
+ # assume default 'draft' environment. If `User ID` is not specified, we
903
893
  # assume default '-' user.
904
894
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
905
895
  # @param [String] update_mask
@@ -939,10 +929,9 @@ module Google
939
929
  # Required. The session to create a session entity type for.
940
930
  # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
941
931
  # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
942
- # sessions/<Session ID>`.
943
- # Note: Environments and users are under construction and will be available
944
- # soon. If <Environment ID> is not specified, we assume default 'draft'
945
- # environment. If <User ID> is not specified, we assume default '-' user.
932
+ # sessions/<Session ID>`. If `Environment ID` is not specified, we assume
933
+ # default 'draft' environment. If `User ID` is not specified, we assume
934
+ # default '-' user.
946
935
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
947
936
  # @param [String] fields
948
937
  # Selector specifying which fields to include in a partial response.
@@ -979,10 +968,8 @@ module Google
979
968
  # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
980
969
  # Display Name>` or `projects/<Project ID>/agent/environments/<Environment
981
970
  # ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
982
- # Name>`.
983
- # Note: Environments and users are under construction and will be available
984
- # soon. If <Environment ID> is not specified, we assume default 'draft'
985
- # environment. If <User ID> is not specified, we assume default '-' user.
971
+ # Name>`. If `Environment ID` is not specified, we assume default 'draft'
972
+ # environment. If `User ID` is not specified, we assume default '-' user.
986
973
  # @param [String] fields
987
974
  # Selector specifying which fields to include in a partial response.
988
975
  # @param [String] quota_user
@@ -1015,11 +1002,9 @@ module Google
1015
1002
  # Required. The name of the session entity type. Format:
1016
1003
  # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
1017
1004
  # Display Name>` or `projects/<Project ID>/agent/environments/<Environment
1018
- # ID>/users/<User ID>/sessions/<Session ID>/
1019
- # entityTypes/<Entity Type Display Name>`.
1020
- # Note: Environments and users re under construction and will be available
1021
- # soon. If <Environment ID> is not specified, we assume default 'draft'
1022
- # environment. If <User ID> is not specified, we assume default '-' user.
1005
+ # ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
1006
+ # Name>`. If `Environment ID` is not specified, we assume default 'draft'
1007
+ # environment. If `User ID` is not specified, we assume default '-' user.
1023
1008
  # @param [String] fields
1024
1009
  # Selector specifying which fields to include in a partial response.
1025
1010
  # @param [String] quota_user
@@ -1053,9 +1038,8 @@ module Google
1053
1038
  # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
1054
1039
  # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
1055
1040
  # sessions/<Session ID>`.
1056
- # Note: Environments and users are under construction and will be available
1057
- # soon. If <Environment ID> is not specified, we assume default 'draft'
1058
- # environment. If <User ID> is not specified, we assume default '-' user.
1041
+ # If `Environment ID` is not specified, we assume default 'draft'
1042
+ # environment. If `User ID` is not specified, we assume default '-' user.
1059
1043
  # @param [Fixnum] page_size
1060
1044
  # Optional. The maximum number of items to return in a single page. By
1061
1045
  # default 100 and at most 1000.
@@ -1096,11 +1080,9 @@ module Google
1096
1080
  # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
1097
1081
  # Display Name>`, or
1098
1082
  # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
1099
- # ID>/sessions
1100
- # /<Session ID>/entityTypes/<Entity Type Display Name>`.
1101
- # Note: Environments and users are under construction and will be available
1102
- # soon. If <Environment ID> is not specified, we assume default 'draft'
1103
- # environment. If <User ID> is not specified, we assume default '-' user.
1083
+ # ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`.
1084
+ # If `Environment ID` is not specified, we assume default 'draft'
1085
+ # environment. If `User ID` is not specified, we assume default '-' user.
1104
1086
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
1105
1087
  # @param [String] update_mask
1106
1088
  # Optional. The mask to control which fields get updated.
@@ -1422,10 +1404,8 @@ module Google
1422
1404
  # Required. The name of the session to delete all contexts from. Format:
1423
1405
  # `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
1424
1406
  # ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
1425
- # ID>`. Note: Environments and users are under construction and will be
1426
- # available soon. If <Environment ID> is not specified we assume default
1427
- # 'draft' environment. If <User ID> is not specified, we assume default
1428
- # '-' user.
1407
+ # ID>`. If `Environment ID` is not specified we assume default 'draft'
1408
+ # environment. If `User ID` is not specified, we assume default '-' user.
1429
1409
  # @param [String] fields
1430
1410
  # Selector specifying which fields to include in a partial response.
1431
1411
  # @param [String] quota_user
@@ -1461,13 +1441,12 @@ module Google
1461
1441
  # Required. The name of the session this query is sent to. Format:
1462
1442
  # `projects/<Project ID>/agent/sessions/<Session ID>`, or
1463
1443
  # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
1464
- # ID>/sessions/<Session ID>`. Note: Environments and users are under
1465
- # construction and will be available soon. If <Environment ID> is not
1466
- # specified, we assume default 'draft' environment. If <User ID> is not
1467
- # specified, we are using "-". It’s up to the API caller to choose an
1468
- # appropriate <Session ID>. and <User Id>. They can be a random numbers or
1469
- # some type of user and session identifiers (preferably hashed). The length
1470
- # of the <Session ID> and <User ID> must not exceed 36 characters.
1444
+ # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
1445
+ # default 'draft' environment. If `User ID` is not specified, we are using
1446
+ # "-". It’s up to the API caller to choose an appropriate `Session ID` and
1447
+ # `User Id`. They can be a random numbers or some type of user and session
1448
+ # identifiers (preferably hashed). The length of the `Session ID` and
1449
+ # `User ID` must not exceed 36 characters.
1471
1450
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
1472
1451
  # @param [String] fields
1473
1452
  # Selector specifying which fields to include in a partial response.
@@ -1503,10 +1482,9 @@ module Google
1503
1482
  # Required. The session to create a context for.
1504
1483
  # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
1505
1484
  # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
1506
- # ID>/sessions/<Session ID>`. Note: Environments and users are under
1507
- # construction and will be available soon. If <Environment ID> is not
1508
- # specified, we assume default 'draft' environment. If <User ID> is not
1509
- # specified, we assume default '-' user.
1485
+ # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
1486
+ # default 'draft' environment. If `User ID` is not specified, we assume
1487
+ # default '-' user.
1510
1488
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
1511
1489
  # @param [String] fields
1512
1490
  # Selector specifying which fields to include in a partial response.
@@ -1542,11 +1520,9 @@ module Google
1542
1520
  # Required. The name of the context to delete. Format:
1543
1521
  # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
1544
1522
  # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
1545
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. Note: Environments and
1546
- # users are under construction and will be available soon. If <Environment
1547
- # ID> is not specified, we assume default 'draft' environment. If <User ID>
1548
- # is not specified, we assume default
1549
- # '-' user.
1523
+ # ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
1524
+ # not specified, we assume default 'draft' environment. If `User ID` is not
1525
+ # specified, we assume default '-' user.
1550
1526
  # @param [String] fields
1551
1527
  # Selector specifying which fields to include in a partial response.
1552
1528
  # @param [String] quota_user
@@ -1579,10 +1555,9 @@ module Google
1579
1555
  # Required. The name of the context. Format:
1580
1556
  # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
1581
1557
  # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
1582
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. Note: Environments and
1583
- # users are under construction and will be available soon. If <Environment
1584
- # ID> is not specified, we assume default 'draft' environment. If <User ID>
1585
- # is not specified, we assume default '-' user.
1558
+ # ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
1559
+ # not specified, we assume default 'draft' environment. If `User ID` is not
1560
+ # specified, we assume default '-' user.
1586
1561
  # @param [String] fields
1587
1562
  # Selector specifying which fields to include in a partial response.
1588
1563
  # @param [String] quota_user
@@ -1615,10 +1590,9 @@ module Google
1615
1590
  # Required. The session to list all contexts from.
1616
1591
  # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
1617
1592
  # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
1618
- # ID>/sessions/<Session ID>`. Note: Environments and users are under
1619
- # construction and will be available soon. If <Environment ID> is not
1620
- # specified, we assume default 'draft' environment. If <User ID> is not
1621
- # specified, we assume default '-' user.
1593
+ # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
1594
+ # default 'draft' environment. If `User ID` is not specified, we assume
1595
+ # default '-' user.
1622
1596
  # @param [Fixnum] page_size
1623
1597
  # Optional. The maximum number of items to return in a single page. By
1624
1598
  # default 100 and at most 1000.
@@ -1657,12 +1631,10 @@ module Google
1657
1631
  # @param [String] name
1658
1632
  # Required. The unique identifier of the context. Format:
1659
1633
  # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
1660
- # or
1661
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
1662
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. Note: Environments and
1663
- # users are under construction and will be available soon. The Context ID is
1664
- # always converted to lowercase. If <Environment ID> is not specified, we
1665
- # assume default 'draft' environment. If <User ID> is not specified, we
1634
+ # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
1635
+ # ID>/sessions/<Session ID>/contexts/<Context ID>`. The `Context ID` is
1636
+ # always converted to lowercase. If `Environment ID` is not specified, we
1637
+ # assume default 'draft' environment. If `User ID` is not specified, we
1666
1638
  # assume default '-' user.
1667
1639
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
1668
1640
  # @param [String] update_mask
@@ -1702,10 +1674,9 @@ module Google
1702
1674
  # Required. The session to create a session entity type for.
1703
1675
  # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
1704
1676
  # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
1705
- # sessions/<Session ID>`.
1706
- # Note: Environments and users are under construction and will be available
1707
- # soon. If <Environment ID> is not specified, we assume default 'draft'
1708
- # environment. If <User ID> is not specified, we assume default '-' user.
1677
+ # sessions/<Session ID>`. If `Environment ID` is not specified, we assume
1678
+ # default 'draft' environment. If `User ID` is not specified, we assume
1679
+ # default '-' user.
1709
1680
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
1710
1681
  # @param [String] fields
1711
1682
  # Selector specifying which fields to include in a partial response.
@@ -1742,10 +1713,8 @@ module Google
1742
1713
  # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
1743
1714
  # Display Name>` or `projects/<Project ID>/agent/environments/<Environment
1744
1715
  # ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
1745
- # Name>`.
1746
- # Note: Environments and users are under construction and will be available
1747
- # soon. If <Environment ID> is not specified, we assume default 'draft'
1748
- # environment. If <User ID> is not specified, we assume default '-' user.
1716
+ # Name>`. If `Environment ID` is not specified, we assume default 'draft'
1717
+ # environment. If `User ID` is not specified, we assume default '-' user.
1749
1718
  # @param [String] fields
1750
1719
  # Selector specifying which fields to include in a partial response.
1751
1720
  # @param [String] quota_user
@@ -1778,11 +1747,9 @@ module Google
1778
1747
  # Required. The name of the session entity type. Format:
1779
1748
  # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
1780
1749
  # Display Name>` or `projects/<Project ID>/agent/environments/<Environment
1781
- # ID>/users/<User ID>/sessions/<Session ID>/
1782
- # entityTypes/<Entity Type Display Name>`.
1783
- # Note: Environments and users re under construction and will be available
1784
- # soon. If <Environment ID> is not specified, we assume default 'draft'
1785
- # environment. If <User ID> is not specified, we assume default '-' user.
1750
+ # ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
1751
+ # Name>`. If `Environment ID` is not specified, we assume default 'draft'
1752
+ # environment. If `User ID` is not specified, we assume default '-' user.
1786
1753
  # @param [String] fields
1787
1754
  # Selector specifying which fields to include in a partial response.
1788
1755
  # @param [String] quota_user
@@ -1816,9 +1783,8 @@ module Google
1816
1783
  # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
1817
1784
  # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
1818
1785
  # sessions/<Session ID>`.
1819
- # Note: Environments and users are under construction and will be available
1820
- # soon. If <Environment ID> is not specified, we assume default 'draft'
1821
- # environment. If <User ID> is not specified, we assume default '-' user.
1786
+ # If `Environment ID` is not specified, we assume default 'draft'
1787
+ # environment. If `User ID` is not specified, we assume default '-' user.
1822
1788
  # @param [Fixnum] page_size
1823
1789
  # Optional. The maximum number of items to return in a single page. By
1824
1790
  # default 100 and at most 1000.
@@ -1859,11 +1825,9 @@ module Google
1859
1825
  # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
1860
1826
  # Display Name>`, or
1861
1827
  # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
1862
- # ID>/sessions
1863
- # /<Session ID>/entityTypes/<Entity Type Display Name>`.
1864
- # Note: Environments and users are under construction and will be available
1865
- # soon. If <Environment ID> is not specified, we assume default 'draft'
1866
- # environment. If <User ID> is not specified, we assume default '-' user.
1828
+ # ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`.
1829
+ # If `Environment ID` is not specified, we assume default 'draft'
1830
+ # environment. If `User ID` is not specified, we assume default '-' user.
1867
1831
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
1868
1832
  # @param [String] update_mask
1869
1833
  # Optional. The mask to control which fields get updated.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/digital-asset-links/
27
27
  module DigitalassetlinksV1
28
28
  VERSION = 'V1'
29
- REVISION = '20171207'
29
+ REVISION = '20180606'
30
30
  end
31
31
  end
32
32
  end
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/dlp/docs/
28
28
  module DlpV2
29
29
  VERSION = 'V2'
30
- REVISION = '20180529'
30
+ REVISION = '20180619'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -23,6 +23,7 @@ module Google
23
23
  module DlpV2
24
24
 
25
25
  # A task to execute on the completion of a job.
26
+ # See https://cloud.google.com/dlp/docs/concepts-actions to learn more.
26
27
  class GooglePrivacyDlpV2Action
27
28
  include Google::Apis::Core::Hashable
28
29
 
@@ -49,7 +50,7 @@ module Google
49
50
  # If set, the detailed findings will be persisted to the specified
50
51
  # OutputStorageConfig. Only a single instance of this action can be
51
52
  # specified.
52
- # Compatible with: Inspect
53
+ # Compatible with: Inspect, Risk
53
54
  # Corresponds to the JSON property `saveFindings`
54
55
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SaveFindings]
55
56
  attr_accessor :save_findings
@@ -375,6 +376,7 @@ module Google
375
376
  # If the bound `Value` type differs from the type of data being transformed, we
376
377
  # will first attempt converting the type of the data to be transformed to match
377
378
  # the type of the bound before comparing.
379
+ # See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.
378
380
  class GooglePrivacyDlpV2BucketingConfig
379
381
  include Google::Apis::Core::Hashable
380
382
 
@@ -773,6 +775,8 @@ module Google
773
775
  attr_accessor :byte_item
774
776
 
775
777
  # Structured content to inspect. Up to 50,000 `Value`s per request allowed.
778
+ # See https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
779
+ # learn more.
776
780
  # Corresponds to the JSON property `table`
777
781
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Table]
778
782
  attr_accessor :table
@@ -855,6 +859,7 @@ module Google
855
859
  include Google::Apis::Core::Hashable
856
860
 
857
861
  # The DeidentifyTemplates contains instructions on how to deidentify content.
862
+ # See https://cloud.google.com/dlp/docs/concepts-templates to learn more.
858
863
  # Corresponds to the JSON property `deidentifyTemplate`
859
864
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate]
860
865
  attr_accessor :deidentify_template
@@ -897,7 +902,8 @@ module Google
897
902
  # @return [String]
898
903
  attr_accessor :job_id
899
904
 
900
- # Configuration for a risk analysis job.
905
+ # Configuration for a risk analysis job. See
906
+ # https://cloud.google.com/dlp/docs/concepts-risk-analysis to learn more.
901
907
  # Corresponds to the JSON property `riskJob`
902
908
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RiskAnalysisJobConfig]
903
909
  attr_accessor :risk_job
@@ -920,7 +926,8 @@ module Google
920
926
 
921
927
  # The inspectTemplate contains a configuration (set of types of sensitive data
922
928
  # to be detected) to be used anywhere you otherwise would normally specify
923
- # InspectConfig.
929
+ # InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates
930
+ # to learn more.
924
931
  # Corresponds to the JSON property `inspectTemplate`
925
932
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate]
926
933
  attr_accessor :inspect_template
@@ -949,6 +956,7 @@ module Google
949
956
  include Google::Apis::Core::Hashable
950
957
 
951
958
  # Contains a configuration to make dlp api calls on a repeating basis.
959
+ # See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
952
960
  # Corresponds to the JSON property `jobTrigger`
953
961
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger]
954
962
  attr_accessor :job_trigger
@@ -1049,7 +1057,7 @@ module Google
1049
1057
  # replaced with the same surrogate.
1050
1058
  # Identifiers must be at least two characters long.
1051
1059
  # In the case that the identifier is the empty string, it will be skipped.
1052
- # See [Pseudonymization](/dlp/docs/pseudonymization) for example usage.
1060
+ # See https://cloud.google.com/dlp/docs/pseudonymization to learn more.
1053
1061
  class GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig
1054
1062
  include Google::Apis::Core::Hashable
1055
1063
 
@@ -1239,7 +1247,8 @@ module Google
1239
1247
  end
1240
1248
 
1241
1249
  # Shifts dates by random number of days, with option to be consistent for the
1242
- # same context.
1250
+ # same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting
1251
+ # to learn more.
1243
1252
  class GooglePrivacyDlpV2DateShiftConfig
1244
1253
  include Google::Apis::Core::Hashable
1245
1254
 
@@ -1438,6 +1447,7 @@ module Google
1438
1447
  end
1439
1448
 
1440
1449
  # The DeidentifyTemplates contains instructions on how to deidentify content.
1450
+ # See https://cloud.google.com/dlp/docs/concepts-templates to learn more.
1441
1451
  class GooglePrivacyDlpV2DeidentifyTemplate
1442
1452
  include Google::Apis::Core::Hashable
1443
1453
 
@@ -2005,7 +2015,7 @@ module Google
2005
2015
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
2006
2016
  attr_accessor :info_type
2007
2017
 
2008
- # Estimate of how likely it is that the `info_type` is correct.
2018
+ # Confidence of how likely it is that the `info_type` is correct.
2009
2019
  # Corresponds to the JSON property `likelihood`
2010
2020
  # @return [String]
2011
2021
  attr_accessor :likelihood
@@ -2017,7 +2027,7 @@ module Google
2017
2027
 
2018
2028
  # The content that was found. Even if the content is not textual, it
2019
2029
  # may be converted to a textual representation here.
2020
- # Provided if requested by the `InspectConfig` and the finding is
2030
+ # Provided if `include_quote` is true and the finding is
2021
2031
  # less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes
2022
2032
  # in length, the quote may be omitted.
2023
2033
  # Corresponds to the JSON property `quote`
@@ -2091,6 +2101,7 @@ module Google
2091
2101
  # If the bound Value type differs from the type of data
2092
2102
  # being transformed, we will first attempt converting the type of the data to
2093
2103
  # be transformed to match the type of the bound before comparing.
2104
+ # See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.
2094
2105
  class GooglePrivacyDlpV2FixedSizeBucketingConfig
2095
2106
  include Google::Apis::Core::Hashable
2096
2107
 
@@ -2197,7 +2208,7 @@ module Google
2197
2208
  attr_accessor :info_type
2198
2209
 
2199
2210
  # If true, all text found in the image, regardless whether it matches an
2200
- # info_type, is redacted.
2211
+ # info_type, is redacted. Only one should be provided.
2201
2212
  # Corresponds to the JSON property `redactAllText`
2202
2213
  # @return [Boolean]
2203
2214
  attr_accessor :redact_all_text
@@ -2329,8 +2340,9 @@ module Google
2329
2340
  class GooglePrivacyDlpV2InfoTypeTransformation
2330
2341
  include Google::Apis::Core::Hashable
2331
2342
 
2332
- # InfoTypes to apply the transformation to. Empty list will match all
2333
- # available infoTypes for this transformation.
2343
+ # InfoTypes to apply the transformation to. An empty list will cause
2344
+ # this transformation to apply to all findings that correspond to
2345
+ # infoTypes that were requested in `InspectConfig`.
2334
2346
  # Corresponds to the JSON property `infoTypes`
2335
2347
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
2336
2348
  attr_accessor :info_types
@@ -2386,7 +2398,8 @@ module Google
2386
2398
  # @return [Array<String>]
2387
2399
  attr_accessor :content_options
2388
2400
 
2389
- # Custom infoTypes provided by the user.
2401
+ # CustomInfoTypes provided by the user. See
2402
+ # https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
2390
2403
  # Corresponds to the JSON property `customInfoTypes`
2391
2404
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2CustomInfoType>]
2392
2405
  attr_accessor :custom_info_types
@@ -2407,6 +2420,9 @@ module Google
2407
2420
  # Restricts what info_types to look for. The values must correspond to
2408
2421
  # InfoType values returned by ListInfoTypes or listed at
2409
2422
  # https://cloud.google.com/dlp/docs/infotypes-reference.
2423
+ # When no InfoTypes or CustomInfoTypes are specified in a request, the
2424
+ # system may automatically choose what detectors to run. By default this may
2425
+ # be all types, but may change over time as detectors are updated.
2410
2426
  # Corresponds to the JSON property `infoTypes`
2411
2427
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
2412
2428
  attr_accessor :info_types
@@ -2418,6 +2434,7 @@ module Google
2418
2434
 
2419
2435
  # Only returns findings equal or above this threshold. The default is
2420
2436
  # POSSIBLE.
2437
+ # See https://cloud.google.com/dlp/docs/likelihood to learn more.
2421
2438
  # Corresponds to the JSON property `minLikelihood`
2422
2439
  # @return [String]
2423
2440
  attr_accessor :min_likelihood
@@ -2594,7 +2611,8 @@ module Google
2594
2611
 
2595
2612
  # The inspectTemplate contains a configuration (set of types of sensitive data
2596
2613
  # to be detected) to be used anywhere you otherwise would normally specify
2597
- # InspectConfig.
2614
+ # InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates
2615
+ # to learn more.
2598
2616
  class GooglePrivacyDlpV2InspectTemplate
2599
2617
  include Google::Apis::Core::Hashable
2600
2618
 
@@ -2649,6 +2667,7 @@ module Google
2649
2667
  end
2650
2668
 
2651
2669
  # Contains a configuration to make dlp api calls on a repeating basis.
2670
+ # See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
2652
2671
  class GooglePrivacyDlpV2JobTrigger
2653
2672
  include Google::Apis::Core::Hashable
2654
2673
 
@@ -3468,10 +3487,11 @@ module Google
3468
3487
  class GooglePrivacyDlpV2OutputStorageConfig
3469
3488
  include Google::Apis::Core::Hashable
3470
3489
 
3471
- # Schema used for writing the findings. Columns are derived from the
3472
- # `Finding` object. If appending to an existing table, any columns from the
3473
- # predefined schema that are missing will be added. No columns in the
3474
- # existing table will be deleted.
3490
+ # Schema used for writing the findings for Inspect jobs. This field is only
3491
+ # used for Inspect and must be unspecified for Risk jobs. Columns are derived
3492
+ # from the `Finding` object. If appending to an existing table, any columns
3493
+ # from the predefined schema that are missing will be added. No columns in
3494
+ # the existing table will be deleted.
3475
3495
  # If unspecified, then all available columns will be used for a new table,
3476
3496
  # and no changes will be made to an existing table.
3477
3497
  # Corresponds to the JSON property `outputSchema`
@@ -3580,6 +3600,7 @@ module Google
3580
3600
  # If the bound `Value` type differs from the type of data being transformed, we
3581
3601
  # will first attempt converting the type of the data to be transformed to match
3582
3602
  # the type of the bound before comparing.
3603
+ # See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.
3583
3604
  # Corresponds to the JSON property `bucketingConfig`
3584
3605
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BucketingConfig]
3585
3606
  attr_accessor :bucketing_config
@@ -3613,13 +3634,14 @@ module Google
3613
3634
  # replaced with the same surrogate.
3614
3635
  # Identifiers must be at least two characters long.
3615
3636
  # In the case that the identifier is the empty string, it will be skipped.
3616
- # See [Pseudonymization](/dlp/docs/pseudonymization) for example usage.
3637
+ # See https://cloud.google.com/dlp/docs/pseudonymization to learn more.
3617
3638
  # Corresponds to the JSON property `cryptoReplaceFfxFpeConfig`
3618
3639
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig]
3619
3640
  attr_accessor :crypto_replace_ffx_fpe_config
3620
3641
 
3621
3642
  # Shifts dates by random number of days, with option to be consistent for the
3622
- # same context.
3643
+ # same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting
3644
+ # to learn more.
3623
3645
  # Corresponds to the JSON property `dateShiftConfig`
3624
3646
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DateShiftConfig]
3625
3647
  attr_accessor :date_shift_config
@@ -3635,6 +3657,7 @@ module Google
3635
3657
  # If the bound Value type differs from the type of data
3636
3658
  # being transformed, we will first attempt converting the type of the data to
3637
3659
  # be transformed to match the type of the bound before comparing.
3660
+ # See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.
3638
3661
  # Corresponds to the JSON property `fixedSizeBucketingConfig`
3639
3662
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FixedSizeBucketingConfig]
3640
3663
  attr_accessor :fixed_size_bucketing_config
@@ -4092,8 +4115,8 @@ module Google
4092
4115
  end
4093
4116
  end
4094
4117
 
4095
- # Request to search for potentially sensitive info in a list of items
4096
- # and replace it with a default or provided content.
4118
+ # Request to search for potentially sensitive info in an image and redact it
4119
+ # by covering it with a colored rectangle.
4097
4120
  class GooglePrivacyDlpV2RedactImageRequest
4098
4121
  include Google::Apis::Core::Hashable
4099
4122
 
@@ -4107,6 +4130,13 @@ module Google
4107
4130
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ImageRedactionConfig>]
4108
4131
  attr_accessor :image_redaction_configs
4109
4132
 
4133
+ # Whether the response should include findings along with the redacted
4134
+ # image.
4135
+ # Corresponds to the JSON property `includeFindings`
4136
+ # @return [Boolean]
4137
+ attr_accessor :include_findings
4138
+ alias_method :include_findings?, :include_findings
4139
+
4110
4140
  # Configuration description of the scanning process.
4111
4141
  # When used with redactContent only info_types and min_likelihood are currently
4112
4142
  # used.
@@ -4122,6 +4152,7 @@ module Google
4122
4152
  def update!(**args)
4123
4153
  @byte_item = args[:byte_item] if args.key?(:byte_item)
4124
4154
  @image_redaction_configs = args[:image_redaction_configs] if args.key?(:image_redaction_configs)
4155
+ @include_findings = args[:include_findings] if args.key?(:include_findings)
4125
4156
  @inspect_config = args[:inspect_config] if args.key?(:inspect_config)
4126
4157
  end
4127
4158
  end
@@ -4137,6 +4168,11 @@ module Google
4137
4168
  # @return [String]
4138
4169
  attr_accessor :extracted_text
4139
4170
 
4171
+ # All the findings for a single scanned item.
4172
+ # Corresponds to the JSON property `inspectResult`
4173
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectResult]
4174
+ attr_accessor :inspect_result
4175
+
4140
4176
  # The redacted image. The type will be the same as the original image.
4141
4177
  # Corresponds to the JSON property `redactedImage`
4142
4178
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
@@ -4150,6 +4186,7 @@ module Google
4150
4186
  # Update properties of this object
4151
4187
  def update!(**args)
4152
4188
  @extracted_text = args[:extracted_text] if args.key?(:extracted_text)
4189
+ @inspect_result = args[:inspect_result] if args.key?(:inspect_result)
4153
4190
  @redacted_image = args[:redacted_image] if args.key?(:redacted_image)
4154
4191
  end
4155
4192
  end
@@ -4300,7 +4337,8 @@ module Google
4300
4337
 
4301
4338
  # The inspectTemplate contains a configuration (set of types of sensitive data
4302
4339
  # to be detected) to be used anywhere you otherwise would normally specify
4303
- # InspectConfig.
4340
+ # InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates
4341
+ # to learn more.
4304
4342
  # Corresponds to the JSON property `snapshotInspectTemplate`
4305
4343
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate]
4306
4344
  attr_accessor :snapshot_inspect_template
@@ -4348,7 +4386,8 @@ module Google
4348
4386
  end
4349
4387
  end
4350
4388
 
4351
- # Configuration for a risk analysis job.
4389
+ # Configuration for a risk analysis job. See
4390
+ # https://cloud.google.com/dlp/docs/concepts-risk-analysis to learn more.
4352
4391
  class GooglePrivacyDlpV2RiskAnalysisJobConfig
4353
4392
  include Google::Apis::Core::Hashable
4354
4393
 
@@ -4406,7 +4445,7 @@ module Google
4406
4445
  # If set, the detailed findings will be persisted to the specified
4407
4446
  # OutputStorageConfig. Only a single instance of this action can be
4408
4447
  # specified.
4409
- # Compatible with: Inspect
4448
+ # Compatible with: Inspect, Risk
4410
4449
  class GooglePrivacyDlpV2SaveFindings
4411
4450
  include Google::Apis::Core::Hashable
4412
4451
 
@@ -4430,11 +4469,11 @@ module Google
4430
4469
  include Google::Apis::Core::Hashable
4431
4470
 
4432
4471
  # With this option a job is started a regular periodic basis. For
4433
- # example: every 10 minutes.
4472
+ # example: every day (86400 seconds).
4434
4473
  # A scheduled start time will be skipped if the previous
4435
4474
  # execution has not ended when its scheduled time occurs.
4436
4475
  # This value must be set to a time duration greater than or equal
4437
- # to 60 minutes and can be no longer than 60 days.
4476
+ # to 1 day and can be no longer than 60 days.
4438
4477
  # Corresponds to the JSON property `recurrencePeriodDuration`
4439
4478
  # @return [String]
4440
4479
  attr_accessor :recurrence_period_duration
@@ -4584,6 +4623,8 @@ module Google
4584
4623
  end
4585
4624
 
4586
4625
  # Structured content to inspect. Up to 50,000 `Value`s per request allowed.
4626
+ # See https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
4627
+ # learn more.
4587
4628
  class GooglePrivacyDlpV2Table
4588
4629
  include Google::Apis::Core::Hashable
4589
4630
 
@@ -4910,6 +4951,7 @@ module Google
4910
4951
  include Google::Apis::Core::Hashable
4911
4952
 
4912
4953
  # The DeidentifyTemplates contains instructions on how to deidentify content.
4954
+ # See https://cloud.google.com/dlp/docs/concepts-templates to learn more.
4913
4955
  # Corresponds to the JSON property `deidentifyTemplate`
4914
4956
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate]
4915
4957
  attr_accessor :deidentify_template
@@ -4936,7 +4978,8 @@ module Google
4936
4978
 
4937
4979
  # The inspectTemplate contains a configuration (set of types of sensitive data
4938
4980
  # to be detected) to be used anywhere you otherwise would normally specify
4939
- # InspectConfig.
4981
+ # InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates
4982
+ # to learn more.
4940
4983
  # Corresponds to the JSON property `inspectTemplate`
4941
4984
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate]
4942
4985
  attr_accessor :inspect_template
@@ -4962,6 +5005,7 @@ module Google
4962
5005
  include Google::Apis::Core::Hashable
4963
5006
 
4964
5007
  # Contains a configuration to make dlp api calls on a repeating basis.
5008
+ # See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
4965
5009
  # Corresponds to the JSON property `jobTrigger`
4966
5010
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger]
4967
5011
  attr_accessor :job_trigger