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
@@ -26,13 +26,13 @@ module Google
26
26
  # @see https://cloud.google.com/resource-manager
27
27
  module CloudresourcemanagerV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20170329'
30
-
31
- # View and manage your data across Google Cloud Platform services
32
- AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
29
+ REVISION = '20170501'
33
30
 
34
31
  # View your data across Google Cloud Platform services
35
32
  AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
33
+
34
+ # View and manage your data across Google Cloud Platform services
35
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
36
36
  end
37
37
  end
38
38
  end
@@ -25,7 +25,7 @@ module Google
25
25
  # Specifies the audit configuration for a service.
26
26
  # The configuration determines which permission types are logged, and what
27
27
  # identities, if any, are exempted from logging.
28
- # An AuditConifg must have one or more AuditLogConfigs.
28
+ # An AuditConfig must have one or more AuditLogConfigs.
29
29
  # If there are AuditConfigs for both `allServices` and a specific service,
30
30
  # the union of the two AuditConfigs is used for that service: the log_types
31
31
  # specified in each AuditConfig are enabled, and the exempted_members in each
@@ -51,7 +51,7 @@ module Google
51
51
  # ]
52
52
  # `,
53
53
  # `
54
- # "service": "fooservice@googleapis.com"
54
+ # "service": "fooservice.googleapis.com"
55
55
  # "audit_log_configs": [
56
56
  # `
57
57
  # "log_type": "DATA_READ",
@@ -72,12 +72,6 @@ module Google
72
72
  class AuditConfig
73
73
  include Google::Apis::Core::Hashable
74
74
 
75
- # The configuration for logging of each type of permission.
76
- # Next ID: 4
77
- # Corresponds to the JSON property `auditLogConfigs`
78
- # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditLogConfig>]
79
- attr_accessor :audit_log_configs
80
-
81
75
  # Specifies a service that will be enabled for audit logging.
82
76
  # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
83
77
  # `allServices` is a special value that covers all services.
@@ -85,14 +79,20 @@ module Google
85
79
  # @return [String]
86
80
  attr_accessor :service
87
81
 
82
+ # The configuration for logging of each type of permission.
83
+ # Next ID: 4
84
+ # Corresponds to the JSON property `auditLogConfigs`
85
+ # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditLogConfig>]
86
+ attr_accessor :audit_log_configs
87
+
88
88
  def initialize(**args)
89
89
  update!(**args)
90
90
  end
91
91
 
92
92
  # Update properties of this object
93
93
  def update!(**args)
94
- @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
95
94
  @service = args[:service] if args.key?(:service)
95
+ @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
96
96
  end
97
97
  end
98
98
 
@@ -260,25 +260,19 @@ module Google
260
260
  end
261
261
  end
262
262
 
263
- # The request sent to the UndeleteProject
264
- # method.
265
- class UndeleteProjectRequest
266
- include Google::Apis::Core::Hashable
267
-
268
- def initialize(**args)
269
- update!(**args)
270
- end
271
-
272
- # Update properties of this object
273
- def update!(**args)
274
- end
275
- end
276
-
277
263
  # The root node in the resource hierarchy to which a particular entity's
278
264
  # (e.g., company) resources belong.
279
265
  class Organization
280
266
  include Google::Apis::Core::Hashable
281
267
 
268
+ # An immutable id for the Organization that is assigned on creation. This
269
+ # should be omitted when creating a new Organization.
270
+ # This field is read-only.
271
+ # This field is deprecated and will be removed in v1. Use name instead.
272
+ # Corresponds to the JSON property `organizationId`
273
+ # @return [String]
274
+ attr_accessor :organization_id
275
+
282
276
  # The organization's current lifecycle state. Assigned by the server.
283
277
  # @OutputOnly
284
278
  # Corresponds to the JSON property `lifecycleState`
@@ -314,26 +308,32 @@ module Google
314
308
  # @return [String]
315
309
  attr_accessor :name
316
310
 
317
- # An immutable id for the Organization that is assigned on creation. This
318
- # should be omitted when creating a new Organization.
319
- # This field is read-only.
320
- # This field is deprecated and will be removed in v1. Use name instead.
321
- # Corresponds to the JSON property `organizationId`
322
- # @return [String]
323
- attr_accessor :organization_id
324
-
325
311
  def initialize(**args)
326
312
  update!(**args)
327
313
  end
328
314
 
329
315
  # Update properties of this object
330
316
  def update!(**args)
317
+ @organization_id = args[:organization_id] if args.key?(:organization_id)
331
318
  @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
332
319
  @display_name = args[:display_name] if args.key?(:display_name)
333
320
  @creation_time = args[:creation_time] if args.key?(:creation_time)
