google-api-client 0.11.1 → 0.11.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (252) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/api_names.yaml +42335 -1
  4. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +28 -28
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +12 -12
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  8. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +757 -757
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +162 -162
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +48 -48
  12. data/generated/google/apis/admin_directory_v1.rb +1 -1
  13. data/generated/google/apis/admin_directory_v1/classes.rb +75 -7
  14. data/generated/google/apis/admin_directory_v1/representations.rb +20 -0
  15. data/generated/google/apis/admin_directory_v1/service.rb +61 -61
  16. data/generated/google/apis/adsense_v1_4.rb +1 -1
  17. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  18. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  19. data/generated/google/apis/analyticsreporting_v4/classes.rb +403 -403
  20. data/generated/google/apis/analyticsreporting_v4/representations.rb +108 -108
  21. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  22. data/generated/google/apis/androidenterprise_v1/classes.rb +36 -11
  23. data/generated/google/apis/androidenterprise_v1/representations.rb +2 -0
  24. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  25. data/generated/google/apis/appengine_v1.rb +6 -5
  26. data/generated/google/apis/appengine_v1/classes.rb +1429 -1421
  27. data/generated/google/apis/appengine_v1/representations.rb +331 -331
  28. data/generated/google/apis/appengine_v1/service.rb +173 -168
  29. data/generated/google/apis/appstate_v1.rb +1 -1
  30. data/generated/google/apis/bigquery_v2.rb +1 -1
  31. data/generated/google/apis/calendar_v3.rb +1 -1
  32. data/generated/google/apis/classroom_v1.rb +1 -1
  33. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  34. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  35. data/generated/google/apis/cloudbuild_v1/classes.rb +624 -618
  36. data/generated/google/apis/cloudbuild_v1/representations.rb +126 -125
  37. data/generated/google/apis/cloudbuild_v1/service.rb +87 -87
  38. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  39. data/generated/google/apis/clouddebugger_v2/classes.rb +267 -267
  40. data/generated/google/apis/clouddebugger_v2/representations.rb +83 -83
  41. data/generated/google/apis/clouddebugger_v2/service.rb +137 -137
  42. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  43. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +131 -131
  44. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +28 -28
  45. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +17 -17
  46. data/generated/google/apis/cloudfunctions_v1.rb +1 -4
  47. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -47
  48. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -17
  49. data/generated/google/apis/cloudfunctions_v1/service.rb +0 -30
  50. data/generated/google/apis/cloudkms_v1.rb +1 -1
  51. data/generated/google/apis/cloudkms_v1/classes.rb +625 -625
  52. data/generated/google/apis/cloudkms_v1/representations.rb +132 -132
  53. data/generated/google/apis/cloudkms_v1/service.rb +272 -272
  54. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  55. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  56. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +242 -242
  57. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +43 -43
  58. data/generated/google/apis/cloudresourcemanager_v1/service.rb +505 -505
  59. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
  60. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +172 -172
  61. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +39 -39
  62. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +310 -310
  63. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  64. data/generated/google/apis/cloudtrace_v1/classes.rb +96 -69
  65. data/generated/google/apis/cloudtrace_v1/representations.rb +16 -16
  66. data/generated/google/apis/cloudtrace_v1/service.rb +42 -15
  67. data/generated/google/apis/compute_beta.rb +1 -1
  68. data/generated/google/apis/compute_beta/classes.rb +194 -25
  69. data/generated/google/apis/compute_beta/representations.rb +42 -0
  70. data/generated/google/apis/compute_beta/service.rb +196 -100
  71. data/generated/google/apis/compute_v1.rb +1 -1
  72. data/generated/google/apis/compute_v1/classes.rb +69 -18
  73. data/generated/google/apis/compute_v1/representations.rb +16 -0
  74. data/generated/google/apis/compute_v1/service.rb +84 -26
  75. data/generated/google/apis/container_v1.rb +3 -3
  76. data/generated/google/apis/container_v1/classes.rb +794 -586
  77. data/generated/google/apis/container_v1/representations.rb +202 -118
  78. data/generated/google/apis/container_v1/service.rb +396 -167
  79. data/generated/google/apis/content_v2.rb +1 -1
  80. data/generated/google/apis/content_v2/service.rb +4 -4
  81. data/generated/google/apis/dataproc_v1.rb +1 -1
  82. data/generated/google/apis/dataproc_v1/classes.rb +487 -484
  83. data/generated/google/apis/dataproc_v1/representations.rb +83 -83
  84. data/generated/google/apis/dataproc_v1/service.rb +299 -297
  85. data/generated/google/apis/datastore_v1.rb +1 -1
  86. data/generated/google/apis/datastore_v1/classes.rb +703 -703
  87. data/generated/google/apis/datastore_v1/representations.rb +148 -148
  88. data/generated/google/apis/datastore_v1/service.rb +62 -62
  89. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  90. data/generated/google/apis/deploymentmanager_v2/classes.rb +7 -5
  91. data/generated/google/apis/dfareporting_v2_6.rb +1 -1
  92. data/generated/google/apis/dfareporting_v2_6/classes.rb +66 -53
  93. data/generated/google/apis/dfareporting_v2_6/service.rb +30 -30
  94. data/generated/google/apis/dfareporting_v2_7.rb +1 -1
  95. data/generated/google/apis/dfareporting_v2_7/classes.rb +69 -55
  96. data/generated/google/apis/dfareporting_v2_7/service.rb +38 -37
  97. data/generated/google/apis/dfareporting_v2_8.rb +40 -0
  98. data/generated/google/apis/dfareporting_v2_8/classes.rb +12046 -0
  99. data/generated/google/apis/dfareporting_v2_8/representations.rb +4310 -0
  100. data/generated/google/apis/dfareporting_v2_8/service.rb +9135 -0
  101. data/generated/google/apis/dns_v1.rb +1 -1
  102. data/generated/google/apis/dns_v2beta1.rb +1 -1
  103. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  104. data/generated/google/apis/drive_v2.rb +1 -1
  105. data/generated/google/apis/drive_v2/classes.rb +15 -0
  106. data/generated/google/apis/drive_v2/representations.rb +2 -0
  107. data/generated/google/apis/drive_v2/service.rb +2 -1
  108. data/generated/google/apis/drive_v3.rb +1 -1
  109. data/generated/google/apis/drive_v3/classes.rb +16 -0
  110. data/generated/google/apis/drive_v3/representations.rb +2 -0
  111. data/generated/google/apis/drive_v3/service.rb +2 -1
  112. data/generated/google/apis/firebasedynamiclinks_v1.rb +2 -3
  113. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +159 -159
  114. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +55 -55
  115. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -6
  116. data/generated/google/apis/firebaserules_v1.rb +1 -1
  117. data/generated/google/apis/firebaserules_v1/classes.rb +73 -73
  118. data/generated/google/apis/firebaserules_v1/representations.rb +25 -25
  119. data/generated/google/apis/firebaserules_v1/service.rb +118 -118
  120. data/generated/google/apis/fusiontables_v2.rb +1 -1
  121. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  122. data/generated/google/apis/games_management_v1management.rb +1 -1
  123. data/generated/google/apis/games_v1.rb +1 -1
  124. data/generated/google/apis/genomics_v1.rb +1 -1
  125. data/generated/google/apis/genomics_v1/classes.rb +920 -920
  126. data/generated/google/apis/genomics_v1/representations.rb +202 -202
  127. data/generated/google/apis/genomics_v1/service.rb +1092 -1092
  128. data/generated/google/apis/gmail_v1.rb +1 -1
  129. data/generated/google/apis/iam_v1.rb +1 -1
  130. data/generated/google/apis/iam_v1/classes.rb +455 -435
  131. data/generated/google/apis/iam_v1/representations.rb +96 -93
  132. data/generated/google/apis/iam_v1/service.rb +157 -157
  133. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  134. data/generated/google/apis/identitytoolkit_v3/classes.rb +12 -0
  135. data/generated/google/apis/identitytoolkit_v3/representations.rb +2 -0
  136. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  137. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  138. data/generated/google/apis/kgsearch_v1/service.rb +9 -9
  139. data/generated/google/apis/language_v1.rb +1 -1
  140. data/generated/google/apis/language_v1/classes.rb +455 -455
  141. data/generated/google/apis/language_v1/representations.rb +102 -102
  142. data/generated/google/apis/language_v1/service.rb +42 -42
  143. data/generated/google/apis/language_v1beta1.rb +1 -1
  144. data/generated/google/apis/language_v1beta1/classes.rb +216 -215
  145. data/generated/google/apis/language_v1beta1/representations.rb +75 -75
  146. data/generated/google/apis/language_v1beta1/service.rb +45 -45
  147. data/generated/google/apis/logging_v2.rb +1 -1
  148. data/generated/google/apis/logging_v2/classes.rb +908 -895
  149. data/generated/google/apis/logging_v2/representations.rb +121 -120
  150. data/generated/google/apis/logging_v2/service.rb +489 -489
  151. data/generated/google/apis/logging_v2beta1.rb +4 -4
  152. data/generated/google/apis/logging_v2beta1/classes.rb +928 -915
  153. data/generated/google/apis/logging_v2beta1/representations.rb +121 -120
  154. data/generated/google/apis/logging_v2beta1/service.rb +249 -249
  155. data/generated/google/apis/manufacturers_v1.rb +1 -1
  156. data/generated/google/apis/manufacturers_v1/classes.rb +294 -294
  157. data/generated/google/apis/manufacturers_v1/representations.rb +84 -84
  158. data/generated/google/apis/manufacturers_v1/service.rb +8 -8
  159. data/generated/google/apis/mirror_v1.rb +1 -1
  160. data/generated/google/apis/ml_v1.rb +1 -1
  161. data/generated/google/apis/ml_v1/classes.rb +1186 -1183
  162. data/generated/google/apis/ml_v1/representations.rb +177 -177
  163. data/generated/google/apis/ml_v1/service.rb +244 -244
  164. data/generated/google/apis/monitoring_v3.rb +1 -1
  165. data/generated/google/apis/monitoring_v3/classes.rb +866 -866
  166. data/generated/google/apis/monitoring_v3/representations.rb +163 -163
  167. data/generated/google/apis/monitoring_v3/service.rb +355 -316
  168. data/generated/google/apis/oauth2_v2.rb +1 -1
  169. data/generated/google/apis/partners_v2.rb +1 -1
  170. data/generated/google/apis/partners_v2/classes.rb +1499 -1499
  171. data/generated/google/apis/partners_v2/representations.rb +368 -368
  172. data/generated/google/apis/partners_v2/service.rb +512 -512
  173. data/generated/google/apis/people_v1.rb +10 -10
  174. data/generated/google/apis/people_v1/classes.rb +544 -423
  175. data/generated/google/apis/people_v1/representations.rb +127 -109
  176. data/generated/google/apis/people_v1/service.rb +8 -8
  177. data/generated/google/apis/plus_domains_v1.rb +1 -1
  178. data/generated/google/apis/plus_v1.rb +1 -1
  179. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  180. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +200 -200
  181. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +41 -41
  182. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +80 -80
  183. data/generated/google/apis/pubsub_v1.rb +1 -1
  184. data/generated/google/apis/pubsub_v1/classes.rb +377 -377
  185. data/generated/google/apis/pubsub_v1/representations.rb +82 -82
  186. data/generated/google/apis/pubsub_v1/service.rb +93 -93
  187. data/generated/google/apis/runtimeconfig_v1.rb +6 -4
  188. data/generated/google/apis/runtimeconfig_v1/classes.rb +22 -22
  189. data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
  190. data/generated/google/apis/runtimeconfig_v1/service.rb +57 -55
  191. data/generated/google/apis/script_v1.rb +14 -14
  192. data/generated/google/apis/script_v1/classes.rb +113 -58
  193. data/generated/google/apis/script_v1/representations.rb +43 -14
  194. data/generated/google/apis/script_v1/service.rb +6 -6
  195. data/generated/google/apis/searchconsole_v1.rb +1 -1
  196. data/generated/google/apis/searchconsole_v1/classes.rb +67 -67
  197. data/generated/google/apis/searchconsole_v1/representations.rb +29 -29
  198. data/generated/google/apis/searchconsole_v1/service.rb +6 -6
  199. data/generated/google/apis/servicecontrol_v1.rb +4 -4
  200. data/generated/google/apis/servicecontrol_v1/classes.rb +1125 -1125
  201. data/generated/google/apis/servicecontrol_v1/representations.rb +213 -213
  202. data/generated/google/apis/servicecontrol_v1/service.rb +92 -92
  203. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  204. data/generated/google/apis/servicemanagement_v1/classes.rb +3364 -3622
  205. data/generated/google/apis/servicemanagement_v1/representations.rb +546 -530
  206. data/generated/google/apis/servicemanagement_v1/service.rb +262 -152
  207. data/generated/google/apis/serviceuser_v1.rb +4 -4
  208. data/generated/google/apis/serviceuser_v1/classes.rb +2616 -2874
  209. data/generated/google/apis/serviceuser_v1/representations.rb +294 -278
  210. data/generated/google/apis/serviceuser_v1/service.rb +19 -19
  211. data/generated/google/apis/sheets_v4.rb +4 -1
  212. data/generated/google/apis/sheets_v4/classes.rb +4315 -4313
  213. data/generated/google/apis/sheets_v4/representations.rb +858 -858
  214. data/generated/google/apis/sheets_v4/service.rb +115 -115
  215. data/generated/google/apis/slides_v1.rb +1 -1
  216. data/generated/google/apis/slides_v1/classes.rb +2890 -2890
  217. data/generated/google/apis/slides_v1/representations.rb +638 -638
  218. data/generated/google/apis/slides_v1/service.rb +36 -36
  219. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  220. data/generated/google/apis/sourcerepo_v1/classes.rb +283 -283
  221. data/generated/google/apis/sourcerepo_v1/representations.rb +67 -67
  222. data/generated/google/apis/sourcerepo_v1/service.rb +88 -88
  223. data/generated/google/apis/spanner_v1.rb +1 -1
  224. data/generated/google/apis/spanner_v1/classes.rb +2258 -2233
  225. data/generated/google/apis/spanner_v1/representations.rb +325 -325
  226. data/generated/google/apis/spanner_v1/service.rb +466 -466
  227. data/generated/google/apis/speech_v1beta1.rb +2 -2
  228. data/generated/google/apis/speech_v1beta1/classes.rb +97 -97
  229. data/generated/google/apis/speech_v1beta1/representations.rb +29 -29
  230. data/generated/google/apis/speech_v1beta1/service.rb +49 -49
  231. data/generated/google/apis/storage_v1.rb +1 -1
  232. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  233. data/generated/google/apis/storagetransfer_v1/classes.rb +786 -786
  234. data/generated/google/apis/storagetransfer_v1/representations.rb +133 -133
  235. data/generated/google/apis/storagetransfer_v1/service.rb +30 -30
  236. data/generated/google/apis/surveys_v2.rb +1 -1
  237. data/generated/google/apis/surveys_v2/classes.rb +0 -12
  238. data/generated/google/apis/surveys_v2/representations.rb +0 -4
  239. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  240. data/generated/google/apis/vision_v1.rb +1 -1
  241. data/generated/google/apis/vision_v1/classes.rb +1301 -1302
  242. data/generated/google/apis/vision_v1/representations.rb +183 -183
  243. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  244. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  245. data/generated/google/apis/youtube_partner_v1/classes.rb +10 -0
  246. data/generated/google/apis/youtube_partner_v1/representations.rb +1 -0
  247. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  248. data/generated/google/apis/youtubereporting_v1/classes.rb +64 -64
  249. data/generated/google/apis/youtubereporting_v1/representations.rb +12 -12
  250. data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
  251. data/lib/google/apis/version.rb +1 -1
  252. metadata +7 -3
