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
@@ -2151,6 +2151,7 @@ module Google
2151
2151
 
2152
2152
  collection :image_redaction_configs, as: 'imageRedactionConfigs', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageRedactionConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageRedactionConfig::Representation
2153
2153
 
2154
+ property :include_findings, as: 'includeFindings'
2154
2155
  property :inspect_config, as: 'inspectConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig::Representation
2155
2156
 
2156
2157
  end
@@ -2160,6 +2161,8 @@ module Google
2160
2161
  # @private
2161
2162
  class Representation < Google::Apis::Core::JsonRepresentation
2162
2163
  property :extracted_text, as: 'extractedText'
2164
+ property :inspect_result, as: 'inspectResult', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectResult, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectResult::Representation
2165
+
2163
2166
  property :redacted_image, :base64 => true, as: 'redactedImage'
2164
2167
  end
2165
2168
  end
@@ -50,8 +50,8 @@ module Google
50
50
  end
51
51
 
52
52
  # Returns a list of the sensitive information types that the DLP API
53
- # supports. For more information, see [Listing supported predefined
54
- # infoTypes](/dlp/docs/listing-infotypes).
53
+ # supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
54
+ # learn more.
55
55
  # @param [String] filter
56
56
  # Optional filter to only return infoTypes supported by certain parts of the
57
57
  # API. Defaults to supported_by=INSPECT.
@@ -89,6 +89,8 @@ module Google
89
89
 
90
90
  # Creates a DeidentifyTemplate for re-using frequently used configuration
91
91
  # for de-identifying content, images, and storage.
92
+ # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
93
+ # more.
92
94
  # @param [String] parent
93
95
  # The parent resource name, for example projects/my-project-id or
94
96
  # organizations/my-org-id.
@@ -123,6 +125,8 @@ module Google
123
125
  end
124
126
 
125
127
  # Deletes a DeidentifyTemplate.
128
+ # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
129
+ # more.
126
130
  # @param [String] name
127
131
  # Resource name of the organization and deidentify template to be deleted,
128
132
  # for example `organizations/433245324/deidentifyTemplates/432452342` or
@@ -155,6 +159,8 @@ module Google
155
159
  end
156
160
 
157
161
  # Gets a DeidentifyTemplate.
162
+ # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
163
+ # more.
158
164
  # @param [String] name
159
165
  # Resource name of the organization and deidentify template to be read, for
160
166
  # example `organizations/433245324/deidentifyTemplates/432452342` or
@@ -187,6 +193,8 @@ module Google
187
193
  end
188
194
 
189
195
  # Lists DeidentifyTemplates.
196
+ # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
197
+ # more.
190
198
  # @param [String] parent
191
199
  # The parent resource name, for example projects/my-project-id or
192
200
  # organizations/my-org-id.
@@ -226,6 +234,8 @@ module Google
226
234
  end
227
235
 
228
236
  # Updates the DeidentifyTemplate.
237
+ # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
238
+ # more.
229
239
  # @param [String] name
230
240
  # Resource name of organization and deidentify template to be updated, for
231
241
  # example `organizations/433245324/deidentifyTemplates/432452342` or
@@ -262,6 +272,7 @@ module Google
262
272
 
263
273
  # Creates an InspectTemplate for re-using frequently used configuration
264
274
  # for inspecting content, images, and storage.
275
+ # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
265
276
  # @param [String] parent
266
277
  # The parent resource name, for example projects/my-project-id or
267
278
  # organizations/my-org-id.
@@ -296,6 +307,7 @@ module Google
296
307
  end
297
308
 
298
309
  # Deletes an InspectTemplate.
310
+ # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
299
311
  # @param [String] name
300
312
  # Resource name of the organization and inspectTemplate to be deleted, for
301
313
  # example `organizations/433245324/inspectTemplates/432452342` or
@@ -328,6 +340,7 @@ module Google
328
340
  end
329
341
 
330
342
  # Gets an InspectTemplate.
343
+ # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
331
344
  # @param [String] name
332
345
  # Resource name of the organization and inspectTemplate to be read, for
333
346
  # example `organizations/433245324/inspectTemplates/432452342` or