334
321
  @owner = args[:owner] if args.key?(:owner)
335
322
  @name = args[:name] if args.key?(:name)
336
- @organization_id = args[:organization_id] if args.key?(:organization_id)
323
+ end
324
+ end
325
+
326
+ # The request sent to the UndeleteProject
327
+ # method.
328
+ class UndeleteProjectRequest
329
+ include Google::Apis::Core::Hashable
330
+
331
+ def initialize(**args)
332
+ update!(**args)
333
+ end
334
+
335
+ # Update properties of this object
336
+ def update!(**args)
337
337
  end
338
338
  end
339
339
 
@@ -374,36 +374,36 @@ module Google
374
374
  end
375
375
  end
376
376
 
377
- # Request message for `GetIamPolicy` method.
378
- class GetIamPolicyRequest
377
+ # Response message for `TestIamPermissions` method.
378
+ class TestIamPermissionsResponse
379
379
  include Google::Apis::Core::Hashable
380
380
 
381
+ # A subset of `TestPermissionsRequest.permissions` that the caller is
382
+ # allowed.
383
+ # Corresponds to the JSON property `permissions`
384
+ # @return [Array<String>]
385
+ attr_accessor :permissions
386
+
381
387
  def initialize(**args)
382
388
  update!(**args)
383
389
  end
384
390
 
385
391
  # Update properties of this object
386
392
  def update!(**args)
393
+ @permissions = args[:permissions] if args.key?(:permissions)
387
394
  end
388
395
  end
389
396
 
390
- # Response message for `TestIamPermissions` method.
391
- class TestIamPermissionsResponse
397
+ # Request message for `GetIamPolicy` method.
398
+ class GetIamPolicyRequest
392
399
  include Google::Apis::Core::Hashable
393
400
 
394
- # A subset of `TestPermissionsRequest.permissions` that the caller is
395
- # allowed.
396
- # Corresponds to the JSON property `permissions`
397
- # @return [Array<String>]
398
- attr_accessor :permissions
399
-
400
401
  def initialize(**args)
401
402
  update!(**args)
402
403
  end
403
404
 
404
405
  # Update properties of this object
405
406
  def update!(**args)
406
- @permissions = args[:permissions] if args.key?(:permissions)
407
407
  end
408
408
  end
409
409
 
@@ -450,49 +450,6 @@ module Google
450
450
  end
451
451
  end
452
452
 
453
- # Provides the configuration for logging a type of permissions.
454
- # Example:
455
- # `
456
- # "audit_log_configs": [
457
- # `
458
- # "log_type": "DATA_READ",
459
- # "exempted_members": [
460
- # "user:foo@gmail.com"
461
- # ]
462
- # `,
463
- # `
464
- # "log_type": "DATA_WRITE",
465
- # `
466
- # ]
467
- # `
468
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
469
- # foo@gmail.com from DATA_READ logging.
470
- class AuditLogConfig
471
- include Google::Apis::Core::Hashable
472
-
473
- # The log type that this config enables.
474
- # Corresponds to the JSON property `logType`
475
- # @return [String]
476
- attr_accessor :log_type
477
-
478
- # Specifies the identities that do not cause logging for this type of
479
- # permission.
480
- # Follows the same format of Binding.members.
481
- # Corresponds to the JSON property `exemptedMembers`
482
- # @return [Array<String>]
483
- attr_accessor :exempted_members
484
-
485
- def initialize(**args)
486
- update!(**args)
487
- end
488
-
489
- # Update properties of this object
490
- def update!(**args)
491
- @log_type = args[:log_type] if args.key?(:log_type)
492
- @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
493
- end
494
- end
495
-
496
453
  # A page of the response received from the
497
454
  # ListProjects
498
455
  # method.
@@ -531,6 +488,49 @@ module Google
531
488
  end
532
489
  end
533
490
 
491
+ # Provides the configuration for logging a type of permissions.
492
+ # Example:
493
+ # `
494
+ # "audit_log_configs": [
495
+ # `
496
+ # "log_type": "DATA_READ",
497
+ # "exempted_members": [
498
+ # "user:foo@gmail.com"
499
+ # ]
500
+ # `,
501
+ # `
502
+ # "log_type": "DATA_WRITE",
503
+ # `
504
+ # ]
505
+ # `
506
+ # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
507
+ # foo@gmail.com from DATA_READ logging.
508
+ class AuditLogConfig
509
+ include Google::Apis::Core::Hashable
510
+
511
+ # Specifies the identities that do not cause logging for this type of
512
+ # permission.
513
+ # Follows the same format of Binding.members.
514
+ # Corresponds to the JSON property `exemptedMembers`
515
+ # @return [Array<String>]
516
+ attr_accessor :exempted_members
517
+
518
+ # The log type that this config enables.
519
+ # Corresponds to the JSON property `logType`
520
+ # @return [String]
521
+ attr_accessor :log_type
522
+
523
+ def initialize(**args)
524
+ update!(**args)
525
+ end
526
+
527
+ # Update properties of this object
528
+ def update!(**args)
529
+ @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
530
+ @log_type = args[:log_type] if args.key?(:log_type)
531
+ end
532
+ end
533
+
534
534
  # The request sent to the