@@ -22,6 +22,30 @@ module Google
22
22
  module Apis
23
23
  module SourcerepoV1
24
24
 
25
+ class TestIamPermissionsRequest
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Policy
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class DataAccessOptions
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AuditConfig
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
25
49
  class SetIamPolicyRequest
26
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
51
 
@@ -58,19 +82,19 @@ module Google
58
82
  include Google::Apis::Core::JsonObjectSupport
59
83
  end
60
84
 
61
- class ListReposResponse
85
+ class TestIamPermissionsResponse
62
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
87
 
64
88
  include Google::Apis::Core::JsonObjectSupport
65
89
  end
66
90
 
67
- class Condition
91
+ class ListReposResponse
68
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
93
 
70
94
  include Google::Apis::Core::JsonObjectSupport
71
95
  end
72
96
 
73
- class TestIamPermissionsResponse
97
+ class Condition
74
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
99
 
76
100
  include Google::Apis::Core::JsonObjectSupport
@@ -101,27 +125,41 @@ module Google
101
125
  end
102
126
 
103
127
  class TestIamPermissionsRequest
104
- class Representation < Google::Apis::Core::JsonRepresentation; end
105
-
106
- include Google::Apis::Core::JsonObjectSupport
128
+ # @private
129
+ class Representation < Google::Apis::Core::JsonRepresentation
130
+ collection :permissions, as: 'permissions'
131
+ end
107
132
  end