@@ -360,6 +373,7 @@ module Google
360
373
  end
361
374
 
362
375
  # Lists InspectTemplates.
376
+ # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
363
377
  # @param [String] parent
364
378
  # The parent resource name, for example projects/my-project-id or
365
379
  # organizations/my-org-id.
@@ -399,6 +413,7 @@ module Google
399
413
  end
400
414
 
401
415
  # Updates the InspectTemplate.
416
+ # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
402
417
  # @param [String] name
403
418
  # Resource name of organization and inspectTemplate to be updated, for
404
419
  # example `organizations/433245324/inspectTemplates/432452342` or
@@ -435,7 +450,11 @@ module Google
435
450
 
436
451
  # De-identifies potentially sensitive info from a ContentItem.
437
452
  # This method has limits on input size and output size.
438
- # [How-to guide](/dlp/docs/deidentify-sensitive-data)
453
+ # See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
454
+ # learn more.
455
+ # When no InfoTypes or CustomInfoTypes are specified in this request, the
456
+ # system will automatically choose what detectors to run. By default this may
457
+ # be all types, but may change over time as detectors are updated.
439
458
  # @param [String] parent
440
459
  # The parent resource name, for example projects/my-project-id.
441
460
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentRequest] google_privacy_dlp_v2_deidentify_content_request_object
@@ -470,8 +489,11 @@ module Google
470
489
 
471
490
  # Finds potentially sensitive info in content.
472
491
  # This method has limits on input size, processing time, and output size.
473
- # [How-to guide for text](/dlp/docs/inspecting-text), [How-to guide for
474
- # images](/dlp/docs/inspecting-images)
492
+ # When no InfoTypes or CustomInfoTypes are specified in this request, the
493
+ # system will automatically choose what detectors to run. By default this may
494
+ # be all types, but may change over time as detectors are updated.
495
+ # For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
496
+ # and https://cloud.google.com/dlp/docs/inspecting-text,
475
497
  # @param [String] parent
476
498
  # The parent resource name, for example projects/my-project-id.
477
499
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentRequest] google_privacy_dlp_v2_inspect_content_request_object
@@ -505,6 +527,10 @@ module Google
505
527
  end
506
528
 
507
529
  # Re-identifies content that has been de-identified.
530
+ # See
531
+ # https://cloud.google.com/dlp/docs/pseudonymization#re-
532
+ # identification_in_free_text_code_example
533
+ # to learn more.
508
534
  # @param [String] parent
509
535
  # The parent resource name.
510
536
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentRequest] google_privacy_dlp_v2_reidentify_content_request_object
@@ -539,6 +565,8 @@ module Google
539
565
 
540
566
  # Creates a DeidentifyTemplate for re-using frequently used configuration
541
567
  # for de-identifying content, images, and storage.
568
+ # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
569
+ # more.
542
570
  # @param [String] parent
543
571
  # The parent resource name, for example projects/my-project-id or
544
572
  # organizations/my-org-id.
@@ -573,6 +601,8 @@ module Google
573
601
  end
574
602
 
575
603
  # Deletes a DeidentifyTemplate.
604
+ # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
605
+ # more.
576
606
  # @param [String] name
577
607
  # Resource name of the organization and deidentify template to be deleted,
578
608
  # for example `organizations/433245324/deidentifyTemplates/432452342` or
@@ -605,6 +635,8 @@ module Google
605
635
  end
606
636
 
607
637
  # Gets a DeidentifyTemplate.
638
+ # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
639
+ # more.
608
640
  # @param [String] name
609
641
  # Resource name of the organization and deidentify template to be read, for
610
642
  # example `organizations/433245324/deidentifyTemplates/432452342` or
@@ -637,6 +669,8 @@ module Google
637
669
  end
638
670
 
639
671
  # Lists DeidentifyTemplates.
672
+ # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
673
+ # more.
640
674
  # @param [String] parent
641
675
  # The parent resource name, for example projects/my-project-id or
642
676
  # organizations/my-org-id.
@@ -676,6 +710,8 @@ module Google
676
710
  end
677
711
 
678
712
  # Updates the DeidentifyTemplate.