535
535
  # GetAncestry
536
536
  # method.
@@ -552,11 +552,20 @@ module Google
552
552
  class Project
553
553
  include Google::Apis::Core::Hashable
554
554
 
555
- # Creation time.
555
+ # The number uniquely identifying the project.
556
+ # Example: <code>415104041262</code>
556
557
  # Read-only.
557
- # Corresponds to the JSON property `createTime`
558
- # @return [String]
559
- attr_accessor :create_time
558
+ # Corresponds to the JSON property `projectNumber`
559
+ # @return [Fixnum]
560
+ attr_accessor :project_number
561
+
562
+ # A container to reference an id for any resource type. A `resource` in Google
563
+ # Cloud Platform is a generic term for something you (a developer) may want to
564
+ # interact with through one of our API's. Some examples are an App Engine app,
565
+ # a Compute Engine instance, a Cloud SQL database, and so on.
566
+ # Corresponds to the JSON property `parent`
567
+ # @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId]
568
+ attr_accessor :parent
560
569
 
561
570
  # The labels associated with this Project.
562
571
  # Label keys must be between 1 and 63 characters long and must conform
@@ -572,6 +581,12 @@ module Google
572
581
  # @return [Hash<String,String>]
573
582
  attr_accessor :labels
574
583
 
584
+ # Creation time.
585
+ # Read-only.
586
+ # Corresponds to the JSON property `createTime`
587
+ # @return [String]
588
+ attr_accessor :create_time
589
+
575
590
  # The user-assigned display name of the Project.
576
591
  # It must be 4 to 30 characters.
577
592
  # Allowed characters are: lowercase and uppercase letters, numbers,
@@ -598,34 +613,19 @@ module Google
598
613
  # @return [String]
599
614
  attr_accessor :lifecycle_state
600
615
 
601
- # The number uniquely identifying the project.
602
- # Example: <code>415104041262</code>
603
- # Read-only.
604
- # Corresponds to the JSON property `projectNumber`
605
- # @return [Fixnum]
606
- attr_accessor :project_number
607
-
608
- # A container to reference an id for any resource type. A `resource` in Google
609
- # Cloud Platform is a generic term for something you (a developer) may want to
610
- # interact with through one of our API's. Some examples are an App Engine app,
611
- # a Compute Engine instance, a Cloud SQL database, and so on.
612
- # Corresponds to the JSON property `parent`
613
- # @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId]
614
- attr_accessor :parent
615
-
616
616
  def initialize(**args)
617
617
  update!(**args)
618
618
  end
619
619
 
620
620
  # Update properties of this object
621
621
  def update!(**args)
622
- @create_time = args[:create_time] if args.key?(:create_time)
622
+ @project_number = args[:project_number] if args.key?(:project_number)
623
+ @parent = args[:parent] if args.key?(:parent)
623
624
  @labels = args[:labels] if args.key?(:labels)
625
+ @create_time = args[:create_time] if args.key?(:create_time)
624
626
  @name = args[:name] if args.key?(:name)
625
627
  @project_id = args[:project_id] if args.key?(:project_id)
626
628
  @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
627
- @project_number = args[:project_number] if args.key?(:project_number)
628
- @parent = args[:parent] if args.key?(:parent)
629
629
  end
630
630
  end
631
631
 
@@ -651,64 +651,6 @@ module Google
651
651
  end
652
652
  end
653
653
 
