google-api-client 0.11.2 → 0.11.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (246) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -1
  3. data/README.md +6 -0
  4. data/api_names.yaml +1 -0
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +38 -38
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +13 -13
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
  8. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +201 -201
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +46 -46
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +119 -119
  12. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +52 -9
  14. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +9 -0
  15. data/generated/google/apis/adsense_v1_4.rb +1 -1
  16. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  17. data/generated/google/apis/analyticsreporting_v4/classes.rb +926 -926
  18. data/generated/google/apis/analyticsreporting_v4/representations.rb +149 -149
  19. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  20. data/generated/google/apis/androidenterprise_v1/classes.rb +18 -11
  21. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  22. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  23. data/generated/google/apis/appengine_v1.rb +1 -1
  24. data/generated/google/apis/appengine_v1/classes.rb +1487 -1487
  25. data/generated/google/apis/appengine_v1/representations.rb +229 -229
  26. data/generated/google/apis/appengine_v1/service.rb +188 -188
  27. data/generated/google/apis/appstate_v1.rb +1 -1
  28. data/generated/google/apis/bigquery_v2.rb +1 -1
  29. data/generated/google/apis/bigquery_v2/classes.rb +15 -10
  30. data/generated/google/apis/calendar_v3.rb +1 -1
  31. data/generated/google/apis/calendar_v3/service.rb +10 -4
  32. data/generated/google/apis/classroom_v1.rb +26 -17
  33. data/generated/google/apis/classroom_v1/classes.rb +990 -990
  34. data/generated/google/apis/classroom_v1/representations.rb +239 -239
  35. data/generated/google/apis/classroom_v1/service.rb +853 -853
  36. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  37. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  38. data/generated/google/apis/cloudbuild_v1/classes.rb +627 -627
  39. data/generated/google/apis/cloudbuild_v1/representations.rb +116 -116
  40. data/generated/google/apis/cloudbuild_v1/service.rb +162 -157
  41. data/generated/google/apis/clouddebugger_v2/classes.rb +258 -258
  42. data/generated/google/apis/clouddebugger_v2/representations.rb +80 -80
  43. data/generated/google/apis/clouddebugger_v2/service.rb +163 -163
  44. data/generated/google/apis/clouderrorreporting_v1beta1.rb +3 -4
  45. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +202 -167
  46. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +53 -37
  47. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +50 -51
  48. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  49. data/generated/google/apis/cloudkms_v1.rb +1 -1
  50. data/generated/google/apis/cloudkms_v1/classes.rb +628 -622
  51. data/generated/google/apis/cloudkms_v1/representations.rb +134 -133
  52. data/generated/google/apis/cloudkms_v1/service.rb +190 -190
  53. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  54. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +835 -835
  55. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +138 -138
  56. data/generated/google/apis/cloudresourcemanager_v1/service.rb +474 -474
  57. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  58. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +386 -386
  59. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +75 -75
  60. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +64 -64
  61. data/generated/google/apis/cloudtrace_v1.rb +4 -4
  62. data/generated/google/apis/cloudtrace_v1/classes.rb +114 -114
  63. data/generated/google/apis/cloudtrace_v1/representations.rb +23 -23
  64. data/generated/google/apis/cloudtrace_v1/service.rb +14 -14
  65. data/generated/google/apis/compute_beta.rb +1 -1
  66. data/generated/google/apis/compute_beta/classes.rb +66 -25
  67. data/generated/google/apis/compute_beta/representations.rb +16 -0
  68. data/generated/google/apis/compute_beta/service.rb +85 -3
  69. data/generated/google/apis/compute_v1.rb +1 -1
  70. data/generated/google/apis/compute_v1/classes.rb +375 -24
  71. data/generated/google/apis/compute_v1/representations.rb +155 -0
  72. data/generated/google/apis/compute_v1/service.rb +481 -3
  73. data/generated/google/apis/container_v1.rb +1 -1
  74. data/generated/google/apis/container_v1/classes.rb +301 -301
  75. data/generated/google/apis/container_v1/representations.rb +59 -59
  76. data/generated/google/apis/container_v1/service.rb +178 -178
  77. data/generated/google/apis/content_v2.rb +1 -1
  78. data/generated/google/apis/content_v2/classes.rb +37 -2
  79. data/generated/google/apis/content_v2/representations.rb +15 -0
  80. data/generated/google/apis/content_v2/service.rb +58 -3
  81. data/generated/google/apis/dataflow_v1b3.rb +4 -1
  82. data/generated/google/apis/dataflow_v1b3/classes.rb +3514 -3279
  83. data/generated/google/apis/dataflow_v1b3/representations.rb +530 -440
  84. data/generated/google/apis/dataflow_v1b3/service.rb +378 -137
  85. data/generated/google/apis/dataproc_v1.rb +1 -1
  86. data/generated/google/apis/dataproc_v1/classes.rb +446 -446
  87. data/generated/google/apis/dataproc_v1/representations.rb +96 -96
  88. data/generated/google/apis/dataproc_v1/service.rb +302 -302
  89. data/generated/google/apis/datastore_v1.rb +1 -1
  90. data/generated/google/apis/datastore_v1/classes.rb +370 -374
  91. data/generated/google/apis/datastore_v1/representations.rb +120 -120
  92. data/generated/google/apis/datastore_v1/service.rb +62 -62
  93. data/generated/google/apis/dns_v1.rb +1 -1
  94. data/generated/google/apis/dns_v2beta1.rb +1 -1
  95. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -0
  96. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  97. data/generated/google/apis/drive_v2.rb +1 -1
  98. data/generated/google/apis/drive_v2/classes.rb +24 -21
  99. data/generated/google/apis/drive_v3.rb +1 -1
  100. data/generated/google/apis/drive_v3/classes.rb +24 -22
  101. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  102. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +148 -149
  103. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +42 -42
  104. data/generated/google/apis/firebaserules_v1/classes.rb +71 -71
  105. data/generated/google/apis/firebaserules_v1/representations.rb +22 -22
  106. data/generated/google/apis/firebaserules_v1/service.rb +68 -68
  107. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  108. data/generated/google/apis/games_management_v1management.rb +1 -1
  109. data/generated/google/apis/games_v1.rb +1 -1
  110. data/generated/google/apis/genomics_v1.rb +1 -1
  111. data/generated/google/apis/genomics_v1/classes.rb +2348 -2348
  112. data/generated/google/apis/genomics_v1/representations.rb +430 -430
  113. data/generated/google/apis/genomics_v1/service.rb +1159 -1159
  114. data/generated/google/apis/gmail_v1.rb +1 -1
  115. data/generated/google/apis/gmail_v1/service.rb +2 -2
  116. data/generated/google/apis/iam_v1.rb +1 -1
  117. data/generated/google/apis/iam_v1/classes.rb +305 -298
  118. data/generated/google/apis/iam_v1/representations.rb +97 -96
  119. data/generated/google/apis/iam_v1/service.rb +86 -86
  120. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  121. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  122. data/generated/google/apis/kgsearch_v1/service.rb +10 -10
  123. data/generated/google/apis/language_v1.rb +4 -4
  124. data/generated/google/apis/language_v1/classes.rb +452 -452
  125. data/generated/google/apis/language_v1/representations.rb +93 -93
  126. data/generated/google/apis/language_v1/service.rb +48 -48
  127. data/generated/google/apis/language_v1beta1.rb +4 -4
  128. data/generated/google/apis/language_v1beta1/classes.rb +84 -84
  129. data/generated/google/apis/language_v1beta1/representations.rb +22 -22
  130. data/generated/google/apis/language_v1beta1/service.rb +3 -3
  131. data/generated/google/apis/logging_v2.rb +1 -1
  132. data/generated/google/apis/logging_v2/classes.rb +884 -873
  133. data/generated/google/apis/logging_v2/representations.rb +167 -166
  134. data/generated/google/apis/logging_v2/service.rb +430 -430
  135. data/generated/google/apis/logging_v2beta1.rb +1 -1
  136. data/generated/google/apis/logging_v2beta1/classes.rb +550 -539
  137. data/generated/google/apis/logging_v2beta1/representations.rb +124 -123
  138. data/generated/google/apis/logging_v2beta1/service.rb +292 -292
  139. data/generated/google/apis/manufacturers_v1/classes.rb +322 -322
  140. data/generated/google/apis/manufacturers_v1/representations.rb +66 -66
  141. data/generated/google/apis/ml_v1.rb +1 -1
  142. data/generated/google/apis/ml_v1/classes.rb +501 -494
  143. data/generated/google/apis/ml_v1/representations.rb +92 -91
  144. data/generated/google/apis/ml_v1/service.rb +190 -190
  145. data/generated/google/apis/monitoring_v3.rb +1 -1
  146. data/generated/google/apis/monitoring_v3/classes.rb +878 -878
  147. data/generated/google/apis/monitoring_v3/representations.rb +176 -176
  148. data/generated/google/apis/monitoring_v3/service.rb +223 -262
  149. data/generated/google/apis/oauth2_v2.rb +1 -1
  150. data/generated/google/apis/partners_v2.rb +1 -1
  151. data/generated/google/apis/partners_v2/classes.rb +1506 -1506
  152. data/generated/google/apis/partners_v2/representations.rb +370 -370
  153. data/generated/google/apis/partners_v2/service.rb +393 -393
  154. data/generated/google/apis/people_v1.rb +13 -13
  155. data/generated/google/apis/people_v1/classes.rb +597 -594
  156. data/generated/google/apis/people_v1/representations.rb +121 -121
  157. data/generated/google/apis/people_v1/service.rb +39 -48
  158. data/generated/google/apis/plus_domains_v1.rb +1 -1
  159. data/generated/google/apis/plus_v1.rb +1 -1
  160. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  161. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +323 -327
  162. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +100 -100
  163. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +184 -184
  164. data/generated/google/apis/pubsub_v1.rb +1 -1
  165. data/generated/google/apis/pubsub_v1/classes.rb +178 -178
  166. data/generated/google/apis/pubsub_v1/representations.rb +55 -55
  167. data/generated/google/apis/pubsub_v1/service.rb +357 -357
  168. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  169. data/generated/google/apis/runtimeconfig_v1/classes.rb +20 -20
  170. data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
  171. data/generated/google/apis/runtimeconfig_v1/service.rb +12 -7
  172. data/generated/google/apis/script_v1.rb +16 -16
  173. data/generated/google/apis/script_v1/classes.rb +113 -113
  174. data/generated/google/apis/script_v1/representations.rb +28 -28
  175. data/generated/google/apis/script_v1/service.rb +4 -4
  176. data/generated/google/apis/searchconsole_v1.rb +1 -1
  177. data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
  178. data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
  179. data/generated/google/apis/searchconsole_v1/service.rb +6 -6
  180. data/generated/google/apis/servicecontrol_v1.rb +4 -4
  181. data/generated/google/apis/servicecontrol_v1/classes.rb +1146 -1145
  182. data/generated/google/apis/servicecontrol_v1/representations.rb +203 -203
  183. data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
  184. data/generated/google/apis/servicemanagement_v1.rb +4 -4
  185. data/generated/google/apis/servicemanagement_v1/classes.rb +3486 -3360
  186. data/generated/google/apis/servicemanagement_v1/representations.rb +342 -329
  187. data/generated/google/apis/servicemanagement_v1/service.rb +260 -250
  188. data/generated/google/apis/serviceuser_v1.rb +1 -1
  189. data/generated/google/apis/serviceuser_v1/classes.rb +2716 -2596
  190. data/generated/google/apis/serviceuser_v1/representations.rb +391 -379
  191. data/generated/google/apis/serviceuser_v1/service.rb +16 -16
  192. data/generated/google/apis/sheets_v4.rb +1 -1
  193. data/generated/google/apis/sheets_v4/classes.rb +4255 -4252
  194. data/generated/google/apis/sheets_v4/representations.rb +548 -548
  195. data/generated/google/apis/sheets_v4/service.rb +170 -170
  196. data/generated/google/apis/slides_v1.rb +4 -4
  197. data/generated/google/apis/slides_v1/classes.rb +2945 -2916
  198. data/generated/google/apis/slides_v1/representations.rb +700 -697
  199. data/generated/google/apis/slides_v1/service.rb +44 -44
  200. data/generated/google/apis/sourcerepo_v1.rb +2 -2
  201. data/generated/google/apis/sourcerepo_v1/classes.rb +419 -410
  202. data/generated/google/apis/sourcerepo_v1/representations.rb +88 -87
  203. data/generated/google/apis/sourcerepo_v1/service.rb +67 -58
  204. data/generated/google/apis/spanner_v1/classes.rb +2187 -2187
  205. data/generated/google/apis/spanner_v1/representations.rb +323 -323
  206. data/generated/google/apis/spanner_v1/service.rb +383 -383
  207. data/generated/google/apis/speech_v1beta1.rb +1 -1
  208. data/generated/google/apis/speech_v1beta1/classes.rb +226 -226
  209. data/generated/google/apis/speech_v1beta1/representations.rb +44 -44
  210. data/generated/google/apis/speech_v1beta1/service.rb +37 -32
  211. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  212. data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -28
  213. data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -16
  214. data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
  215. data/generated/google/apis/storage_v1.rb +1 -1
  216. data/generated/google/apis/storage_v1/classes.rb +26 -0
  217. data/generated/google/apis/storage_v1/representations.rb +15 -0
  218. data/generated/google/apis/storage_v1/service.rb +168 -42
  219. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  220. data/generated/google/apis/storagetransfer_v1/classes.rb +218 -218
  221. data/generated/google/apis/storagetransfer_v1/representations.rb +47 -47
  222. data/generated/google/apis/storagetransfer_v1/service.rb +68 -68
  223. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  224. data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -4
  225. data/generated/google/apis/toolresults_v1beta3/service.rb +9 -8
  226. data/generated/google/apis/translate_v2.rb +11 -4
  227. data/generated/google/apis/translate_v2/classes.rb +140 -37
  228. data/generated/google/apis/translate_v2/representations.rb +62 -15
  229. data/generated/google/apis/translate_v2/service.rb +119 -66
  230. data/generated/google/apis/vision_v1.rb +1 -1
  231. data/generated/google/apis/vision_v1/classes.rb +1265 -1273
  232. data/generated/google/apis/vision_v1/representations.rb +202 -202
  233. data/generated/google/apis/vision_v1/service.rb +4 -4
  234. data/generated/google/apis/webmasters_v3.rb +1 -1
  235. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  236. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  237. data/generated/google/apis/youtube_partner_v1/classes.rb +2 -1
  238. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  239. data/generated/google/apis/youtubereporting_v1/classes.rb +91 -91
  240. data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
  241. data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
  242. data/lib/google/apis/core/api_command.rb +43 -10
  243. data/lib/google/apis/core/json_representation.rb +1 -1
  244. data/lib/google/apis/options.rb +6 -2
  245. data/lib/google/apis/version.rb +1 -1
  246. metadata +3 -3