713
+ # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
714
+ # more.
679
715
  # @param [String] name
680
716
  # Resource name of organization and deidentify template to be updated, for
681
717
  # example `organizations/433245324/deidentifyTemplates/432452342` or
@@ -713,6 +749,8 @@ module Google
713
749
  # Starts asynchronous cancellation on a long-running DlpJob. The server
714
750
  # makes a best effort to cancel the DlpJob, but success is not
715
751
  # guaranteed.
752
+ # See https://cloud.google.com/dlp/docs/inspecting-storage and
753
+ # https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
716
754
  # @param [String] name
717
755
  # The name of the DlpJob resource to be cancelled.
718
756
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CancelDlpJobRequest] google_privacy_dlp_v2_cancel_dlp_job_request_object
@@ -746,7 +784,11 @@ module Google
746
784
  end
747
785
 
748
786
  # Creates a new job to inspect storage or calculate risk metrics.
749
- # [How-to guide](/dlp/docs/compute-risk-analysis).
787
+ # See https://cloud.google.com/dlp/docs/inspecting-storage and
788
+ # https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
789
+ # When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
790
+ # system will automatically choose what detectors to run. By default this may
791
+ # be all types, but may change over time as detectors are updated.
750
792
  # @param [String] parent
751
793
  # The parent resource name, for example projects/my-project-id.
752
794
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest] google_privacy_dlp_v2_create_dlp_job_request_object
@@ -782,6 +824,8 @@ module Google
782
824
  # Deletes a long-running DlpJob. This method indicates that the client is
783
825
  # no longer interested in the DlpJob result. The job will be cancelled if
784
826
  # possible.
827
+ # See https://cloud.google.com/dlp/docs/inspecting-storage and
828
+ # https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
785
829
  # @param [String] name
786
830
  # The name of the DlpJob resource to be deleted.
787
831
  # @param [String] fields
@@ -812,6 +856,8 @@ module Google
812
856
  end
813
857
 
814
858
  # Gets the latest state of a long-running DlpJob.
859
+ # See https://cloud.google.com/dlp/docs/inspecting-storage and
860
+ # https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
815
861
  # @param [String] name
816
862
  # The name of the DlpJob resource.
817
863
  # @param [String] fields
@@ -842,6 +888,8 @@ module Google
842
888
  end
843
889
 
844
890
  # Lists DlpJobs that match the specified filter in the request.
891
+ # See https://cloud.google.com/dlp/docs/inspecting-storage and
892
+ # https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
845
893
  # @param [String] parent
846
894
  # The parent resource name, for example projects/my-project-id.
847
895
  # @param [String] filter
@@ -902,7 +950,11 @@ module Google
902
950
 
903
951
  # Redacts potentially sensitive info from an image.
904
952
  # This method has limits on input size, processing time, and output size.
905
- # [How-to guide](/dlp/docs/redacting-sensitive-data-images)
953
+ # See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
954
+ # learn more.
955
+ # When no InfoTypes or CustomInfoTypes are specified in this request, the
956
+ # system will automatically choose what detectors to run. By default this may
957
+ # be all types, but may change over time as detectors are updated.
906
958
  # @param [String] parent
907
959
  # The parent resource name, for example projects/my-project-id.
908
960
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest] google_privacy_dlp_v2_redact_image_request_object
@@ -937,6 +989,7 @@ module Google
937
989
 
938
990
  # Creates an InspectTemplate for re-using frequently used configuration
939
991
  # for inspecting content, images, and storage.
992
+ # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
940
993
  # @param [String] parent
941
994
  # The parent resource name, for example projects/my-project-id or
942
995
  # organizations/my-org-id.
@@ -971,6 +1024,7 @@ module Google
971
1024
  end
972
1025
 
973
1026
  # Deletes an InspectTemplate.
1027
+ # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
974
1028
  # @param [String] name
975
1029
  # Resource name of the organization and inspectTemplate to be deleted, for
976
1030
  # example `organizations/433245324/inspectTemplates/432452342` or
@@ -1003,6 +1057,7 @@ module Google
1003
1057
  end
1004
1058
 
1005
1059
  # Gets an InspectTemplate.