108
133
 
109
134
  class Policy
110
- class Representation < Google::Apis::Core::JsonRepresentation; end
135
+ # @private
136
+ class Representation < Google::Apis::Core::JsonRepresentation
137
+ property :etag, :base64 => true, as: 'etag'
138
+ property :iam_owned, as: 'iamOwned'
139
+ collection :rules, as: 'rules', class: Google::Apis::SourcerepoV1::Rule, decorator: Google::Apis::SourcerepoV1::Rule::Representation
111
140
 
112
- include Google::Apis::Core::JsonObjectSupport
141
+ property :version, as: 'version'
142
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::SourcerepoV1::AuditConfig, decorator: Google::Apis::SourcerepoV1::AuditConfig::Representation
143
+
144
+ collection :bindings, as: 'bindings', class: Google::Apis::SourcerepoV1::Binding, decorator: Google::Apis::SourcerepoV1::Binding::Representation
145
+
146
+ end
113
147
  end
114
148
 
115
149
  class DataAccessOptions
116
- class Representation < Google::Apis::Core::JsonRepresentation; end
117
-
118
- include Google::Apis::Core::JsonObjectSupport
150
+ # @private
151
+ class Representation < Google::Apis::Core::JsonRepresentation
152
+ end
119
153
  end
120
154
 