@@ -22,6 +22,42 @@ module Google
22
22
  module Apis
23
23
  module CloudresourcemanagerV1beta1
24
24
 
25
+ class Project
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class TestIamPermissionsRequest
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class Policy
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class FolderOperation
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class FolderOperationError
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class ResourceId
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
25
61
  class AuditConfig
26
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
63
 
@@ -119,39 +155,61 @@ module Google
119
155
  end
120
156
 
121
157
  class Project
122
- class Representation < Google::Apis::Core::JsonRepresentation; end
158
+ # @private
159
+ class Representation < Google::Apis::Core::JsonRepresentation
160
+ property :project_number, :numeric_string => true, as: 'projectNumber'
161
+ property :parent, as: 'parent', class: Google::Apis::CloudresourcemanagerV1beta1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1beta1::ResourceId::Representation
123
162
 
124
- include Google::Apis::Core::JsonObjectSupport
163
+ property :create_time, as: 'createTime'
164
+ hash :labels, as: 'labels'
165
+ property :name, as: 'name'
166
+ property :project_id, as: 'projectId'
167
+ property :lifecycle_state, as: 'lifecycleState'
168
+ end
125
169
  end
126
170
 
127
171
  class TestIamPermissionsRequest
128
- class Representation < Google::Apis::Core::JsonRepresentation; end
129
-
130
- include Google::Apis::Core::JsonObjectSupport
172
+ # @private
173
+ class Representation < Google::Apis::Core::JsonRepresentation
174
+ collection :permissions, as: 'permissions'
175
+ end
131
176
  end