1060
+ # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
1006
1061
  # @param [String] name
1007
1062
  # Resource name of the organization and inspectTemplate to be read, for
1008
1063
  # example `organizations/433245324/inspectTemplates/432452342` or
@@ -1035,6 +1090,7 @@ module Google
1035
1090
  end
1036
1091
 
1037
1092
  # Lists InspectTemplates.
1093
+ # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
1038
1094
  # @param [String] parent
1039
1095
  # The parent resource name, for example projects/my-project-id or
1040
1096
  # organizations/my-org-id.
@@ -1074,6 +1130,7 @@ module Google
1074
1130
  end
1075
1131
 
1076
1132
  # Updates the InspectTemplate.
1133
+ # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
1077
1134
  # @param [String] name
1078
1135
  # Resource name of organization and inspectTemplate to be updated, for
1079
1136
  # example `organizations/433245324/inspectTemplates/432452342` or
@@ -1110,6 +1167,7 @@ module Google
1110
1167
 
1111
1168
  # Creates a job trigger to run DLP actions such as scanning storage for
1112
1169
  # sensitive information on a set schedule.
1170
+ # See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
1113
1171
  # @param [String] parent
1114
1172
  # The parent resource name, for example projects/my-project-id.
1115
1173
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest] google_privacy_dlp_v2_create_job_trigger_request_object
@@ -1143,6 +1201,7 @@ module Google
1143
1201
  end
1144
1202
 
1145
1203
  # Deletes a job trigger.
1204
+ # See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
1146
1205
  # @param [String] name
1147
1206
  # Resource name of the project and the triggeredJob, for example
1148
1207
  # `projects/dlp-test-project/jobTriggers/53234423`.
@@ -1174,6 +1233,7 @@ module Google
1174
1233
  end
1175
1234
 
1176
1235
  # Gets a job trigger.
1236
+ # See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
1177
1237
  # @param [String] name
1178
1238
  # Resource name of the project and the triggeredJob, for example
1179
1239
  # `projects/dlp-test-project/jobTriggers/53234423`.
@@ -1205,25 +1265,25 @@ module Google
1205
1265
  end
1206
1266
 
1207
1267
  # Lists job triggers.
1268
+ # See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
1208
1269
  # @param [String] parent
1209
- # The parent resource name, for example projects/my-project-id.
1270
+ # The parent resource name, for example `projects/my-project-id`.
1210
1271
  # @param [String] order_by
1211
1272
  # Optional comma separated list of triggeredJob fields to order by,
1212
- # followed by 'asc/desc' postfix, i.e.
1213
- # `"create_time asc,name desc,schedule_mode asc"`. This list is
1214
- # case-insensitive.
1215
- # Example: `"name asc,schedule_mode desc, status desc"`
1216
- # Supported filters keys and values are:
1273
+ # followed by `asc` or `desc` postfix. This list is case-insensitive,
1274
+ # default sorting order is ascending, redundant space characters are
1275
+ # insignificant.
1276
+ # Example: `name asc,update_time, create_time desc`
1277
+ # Supported fields are:
1217
1278
  # - `create_time`: corresponds to time the triggeredJob was created.
1218
1279
  # - `update_time`: corresponds to time the triggeredJob was last updated.
1219
- # - `name`: corresponds to JobTrigger's display name.
1220
- # - `status`: corresponds to the triggeredJob status.
1280
+ # - `name`: corresponds to JobTrigger's name.
1221
1281
  # @param [Fixnum] page_size
1222
1282
  # Optional size of the page, can be limited by a server.
1223
1283
  # @param [String] page_token
1224
1284
  # Optional page token to continue retrieval. Comes from previous call
1225
- # to ListJobTriggers. `order_by` and `filter` should not change for
1226
- # subsequent calls, but can be omitted if token is specified.
1285
+ # to ListJobTriggers. `order_by` field must not
1286
+ # change for subsequent calls.
1227
1287
  # @param [String] fields
1228
1288
  # Selector specifying which fields to include in a partial response.
1229
1289
  # @param [String] quota_user
@@ -1255,6 +1315,7 @@ module Google
1255
1315
  end
1256
1316
 