121
155
  class AuditConfig
122
- class Representation < Google::Apis::Core::JsonRepresentation; end
156
+ # @private
157
+ class Representation < Google::Apis::Core::JsonRepresentation
158
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::SourcerepoV1::AuditLogConfig, decorator: Google::Apis::SourcerepoV1::AuditLogConfig::Representation
123
159
 
124
- include Google::Apis::Core::JsonObjectSupport
160
+ collection :exempted_members, as: 'exemptedMembers'
161
+ property :service, as: 'service'
162
+ end
125
163
  end
126
164
 
127
165
  class SetIamPolicyRequest
@@ -156,20 +194,27 @@ module Google
156
194
  class MirrorConfig
157
195
  # @private
158
196
  class Representation < Google::Apis::Core::JsonRepresentation
159
- property :webhook_id, as: 'webhookId'
160
197
  property :deploy_key_id, as: 'deployKeyId'
161
198
  property :url, as: 'url'
199
+ property :webhook_id, as: 'webhookId'
162
200
  end
163
201
  end
164
202
 
165
203
  class Repo
166
204
  # @private
167
205
  class Representation < Google::Apis::Core::JsonRepresentation
168
- property :mirror_config, as: 'mirrorConfig', class: Google::Apis::SourcerepoV1::MirrorConfig, decorator: Google::Apis::SourcerepoV1::MirrorConfig::Representation
169
-
170
206
  property :url, as: 'url'
171
207
  property :size, :numeric_string => true, as: 'size'
172
208
  property :name, as: 'name'