132
177
 
133
178
  class Policy
134
- class Representation < Google::Apis::Core::JsonRepresentation; end
179
+ # @private
180
+ class Representation < Google::Apis::Core::JsonRepresentation
181
+ property :etag, :base64 => true, as: 'etag'
182
+ property :version, as: 'version'
183
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudresourcemanagerV1beta1::AuditConfig, decorator: Google::Apis::CloudresourcemanagerV1beta1::AuditConfig::Representation
135
184
 
136
- include Google::Apis::Core::JsonObjectSupport
185
+ collection :bindings, as: 'bindings', class: Google::Apis::CloudresourcemanagerV1beta1::Binding, decorator: Google::Apis::CloudresourcemanagerV1beta1::Binding::Representation
186
+
187
+ end
137
188
  end
138
189
 
139
190
  class FolderOperation
140
- class Representation < Google::Apis::Core::JsonRepresentation; end
141
-
142
- include Google::Apis::Core::JsonObjectSupport
191
+ # @private
192
+ class Representation < Google::Apis::Core::JsonRepresentation
193
+ property :destination_parent, as: 'destinationParent'
194
+ property :operation_type, as: 'operationType'
195
+ property :display_name, as: 'displayName'
196
+ property :source_parent, as: 'sourceParent'
197
+ end
143
198
  end