1257
1317
  # Updates a job trigger.
1318
+ # See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
1258
1319
  # @param [String] name
1259
1320
  # Resource name of the project and the triggeredJob, for example
1260
1321
  # `projects/dlp-test-project/jobTriggers/53234423`.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://firebase.google.com/docs/dynamic-links/
26
26
  module FirebasedynamiclinksV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180521'
28
+ REVISION = '20180614'
29
29
 
30
30
  # View and administer all your Firebase data and settings
31
31
  AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://firebase.google.com/docs/storage/security
27
27
  module FirebaserulesV1
28
28
  VERSION = 'V1'
29
- REVISION = '20180111'
29
+ REVISION = '20180605'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -571,6 +571,12 @@ module Google
571
571
  # @return [String]
572
572
  attr_accessor :state
573
573
 
574
+ # The set of visited expressions for a given test. This returns positions
575
+ # and evaluation results of all visited expressions.
576
+ # Corresponds to the JSON property `visitedExpressions`
577
+ # @return [Array<Google::Apis::FirebaserulesV1::VisitedExpression>]
578
+ attr_accessor :visited_expressions
579
+
574
580
  def initialize(**args)
575
581
  update!(**args)
576
582
  end
@@ -581,6 +587,7 @@ module Google
581
587
  @error_position = args[:error_position] if args.key?(:error_position)
582
588
  @function_calls = args[:function_calls] if args.key?(:function_calls)
583
589
  @state = args[:state] if args.key?(:state)
590
+ @visited_expressions = args[:visited_expressions] if args.key?(:visited_expressions)
584
591
  end
585
592
  end
586
593
 
@@ -687,6 +694,32 @@ module Google
687
694
  @update_mask = args[:update_mask] if args.key?(:update_mask)
688
695
  end
689
696
  end
697
+
698
+ # Store the position and access outcome for an expression visited in rules.
699
+ class VisitedExpression
700
+ include Google::Apis::Core::Hashable
701
+
702
+ # Position in the `Source` content including its line, column number, and an
703
+ # index of the `File` in the `Source` message. Used for debug purposes.
704
+ # Corresponds to the JSON property `sourcePosition`
705
+ # @return [Google::Apis::FirebaserulesV1::SourcePosition]
706
+ attr_accessor :source_position
707
+
708
+ # The evaluated value for the visited expression, e.g. true/false
709
+ # Corresponds to the JSON property `value`
710
+ # @return [Object]
711
+ attr_accessor :value
712
+
713
+ def initialize(**args)
714
+ update!(**args)
715
+ end
716
+
717
+ # Update properties of this object
718
+ def update!(**args)
719
+ @source_position = args[:source_position] if args.key?(:source_position)
720
+ @value = args[:value] if args.key?(:value)
721
+ end
722
+ end
690
723
  end
691
724
  end
692
725
  end
@@ -142,6 +142,12 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
+ class VisitedExpression
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
145
151
  class Arg
146
152
  # @private
147
153
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -290,6 +296,8 @@ module Google
290
296
  collection :function_calls, as: 'functionCalls', class: Google::Apis::FirebaserulesV1::FunctionCall, decorator: Google::Apis::FirebaserulesV1::FunctionCall::Representation
291
297
 
292
298
  property :state, as: 'state'
299
+ collection :visited_expressions, as: 'visitedExpressions', class: Google::Apis::FirebaserulesV1::VisitedExpression, decorator: Google::Apis::FirebaserulesV1::VisitedExpression::Representation
300
+
293
301
  end
294
302
  end
295
303
 
@@ -329,6 +337,15 @@ module Google
329
337
  property :update_mask, as: 'updateMask'
330
338
  end
331
339
  end
340
+
341
+ class VisitedExpression
342
+ # @private
343
+ class Representation < Google::Apis::Core::JsonRepresentation
344
+ property :source_position, as: 'sourcePosition', class: Google::Apis::FirebaserulesV1::SourcePosition, decorator: Google::Apis::FirebaserulesV1::SourcePosition::Representation
345
+
346
+ property :value, as: 'value'
347
+ end
348
+ end
332
349
  end
333
350
  end
334
351
  end