209
+ property :mirror_config, as: 'mirrorConfig', class: Google::Apis::SourcerepoV1::MirrorConfig, decorator: Google::Apis::SourcerepoV1::MirrorConfig::Representation
210
+
211
+ end
212
+ end
213
+
214
+ class TestIamPermissionsResponse
215
+ # @private
216
+ class Representation < Google::Apis::Core::JsonRepresentation
217
+ collection :permissions, as: 'permissions'
173
218
  end
174
219
  end
175
220
 
@@ -184,19 +229,12 @@ module Google
184
229
  class Condition
185
230
  # @private
186
231
  class Representation < Google::Apis::Core::JsonRepresentation
187
- collection :values, as: 'values'
232
+ property :value, as: 'value'
233
+ property :sys, as: 'sys'
188
234
  property :iam, as: 'iam'
235
+ collection :values, as: 'values'
189
236
  property :op, as: 'op'
190
237
  property :svc, as: 'svc'
191
- property :value, as: 'value'
192
- property :sys, as: 'sys'
193
- end
194
- end
195
-
196
- class TestIamPermissionsResponse
197
- # @private
198
- class Representation < Google::Apis::Core::JsonRepresentation
199
- collection :permissions, as: 'permissions'
200
238
  end
201
239
  end
202
240
 
@@ -211,8 +249,8 @@ module Google
211
249
  class AuditLogConfig
212
250
  # @private
213
251
  class Representation < Google::Apis::Core::JsonRepresentation
214
- property :log_type, as: 'logType'
215
252
  collection :exempted_members, as: 'exemptedMembers'
253
+ property :log_type, as: 'logType'
216
254
  end
217
255
  end
218
256
 
@@ -234,50 +272,12 @@ module Google
234
272
  class LogConfig
235
273
  # @private
236
274
  class Representation < Google::Apis::Core::JsonRepresentation
237
- property :counter, as: 'counter', class: Google::Apis::SourcerepoV1::CounterOptions, decorator: Google::Apis::SourcerepoV1::CounterOptions::Representation
238
-
239
- property :data_access, as: 'dataAccess', class: Google::Apis::SourcerepoV1::DataAccessOptions, decorator: Google::Apis::SourcerepoV1::DataAccessOptions::Representation
240
-
241
275
  property :cloud_audit, as: 'cloudAudit', class: Google::Apis::SourcerepoV1::CloudAuditOptions, decorator: Google::Apis::SourcerepoV1::CloudAuditOptions::Representation
242
276
 
243
- end
244
- end
245
-
246
- class TestIamPermissionsRequest
247
- # @private
248
- class Representation < Google::Apis::Core::JsonRepresentation
249
- collection :permissions, as: 'permissions'
250
- end
251
- end
252
-
253
- class Policy
254
- # @private
255
- class Representation < Google::Apis::Core::JsonRepresentation
256
- property :iam_owned, as: 'iamOwned'
257
- collection :rules, as: 'rules', class: Google::Apis::SourcerepoV1::Rule, decorator: Google::Apis::SourcerepoV1::Rule::Representation
258
-
259
- property :version, as: 'version'
260
- collection :audit_configs, as: 'auditConfigs', class: Google::Apis::SourcerepoV1::AuditConfig, decorator: Google::Apis::SourcerepoV1::AuditConfig::Representation
261
-
262
- collection :bindings, as: 'bindings', class: Google::Apis::SourcerepoV1::Binding, decorator: Google::Apis::SourcerepoV1::Binding::Representation
263
-
264
- property :etag, :base64 => true, as: 'etag'
265
- end
266
- end
267
-
268
- class DataAccessOptions
269
- # @private
270
- class Representation < Google::Apis::Core::JsonRepresentation
271
- end
272
- end
277
+ property :counter, as: 'counter', class: Google::Apis::SourcerepoV1::CounterOptions, decorator: Google::Apis::SourcerepoV1::CounterOptions::Representation
273
278
 
274
- class AuditConfig
275
- # @private
276
- class Representation < Google::Apis::Core::JsonRepresentation
277
- collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::SourcerepoV1::AuditLogConfig, decorator: Google::Apis::SourcerepoV1::AuditLogConfig::Representation
279
+ property :data_access, as: 'dataAccess', class: Google::Apis::SourcerepoV1::DataAccessOptions, decorator: Google::Apis::SourcerepoV1::DataAccessOptions::Representation
278
280
 
279
- collection :exempted_members, as: 'exemptedMembers'
280
- property :service, as: 'service'
281
281
  end
282
282
  end
283
283
  end
@@ -47,51 +47,15 @@ module Google
47
47
  @batch_path = 'batch'
48
48
  end
49
49
 