144
199
 
145
200
  class FolderOperationError
146
- class Representation < Google::Apis::Core::JsonRepresentation; end
147
-
148
- include Google::Apis::Core::JsonObjectSupport
201
+ # @private
202
+ class Representation < Google::Apis::Core::JsonRepresentation
203
+ property :error_message_id, as: 'errorMessageId'
204
+ end
149
205
  end
150
206
 
151
207
  class ResourceId
152
- class Representation < Google::Apis::Core::JsonRepresentation; end
153
-
154
- include Google::Apis::Core::JsonObjectSupport
208
+ # @private
209
+ class Representation < Google::Apis::Core::JsonRepresentation
210
+ property :id, as: 'id'
211
+ property :type, as: 'type'
212
+ end
155
213
  end
156
214
 
157
215
  class AuditConfig
@@ -206,13 +264,13 @@ module Google
206
264
  class Organization
207
265
  # @private
208
266
  class Representation < Google::Apis::Core::JsonRepresentation
267
+ property :name, as: 'name'
209
268
  property :organization_id, as: 'organizationId'
210
269
  property :lifecycle_state, as: 'lifecycleState'
211
270
  property :display_name, as: 'displayName'
212
271
  property :creation_time, as: 'creationTime'
213
272
  property :owner, as: 'owner', class: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner, decorator: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner::Representation
214
273
 
215
- property :name, as: 'name'
216
274
  end
217
275
  end
218
276
 
@@ -281,64 +339,6 @@ module Google
281
339
  class Representation < Google::Apis::Core::JsonRepresentation
282
340
  end
283
341
  end
284
-
285
- class Project
286
- # @private
287
- class Representation < Google::Apis::Core::JsonRepresentation
288
- property :project_number, :numeric_string => true, as: 'projectNumber'
289
- property :parent, as: 'parent', class: Google::Apis::CloudresourcemanagerV1beta1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1beta1::ResourceId::Representation
290
-
291
- hash :labels, as: 'labels'
292
- property :create_time, as: 'createTime'
293
- property :name, as: 'name'
294
- property :project_id, as: 'projectId'
295
- property :lifecycle_state, as: 'lifecycleState'
296
- end
297
- end
298
-
299
- class TestIamPermissionsRequest
300
- # @private
301
- class Representation < Google::Apis::Core::JsonRepresentation
302
- collection :permissions, as: 'permissions'
303
- end
304
- end
305
-
306
- class Policy
307
- # @private
308
- class Representation < Google::Apis::Core::JsonRepresentation
309
- property :version, as: 'version'
310
- collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudresourcemanagerV1beta1::AuditConfig, decorator: Google::Apis::CloudresourcemanagerV1beta1::AuditConfig::Representation
311
-
312
- collection :bindings, as: 'bindings', class: Google::Apis::CloudresourcemanagerV1beta1::Binding, decorator: Google::Apis::CloudresourcemanagerV1beta1::Binding::Representation
313
-
314
- property :etag, :base64 => true, as: 'etag'
315
- end
316
- end
317
-
318
- class FolderOperation
319
- # @private
320
- class Representation < Google::Apis::Core::JsonRepresentation
321
- property :display_name, as: 'displayName'
322
- property :source_parent, as: 'sourceParent'
323
- property :destination_parent, as: 'destinationParent'
324
- property :operation_type, as: 'operationType'
325
- end
326
- end
327
-
328
- class FolderOperationError
329
- # @private
330
- class Representation < Google::Apis::Core::JsonRepresentation
331
- property :error_message_id, as: 'errorMessageId'
332
- end
333
- end
334
-
335
- class ResourceId
336
- # @private
337
- class Representation < Google::Apis::Core::JsonRepresentation
338
- property :type, as: 'type'
339
- property :id, as: 'id'
340
- end
341
- end
342
342
  end
343
343
  end
344
344
  end
@@ -69,11 +69,11 @@ module Google
69
69
  # @param [Fixnum] page_size
70
70
  # The maximum number of Organizations to return in the response.
71
71
  # This field is optional.
72
- # @param [String] fields
73
- # Selector specifying which fields to include in a partial response.
74
72
  # @param [String] quota_user
75
73
  # Available to use for quota purposes for server-side applications. Can be any
76
74
  # arbitrary string assigned to a user, but should not exceed 40 characters.
75
+ # @param [String] fields
76
+ # Selector specifying which fields to include in a partial response.
77
77
  # @param [Google::Apis::RequestOptions] options
78
78
  # Request-specific options
79
79
  #
@@ -86,15 +86,15 @@ module Google
86
86
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
87
87
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
88
88
  # @raise [Google::Apis::AuthorizationError] Authorization is required
