google-api-client 0.31.0 → 0.32.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (295) hide show
  1. checksums.yaml +4 -4
  2. data/.kokoro/continuous/linux.cfg +11 -1
  3. data/.kokoro/continuous/osx.cfg +5 -0
  4. data/.kokoro/continuous/windows.cfg +10 -0
  5. data/.kokoro/presubmit/linux.cfg +11 -1
  6. data/.kokoro/presubmit/osx.cfg +5 -0
  7. data/.kokoro/presubmit/windows.cfg +10 -0
  8. data/CHANGELOG.md +107 -0
  9. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  10. data/generated/google/apis/androidmanagement_v1/classes.rb +12 -1
  11. data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
  12. data/generated/google/apis/bigquery_v2.rb +1 -1
  13. data/generated/google/apis/bigquery_v2/classes.rb +241 -0
  14. data/generated/google/apis/bigquery_v2/representations.rb +115 -0
  15. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  16. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +62 -29
  17. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  18. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +2 -2
  19. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -26
  20. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  21. data/generated/google/apis/bigqueryreservation_v1/classes.rb +7 -7
  22. data/generated/google/apis/bigqueryreservation_v1/representations.rb +3 -3
  23. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  24. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -175
  25. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -65
  26. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -140
  27. data/generated/google/apis/bigqueryreservation_v1beta1.rb +37 -0
  28. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +497 -0
  29. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +236 -0
  30. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +713 -0
  31. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  32. data/generated/google/apis/binaryauthorization_v1/classes.rb +307 -0
  33. data/generated/google/apis/binaryauthorization_v1/representations.rb +88 -0
  34. data/generated/google/apis/binaryauthorization_v1/service.rb +230 -0
  35. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  36. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +62 -29
  37. data/generated/google/apis/blogger_v3.rb +1 -1
  38. data/generated/google/apis/blogger_v3/service.rb +6 -6
  39. data/generated/google/apis/calendar_v3.rb +1 -1
  40. data/generated/google/apis/calendar_v3/classes.rb +1 -0
  41. data/generated/google/apis/cloudasset_v1.rb +1 -1
  42. data/generated/google/apis/cloudasset_v1/classes.rb +72 -29
  43. data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
  44. data/generated/google/apis/cloudasset_v1/service.rb +1 -1
  45. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  46. data/generated/google/apis/cloudasset_v1beta1/classes.rb +62 -29
  47. data/generated/google/apis/cloudasset_v1beta1/service.rb +2 -2
  48. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  49. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -2
  50. data/generated/google/apis/cloudfunctions_v1/service.rb +10 -7
  51. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  52. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
  53. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +7 -6
  54. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  55. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  56. data/generated/google/apis/cloudiot_v1.rb +1 -1
  57. data/generated/google/apis/cloudiot_v1/classes.rb +68 -35
  58. data/generated/google/apis/cloudiot_v1/service.rb +18 -17
  59. data/generated/google/apis/cloudkms_v1.rb +1 -1
  60. data/generated/google/apis/cloudkms_v1/classes.rb +77 -35
  61. data/generated/google/apis/cloudkms_v1/service.rb +33 -27
  62. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  63. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +62 -29
  64. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  65. data/generated/google/apis/cloudsearch_v1/classes.rb +354 -0
  66. data/generated/google/apis/cloudsearch_v1/representations.rb +196 -0
  67. data/generated/google/apis/cloudsearch_v1/service.rb +314 -2
  68. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  69. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +62 -29
  70. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  71. data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
  72. data/generated/google/apis/cloudtrace_v1/service.rb +10 -10
  73. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  74. data/generated/google/apis/cloudtrace_v2/classes.rb +3 -3
  75. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  76. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +7 -10
  77. data/generated/google/apis/compute_alpha.rb +1 -1
  78. data/generated/google/apis/compute_alpha/classes.rb +38 -42
  79. data/generated/google/apis/compute_alpha/representations.rb +5 -16
  80. data/generated/google/apis/compute_beta.rb +1 -1
  81. data/generated/google/apis/compute_beta/classes.rb +10 -5
  82. data/generated/google/apis/compute_v1.rb +1 -1
  83. data/generated/google/apis/compute_v1/classes.rb +1327 -4
  84. data/generated/google/apis/compute_v1/representations.rb +439 -0
  85. data/generated/google/apis/container_v1.rb +1 -1
  86. data/generated/google/apis/container_v1/classes.rb +111 -0
  87. data/generated/google/apis/container_v1/representations.rb +51 -0
  88. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  89. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +76 -30
  90. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  91. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  92. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +70 -30
  93. data/generated/google/apis/content_v2.rb +1 -1
  94. data/generated/google/apis/content_v2/service.rb +0 -226
  95. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  96. data/generated/google/apis/dataflow_v1b3/classes.rb +42 -0
  97. data/generated/google/apis/dataflow_v1b3/representations.rb +4 -0
  98. data/generated/google/apis/dataproc_v1.rb +1 -1
  99. data/generated/google/apis/dataproc_v1/classes.rb +324 -38
  100. data/generated/google/apis/dataproc_v1/representations.rb +97 -0
  101. data/generated/google/apis/dataproc_v1/service.rb +613 -1
  102. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  103. data/generated/google/apis/dataproc_v1beta2/classes.rb +100 -54
  104. data/generated/google/apis/dataproc_v1beta2/service.rb +29 -22
  105. data/generated/google/apis/dialogflow_v2.rb +1 -1
  106. data/generated/google/apis/dialogflow_v2/classes.rb +363 -167
  107. data/generated/google/apis/dialogflow_v2/representations.rb +160 -49
  108. data/generated/google/apis/dialogflow_v2/service.rb +1 -1
  109. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  110. data/generated/google/apis/dialogflow_v2beta1/classes.rb +433 -178
  111. data/generated/google/apis/dialogflow_v2beta1/representations.rb +199 -59
  112. data/generated/google/apis/dialogflow_v2beta1/service.rb +39 -0
  113. data/generated/google/apis/dlp_v2.rb +1 -1
  114. data/generated/google/apis/dlp_v2/classes.rb +3 -4
  115. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  116. data/generated/google/apis/drive_v2.rb +1 -1
  117. data/generated/google/apis/drive_v2/classes.rb +2 -2
  118. data/generated/google/apis/drive_v3.rb +1 -1
  119. data/generated/google/apis/drive_v3/classes.rb +2 -2
  120. data/generated/google/apis/fcm_v1.rb +1 -1
  121. data/generated/google/apis/fcm_v1/classes.rb +9 -4
  122. data/generated/google/apis/file_v1.rb +1 -1
  123. data/generated/google/apis/file_v1/classes.rb +8 -0
  124. data/generated/google/apis/file_v1/representations.rb +1 -0
  125. data/generated/google/apis/file_v1/service.rb +2 -0
  126. data/generated/google/apis/file_v1beta1.rb +1 -1
  127. data/generated/google/apis/file_v1beta1/classes.rb +8 -0
  128. data/generated/google/apis/file_v1beta1/representations.rb +1 -0
  129. data/generated/google/apis/file_v1beta1/service.rb +2 -0
  130. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  131. data/generated/google/apis/firebase_v1beta1/classes.rb +41 -4
  132. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
  133. data/generated/google/apis/firebase_v1beta1/service.rb +22 -14
  134. data/generated/google/apis/fitness_v1.rb +19 -19
  135. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  136. data/generated/google/apis/healthcare_v1beta1/classes.rb +136 -100
  137. data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -1
  138. data/generated/google/apis/healthcare_v1beta1/service.rb +124 -119
  139. data/generated/google/apis/iam_v1.rb +1 -1
  140. data/generated/google/apis/iam_v1/classes.rb +87 -41
  141. data/generated/google/apis/iap_v1.rb +1 -1
  142. data/generated/google/apis/iap_v1/classes.rb +62 -29
  143. data/generated/google/apis/iap_v1beta1.rb +1 -1
  144. data/generated/google/apis/iap_v1beta1/classes.rb +62 -29
  145. data/generated/google/apis/ml_v1.rb +1 -1
  146. data/generated/google/apis/ml_v1/classes.rb +114 -49
  147. data/generated/google/apis/ml_v1/representations.rb +2 -0
  148. data/generated/google/apis/ml_v1/service.rb +12 -6
  149. data/generated/google/apis/monitoring_v3.rb +1 -1
  150. data/generated/google/apis/monitoring_v3/classes.rb +14 -10
  151. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  152. data/generated/google/apis/oslogin_v1.rb +1 -1
  153. data/generated/google/apis/oslogin_v1/classes.rb +12 -0
  154. data/generated/google/apis/oslogin_v1/representations.rb +2 -0
  155. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  156. data/generated/google/apis/oslogin_v1alpha/classes.rb +12 -0
  157. data/generated/google/apis/oslogin_v1alpha/representations.rb +2 -0
  158. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  159. data/generated/google/apis/oslogin_v1beta/classes.rb +12 -0
  160. data/generated/google/apis/oslogin_v1beta/representations.rb +2 -0
  161. data/generated/google/apis/policytroubleshooter_v1beta.rb +34 -0
  162. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +621 -0
  163. data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +203 -0
  164. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +91 -0
  165. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  166. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +7 -4
  167. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +60 -58
  168. data/generated/google/apis/recommender_v1beta1.rb +34 -0
  169. data/generated/google/apis/recommender_v1beta1/classes.rb +502 -0
  170. data/generated/google/apis/recommender_v1beta1/representations.rb +232 -0
  171. data/generated/google/apis/recommender_v1beta1/service.rb +262 -0
  172. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  173. data/generated/google/apis/remotebuildexecution_v1/classes.rb +49 -1100
  174. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -276
  175. data/generated/google/apis/remotebuildexecution_v1/service.rb +0 -77
  176. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  177. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +12 -990
  178. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -245
  179. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  180. data/generated/google/apis/remotebuildexecution_v2/classes.rb +12 -990
  181. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -245
  182. data/generated/google/apis/run_v1.rb +1 -1
  183. data/generated/google/apis/run_v1/classes.rb +3553 -33
  184. data/generated/google/apis/run_v1/representations.rb +1186 -4
  185. data/generated/google/apis/run_v1/service.rb +2509 -23
  186. data/generated/google/apis/run_v1alpha1.rb +1 -1
  187. data/generated/google/apis/run_v1alpha1/classes.rb +103 -140
  188. data/generated/google/apis/run_v1alpha1/representations.rb +5 -43
  189. data/generated/google/apis/run_v1beta1.rb +35 -0
  190. data/generated/google/apis/run_v1beta1/classes.rb +1209 -0
  191. data/generated/google/apis/run_v1beta1/representations.rb +421 -0
  192. data/generated/google/apis/run_v1beta1/service.rb +172 -0
  193. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  194. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +62 -29
  195. data/generated/google/apis/safebrowsing_v4.rb +5 -2
  196. data/generated/google/apis/safebrowsing_v4/service.rb +4 -1
  197. data/generated/google/apis/securitycenter_v1.rb +1 -1
  198. data/generated/google/apis/securitycenter_v1/classes.rb +70 -35
  199. data/generated/google/apis/securitycenter_v1/service.rb +13 -12
  200. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  201. data/generated/google/apis/securitycenter_v1beta1/classes.rb +71 -35
  202. data/generated/google/apis/securitycenter_v1beta1/service.rb +13 -12
  203. data/generated/google/apis/servicebroker_v1.rb +1 -1
  204. data/generated/google/apis/servicebroker_v1/classes.rb +62 -29
  205. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  206. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +62 -29
  207. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  208. data/generated/google/apis/servicebroker_v1beta1/classes.rb +62 -29
  209. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  210. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +11 -2
  211. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  212. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  213. data/generated/google/apis/servicemanagement_v1/classes.rb +63 -33
  214. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  215. data/generated/google/apis/servicenetworking_v1/classes.rb +11 -2
  216. data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
  217. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  218. data/generated/google/apis/servicenetworking_v1beta/classes.rb +11 -2
  219. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
  220. data/generated/google/apis/serviceusage_v1.rb +1 -1
  221. data/generated/google/apis/serviceusage_v1/classes.rb +11 -2
  222. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  223. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  224. data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -2
  225. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  226. data/generated/google/apis/spanner_v1.rb +1 -1
  227. data/generated/google/apis/spanner_v1/classes.rb +78 -2
  228. data/generated/google/apis/spanner_v1/representations.rb +44 -0
  229. data/generated/google/apis/spanner_v1/service.rb +35 -0
  230. data/generated/google/apis/speech_v1.rb +1 -1
  231. data/generated/google/apis/speech_v1/classes.rb +73 -19
  232. data/generated/google/apis/speech_v1/representations.rb +18 -0
  233. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  234. data/generated/google/apis/speech_v1p1beta1/classes.rb +31 -35
  235. data/generated/google/apis/speech_v2beta.rb +1 -1
  236. data/generated/google/apis/speech_v2beta/classes.rb +6 -6
  237. data/generated/google/apis/speech_v2beta/representations.rb +2 -2
  238. data/generated/google/apis/storage_v1.rb +1 -1
  239. data/generated/google/apis/storage_v1/classes.rb +1 -1
  240. data/generated/google/apis/storage_v1/representations.rb +2 -1
  241. data/generated/google/apis/storage_v1beta1.rb +1 -1
  242. data/generated/google/apis/storage_v1beta2.rb +1 -1
  243. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  244. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  245. data/generated/google/apis/streetviewpublish_v1/service.rb +9 -5
  246. data/generated/google/apis/testing_v1.rb +1 -1
  247. data/generated/google/apis/testing_v1/classes.rb +42 -0
  248. data/generated/google/apis/testing_v1/representations.rb +18 -0
  249. data/generated/google/apis/texttospeech_v1.rb +1 -1
  250. data/generated/google/apis/texttospeech_v1/classes.rb +6 -5
  251. data/generated/google/apis/texttospeech_v1/service.rb +1 -1
  252. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  253. data/generated/google/apis/texttospeech_v1beta1/classes.rb +6 -5
  254. data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
  255. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  256. data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -1
  257. data/generated/google/apis/translate_v3beta1.rb +1 -1
  258. data/generated/google/apis/translate_v3beta1/classes.rb +22 -16
  259. data/generated/google/apis/translate_v3beta1/service.rb +31 -31
  260. data/generated/google/apis/videointelligence_v1.rb +1 -1
  261. data/generated/google/apis/videointelligence_v1/classes.rb +45 -10
  262. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  263. data/generated/google/apis/videointelligence_v1beta2/classes.rb +45 -10
  264. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  265. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +45 -10
  266. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  267. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +45 -10
  268. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  269. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +45 -10
  270. data/generated/google/apis/vision_v1.rb +1 -1
  271. data/generated/google/apis/vision_v1/classes.rb +6 -156
  272. data/generated/google/apis/vision_v1/representations.rb +0 -44
  273. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  274. data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -156
  275. data/generated/google/apis/vision_v1p1beta1/representations.rb +0 -44
  276. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  277. data/generated/google/apis/vision_v1p2beta1/classes.rb +6 -156
  278. data/generated/google/apis/vision_v1p2beta1/representations.rb +0 -44
  279. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  280. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  281. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +21 -31
  282. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  283. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  284. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +30 -42
  285. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  286. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  287. data/generated/google/apis/youtube_partner_v1/classes.rb +0 -83
  288. data/generated/google/apis/youtube_partner_v1/representations.rb +0 -35
  289. data/generated/google/apis/youtube_partner_v1/service.rb +0 -100
  290. data/lib/google/apis/version.rb +1 -1
  291. metadata +18 -6
  292. data/generated/google/apis/dfareporting_v3_1.rb +0 -40
  293. data/generated/google/apis/dfareporting_v3_1/classes.rb +0 -11998
  294. data/generated/google/apis/dfareporting_v3_1/representations.rb +0 -4313
  295. data/generated/google/apis/dfareporting_v3_1/service.rb +0 -8688