50
- # Returns permissions that a caller has on the specified resource.
51
- # If the resource does not exist, this will return an empty set of
52
- # permissions, not a NOT_FOUND error.
53
- # @param [String] resource
54
- # REQUIRED: The resource for which the policy detail is being requested.
55
- # See the operation documentation for the appropriate value for this field.
56
- # @param [Google::Apis::SourcerepoV1::TestIamPermissionsRequest] test_iam_permissions_request_object
57
- # @param [String] fields
58
- # Selector specifying which fields to include in a partial response.
59
- # @param [String] quota_user
60
- # Available to use for quota purposes for server-side applications. Can be any
61
- # arbitrary string assigned to a user, but should not exceed 40 characters.
62
- # @param [Google::Apis::RequestOptions] options
63
- # Request-specific options
64
- #
65
- # @yield [result, err] Result & error if block supplied
66
- # @yieldparam result [Google::Apis::SourcerepoV1::TestIamPermissionsResponse] parsed result object
67
- # @yieldparam err [StandardError] error object if request failed
68
- #
69
- # @return [Google::Apis::SourcerepoV1::TestIamPermissionsResponse]
70
- #
71
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
72
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
73
- # @raise [Google::Apis::AuthorizationError] Authorization is required
74
- def test_repo_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
75
- command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
76
- command.request_representation = Google::Apis::SourcerepoV1::TestIamPermissionsRequest::Representation
77
- command.request_object = test_iam_permissions_request_object
78
- command.response_representation = Google::Apis::SourcerepoV1::TestIamPermissionsResponse::Representation
79
- command.response_class = Google::Apis::SourcerepoV1::TestIamPermissionsResponse
80
- command.params['resource'] = resource unless resource.nil?
81
- command.query['fields'] = fields unless fields.nil?
82
- command.query['quotaUser'] = quota_user unless quota_user.nil?
83
- execute_or_queue_command(command, &block)
84
- end
85
-
86
50
  # Deletes a repo.
87
51
  # @param [String] name
88
52
  # The name of the repo to delete. Values are of the form
89
53
  # `projects/<project>/repos/<repo>`.
90
- # @param [String] fields
91
- # Selector specifying which fields to include in a partial response.
92
54
  # @param [String] quota_user
93
55
  # Available to use for quota purposes for server-side applications. Can be any
94
56
  # arbitrary string assigned to a user, but should not exceed 40 characters.
57
+ # @param [String] fields
58
+ # Selector specifying which fields to include in a partial response.
95
59
  # @param [Google::Apis::RequestOptions] options
96
60
  # Request-specific options
97
61
  #
@@ -104,13 +68,13 @@ module Google
104
68
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
105
69
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
106
70
  # @raise [Google::Apis::AuthorizationError] Authorization is required
107
- def delete_project_repo(name, fields: nil, quota_user: nil, options: nil, &block)
71
+ def delete_project_repo(name, quota_user: nil, fields: nil, options: nil, &block)
108
72
  command = make_simple_command(:delete, 'v1/{+name}', options)
109
73
  command.response_representation = Google::Apis::SourcerepoV1::Empty::Representation
110
74
  command.response_class = Google::Apis::SourcerepoV1::Empty
111
75
  command.params['name'] = name unless name.nil?
112
- command.query['fields'] = fields unless fields.nil?
113
76
  command.query['quotaUser'] = quota_user unless quota_user.nil?
77
+ command.query['fields'] = fields unless fields.nil?
114
78
  execute_or_queue_command(command, &block)
115
79
  end
116
80
 
@@ -118,11 +82,11 @@ module Google
118
82
  # @param [String] name
119
83
  # The project ID whose repos should be listed. Values are of the form
120
84
  # `projects/<project>`.
121
- # @param [String] fields
122
- # Selector specifying which fields to include in a partial response.
123
85
  # @param [String] quota_user
124
86
  # Available to use for quota purposes for server-side applications. Can be any
125
87
  # arbitrary string assigned to a user, but should not exceed 40 characters.
88
+ # @param [String] fields
89
+ # Selector specifying which fields to include in a partial response.
126
90
  # @param [Google::Apis::RequestOptions] options
127
91
  # Request-specific options
128
92
  #
@@ -135,84 +99,84 @@ module Google
135
99
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
136
100
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
137
101
  # @raise [Google::Apis::AuthorizationError] Authorization is required
138
- def list_project_repos(name, fields: nil, quota_user: nil, options: nil, &block)
102
+ def list_project_repos(name, quota_user: nil, fields: nil, options: nil, &block)
139
103
  command = make_simple_command(:get, 'v1/{+name}/repos', options)
140
104
  command.response_representation = Google::Apis::SourcerepoV1::ListReposResponse::Representation
141
105
  command.response_class = Google::Apis::SourcerepoV1::ListReposResponse
142
106
  command.params['name'] = name unless name.nil?
143
- command.query['fields'] = fields unless fields.nil?
144
107
  command.query['quotaUser'] = quota_user unless quota_user.nil?
108
+ command.query['fields'] = fields unless fields.nil?
145
109
  execute_or_queue_command(command, &block)
146
110
  end
147
111
 
148
- # Creates a repo in the given project with the given name..
149
- # If the named repository already exists, `CreateRepo` returns
150
- # `ALREADY_EXISTS`.
151
- # @param [String] parent
152
- # The project in which to create the repo. Values are of the form
153
- # `projects/<project>`.
154
- # @param [Google::Apis::SourcerepoV1::Repo] repo_object
155
- # @param [String] fields
156
- # Selector specifying which fields to include in a partial response.
112
+ # Sets the access control policy on the specified resource. Replaces any
113
+ # existing policy.
114
+ # @param [String] resource
115
+ # REQUIRED: The resource for which the policy is being specified.
116
+ # See the operation documentation for the appropriate value for this field.
117
+ # @param [Google::Apis::SourcerepoV1::SetIamPolicyRequest] set_iam_policy_request_object
157
118
  # @param [String] quota_user