89
- def list_organizations(filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
89
+ def list_organizations(filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
90
90
  command = make_simple_command(:get, 'v1beta1/organizations', options)
91
91
  command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse::Representation
92
92
  command.response_class = Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse
93
93
  command.query['filter'] = filter unless filter.nil?
94
94
  command.query['pageToken'] = page_token unless page_token.nil?
95
95
  command.query['pageSize'] = page_size unless page_size.nil?
96
- command.query['fields'] = fields unless fields.nil?
97
96
  command.query['quotaUser'] = quota_user unless quota_user.nil?
97
+ command.query['fields'] = fields unless fields.nil?
98
98
  execute_or_queue_command(command, &block)
99
99
  end
100
100
 
@@ -105,11 +105,11 @@ module Google
105
105
  # REQUIRED: The resource for which the policy is being specified.
106
106
  # See the operation documentation for the appropriate value for this field.
107
107
  # @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
108
- # @param [String] fields
109
- # Selector specifying which fields to include in a partial response.
110
108
  # @param [String] quota_user
111
109
  # Available to use for quota purposes for server-side applications. Can be any
112
110
  # arbitrary string assigned to a user, but should not exceed 40 characters.
111
+ # @param [String] fields
112
+ # Selector specifying which fields to include in a partial response.
113
113
  # @param [Google::Apis::RequestOptions] options
114
114
  # Request-specific options
115
115
  #
@@ -122,15 +122,15 @@ module Google
122
122
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
123
123
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
124
124
  # @raise [Google::Apis::AuthorizationError] Authorization is required
125
- def set_organization_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
125
+ def set_organization_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
126
126
  command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
127
127
  command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest::Representation
128
128
  command.request_object = set_iam_policy_request_object
129
129
  command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
130
130
  command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Policy
131
131
  command.params['resource'] = resource unless resource.nil?
132
- command.query['fields'] = fields unless fields.nil?
133
132
  command.query['quotaUser'] = quota_user unless quota_user.nil?
133
+ command.query['fields'] = fields unless fields.nil?
134
134
  execute_or_queue_command(command, &block)
135
135
  end
136
136
 
@@ -141,11 +141,11 @@ module Google
141
141
  # REQUIRED: The resource for which the policy is being requested.
142
142
  # See the operation documentation for the appropriate value for this field.
143
143
  # @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object
144
- # @param [String] fields
145
- # Selector specifying which fields to include in a partial response.
146
144
  # @param [String] quota_user
147
145
  # Available to use for quota purposes for server-side applications. Can be any
148
146
  # arbitrary string assigned to a user, but should not exceed 40 characters.
147
+ # @param [String] fields
148
+ # Selector specifying which fields to include in a partial response.
149
149
  # @param [Google::Apis::RequestOptions] options
150
150
  # Request-specific options
151
151
  #
@@ -158,15 +158,15 @@ module Google
158
158
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
159
159
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
160
160
  # @raise [Google::Apis::AuthorizationError] Authorization is required
161
- def get_organization_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
161
+ def get_organization_iam_policy(resource, get_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
162
162
  command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
163
163
  command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest::Representation
164
164
  command.request_object = get_iam_policy_request_object
165
165
  command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
166
166
  command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Policy
167
167
  command.params['resource'] = resource unless resource.nil?
168
- command.query['fields'] = fields unless fields.nil?
169
168
  command.query['quotaUser'] = quota_user unless quota_user.nil?
169
+ command.query['fields'] = fields unless fields.nil?
170
170
  execute_or_queue_command(command, &block)
171
171
  end
172
172
 
@@ -176,11 +176,11 @@ module Google
176
176
  # @param [String] organization_id
177
177
  # The id of the Organization resource to fetch.
178
178
  # This field is deprecated and will be removed in v1. Use name instead.
179
- # @param [String] fields
180
- # Selector specifying which fields to include in a partial response.
181
179
  # @param [String] quota_user
182
180
  # Available to use for quota purposes for server-side applications. Can be any
183
181
  # arbitrary string assigned to a user, but should not exceed 40 characters.
182
+ # @param [String] fields
183
+ # Selector specifying which fields to include in a partial response.
184
184
  # @param [Google::Apis::RequestOptions] options
185
185
  # Request-specific options
186
186
  #
@@ -193,14 +193,14 @@ module Google
193
193
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
194
194
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
195
195
  # @raise [Google::Apis::AuthorizationError] Authorization is required
196
- def get_organization(name, organization_id: nil, fields: nil, quota_user: nil, options: nil, &block)
196
+ def get_organization(name, organization_id: nil, quota_user: nil, fields: nil, options: nil, &block)
197
197
  command = make_simple_command(:get, 'v1beta1/{+name}', options)
198
198
  command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation
199
199
  command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Organization
200
200
  command.params['name'] = name unless name.nil?
201
201
  command.query['organizationId'] = organization_id unless organization_id.nil?
202
- command.query['fields'] = fields unless fields.nil?
203
202
  command.query['quotaUser'] = quota_user unless quota_user.nil?
203
+ command.query['fields'] = fields unless fields.nil?
204
204
  execute_or_queue_command(command, &block)
205
205
  end
206
206
 
@@ -210,11 +210,11 @@ module Google
210
210
  # organization's relative path in the API. Its format is
211
211
  # "organizations/[organization_id]". For example, "organizations/1234".
212
212
  # @param [Google::Apis::CloudresourcemanagerV1beta1::Organization] organization_object
213
- # @param [String] fields
214
- # Selector specifying which fields to include in a partial response.
215
213
  # @param [String] quota_user
216
214
  # Available to use for quota purposes for server-side applications. Can be any
217
215
  # arbitrary string assigned to a user, but should not exceed 40 characters.
216
+ # @param [String] fields
217
+ # Selector specifying which fields to include in a partial response.
218
218
  # @param [Google::Apis::RequestOptions] options
219
219
  # Request-specific options
220
220
  #
@@ -227,15 +227,15 @@ module Google
227
227
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
228
228
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
229
229
  # @raise [Google::Apis::AuthorizationError] Authorization is required
230
- def update_organization(name, organization_object = nil, fields: nil, quota_user: nil, options: nil, &block)
230
+ def update_organization(name, organization_object = nil, quota_user: nil, fields: nil, options: nil, &block)
231
231
  command = make_simple_command(:put, 'v1beta1/{+name}', options)
232
232
  command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation
233
233
  command.request_object = organization_object
234
234
  command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation
235
235
  command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Organization
236
236
  command.params['name'] = name unless name.nil?
237
- command.query['fields'] = fields unless fields.nil?
238
237
  command.query['quotaUser'] = quota_user unless quota_user.nil?
238
+ command.query['fields'] = fields unless fields.nil?
239
239
  execute_or_queue_command(command, &block)
240
240
  end
241
241
 
@@ -246,11 +246,11 @@ module Google
246
246
  # REQUIRED: The resource for which the policy detail is being requested.
247
247
  # See the operation documentation for the appropriate value for this field.
248
248
  # @param [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
249
- # @param [String] fields
250
- # Selector specifying which fields to include in a partial response.
251
249
  # @param [String] quota_user
252
250
  # Available to use for quota purposes for server-side applications. Can be any
253
251
  # arbitrary string assigned to a user, but should not exceed 40 characters.
252
+ # @param [String] fields
253
+ # Selector specifying which fields to include in a partial response.
254
254
  # @param [Google::Apis::RequestOptions] options
255
255
  # Request-specific options
256
256
  #
@@ -263,15 +263,15 @@ module Google
263
263
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
264
264
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
265
265
  # @raise [Google::Apis::AuthorizationError] Authorization is required
266
- def test_organization_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
266
+ def test_organization_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
267
267
  command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
268
268
  command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest::Representation
269
269
  command.request_object = test_iam_permissions_request_object
270
270
  command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse::Representation
271
271
  command.response_class = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse
272
272
  command.params['resource'] = resource unless resource.nil?
273
- command.query['fields'] = fields unless fields.nil?
274
273
  command.query['quotaUser'] = quota_user unless quota_user.nil?
274
+ command.query['fields'] = fields unless fields.nil?
275
275
  execute_or_queue_command(command, &block)
276
276
  end
277
277
 
@@ -306,11 +306,11 @@ module Google
306
306
  # REQUIRED: The resource for which the policy is being specified.
307
307
  # See the operation documentation for the appropriate value for this field.
308
308
  # @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
309
- # @param [String] fields
310
- # Selector specifying which fields to include in a partial response.
311
309
  # @param [String] quota_user
312
310
  # Available to use for quota purposes for server-side applications. Can be any
313
311
  # arbitrary string assigned to a user, but should not exceed 40 characters.
312
+ # @param [String] fields
313
+ # Selector specifying which fields to include in a partial response.
314
314
  # @param [Google::Apis::RequestOptions] options
315
315
  # Request-specific options
316
316
  #
@@ -323,15 +323,15 @@ module Google
323
323
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
324
324
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
325
325
  # @raise [Google::Apis::AuthorizationError] Authorization is required
326
- def set_project_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
326
+ def set_project_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
327
327
  command = make_simple_command(:post, 'v1beta1/projects/{resource}:setIamPolicy', options)
328
328
  command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest::Representation
329
329
  command.request_object = set_iam_policy_request_object
330
330
  command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
331
331
  command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Policy
332
332
  command.params['resource'] = resource unless resource.nil?
333
- command.query['fields'] = fields unless fields.nil?
334
333
  command.query['quotaUser'] = quota_user unless quota_user.nil?
334
+ command.query['fields'] = fields unless fields.nil?
335
335
  execute_or_queue_command(command, &block)
336
336
  end
337
337
 
@@ -344,11 +344,11 @@ module Google
344
344
  # @param [Google::Apis::CloudresourcemanagerV1beta1::Project] project_object
345
345
  # @param [Boolean] use_legacy_stack
346
346
  # A safety hatch to opt out of the new reliable project creation process.
347
- # @param [String] fields
348
- # Selector specifying which fields to include in a partial response.
349
347
  # @param [String] quota_user
350
348
  # Available to use for quota purposes for server-side applications. Can be any
351
349
  # arbitrary string assigned to a user, but should not exceed 40 characters.
350
+ # @param [String] fields
351
+ # Selector specifying which fields to include in a partial response.
352
352
  # @param [Google::Apis::RequestOptions] options
353
353
  # Request-specific options
354
354
  #
@@ -361,15 +361,15 @@ module Google
361
361
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
362
362
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
363
363
  # @raise [Google::Apis::AuthorizationError] Authorization is required
364
- def create_project(project_object = nil, use_legacy_stack: nil, fields: nil, quota_user: nil, options: nil, &block)
364
+ def create_project(project_object = nil, use_legacy_stack: nil, quota_user: nil, fields: nil, options: nil, &block)
365
365
  command = make_simple_command(:post, 'v1beta1/projects', options)
366
366
  command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
367
367
  command.request_object = project_object
368
368
  command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
369
369
  command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Project
370
370
  command.query['useLegacyStack'] = use_legacy_stack unless use_legacy_stack.nil?
371
- command.query['fields'] = fields unless fields.nil?
372
371
  command.query['quotaUser'] = quota_user unless quota_user.nil?
372
+ command.query['fields'] = fields unless fields.nil?
373
373
  execute_or_queue_command(command, &block)
374
374
  end
375
375
 
@@ -379,11 +379,11 @@ module Google
379
379
  # REQUIRED: The resource for which the policy is being requested.
380
380
  # See the operation documentation for the appropriate value for this field.
381
381
  # @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object
382
- # @param [String] fields
383
- # Selector specifying which fields to include in a partial response.
384
382
  # @param [String] quota_user
385
383
  # Available to use for quota purposes for server-side applications. Can be any
386
384
  # arbitrary string assigned to a user, but should not exceed 40 characters.
385
+ # @param [String] fields
386
+ # Selector specifying which fields to include in a partial response.
387
387
  # @param [Google::Apis::RequestOptions] options
388
388
  # Request-specific options
389
389
  #
@@ -396,15 +396,15 @@ module Google
396
396
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
397
397
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
398
398
  # @raise [Google::Apis::AuthorizationError] Authorization is required
399
- def get_project_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
399
+ def get_project_iam_policy(resource, get_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
400
400
  command = make_simple_command(:post, 'v1beta1/projects/{resource}:getIamPolicy', options)
401
401
  command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest::Representation
402
402
  command.request_object = get_iam_policy_request_object
403
403
  command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
404
404
  command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Policy
405
405
  command.params['resource'] = resource unless resource.nil?
406
- command.query['fields'] = fields unless fields.nil?
407
406
  command.query['quotaUser'] = quota_user unless quota_user.nil?
407
+ command.query['fields'] = fields unless fields.nil?
408
408
  execute_or_queue_command(command, &block)
409
409
  end
410
410
 
@@ -414,11 +414,11 @@ module Google
414
414
  # @param [String] project_id
415
415
  # The Project ID (for example, `my-project-123`).
416
416
  # Required.
417
- # @param [String] fields
418
- # Selector specifying which fields to include in a partial response.
419
417
  # @param [String] quota_user
420
418
  # Available to use for quota purposes for server-side applications. Can be any
421
419
  # arbitrary string assigned to a user, but should not exceed 40 characters.
420
+ # @param [String] fields
421
+ # Selector specifying which fields to include in a partial response.
422
422
  # @param [Google::Apis::RequestOptions] options
423
423
  # Request-specific options
424
424
  #
@@ -431,13 +431,13 @@ module Google
431
431
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
432
432
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
433
433
  # @raise [Google::Apis::AuthorizationError] Authorization is required
434
- def get_project(project_id, fields: nil, quota_user: nil, options: nil, &block)
434
+ def get_project(project_id, quota_user: nil, fields: nil, options: nil, &block)
435
435
  command = make_simple_command(:get, 'v1beta1/projects/{projectId}', options)
436
436
  command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
437
437
  command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Project
438
438
  command.params['projectId'] = project_id unless project_id.nil?
439
- command.query['fields'] = fields unless fields.nil?
440
439
  command.query['quotaUser'] = quota_user unless quota_user.nil?
440
+ command.query['fields'] = fields unless fields.nil?
441
441
  execute_or_queue_command(command, &block)
442
442
  end
443
443
 
@@ -451,11 +451,11 @@ module Google
451
451
  # The project ID (for example, `foo-bar-123`).
452
452
  # Required.
453
453
  # @param [Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest] undelete_project_request_object
454
- # @param [String] fields
455
- # Selector specifying which fields to include in a partial response.
456
454
  # @param [String] quota_user
457
455
  # Available to use for quota purposes for server-side applications. Can be any
458
456
  # arbitrary string assigned to a user, but should not exceed 40 characters.
457
+ # @param [String] fields
458
+ # Selector specifying which fields to include in a partial response.
459
459
  # @param [Google::Apis::RequestOptions] options
460
460
  # Request-specific options
461
461
  #
@@ -468,15 +468,15 @@ module Google
468
468
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
469
469
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
470
470
  # @raise [Google::Apis::AuthorizationError] Authorization is required
471
- def undelete_project(project_id, undelete_project_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
471
+ def undelete_project(project_id, undelete_project_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
472
472
  command = make_simple_command(:post, 'v1beta1/projects/{projectId}:undelete', options)
473
473
  command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest::Representation
474
474
  command.request_object = undelete_project_request_object
475
475
  command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Empty::Representation
476
476
  command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Empty
477
477
  command.params['projectId'] = project_id unless project_id.nil?
478
- command.query['fields'] = fields unless fields.nil?
479
478
  command.query['quotaUser'] = quota_user unless quota_user.nil?
479
+ command.query['fields'] = fields unless fields.nil?
480
480
  execute_or_queue_command(command, &block)
481
481
  end
482
482
 
@@ -487,11 +487,11 @@ module Google
487
487
  # The project ID (for example, `my-project-123`).
488
488
  # Required.
489
489
  # @param [Google::Apis::CloudresourcemanagerV1beta1::Project] project_object
490
- # @param [String] fields
491
- # Selector specifying which fields to include in a partial response.
492
490
  # @param [String] quota_user
493
491
  # Available to use for quota purposes for server-side applications. Can be any
494
492
  # arbitrary string assigned to a user, but should not exceed 40 characters.
493
+ # @param [String] fields
494
+ # Selector specifying which fields to include in a partial response.
495
495
  # @param [Google::Apis::RequestOptions] options
496
496
  # Request-specific options
497
497
  #
@@ -504,15 +504,15 @@ module Google
504
504
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
505
505
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
506
506
  # @raise [Google::Apis::AuthorizationError] Authorization is required
507
- def update_project(project_id, project_object = nil, fields: nil, quota_user: nil, options: nil, &block)
507
+ def update_project(project_id, project_object = nil, quota_user: nil, fields: nil, options: nil, &block)
508
508
  command = make_simple_command(:put, 'v1beta1/projects/{projectId}', options)
509
509
  command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
510
510
  command.request_object = project_object
511
511
  command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
512
512
  command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Project
513
513
  command.params['projectId'] = project_id unless project_id.nil?
514
- command.query['fields'] = fields unless fields.nil?
515
514
  command.query['quotaUser'] = quota_user unless quota_user.nil?
515
+ command.query['fields'] = fields unless fields.nil?
516
516
  execute_or_queue_command(command, &block)
517
517
  end
518
518
 
@@ -523,11 +523,11 @@ module Google
523
523
  # The Project ID (for example, `my-project-123`).
524
524
  # Required.
525
525
  # @param [Google::Apis::CloudresourcemanagerV1beta1::GetAncestryRequest] get_ancestry_request_object
526
- # @param [String] fields
527
- # Selector specifying which fields to include in a partial response.
528
526
  # @param [String] quota_user
529
527
  # Available to use for quota purposes for server-side applications. Can be any
530
528
  # arbitrary string assigned to a user, but should not exceed 40 characters.
529
+ # @param [String] fields
530
+ # Selector specifying which fields to include in a partial response.
531
531
  # @param [Google::Apis::RequestOptions] options
532
532
  # Request-specific options
533
533
  #
@@ -540,15 +540,15 @@ module Google
540
540
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
541
541
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
542
542
  # @raise [Google::Apis::AuthorizationError] Authorization is required
543
- def get_project_ancestry(project_id, get_ancestry_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
543
+ def get_project_ancestry(project_id, get_ancestry_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
544
544
  command = make_simple_command(:post, 'v1beta1/projects/{projectId}:getAncestry', options)
545
545
  command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryRequest::Representation
546
546
  command.request_object = get_ancestry_request_object
547
547
  command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse::Representation
548
548
  command.response_class = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse
549
549
  command.params['projectId'] = project_id unless project_id.nil?
550
- command.query['fields'] = fields unless fields.nil?
551
550
  command.query['quotaUser'] = quota_user unless quota_user.nil?
551
+ command.query['fields'] = fields unless fields.nil?
552
552
  execute_or_queue_command(command, &block)
553
553
  end
554
554
 
@@ -557,11 +557,11 @@ module Google
557
557
  # REQUIRED: The resource for which the policy detail is being requested.
558
558
  # See the operation documentation for the appropriate value for this field.
559
559
  # @param [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
560
- # @param [String] fields
561
- # Selector specifying which fields to include in a partial response.
562
560
  # @param [String] quota_user
563
561
  # Available to use for quota purposes for server-side applications. Can be any
564
562
  # arbitrary string assigned to a user, but should not exceed 40 characters.
563
+ # @param [String] fields
564
+ # Selector specifying which fields to include in a partial response.
565
565
  # @param [Google::Apis::RequestOptions] options
566
566
  # Request-specific options
567
567
  #
@@ -574,15 +574,15 @@ module Google
574
574
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
575
575
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
576
576
  # @raise [Google::Apis::AuthorizationError] Authorization is required
577
- def test_project_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
577
+ def test_project_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
578
578
  command = make_simple_command(:post, 'v1beta1/projects/{resource}:testIamPermissions', options)
579
579
  command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest::Representation
580
580
  command.request_object = test_iam_permissions_request_object
581
581
  command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse::Representation
582
582
  command.response_class = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse
583
583
  command.params['resource'] = resource unless resource.nil?
584
- command.query['fields'] = fields unless fields.nil?
585
584
  command.query['quotaUser'] = quota_user unless quota_user.nil?
585
+ command.query['fields'] = fields unless fields.nil?
586
586
  execute_or_queue_command(command, &block)
587
587
  end
588
588
 
@@ -608,11 +608,11 @@ module Google
608
608
  # @param [String] project_id
609
609
  # The Project ID (for example, `foo-bar-123`).
610
610
  # Required.
611
- # @param [String] fields
612
- # Selector specifying which fields to include in a partial response.
613
611
  # @param [String] quota_user
614
612
  # Available to use for quota purposes for server-side applications. Can be any
615
613
  # arbitrary string assigned to a user, but should not exceed 40 characters.
614
+ # @param [String] fields
615
+ # Selector specifying which fields to include in a partial response.
616
616
  # @param [Google::Apis::RequestOptions] options
617
617
  # Request-specific options
618
618
  #
@@ -625,13 +625,13 @@ module Google
625
625
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
626
626
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
627
627
  # @raise [Google::Apis::AuthorizationError] Authorization is required
628
- def delete_project(project_id, fields: nil, quota_user: nil, options: nil, &block)
628
+ def delete_project(project_id, quota_user: nil, fields: nil, options: nil, &block)
629
629
  command = make_simple_command(:delete, 'v1beta1/projects/{projectId}', options)
630
630
  command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Empty::Representation
631
631
  command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Empty
632
632
  command.params['projectId'] = project_id unless project_id.nil?
633
- command.query['fields'] = fields unless fields.nil?
634
633
  command.query['quotaUser'] = quota_user unless quota_user.nil?
634
+ command.query['fields'] = fields unless fields.nil?
635
635
  execute_or_queue_command(command, &block)
636
636
  end
637
637
 
@@ -665,11 +665,11 @@ module Google
665
665
  # |labels.color:red&nbsp;labels.size:big|The project's label `color` has the
666
666
  # value `red` and its label `size` has the value `big`.
667
667
  # Optional.
668
- # @param [String] fields
669
- # Selector specifying which fields to include in a partial response.
670
668
  # @param [String] quota_user
671
669
  # Available to use for quota purposes for server-side applications. Can be any
672
670
  # arbitrary string assigned to a user, but should not exceed 40 characters.
671
+ # @param [String] fields
672
+ # Selector specifying which fields to include in a partial response.
673
673
  # @param [Google::Apis::RequestOptions] options
674
674
  # Request-specific options
675
675
  #
@@ -682,15 +682,15 @@ module Google
682
682
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
683
683
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
684
684
  # @raise [Google::Apis::AuthorizationError] Authorization is required
685
- def list_projects(page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
685
+ def list_projects(page_token: nil, page_size: nil, filter: nil, quota_user: nil, fields: nil, options: nil, &block)
686
686
  command = make_simple_command(:get, 'v1beta1/projects', options)
687
687
  command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::ListProjectsResponse::Representation
688
688
  command.response_class = Google::Apis::CloudresourcemanagerV1beta1::ListProjectsResponse
689
689
  command.query['pageToken'] = page_token unless page_token.nil?
690
690
  command.query['pageSize'] = page_size unless page_size.nil?
691
691
  command.query['filter'] = filter unless filter.nil?
692
- command.query['fields'] = fields unless fields.nil?
693
692
  command.query['quotaUser'] = quota_user unless quota_user.nil?
693
+ command.query['fields'] = fields unless fields.nil?
694
694
  execute_or_queue_command(command, &block)
695
695
  end
696
696