@@ -0,0 +1,203 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module PolicytroubleshooterV1beta
24
+
25
+ class GoogleCloudPolicytroubleshooterV1betaAccessTuple
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class GoogleCloudPolicytroubleshooterV1betaBindingExplanation
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class GoogleCloudPolicytroubleshooterV1betaBindingExplanationAnnotatedMembership
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class GoogleCloudPolicytroubleshooterV1betaExplainedPolicy
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyRequest
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyResponse
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class GoogleIamV1AuditConfig
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GoogleIamV1AuditLogConfig
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GoogleIamV1Binding
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GoogleIamV1Policy
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleTypeExpr
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleCloudPolicytroubleshooterV1betaAccessTuple
92
+ # @private
93
+ class Representation < Google::Apis::Core::JsonRepresentation
94
+ property :full_resource_name, as: 'fullResourceName'
95
+ property :permission, as: 'permission'
96
+ property :principal, as: 'principal'
97
+ end
98
+ end
99
+
100
+ class GoogleCloudPolicytroubleshooterV1betaBindingExplanation
101
+ # @private
102
+ class Representation < Google::Apis::Core::JsonRepresentation
103
+ property :access, as: 'access'
104
+ property :condition, as: 'condition', class: Google::Apis::PolicytroubleshooterV1beta::GoogleTypeExpr, decorator: Google::Apis::PolicytroubleshooterV1beta::GoogleTypeExpr::Representation
105
+
106
+ hash :memberships, as: 'memberships', class: Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaBindingExplanationAnnotatedMembership, decorator: Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaBindingExplanationAnnotatedMembership::Representation
107
+
108
+ property :relevance, as: 'relevance'
109
+ property :role, as: 'role'
110
+ property :role_permission, as: 'rolePermission'
111
+ property :role_permission_relevance, as: 'rolePermissionRelevance'
112
+ end
113
+ end
114
+
115
+ class GoogleCloudPolicytroubleshooterV1betaBindingExplanationAnnotatedMembership
116
+ # @private
117
+ class Representation < Google::Apis::Core::JsonRepresentation
118
+ property :membership, as: 'membership'
119
+ property :relevance, as: 'relevance'
120
+ end
121
+ end
122
+
123
+ class GoogleCloudPolicytroubleshooterV1betaExplainedPolicy
124
+ # @private
125
+ class Representation < Google::Apis::Core::JsonRepresentation
126
+ property :access, as: 'access'
127
+ collection :binding_explanations, as: 'bindingExplanations', class: Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaBindingExplanation, decorator: Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaBindingExplanation::Representation
128
+
129
+ property :full_resource_name, as: 'fullResourceName'
130
+ property :policy, as: 'policy', class: Google::Apis::PolicytroubleshooterV1beta::GoogleIamV1Policy, decorator: Google::Apis::PolicytroubleshooterV1beta::GoogleIamV1Policy::Representation
131
+
132
+ property :relevance, as: 'relevance'
133
+ end
134
+ end
135
+
136
+ class GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyRequest
137
+ # @private
138
+ class Representation < Google::Apis::Core::JsonRepresentation
139
+ property :access_tuple, as: 'accessTuple', class: Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaAccessTuple, decorator: Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaAccessTuple::Representation
140
+
141
+ end
142
+ end
143
+
144
+ class GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyResponse
145
+ # @private
146
+ class Representation < Google::Apis::Core::JsonRepresentation
147
+ property :access, as: 'access'
148
+ collection :explained_policies, as: 'explainedPolicies', class: Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaExplainedPolicy, decorator: Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaExplainedPolicy::Representation
149
+
150
+ end
151
+ end
152
+
153
+ class GoogleIamV1AuditConfig
154
+ # @private
155
+ class Representation < Google::Apis::Core::JsonRepresentation
156
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::PolicytroubleshooterV1beta::GoogleIamV1AuditLogConfig, decorator: Google::Apis::PolicytroubleshooterV1beta::GoogleIamV1AuditLogConfig::Representation
157
+
158
+ property :service, as: 'service'
159
+ end
160
+ end
161
+
162
+ class GoogleIamV1AuditLogConfig
163
+ # @private
164
+ class Representation < Google::Apis::Core::JsonRepresentation
165
+ collection :exempted_members, as: 'exemptedMembers'
166
+ property :log_type, as: 'logType'
167
+ end
168
+ end
169
+
170
+ class GoogleIamV1Binding
171
+ # @private
172
+ class Representation < Google::Apis::Core::JsonRepresentation
173
+ property :condition, as: 'condition', class: Google::Apis::PolicytroubleshooterV1beta::GoogleTypeExpr, decorator: Google::Apis::PolicytroubleshooterV1beta::GoogleTypeExpr::Representation
174
+
175
+ collection :members, as: 'members'
176
+ property :role, as: 'role'
177
+ end
178
+ end
179
+
180
+ class GoogleIamV1Policy
181
+ # @private
182
+ class Representation < Google::Apis::Core::JsonRepresentation
183
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::PolicytroubleshooterV1beta::GoogleIamV1AuditConfig, decorator: Google::Apis::PolicytroubleshooterV1beta::GoogleIamV1AuditConfig::Representation
184
+
185
+ collection :bindings, as: 'bindings', class: Google::Apis::PolicytroubleshooterV1beta::GoogleIamV1Binding, decorator: Google::Apis::PolicytroubleshooterV1beta::GoogleIamV1Binding::Representation
186
+
187
+ property :etag, :base64 => true, as: 'etag'
188
+ property :version, as: 'version'
189
+ end
190
+ end
191
+
192
+ class GoogleTypeExpr
193
+ # @private
194
+ class Representation < Google::Apis::Core::JsonRepresentation
195
+ property :description, as: 'description'
196
+ property :expression, as: 'expression'
197
+ property :location, as: 'location'
198
+ property :title, as: 'title'
199
+ end
200
+ end
201
+ end
202
+ end
203
+ end
@@ -0,0 +1,91 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/core/base_service'
16
+ require 'google/apis/core/json_representation'
17
+ require 'google/apis/core/hashable'
18
+ require 'google/apis/errors'
19
+
20
+ module Google
21
+ module Apis
22
+ module PolicytroubleshooterV1beta
23
+ # Policy Troubleshooter API
24
+ #
25
+ #
26
+ #
27
+ # @example
28
+ # require 'google/apis/policytroubleshooter_v1beta'
29
+ #
30
+ # Policytroubleshooter = Google::Apis::PolicytroubleshooterV1beta # Alias the module
31
+ # service = Policytroubleshooter::PolicyTroubleshooterService.new
32
+ #
33
+ # @see https://cloud.google.com/iam/
34
+ class PolicyTroubleshooterService < Google::Apis::Core::BaseService
35
+ # @return [String]
36
+ # API key. Your API key identifies your project and provides you with API access,
37
+ # quota, and reports. Required unless you provide an OAuth 2.0 token.
38
+ attr_accessor :key
39
+
40
+ # @return [String]
41
+ # Available to use for quota purposes for server-side applications. Can be any
42
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
43
+ attr_accessor :quota_user
44
+
45
+ def initialize
46
+ super('https://policytroubleshooter.googleapis.com/', '')
47
+ @batch_path = 'batch'
48
+ end
49
+
50
+ # Perform a check on whether a member is granted a permission
51
+ # on a resource and how that grant/deny is determined accordinga
52
+ # to the resource's effective IAM policy interpretation.
53
+ # @param [Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyRequest] google_cloud_policytroubleshooter_v1beta_troubleshoot_iam_policy_request_object
54
+ # @param [String] fields
55
+ # Selector specifying which fields to include in a partial response.
56
+ # @param [String] quota_user
57
+ # Available to use for quota purposes for server-side applications. Can be any
58
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
59
+ # @param [Google::Apis::RequestOptions] options
60
+ # Request-specific options
61
+ #
62
+ # @yield [result, err] Result & error if block supplied
63
+ # @yieldparam result [Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyResponse] parsed result object
64
+ # @yieldparam err [StandardError] error object if request failed
65
+ #
66
+ # @return [Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyResponse]
67
+ #
68
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
69
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
70
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
71
+ def troubleshoot_iam(google_cloud_policytroubleshooter_v1beta_troubleshoot_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
72
+ command = make_simple_command(:post, 'v1beta/iam:troubleshoot', options)
73
+ command.request_representation = Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyRequest::Representation
74
+ command.request_object = google_cloud_policytroubleshooter_v1beta_troubleshoot_iam_policy_request_object
75
+ command.response_representation = Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyResponse::Representation
76
+ command.response_class = Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyResponse
77
+ command.query['fields'] = fields unless fields.nil?
78
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
79
+ execute_or_queue_command(command, &block)
80
+ end
81
+
82
+ protected
83
+
84
+ def apply_command_defaults(command)
85
+ command.query['key'] = key unless key.nil?
86
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
87
+ end
88
+ end
89
+ end
90
+ end
91
+ end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/beacons/proximity/
26
26
  module ProximitybeaconV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20190304'
28
+ REVISION = '20190913'
29
29
 
30
30
  # View and modify your beacons
31
31
  AUTH_USERLOCATION_BEACON_REGISTRY = 'https://www.googleapis.com/auth/userlocation.beacon.registry'
@@ -540,19 +540,22 @@ module Google
540
540
  # Information a client needs to provision and register beacons that
541
541
  # broadcast Eddystone-EID format beacon IDs, using Elliptic curve
542
542
  # Diffie-Hellman key exchange. See
543
- # [the Eddystone specification](https://github.com/google/eddystone/tree/master/
544
- # eddystone-eid) at GitHub.
543
+ # [the Eddystone
544
+ # specification](https://github.com/google/eddystone/tree/master/eddystone-eid)
545
+ # at GitHub.
545
546
  class EphemeralIdRegistrationParams
546
547
  include Google::Apis::Core::Hashable
547
548
 
548
549
  # Indicates the maximum rotation period supported by the service.
549
- # See EddystoneEidRegistration.rotation_period_exponent
550
+ # See
551
+ # EddystoneEidRegistration.rotation_period_exponent
550
552
  # Corresponds to the JSON property `maxRotationPeriodExponent`
551
553
  # @return [Fixnum]
552
554
  attr_accessor :max_rotation_period_exponent
553
555
 
554
556
  # Indicates the minimum rotation period supported by the service.
555
- # See EddystoneEidRegistration.rotation_period_exponent
557
+ # See
558
+ # EddystoneEidRegistration.rotation_period_exponent
556
559
  # Corresponds to the JSON property `minRotationPeriodExponent`
557
560
  # @return [Fixnum]
558
561
  attr_accessor :min_rotation_period_exponent
@@ -49,7 +49,8 @@ module Google
49
49
 
50
50
  # Given one or more beacon observations, returns any beacon information
51
51
  # and attachments accessible to your application. Authorize by using the
52
- # [API key](https://developers.google.com/beacons/proximity/get-started#
52
+ # [API
53
+ # key](https://developers.google.com/beacons/proximity/get-started#
53
54
  # request_a_browser_api_key)
54
55
  # for the application.
55
56
  # @param [Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsRequest] get_info_for_observed_beacons_request_object
@@ -85,10 +86,10 @@ module Google
85
86
  # and attachment data when queried via `beaconinfo.getforobserved`.
86
87
  # Calling this method on an already active beacon will do nothing (but
87
88
  # will return a successful response code).
88
- # Authenticate using an [OAuth access token](https://developers.google.com/
89
- # identity/protocols/OAuth2)
90
- # from a signed-in user with **Is owner** or **Can edit** permissions in the
91
- # Google Developers Console project.
89
+ # Authenticate using an [OAuth access
90
+ # token](https://developers.google.com/identity/protocols/OAuth2) from a
91
+ # signed-in user with **Is owner** or **Can edit** permissions in the Google
92
+ # Developers Console project.
92
93
  # @param [String] beacon_name
93
94
  # Beacon that should be activated. A beacon name has the format
94
95
  # "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
@@ -134,10 +135,10 @@ module Google
134
135
  # information nor attachment data for the beacon when queried via
135
136
  # `beaconinfo.getforobserved`. Calling this method on an already inactive
136
137
  # beacon will do nothing (but will return a successful response code).
137
- # Authenticate using an [OAuth access token](https://developers.google.com/
138
- # identity/protocols/OAuth2)
139
- # from a signed-in user with **Is owner** or **Can edit** permissions in the
140
- # Google Developers Console project.
138
+ # Authenticate using an [OAuth access
139
+ # token](https://developers.google.com/identity/protocols/OAuth2) from a
140
+ # signed-in user with **Is owner** or **Can edit** permissions in the Google
141
+ # Developers Console project.
141
142
  # @param [String] beacon_name
142
143
  # Beacon that should be deactivated. A beacon name has the format
143
144
  # "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
@@ -183,10 +184,10 @@ module Google
183
184
  # longer be returned from `beaconinfo.getforobserved`. This operation is
184
185
  # permanent -- you will not be able to re-register a beacon with this ID
185
186
  # again.
186
- # Authenticate using an [OAuth access token](https://developers.google.com/
187
- # identity/protocols/OAuth2)
188
- # from a signed-in user with **Is owner** or **Can edit** permissions in the
189
- # Google Developers Console project.
187
+ # Authenticate using an [OAuth access
188
+ # token](https://developers.google.com/identity/protocols/OAuth2) from a
189
+ # signed-in user with **Is owner** or **Can edit** permissions in the Google
190
+ # Developers Console project.
190
191
  # @param [String] beacon_name
191
192
  # Beacon that should be decommissioned. A beacon name has the format
192
193
  # "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
@@ -231,10 +232,10 @@ module Google
231
232
  # Deletes the specified beacon including all diagnostics data for the beacon
232
233
  # as well as any attachments on the beacon (including those belonging to
233
234
  # other projects). This operation cannot be undone.
234
- # Authenticate using an [OAuth access token](https://developers.google.com/
235
- # identity/protocols/OAuth2)
236
- # from a signed-in user with **Is owner** or **Can edit** permissions in the
237
- # Google Developers Console project.
235
+ # Authenticate using an [OAuth access
236
+ # token](https://developers.google.com/identity/protocols/OAuth2) from a
237
+ # signed-in user with **Is owner** or **Can edit** permissions in the Google
238
+ # Developers Console project.
238
239
  # @param [String] beacon_name
239
240
  # Beacon that should be deleted. A beacon name has the format
240
241
  # "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
@@ -276,10 +277,10 @@ module Google
276
277
  end
277
278
 
278
279
  # Returns detailed information about the specified beacon.
279
- # Authenticate using an [OAuth access token](https://developers.google.com/
280
- # identity/protocols/OAuth2)
281
- # from a signed-in user with **viewer**, **Is owner** or **Can edit**
282
- # permissions in the Google Developers Console project.
280
+ # Authenticate using an [OAuth access
281
+ # token](https://developers.google.com/identity/protocols/OAuth2) from a
282
+ # signed-in user with **viewer**, **Is owner** or **Can edit** permissions in
283
+ # the Google Developers Console project.
283
284
  # Requests may supply an Eddystone-EID beacon name in the form:
284
285
  # `beacons/4!beaconId` where the `beaconId` is the base16 ephemeral ID
285
286
  # broadcast by the beacon. The returned `Beacon` object will contain the
@@ -329,10 +330,10 @@ module Google
329
330
  # Searches the beacon registry for beacons that match the given search
330
331
  # criteria. Only those beacons that the client has permission to list
331
332
  # will be returned.
332
- # Authenticate using an [OAuth access token](https://developers.google.com/
333
- # identity/protocols/OAuth2)
334
- # from a signed-in user with **viewer**, **Is owner** or **Can edit**
335
- # permissions in the Google Developers Console project.
333
+ # Authenticate using an [OAuth access
334
+ # token](https://developers.google.com/identity/protocols/OAuth2) from a
335
+ # signed-in user with **viewer**, **Is owner** or **Can edit** permissions in
336
+ # the Google Developers Console project.
336
337
  # @param [Fixnum] page_size
337
338
  # The maximum number of records to return for this request, up to a
338
339
  # server-defined upper limit.
@@ -405,7 +406,8 @@ module Google
405
406
  # As with any HTTP query string parameter, the whole filter expression must
406
407
  # be URL-encoded.
407
408
  # Example REST request:
408
- # `GET /v1beta1/beacons?q=status:active%20lat:51.123%20lng:-1.095%20radius:1000`
409
+ # `GET
410
+ # /v1beta1/beacons?q=status:active%20lat:51.123%20lng:-1.095%20radius:1000`
409
411
  # @param [String] fields
410
412
  # Selector specifying which fields to include in a partial response.
411
413
  # @param [String] quota_user
@@ -438,10 +440,10 @@ module Google
438
440
 
439
441
  # Registers a previously unregistered beacon given its `advertisedId`.
440
442
  # These IDs are unique within the system. An ID can be registered only once.
441
- # Authenticate using an [OAuth access token](https://developers.google.com/
442
- # identity/protocols/OAuth2)
443
- # from a signed-in user with **Is owner** or **Can edit** permissions in the
444
- # Google Developers Console project.
443
+ # Authenticate using an [OAuth access
444
+ # token](https://developers.google.com/identity/protocols/OAuth2) from a
445
+ # signed-in user with **Is owner** or **Can edit** permissions in the Google
446
+ # Developers Console project.
445
447
  # @param [Google::Apis::ProximitybeaconV1beta1::Beacon] beacon_object
446
448
  # @param [String] project_id
447
449
  # The project id of the project the beacon will be registered to. If
@@ -484,10 +486,10 @@ module Google
484
486
  # Changes to the beacon status via this method will be silently ignored.
485
487
  # To update beacon status, use the separate methods on this API for
486
488
  # activation, deactivation, and decommissioning.
487
- # Authenticate using an [OAuth access token](https://developers.google.com/
488
- # identity/protocols/OAuth2)
489
- # from a signed-in user with **Is owner** or **Can edit** permissions in the
490
- # Google Developers Console project.
489
+ # Authenticate using an [OAuth access
490
+ # token](https://developers.google.com/identity/protocols/OAuth2) from a
491
+ # signed-in user with **Is owner** or **Can edit** permissions in the Google
492
+ # Developers Console project.
491
493
  # @param [String] beacon_name
492
494
  # Resource name of this beacon. A beacon name has the format
493
495
  # "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
@@ -537,10 +539,10 @@ module Google
537
539
  # should be deleted. If you do not specify `namespacedType`, all your
538
540
  # attachments on the given beacon will be deleted. You also may explicitly
539
541
  # specify `*/*` to delete all.
540
- # Authenticate using an [OAuth access token](https://developers.google.com/
541
- # identity/protocols/OAuth2)
542
- # from a signed-in user with **Is owner** or **Can edit** permissions in the
543
- # Google Developers Console project.
542
+ # Authenticate using an [OAuth access
543
+ # token](https://developers.google.com/identity/protocols/OAuth2) from a
544
+ # signed-in user with **Is owner** or **Can edit** permissions in the Google
545
+ # Developers Console project.
544
546
  # @param [String] beacon_name
545
547
  # The beacon whose attachments should be deleted. A beacon name has the
546
548
  # format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast
@@ -601,10 +603,10 @@ module Google
601
603
  # endpoint, while the type can be a string of any characters except for the
602
604
  # forward slash (`/`) up to 100 characters in length.
603
605
  # Attachment data can be up to 1024 bytes long.
604
- # Authenticate using an [OAuth access token](https://developers.google.com/
605
- # identity/protocols/OAuth2)
606
- # from a signed-in user with **Is owner** or **Can edit** permissions in the
607
- # Google Developers Console project.
606
+ # Authenticate using an [OAuth access
607
+ # token](https://developers.google.com/identity/protocols/OAuth2) from a
608
+ # signed-in user with **Is owner** or **Can edit** permissions in the Google
609
+ # Developers Console project.
608
610
  # @param [String] beacon_name
609
611
  # Beacon on which the attachment should be created. A beacon name has the
610
612
  # format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast
@@ -654,10 +656,10 @@ module Google
654
656
  # fetch the attachment data via this API. You specify this with the delete
655
657
  # request to control which attachment is removed. This operation cannot be
656
658
  # undone.
657
- # Authenticate using an [OAuth access token](https://developers.google.com/
658
- # identity/protocols/OAuth2)
659
- # from a signed-in user with **Is owner** or **Can edit** permissions in the
660
- # Google Developers Console project.
659
+ # Authenticate using an [OAuth access
660
+ # token](https://developers.google.com/identity/protocols/OAuth2) from a
661
+ # signed-in user with **Is owner** or **Can edit** permissions in the Google
662
+ # Developers Console project.
661
663
  # @param [String] attachment_name
662
664
  # The attachment name (`attachmentName`) of
663
665
  # the attachment to remove. For example:
@@ -703,10 +705,10 @@ module Google
703
705
  # `namespacedType` query parameter to the request. You must either use
704
706
  # `*/*`, to return all attachments, or the namespace must be one of
705
707
  # the ones returned from the `namespaces` endpoint.
706
- # Authenticate using an [OAuth access token](https://developers.google.com/
707
- # identity/protocols/OAuth2)
708
- # from a signed-in user with **viewer**, **Is owner** or **Can edit**
709
- # permissions in the Google Developers Console project.
708
+ # Authenticate using an [OAuth access
709
+ # token](https://developers.google.com/identity/protocols/OAuth2) from a
710
+ # signed-in user with **viewer**, **Is owner** or **Can edit** permissions in
711
+ # the Google Developers Console project.
710
712
  # @param [String] beacon_name
711
713
  # Beacon whose attachments should be fetched. A beacon name has the
712
714
  # format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast
@@ -758,10 +760,10 @@ module Google
758
760
  # List the diagnostics for a single beacon. You can also list diagnostics for
759
761
  # all the beacons owned by your Google Developers Console project by using
760
762
  # the beacon name `beacons/-`.
761
- # Authenticate using an [OAuth access token](https://developers.google.com/
762
- # identity/protocols/OAuth2)
763
- # from a signed-in user with **viewer**, **Is owner** or **Can edit**
764
- # permissions in the Google Developers Console project.
763
+ # Authenticate using an [OAuth access
764
+ # token](https://developers.google.com/identity/protocols/OAuth2) from a
765
+ # signed-in user with **viewer**, **Is owner** or **Can edit** permissions in
766
+ # the Google Developers Console project.
765
767
  # @param [String] beacon_name
766
768
  # Beacon that the diagnostics are for.
767
769
  # @param [String] alert_filter
@@ -811,10 +813,10 @@ module Google
811
813
  # Lists all attachment namespaces owned by your Google Developers Console
812
814
  # project. Attachment data associated with a beacon must include a
813
815
  # namespaced type, and the namespace must be owned by your project.
814
- # Authenticate using an [OAuth access token](https://developers.google.com/
815
- # identity/protocols/OAuth2)
816
- # from a signed-in user with **viewer**, **Is owner** or **Can edit**
817
- # permissions in the Google Developers Console project.
816
+ # Authenticate using an [OAuth access
817
+ # token](https://developers.google.com/identity/protocols/OAuth2) from a
818
+ # signed-in user with **viewer**, **Is owner** or **Can edit** permissions in
819
+ # the Google Developers Console project.
818
820
  # @param [String] project_id
819
821
  # The project id to list namespaces under.
820
822
  # Optional.