158
119
  # Available to use for quota purposes for server-side applications. Can be any
159
120
  # arbitrary string assigned to a user, but should not exceed 40 characters.
121
+ # @param [String] fields
122
+ # Selector specifying which fields to include in a partial response.
160
123
  # @param [Google::Apis::RequestOptions] options
161
124
  # Request-specific options
162
125
  #
163
126
  # @yield [result, err] Result & error if block supplied
164
- # @yieldparam result [Google::Apis::SourcerepoV1::Repo] parsed result object
127
+ # @yieldparam result [Google::Apis::SourcerepoV1::Policy] parsed result object
165
128
  # @yieldparam err [StandardError] error object if request failed
166
129
  #
167
- # @return [Google::Apis::SourcerepoV1::Repo]
130
+ # @return [Google::Apis::SourcerepoV1::Policy]
168
131
  #
169
132
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
170
133
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
171
134
  # @raise [Google::Apis::AuthorizationError] Authorization is required
172
- def create_project_repo(parent, repo_object = nil, fields: nil, quota_user: nil, options: nil, &block)
173
- command = make_simple_command(:post, 'v1/{+parent}/repos', options)
174
- command.request_representation = Google::Apis::SourcerepoV1::Repo::Representation
175
- command.request_object = repo_object
176
- command.response_representation = Google::Apis::SourcerepoV1::Repo::Representation
177
- command.response_class = Google::Apis::SourcerepoV1::Repo
178
- command.params['parent'] = parent unless parent.nil?
179
- command.query['fields'] = fields unless fields.nil?
135
+ def set_repo_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
136
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
137
+ command.request_representation = Google::Apis::SourcerepoV1::SetIamPolicyRequest::Representation
138
+ command.request_object = set_iam_policy_request_object
139
+ command.response_representation = Google::Apis::SourcerepoV1::Policy::Representation
140
+ command.response_class = Google::Apis::SourcerepoV1::Policy
141
+ command.params['resource'] = resource unless resource.nil?
180
142
  command.query['quotaUser'] = quota_user unless quota_user.nil?
143
+ command.query['fields'] = fields unless fields.nil?
181
144
  execute_or_queue_command(command, &block)
182
145
  end
183
146
 
184
- # Sets the access control policy on the specified resource. Replaces any
185
- # existing policy.
186
- # @param [String] resource
187
- # REQUIRED: The resource for which the policy is being specified.
188
- # See the operation documentation for the appropriate value for this field.
189
- # @param [Google::Apis::SourcerepoV1::SetIamPolicyRequest] set_iam_policy_request_object
190
- # @param [String] fields
191
- # Selector specifying which fields to include in a partial response.
147
+ # Creates a repo in the given project with the given name..
148
+ # If the named repository already exists, `CreateRepo` returns
149
+ # `ALREADY_EXISTS`.
150
+ # @param [String] parent
151
+ # The project in which to create the repo. Values are of the form
152
+ # `projects/<project>`.
153
+ # @param [Google::Apis::SourcerepoV1::Repo] repo_object
192
154
  # @param [String] quota_user
193
155
  # Available to use for quota purposes for server-side applications. Can be any
194
156
  # arbitrary string assigned to a user, but should not exceed 40 characters.
157
+ # @param [String] fields
158
+ # Selector specifying which fields to include in a partial response.
195
159
  # @param [Google::Apis::RequestOptions] options
196
160
  # Request-specific options
197
161
  #
198
162
  # @yield [result, err] Result & error if block supplied
199
- # @yieldparam result [Google::Apis::SourcerepoV1::Policy] parsed result object
163
+ # @yieldparam result [Google::Apis::SourcerepoV1::Repo] parsed result object
200
164
  # @yieldparam err [StandardError] error object if request failed
201
165
  #
202
- # @return [Google::Apis::SourcerepoV1::Policy]
166
+ # @return [Google::Apis::SourcerepoV1::Repo]
203
167
  #
204
168
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
205
169
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
206
170
  # @raise [Google::Apis::AuthorizationError] Authorization is required
207
- def set_repo_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
208
- command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
209
- command.request_representation = Google::Apis::SourcerepoV1::SetIamPolicyRequest::Representation
210
- command.request_object = set_iam_policy_request_object
211
- command.response_representation = Google::Apis::SourcerepoV1::Policy::Representation
212
- command.response_class = Google::Apis::SourcerepoV1::Policy
213
- command.params['resource'] = resource unless resource.nil?
214
- command.query['fields'] = fields unless fields.nil?
171
+ def create_project_repo(parent, repo_object = nil, quota_user: nil, fields: nil, options: nil, &block)
172
+ command = make_simple_command(:post, 'v1/{+parent}/repos', options)
173
+ command.request_representation = Google::Apis::SourcerepoV1::Repo::Representation
174
+ command.request_object = repo_object
175
+ command.response_representation = Google::Apis::SourcerepoV1::Repo::Representation
176
+ command.response_class = Google::Apis::SourcerepoV1::Repo
177
+ command.params['parent'] = parent unless parent.nil?
215
178
  command.query['quotaUser'] = quota_user unless quota_user.nil?