654
- # A classification of the Folder Operation error.
655
- class FolderOperationError
656
- include Google::Apis::Core::Hashable
657
-
658
- # The type of operation error experienced.
659
- # Corresponds to the JSON property `errorMessageId`
660
- # @return [String]
661
- attr_accessor :error_message_id
662
-
663
- def initialize(**args)
664
- update!(**args)
665
- end
666
-
667
- # Update properties of this object
668
- def update!(**args)
669
- @error_message_id = args[:error_message_id] if args.key?(:error_message_id)
670
- end
671
- end
672
-
673
- # Metadata describing a long running folder operation
674
- class FolderOperation
675
- include Google::Apis::Core::Hashable
676
-
677
- # The display name of the folder.
678
- # Corresponds to the JSON property `displayName`
679
- # @return [String]
680
- attr_accessor :display_name
681
-
682
- # The resource name of the folder's parent.
683
- # Only applicable when the operation_type is MOVE.
684
- # Corresponds to the JSON property `sourceParent`
685
- # @return [String]
686
- attr_accessor :source_parent
687
-
688
- # The resource name of the folder or organization we are either creating
689
- # the folder under or moving the folder to.
690
- # Corresponds to the JSON property `destinationParent`
691
- # @return [String]
692
- attr_accessor :destination_parent
693
-
694
- # The type of this operation.
695
- # Corresponds to the JSON property `operationType`
696
- # @return [String]
697
- attr_accessor :operation_type
698
-
699
- def initialize(**args)
700
- update!(**args)
701
- end
702
-
703
- # Update properties of this object
704
- def update!(**args)
705
- @display_name = args[:display_name] if args.key?(:display_name)
706
- @source_parent = args[:source_parent] if args.key?(:source_parent)
707
- @destination_parent = args[:destination_parent] if args.key?(:destination_parent)
708
- @operation_type = args[:operation_type] if args.key?(:operation_type)
709
- end
710
- end
711
-
712
654
  # Defines an Identity and Access Management (IAM) policy. It is used to
713
655
  # specify access control policies for Cloud Platform resources.
714
656
  # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
@@ -738,6 +680,11 @@ module Google
738
680
  class Policy
739
681
  include Google::Apis::Core::Hashable
740
682
 
683
+ # Version of the `Policy`. The default version is 0.
684
+ # Corresponds to the JSON property `version`
685
+ # @return [Fixnum]
686
+ attr_accessor :version
687
+
741
688
  # Specifies cloud audit logging configuration for this policy.
742
689
  # Corresponds to the JSON property `auditConfigs`
743
690
  # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditConfig>]
@@ -764,21 +711,74 @@ module Google
764
711
  # @return [String]
765
712
  attr_accessor :etag
766
713
 
767
- # Version of the `Policy`. The default version is 0.
768
- # Corresponds to the JSON property `version`
769
- # @return [Fixnum]
770
- attr_accessor :version
771
-
772
714
  def initialize(**args)
773
715
  update!(**args)
774
716
  end
775
717
 
776
718
  # Update properties of this object
777
719
  def update!(**args)
720
+ @version = args[:version] if args.key?(:version)
778
721
  @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
779
722
  @bindings = args[:bindings] if args.key?(:bindings)
780
723
  @etag = args[:etag] if args.key?(:etag)
781
- @version = args[:version] if args.key?(:version)
724
+ end
725
+ end
726
+
727
+ # Metadata describing a long running folder operation
728
+ class FolderOperation
729
+ include Google::Apis::Core::Hashable
730
+
731
+ # The display name of the folder.
732
+ # Corresponds to the JSON property `displayName`
733
+ # @return [String]
734
+ attr_accessor :display_name
735
+
736
+ # The resource name of the folder's parent.
737
+ # Only applicable when the operation_type is MOVE.
738
+ # Corresponds to the JSON property `sourceParent`
739
+ # @return [String]
740
+ attr_accessor :source_parent
741
+
742
+ # The resource name of the folder or organization we are either creating
743
+ # the folder under or moving the folder to.
744
+ # Corresponds to the JSON property `destinationParent`
745
+ # @return [String]
746
+ attr_accessor :destination_parent
747
+
748
+ # The type of this operation.
749
+ # Corresponds to the JSON property `operationType`
750
+ # @return [String]
751
+ attr_accessor :operation_type
752
+
753
+ def initialize(**args)
754
+ update!(**args)
755
+ end
756
+
757
+ # Update properties of this object
758
+ def update!(**args)
759
+ @display_name = args[:display_name] if args.key?(:display_name)
760
+ @source_parent = args[:source_parent] if args.key?(:source_parent)
761
+ @destination_parent = args[:destination_parent] if args.key?(:destination_parent)
762
+ @operation_type = args[:operation_type] if args.key?(:operation_type)
763
+ end
764
+ end
765
+
766
+ # A classification of the Folder Operation error.
767
+ class FolderOperationError
768
+ include Google::Apis::Core::Hashable
769
+
770
+ # The type of operation error experienced.
771
+ # Corresponds to the JSON property `errorMessageId`
772
+ # @return [String]
773
+ attr_accessor :error_message_id
774
+
775
+ def initialize(**args)
776
+ update!(**args)
777
+ end
778
+
779
+ # Update properties of this object
780
+ def update!(**args)
781
+ @error_message_id = args[:error_message_id] if args.key?(:error_message_id)
782
782
  end
783
783
  end
784
784