179
+ command.query['fields'] = fields unless fields.nil?
216
180
  execute_or_queue_command(command, &block)
217
181
  end
218
182
 
@@ -222,11 +186,11 @@ module Google
222
186
  # @param [String] resource
223
187
  # REQUIRED: The resource for which the policy is being requested.
224
188
  # See the operation documentation for the appropriate value for this field.
225
- # @param [String] fields
226
- # Selector specifying which fields to include in a partial response.
227
189
  # @param [String] quota_user
228
190
  # Available to use for quota purposes for server-side applications. Can be any
229
191
  # arbitrary string assigned to a user, but should not exceed 40 characters.
192
+ # @param [String] fields
193
+ # Selector specifying which fields to include in a partial response.
230
194
  # @param [Google::Apis::RequestOptions] options
231
195
  # Request-specific options
232
196
  #
@@ -239,13 +203,13 @@ module Google
239
203
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
240
204
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
241
205
  # @raise [Google::Apis::AuthorizationError] Authorization is required
242
- def get_project_repo_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
206
+ def get_project_repo_iam_policy(resource, quota_user: nil, fields: nil, options: nil, &block)
243
207
  command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
244
208
  command.response_representation = Google::Apis::SourcerepoV1::Policy::Representation
245
209
  command.response_class = Google::Apis::SourcerepoV1::Policy
246
210
  command.params['resource'] = resource unless resource.nil?
247
- command.query['fields'] = fields unless fields.nil?
248
211
  command.query['quotaUser'] = quota_user unless quota_user.nil?
212
+ command.query['fields'] = fields unless fields.nil?
249
213
  execute_or_queue_command(command, &block)
250
214
  end
251
215
 
@@ -253,11 +217,11 @@ module Google
253
217
  # @param [String] name
254
218
  # The name of the requested repository. Values are of the form
255
219
  # `projects/<project>/repos/<repo>`.
256
- # @param [String] fields
257
- # Selector specifying which fields to include in a partial response.
258
220
  # @param [String] quota_user
259
221
  # Available to use for quota purposes for server-side applications. Can be any
260
222
  # arbitrary string assigned to a user, but should not exceed 40 characters.
223
+ # @param [String] fields
224
+ # Selector specifying which fields to include in a partial response.
261
225
  # @param [Google::Apis::RequestOptions] options
262
226
  # Request-specific options
263
227
  #
@@ -270,13 +234,49 @@ module Google
270
234
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
271
235
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
272
236
  # @raise [Google::Apis::AuthorizationError] Authorization is required
273
- def get_project_repo(name, fields: nil, quota_user: nil, options: nil, &block)
237
+ def get_project_repo(name, quota_user: nil, fields: nil, options: nil, &block)
274
238
  command = make_simple_command(:get, 'v1/{+name}', options)
275
239
  command.response_representation = Google::Apis::SourcerepoV1::Repo::Representation
276
240
  command.response_class = Google::Apis::SourcerepoV1::Repo
277
241
  command.params['name'] = name unless name.nil?
242
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
278
243
  command.query['fields'] = fields unless fields.nil?
244
+ execute_or_queue_command(command, &block)
245
+ end
246
+
247
+ # Returns permissions that a caller has on the specified resource.
248
+ # If the resource does not exist, this will return an empty set of
249
+ # permissions, not a NOT_FOUND error.
250
+ # @param [String] resource
251
+ # REQUIRED: The resource for which the policy detail is being requested.
252
+ # See the operation documentation for the appropriate value for this field.
253
+ # @param [Google::Apis::SourcerepoV1::TestIamPermissionsRequest] test_iam_permissions_request_object
254
+ # @param [String] quota_user
255
+ # Available to use for quota purposes for server-side applications. Can be any
256
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
257
+ # @param [String] fields
258
+ # Selector specifying which fields to include in a partial response.
259
+ # @param [Google::Apis::RequestOptions] options
260
+ # Request-specific options
261
+ #
262
+ # @yield [result, err] Result & error if block supplied
263
+ # @yieldparam result [Google::Apis::SourcerepoV1::TestIamPermissionsResponse] parsed result object
264
+ # @yieldparam err [StandardError] error object if request failed
265
+ #
266
+ # @return [Google::Apis::SourcerepoV1::TestIamPermissionsResponse]
267
+ #
268
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
269
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
270
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
271
+ def test_repo_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
272
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
273
+ command.request_representation = Google::Apis::SourcerepoV1::TestIamPermissionsRequest::Representation
274
+ command.request_object = test_iam_permissions_request_object
275
+ command.response_representation = Google::Apis::SourcerepoV1::TestIamPermissionsResponse::Representation
276
+ command.response_class = Google::Apis::SourcerepoV1::TestIamPermissionsResponse
277
+ command.params['resource'] = resource unless resource.nil?
279
278
  command.query['quotaUser'] = quota_user unless quota_user.nil?
279
+ command.query['fields'] = fields unless fields.nil?
280
280
  execute_or_queue_command(command, &block)
281
281
  end
282
282