google-api-client 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (181) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/README.md +11 -2
  4. data/api_names.yaml +76 -43
  5. data/api_names_out.yaml +3853 -3508
  6. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +151 -151
  7. data/generated/google/apis/adexchangebuyer_v1_4.rb +35 -0
  8. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +2785 -0
  9. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1033 -0
  10. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +1378 -0
  11. data/generated/google/apis/adexchangeseller_v2_0/classes.rb +79 -79
  12. data/generated/google/apis/admin_datatransfer_v1/classes.rb +26 -26
  13. data/generated/google/apis/admin_directory_v1/classes.rb +374 -374
  14. data/generated/google/apis/admin_reports_v1/classes.rb +63 -63
  15. data/generated/google/apis/adsense_v1_4.rb +1 -1
  16. data/generated/google/apis/adsense_v1_4/classes.rb +145 -143
  17. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  18. data/generated/google/apis/adsensehost_v4_1/classes.rb +95 -92
  19. data/generated/google/apis/analytics_v3/classes.rb +582 -582
  20. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  21. data/generated/google/apis/androidenterprise_v1/classes.rb +132 -132
  22. data/generated/google/apis/androidenterprise_v1/service.rb +9 -8
  23. data/generated/google/apis/androidpublisher_v2/classes.rb +122 -122
  24. data/generated/google/apis/appengine_v1beta4.rb +1 -1
  25. data/generated/google/apis/appengine_v1beta4/classes.rb +195 -142
  26. data/generated/google/apis/appengine_v1beta4/representations.rb +16 -0
  27. data/generated/google/apis/appengine_v1beta4/service.rb +3 -2
  28. data/generated/google/apis/appengine_v1beta5.rb +35 -0
  29. data/generated/google/apis/appengine_v1beta5/classes.rb +1523 -0
  30. data/generated/google/apis/appengine_v1beta5/representations.rb +525 -0
  31. data/generated/google/apis/appengine_v1beta5/service.rb +478 -0
  32. data/generated/google/apis/appsactivity_v1/classes.rb +34 -34
  33. data/generated/google/apis/appstate_v1.rb +1 -1
  34. data/generated/google/apis/appstate_v1/classes.rb +12 -12
  35. data/generated/google/apis/autoscaler_v1beta2/classes.rb +82 -82
  36. data/generated/google/apis/bigquery_v2.rb +1 -1
  37. data/generated/google/apis/bigquery_v2/classes.rb +266 -265
  38. data/generated/google/apis/blogger_v3/classes.rb +145 -145
  39. data/generated/google/apis/books_v1.rb +1 -1
  40. data/generated/google/apis/books_v1/classes.rb +431 -431
  41. data/generated/google/apis/books_v1/service.rb +3 -12
  42. data/generated/google/apis/calendar_v3.rb +1 -1
  43. data/generated/google/apis/calendar_v3/classes.rb +180 -180
  44. data/generated/google/apis/civicinfo_v2/classes.rb +125 -125
  45. data/generated/google/apis/classroom_v1/classes.rb +42 -42
  46. data/generated/google/apis/cloudbilling_v1/classes.rb +11 -11
  47. data/generated/google/apis/{mapsengine_v1.rb → cloudbuild_v1.rb} +11 -14
  48. data/generated/google/apis/cloudbuild_v1/classes.rb +521 -0
  49. data/generated/google/apis/cloudbuild_v1/representations.rb +190 -0
  50. data/generated/google/apis/cloudbuild_v1/service.rb +278 -0
  51. data/generated/google/apis/clouddebugger_v2/classes.rb +81 -81
  52. data/generated/google/apis/cloudlatencytest_v2.rb +34 -0
  53. data/generated/google/apis/cloudlatencytest_v2/classes.rb +195 -0
  54. data/generated/google/apis/cloudlatencytest_v2/representations.rb +113 -0
  55. data/generated/google/apis/cloudlatencytest_v2/service.rb +135 -0
  56. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  57. data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +55 -55
  58. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +26 -26
  59. data/generated/google/apis/cloudtrace_v1/classes.rb +13 -13
  60. data/generated/google/apis/clouduseraccounts_beta/classes.rb +85 -85
  61. data/generated/google/apis/compute_beta.rb +1 -1
  62. data/generated/google/apis/compute_beta/classes.rb +1051 -998
  63. data/generated/google/apis/compute_beta/representations.rb +1 -0
  64. data/generated/google/apis/compute_beta/service.rb +426 -366
  65. data/generated/google/apis/compute_v1.rb +1 -1
  66. data/generated/google/apis/compute_v1/classes.rb +1332 -946
  67. data/generated/google/apis/compute_v1/representations.rb +108 -0
  68. data/generated/google/apis/compute_v1/service.rb +686 -318
  69. data/generated/google/apis/container_v1/classes.rb +43 -43
  70. data/generated/google/apis/content_v2.rb +1 -1
  71. data/generated/google/apis/content_v2/classes.rb +767 -639
  72. data/generated/google/apis/content_v2/representations.rb +40 -0
  73. data/generated/google/apis/coordinate_v1/classes.rb +66 -66
  74. data/generated/google/apis/customsearch_v1/classes.rb +96 -96
  75. data/generated/google/apis/dataproc_v1.rb +43 -0
  76. data/generated/google/apis/dataproc_v1/classes.rb +175 -0
  77. data/generated/google/apis/dataproc_v1/representations.rb +84 -0
  78. data/generated/google/apis/dataproc_v1/service.rb +142 -0
  79. data/generated/google/apis/datastore_v1beta2/classes.rb +105 -105
  80. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  81. data/generated/google/apis/deploymentmanager_v2/classes.rb +183 -112
  82. data/generated/google/apis/deploymentmanager_v2/representations.rb +28 -0
  83. data/generated/google/apis/deploymentmanager_v2/service.rb +42 -37
  84. data/generated/google/apis/dfareporting_v2_3.rb +37 -0
  85. data/generated/google/apis/dfareporting_v2_3/classes.rb +10830 -0
  86. data/generated/google/apis/dfareporting_v2_3/representations.rb +3443 -0
  87. data/generated/google/apis/dfareporting_v2_3/service.rb +8581 -0
  88. data/generated/google/apis/discovery_v1/classes.rb +106 -106
  89. data/generated/google/apis/dns_v1/classes.rb +39 -39
  90. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  91. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +155 -69
  92. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +31 -0
  93. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -0
  94. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  95. data/generated/google/apis/doubleclicksearch_v2/classes.rb +106 -104
  96. data/generated/google/apis/drive_v2.rb +1 -1
  97. data/generated/google/apis/drive_v2/classes.rb +308 -308
  98. data/generated/google/apis/drive_v2/service.rb +44 -0
  99. data/generated/google/apis/drive_v3.rb +1 -1
  100. data/generated/google/apis/drive_v3/classes.rb +178 -178
  101. data/generated/google/apis/drive_v3/service.rb +2 -1
  102. data/generated/google/apis/fitness_v1/classes.rb +74 -74
  103. data/generated/google/apis/fusiontables_v2/classes.rb +108 -108
  104. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  105. data/generated/google/apis/games_configuration_v1configuration/classes.rb +52 -52
  106. data/generated/google/apis/games_management_v1management.rb +2 -2
  107. data/generated/google/apis/games_management_v1management/classes.rb +55 -46
  108. data/generated/google/apis/games_management_v1management/representations.rb +1 -0
  109. data/generated/google/apis/games_v1.rb +2 -2
  110. data/generated/google/apis/games_v1/classes.rb +484 -475
  111. data/generated/google/apis/games_v1/representations.rb +1 -0
  112. data/generated/google/apis/gan_v1beta1/classes.rb +187 -187
  113. data/generated/google/apis/genomics_v1.rb +2 -2
  114. data/generated/google/apis/genomics_v1/classes.rb +441 -232
  115. data/generated/google/apis/genomics_v1/representations.rb +85 -0
  116. data/generated/google/apis/genomics_v1/service.rb +1 -1
  117. data/generated/google/apis/gmail_v1/classes.rb +73 -73
  118. data/generated/google/apis/groupsmigration_v1/classes.rb +2 -2
  119. data/generated/google/apis/groupssettings_v1/classes.rb +28 -28
  120. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  121. data/generated/google/apis/identitytoolkit_v3/classes.rb +232 -166
  122. data/generated/google/apis/identitytoolkit_v3/representations.rb +10 -0
  123. data/generated/google/apis/kgsearch_v1/classes.rb +3 -3
  124. data/generated/google/apis/licensing_v1/classes.rb +11 -11
  125. data/generated/google/apis/logging_v2beta1.rb +47 -0
  126. data/generated/google/apis/logging_v2beta1/classes.rb +990 -0
  127. data/generated/google/apis/logging_v2beta1/representations.rb +337 -0
  128. data/generated/google/apis/logging_v2beta1/service.rb +547 -0
  129. data/generated/google/apis/manager_v1beta2/classes.rb +125 -125
  130. data/generated/google/apis/mirror_v1/classes.rb +101 -101
  131. data/generated/google/apis/oauth2_v2.rb +2 -2
  132. data/generated/google/apis/oauth2_v2/classes.rb +27 -27
  133. data/generated/google/apis/pagespeedonline_v2/classes.rb +62 -62
  134. data/generated/google/apis/partners_v2/classes.rb +87 -87
  135. data/generated/google/apis/people_v1.rb +59 -0
  136. data/generated/google/apis/people_v1/classes.rb +1594 -0
  137. data/generated/google/apis/people_v1/representations.rb +593 -0
  138. data/generated/google/apis/people_v1/service.rb +193 -0
  139. data/generated/google/apis/plus_domains_v1.rb +2 -2
  140. data/generated/google/apis/plus_domains_v1/classes.rb +274 -274
  141. data/generated/google/apis/plus_v1.rb +2 -2
  142. data/generated/google/apis/plus_v1/classes.rb +215 -215
  143. data/generated/google/apis/prediction_v1_6/classes.rb +73 -73
  144. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +45 -45
  145. data/generated/google/apis/pubsub_v1/classes.rb +36 -36
  146. data/generated/google/apis/qpx_express_v1/classes.rb +135 -135
  147. data/generated/google/apis/replicapool_v1beta2/classes.rb +63 -63
  148. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +76 -76
  149. data/generated/google/apis/reseller_v1.rb +1 -1
  150. data/generated/google/apis/reseller_v1/classes.rb +55 -55
  151. data/generated/google/apis/reseller_v1/service.rb +1 -1
  152. data/generated/google/apis/resourceviews_v1beta2/classes.rb +68 -68
  153. data/generated/google/apis/script_v1/classes.rb +18 -18
  154. data/generated/google/apis/site_verification_v1/classes.rb +12 -12
  155. data/generated/google/apis/sqladmin_v1beta4/classes.rb +203 -203
  156. data/generated/google/apis/storage_v1.rb +1 -1
  157. data/generated/google/apis/storage_v1/classes.rb +130 -130
  158. data/generated/google/apis/storagetransfer_v1/classes.rb +84 -84
  159. data/generated/google/apis/tagmanager_v1/classes.rb +154 -154
  160. data/generated/google/apis/taskqueue_v1beta2/classes.rb +24 -24
  161. data/generated/google/apis/tasks_v1/classes.rb +32 -32
  162. data/generated/google/apis/translate_v2/classes.rb +10 -10
  163. data/generated/google/apis/urlshortener_v1/classes.rb +24 -24
  164. data/generated/google/apis/webmasters_v3/classes.rb +49 -49
  165. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  166. data/generated/google/apis/youtube_analytics_v1/classes.rb +49 -49
  167. data/generated/google/apis/youtube_v3.rb +1 -1
  168. data/generated/google/apis/youtube_v3/classes.rb +882 -895
  169. data/generated/google/apis/youtube_v3/representations.rb +2 -13
  170. data/generated/google/apis/youtubereporting_v1/classes.rb +19 -19
  171. data/lib/google/apis/core/api_command.rb +1 -1
  172. data/lib/google/apis/core/upload.rb +1 -1
  173. data/lib/google/apis/generator/templates/_class.tmpl +1 -1
  174. data/lib/google/apis/version.rb +1 -1
  175. data/samples/cli/lib/base_cli.rb +2 -1
  176. data/samples/cli/lib/samples/androidpublisher.rb +47 -0
  177. data/script/generate +17 -13
  178. metadata +35 -6
  179. data/generated/google/apis/mapsengine_v1/classes.rb +0 -2873
  180. data/generated/google/apis/mapsengine_v1/representations.rb +0 -1235
  181. data/generated/google/apis/mapsengine_v1/service.rb +0 -3388
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeBeta
27
27
  VERSION = 'Beta'
28
- REVISION = '20160112'
28
+ REVISION = '20160205'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -57,10 +57,10 @@ module Google
57
57
 
58
58
  # Update properties of this object
59
59
  def update!(**args)
60
- @kind = args[:kind] unless args[:kind].nil?
61
- @name = args[:name] unless args[:name].nil?
62
- @nat_ip = args[:nat_ip] unless args[:nat_ip].nil?
63
- @type = args[:type] unless args[:type].nil?
60
+ @kind = args[:kind] if args.key?(:kind)
61
+ @name = args[:name] if args.key?(:name)
62
+ @nat_ip = args[:nat_ip] if args.key?(:nat_ip)
63
+ @type = args[:type] if args.key?(:type)
64
64
  end
65
65
  end
66
66
 
@@ -135,16 +135,16 @@ module Google
135
135
 
136
136
  # Update properties of this object
137
137
  def update!(**args)
138
- @address = args[:address] unless args[:address].nil?
139
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
140
- @description = args[:description] unless args[:description].nil?
141
- @id = args[:id] unless args[:id].nil?
142
- @kind = args[:kind] unless args[:kind].nil?
143
- @name = args[:name] unless args[:name].nil?
144
- @region = args[:region] unless args[:region].nil?
145
- @self_link = args[:self_link] unless args[:self_link].nil?
146
- @status = args[:status] unless args[:status].nil?
147
- @users = args[:users] unless args[:users].nil?
138
+ @address = args[:address] if args.key?(:address)
139
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
140
+ @description = args[:description] if args.key?(:description)
141
+ @id = args[:id] if args.key?(:id)
142
+ @kind = args[:kind] if args.key?(:kind)
143
+ @name = args[:name] if args.key?(:name)
144
+ @region = args[:region] if args.key?(:region)
145
+ @self_link = args[:self_link] if args.key?(:self_link)
146
+ @status = args[:status] if args.key?(:status)
147
+ @users = args[:users] if args.key?(:users)
148
148
  end
149
149
  end
150
150
 
@@ -188,15 +188,15 @@ module Google
188
188
 
189
189
  # Update properties of this object
190
190
  def update!(**args)
191
- @id = args[:id] unless args[:id].nil?
192
- @items = args[:items] unless args[:items].nil?
193
- @kind = args[:kind] unless args[:kind].nil?
194
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
195
- @self_link = args[:self_link] unless args[:self_link].nil?
191
+ @id = args[:id] if args.key?(:id)
192
+ @items = args[:items] if args.key?(:items)
193
+ @kind = args[:kind] if args.key?(:kind)
194
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
195
+ @self_link = args[:self_link] if args.key?(:self_link)
196
196
  end
197
197
  end
198
198
 
199
- # Contains a list of address resources.
199
+ # Contains a list of addresses.
200
200
  class AddressList
201
201
  include Google::Apis::Core::Hashable
202
202
 
@@ -206,7 +206,7 @@ module Google
206
206
  # @return [String]
207
207
  attr_accessor :id
208
208
 
209
- # [Output Only] A list of Address resources.
209
+ # [Output Only] A list of addresses.
210
210
  # Corresponds to the JSON property `items`
211
211
  # @return [Array<Google::Apis::ComputeBeta::Address>]
212
212
  attr_accessor :items
@@ -237,11 +237,11 @@ module Google
237
237
 
238
238
  # Update properties of this object
239
239
  def update!(**args)
240
- @id = args[:id] unless args[:id].nil?
241
- @items = args[:items] unless args[:items].nil?
242
- @kind = args[:kind] unless args[:kind].nil?
243
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
244
- @self_link = args[:self_link] unless args[:self_link].nil?
240
+ @id = args[:id] if args.key?(:id)
241
+ @items = args[:items] if args.key?(:items)
242
+ @kind = args[:kind] if args.key?(:kind)
243
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
244
+ @self_link = args[:self_link] if args.key?(:self_link)
245
245
  end
246
246
  end
247
247
 
@@ -266,8 +266,8 @@ module Google
266
266
 
267
267
  # Update properties of this object
268
268
  def update!(**args)
269
- @addresses = args[:addresses] unless args[:addresses].nil?
270
- @warning = args[:warning] unless args[:warning].nil?
269
+ @addresses = args[:addresses] if args.key?(:addresses)
270
+ @warning = args[:warning] if args.key?(:warning)
271
271
  end
272
272
 
273
273
  # [Output Only] Informational warning which replaces the list of addresses when
@@ -298,9 +298,9 @@ module Google
298
298
 
299
299
  # Update properties of this object
300
300
  def update!(**args)
301
- @code = args[:code] unless args[:code].nil?
302
- @data = args[:data] unless args[:data].nil?
303
- @message = args[:message] unless args[:message].nil?
301
+ @code = args[:code] if args.key?(:code)
302
+ @data = args[:data] if args.key?(:data)
303
+ @message = args[:message] if args.key?(:message)
304
304
  end
305
305
 
306
306
  #
@@ -329,8 +329,8 @@ module Google
329
329
 
330
330
  # Update properties of this object
331
331
  def update!(**args)
332
- @key = args[:key] unless args[:key].nil?
333
- @value = args[:value] unless args[:value].nil?
332
+ @key = args[:key] if args.key?(:key)
333
+ @value = args[:value] if args.key?(:value)
334
334
  end
335
335
  end
336
336
  end
@@ -387,9 +387,11 @@ module Google
387
387
  # @return [Google::Apis::ComputeBeta::AttachedDiskInitializeParams]
388
388
  attr_accessor :initialize_params
389
389
 
390
- # Specifies the disk interface to use for attaching this disk, either SCSI or
391
- # NVME. The default is SCSI. For performance characteristics of SCSI over NVMe,
392
- # see Local SSD performance.
390
+ # Specifies the disk interface to use for attaching this disk, which is either
391
+ # SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and
392
+ # the request will fail if you attempt to attach a persistent disk in any other
393
+ # format than SCSI. Local SSDs can use either NVME or SCSI. For performance
394
+ # characteristics of SCSI over NVMe, see Local SSD performance.
393
395
  # Corresponds to the JSON property `interface`
394
396
  # @return [String]
395
397
  attr_accessor :interface
@@ -429,18 +431,18 @@ module Google
429
431
 
430
432
  # Update properties of this object
431
433
  def update!(**args)
432
- @auto_delete = args[:auto_delete] unless args[:auto_delete].nil?
433
- @boot = args[:boot] unless args[:boot].nil?
434
- @device_name = args[:device_name] unless args[:device_name].nil?
435
- @disk_encryption_key = args[:disk_encryption_key] unless args[:disk_encryption_key].nil?
436
- @index = args[:index] unless args[:index].nil?
437
- @initialize_params = args[:initialize_params] unless args[:initialize_params].nil?
438
- @interface = args[:interface] unless args[:interface].nil?
439
- @kind = args[:kind] unless args[:kind].nil?
440
- @licenses = args[:licenses] unless args[:licenses].nil?
441
- @mode = args[:mode] unless args[:mode].nil?
442
- @source = args[:source] unless args[:source].nil?
443
- @type = args[:type] unless args[:type].nil?
434
+ @auto_delete = args[:auto_delete] if args.key?(:auto_delete)
435
+ @boot = args[:boot] if args.key?(:boot)
436
+ @device_name = args[:device_name] if args.key?(:device_name)
437
+ @disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key)
438
+ @index = args[:index] if args.key?(:index)
439
+ @initialize_params = args[:initialize_params] if args.key?(:initialize_params)
440
+ @interface = args[:interface] if args.key?(:interface)
441
+ @kind = args[:kind] if args.key?(:kind)
442
+ @licenses = args[:licenses] if args.key?(:licenses)
443
+ @mode = args[:mode] if args.key?(:mode)
444
+ @source = args[:source] if args.key?(:source)
445
+ @type = args[:type] if args.key?(:type)
444
446
  end
445
447
  end
446
448
 
@@ -508,12 +510,12 @@ module Google
508
510
 
509
511
  # Update properties of this object
510
512
  def update!(**args)
511
- @disk_name = args[:disk_name] unless args[:disk_name].nil?
512
- @disk_size_gb = args[:disk_size_gb] unless args[:disk_size_gb].nil?
513
- @disk_storage_type = args[:disk_storage_type] unless args[:disk_storage_type].nil?
514
- @disk_type = args[:disk_type] unless args[:disk_type].nil?
515
- @source_image = args[:source_image] unless args[:source_image].nil?
516
- @source_image_encryption_key = args[:source_image_encryption_key] unless args[:source_image_encryption_key].nil?
513
+ @disk_name = args[:disk_name] if args.key?(:disk_name)
514
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
515
+ @disk_storage_type = args[:disk_storage_type] if args.key?(:disk_storage_type)
516
+ @disk_type = args[:disk_type] if args.key?(:disk_type)
517
+ @source_image = args[:source_image] if args.key?(:source_image)
518
+ @source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
517
519
  end
518
520
  end
519
521
 
@@ -580,15 +582,15 @@ module Google
580
582
 
581
583
  # Update properties of this object
582
584
  def update!(**args)
583
- @autoscaling_policy = args[:autoscaling_policy] unless args[:autoscaling_policy].nil?
584
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
585
- @description = args[:description] unless args[:description].nil?
586
- @id = args[:id] unless args[:id].nil?
587
- @kind = args[:kind] unless args[:kind].nil?
588
- @name = args[:name] unless args[:name].nil?
589
- @self_link = args[:self_link] unless args[:self_link].nil?
590
- @target = args[:target] unless args[:target].nil?
591
- @zone = args[:zone] unless args[:zone].nil?
585
+ @autoscaling_policy = args[:autoscaling_policy] if args.key?(:autoscaling_policy)
586
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
587
+ @description = args[:description] if args.key?(:description)
588
+ @id = args[:id] if args.key?(:id)
589
+ @kind = args[:kind] if args.key?(:kind)
590
+ @name = args[:name] if args.key?(:name)
591
+ @self_link = args[:self_link] if args.key?(:self_link)
592
+ @target = args[:target] if args.key?(:target)
593
+ @zone = args[:zone] if args.key?(:zone)
592
594
  end
593
595
  end
594
596
 
@@ -632,11 +634,11 @@ module Google
632
634
 
633
635
  # Update properties of this object
634
636
  def update!(**args)
635
- @id = args[:id] unless args[:id].nil?
636
- @items = args[:items] unless args[:items].nil?
637
- @kind = args[:kind] unless args[:kind].nil?
638
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
639
- @self_link = args[:self_link] unless args[:self_link].nil?
637
+ @id = args[:id] if args.key?(:id)
638
+ @items = args[:items] if args.key?(:items)
639
+ @kind = args[:kind] if args.key?(:kind)
640
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
641
+ @self_link = args[:self_link] if args.key?(:self_link)
640
642
  end
641
643
  end
642
644
 
@@ -680,11 +682,11 @@ module Google
680
682
 
681
683
  # Update properties of this object
682
684
  def update!(**args)
683
- @id = args[:id] unless args[:id].nil?
684
- @items = args[:items] unless args[:items].nil?
685
- @kind = args[:kind] unless args[:kind].nil?
686
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
687
- @self_link = args[:self_link] unless args[:self_link].nil?
685
+ @id = args[:id] if args.key?(:id)
686
+ @items = args[:items] if args.key?(:items)
687
+ @kind = args[:kind] if args.key?(:kind)
688
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
689
+ @self_link = args[:self_link] if args.key?(:self_link)
688
690
  end
689
691
  end
690
692
 
@@ -709,8 +711,8 @@ module Google
709
711
 
710
712
  # Update properties of this object
711
713
  def update!(**args)
712
- @autoscalers = args[:autoscalers] unless args[:autoscalers].nil?
713
- @warning = args[:warning] unless args[:warning].nil?
714
+ @autoscalers = args[:autoscalers] if args.key?(:autoscalers)
715
+ @warning = args[:warning] if args.key?(:warning)
714
716
  end
715
717
 
716
718
  # Informational warning which replaces the list of autoscalers when the list is
@@ -741,9 +743,9 @@ module Google
741
743
 
742
744
  # Update properties of this object
743
745
  def update!(**args)
744
- @code = args[:code] unless args[:code].nil?
745
- @data = args[:data] unless args[:data].nil?
746
- @message = args[:message] unless args[:message].nil?
746
+ @code = args[:code] if args.key?(:code)
747
+ @data = args[:data] if args.key?(:data)
748
+ @message = args[:message] if args.key?(:message)
747
749
  end
748
750
 
749
751
  #
@@ -772,8 +774,8 @@ module Google
772
774
 
773
775
  # Update properties of this object
774
776
  def update!(**args)
775
- @key = args[:key] unless args[:key].nil?
776
- @value = args[:value] unless args[:value].nil?
777
+ @key = args[:key] if args.key?(:key)
778
+ @value = args[:value] if args.key?(:value)
777
779
  end
778
780
  end
779
781
  end
@@ -828,12 +830,12 @@ module Google
828
830
 
829
831
  # Update properties of this object
830
832
  def update!(**args)
831
- @cool_down_period_sec = args[:cool_down_period_sec] unless args[:cool_down_period_sec].nil?
832
- @cpu_utilization = args[:cpu_utilization] unless args[:cpu_utilization].nil?
833
- @custom_metric_utilizations = args[:custom_metric_utilizations] unless args[:custom_metric_utilizations].nil?
834
- @load_balancing_utilization = args[:load_balancing_utilization] unless args[:load_balancing_utilization].nil?
835
- @max_num_replicas = args[:max_num_replicas] unless args[:max_num_replicas].nil?
836
- @min_num_replicas = args[:min_num_replicas] unless args[:min_num_replicas].nil?
833
+ @cool_down_period_sec = args[:cool_down_period_sec] if args.key?(:cool_down_period_sec)
834
+ @cpu_utilization = args[:cpu_utilization] if args.key?(:cpu_utilization)
835
+ @custom_metric_utilizations = args[:custom_metric_utilizations] if args.key?(:custom_metric_utilizations)
836
+ @load_balancing_utilization = args[:load_balancing_utilization] if args.key?(:load_balancing_utilization)
837
+ @max_num_replicas = args[:max_num_replicas] if args.key?(:max_num_replicas)
838
+ @min_num_replicas = args[:min_num_replicas] if args.key?(:min_num_replicas)
837
839
  end
838
840
  end
839
841
 
@@ -855,7 +857,7 @@ module Google
855
857
 
856
858
  # Update properties of this object
857
859
  def update!(**args)
858
- @utilization_target = args[:utilization_target] unless args[:utilization_target].nil?
860
+ @utilization_target = args[:utilization_target] if args.key?(:utilization_target)
859
861
  end
860
862
  end
861
863
 
@@ -889,9 +891,9 @@ module Google
889
891
 
890
892
  # Update properties of this object
891
893
  def update!(**args)
892
- @metric = args[:metric] unless args[:metric].nil?
893
- @utilization_target = args[:utilization_target] unless args[:utilization_target].nil?
894
- @utilization_target_type = args[:utilization_target_type] unless args[:utilization_target_type].nil?
894
+ @metric = args[:metric] if args.key?(:metric)
895
+ @utilization_target = args[:utilization_target] if args.key?(:utilization_target)
896
+ @utilization_target_type = args[:utilization_target_type] if args.key?(:utilization_target_type)
895
897
  end
896
898
  end
897
899
 
@@ -915,7 +917,7 @@ module Google
915
917
 
916
918
  # Update properties of this object
917
919
  def update!(**args)
918
- @utilization_target = args[:utilization_target] unless args[:utilization_target].nil?
920
+ @utilization_target = args[:utilization_target] if args.key?(:utilization_target)
919
921
  end
920
922
  end
921
923
 
@@ -923,8 +925,8 @@ module Google
923
925
  class Backend
924
926
  include Google::Apis::Core::Hashable
925
927
 
926
- # Specifies the balancing mode for this backend. The default is UTILIZATION but
927
- # available values are UTILIZATION and RATE.
928
+ # Specifies the balancing mode for this backend. For global HTTP(S) load
929
+ # balancing, the default is UTILIZATION. Valid values are UTILIZATION and RATE.
928
930
  # Corresponds to the JSON property `balancingMode`
929
931
  # @return [String]
930
932
  attr_accessor :balancing_mode
@@ -955,14 +957,14 @@ module Google
955
957
  # @return [String]
956
958
  attr_accessor :group
957
959
 
958
- # The max requests per second (RPS) of the group. Can be used with either
959
- # balancing mode, but required if RATE mode. For RATE mode, either maxRate or
960
- # maxRatePerInstance must be set.
960
+ # The max requests per second (RPS) of the group. Can be used with either RATE
961
+ # or UTILIZATION balancing modes, but required if RATE mode. For RATE mode,
962
+ # either maxRate or maxRatePerInstance must be set.
961
963
  # Corresponds to the JSON property `maxRate`
962
964
  # @return [Fixnum]
963
965
  attr_accessor :max_rate
964
966
 
965
- # The max requests per second (RPS) that a single backed instance can handle.
967
+ # The max requests per second (RPS) that a single backend instance can handle.
966
968
  # This is used to calculate the capacity of the group. Can be used in either
967
969
  # balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be
968
970
  # set.
@@ -982,13 +984,13 @@ module Google
982
984
 
983
985
  # Update properties of this object
984
986
  def update!(**args)
985
- @balancing_mode = args[:balancing_mode] unless args[:balancing_mode].nil?
986
- @capacity_scaler = args[:capacity_scaler] unless args[:capacity_scaler].nil?
987
- @description = args[:description] unless args[:description].nil?
988
- @group = args[:group] unless args[:group].nil?
989
- @max_rate = args[:max_rate] unless args[:max_rate].nil?
990
- @max_rate_per_instance = args[:max_rate_per_instance] unless args[:max_rate_per_instance].nil?
991
- @max_utilization = args[:max_utilization] unless args[:max_utilization].nil?
987
+ @balancing_mode = args[:balancing_mode] if args.key?(:balancing_mode)
988
+ @capacity_scaler = args[:capacity_scaler] if args.key?(:capacity_scaler)
989
+ @description = args[:description] if args.key?(:description)
990
+ @group = args[:group] if args.key?(:group)
991
+ @max_rate = args[:max_rate] if args.key?(:max_rate)
992
+ @max_rate_per_instance = args[:max_rate_per_instance] if args.key?(:max_rate_per_instance)
993
+ @max_utilization = args[:max_utilization] if args.key?(:max_utilization)
992
994
  end
993
995
  end
994
996
 
@@ -1056,13 +1058,14 @@ module Google
1056
1058
  # @return [Fixnum]
1057
1059
  attr_accessor :port
1058
1060
 
1059
- # Name of backend port. The same name should appear in the resource views
1061
+ # Name of backend port. The same name should appear in the instance groups
1060
1062
  # referenced by this service. Required.
1061
1063
  # Corresponds to the JSON property `portName`
1062
1064
  # @return [String]
1063
1065
  attr_accessor :port_name
1064
1066
 
1065
- #
1067
+ # The protocol this BackendService uses to communicate with backends.
1068
+ # Possible values are HTTP, HTTPS, HTTP2, TCP and SSL.
1066
1069
  # Corresponds to the JSON property `protocol`
1067
1070
  # @return [String]
1068
1071
  attr_accessor :protocol
@@ -1084,19 +1087,19 @@ module Google
1084
1087
 
1085
1088
  # Update properties of this object
1086
1089
  def update!(**args)
1087
- @backends = args[:backends] unless args[:backends].nil?
1088
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
1089
- @description = args[:description] unless args[:description].nil?
1090
- @fingerprint = args[:fingerprint] unless args[:fingerprint].nil?
1091
- @health_checks = args[:health_checks] unless args[:health_checks].nil?
1092
- @id = args[:id] unless args[:id].nil?
1093
- @kind = args[:kind] unless args[:kind].nil?
1094
- @name = args[:name] unless args[:name].nil?
1095
- @port = args[:port] unless args[:port].nil?
1096
- @port_name = args[:port_name] unless args[:port_name].nil?
1097
- @protocol = args[:protocol] unless args[:protocol].nil?
1098
- @self_link = args[:self_link] unless args[:self_link].nil?
1099
- @timeout_sec = args[:timeout_sec] unless args[:timeout_sec].nil?
1090
+ @backends = args[:backends] if args.key?(:backends)
1091
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
1092
+ @description = args[:description] if args.key?(:description)
1093
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
1094
+ @health_checks = args[:health_checks] if args.key?(:health_checks)
1095
+ @id = args[:id] if args.key?(:id)
1096
+ @kind = args[:kind] if args.key?(:kind)
1097
+ @name = args[:name] if args.key?(:name)
1098
+ @port = args[:port] if args.key?(:port)
1099
+ @port_name = args[:port_name] if args.key?(:port_name)
1100
+ @protocol = args[:protocol] if args.key?(:protocol)
1101
+ @self_link = args[:self_link] if args.key?(:self_link)
1102
+ @timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
1100
1103
  end
1101
1104
  end
1102
1105
 
@@ -1121,8 +1124,8 @@ module Google
1121
1124
 
1122
1125
  # Update properties of this object
1123
1126
  def update!(**args)
1124
- @health_status = args[:health_status] unless args[:health_status].nil?
1125
- @kind = args[:kind] unless args[:kind].nil?
1127
+ @health_status = args[:health_status] if args.key?(:health_status)
1128
+ @kind = args[:kind] if args.key?(:kind)
1126
1129
  end
1127
1130
  end
1128
1131
 
@@ -1167,11 +1170,11 @@ module Google
1167
1170
 
1168
1171
  # Update properties of this object
1169
1172
  def update!(**args)
1170
- @id = args[:id] unless args[:id].nil?
1171
- @items = args[:items] unless args[:items].nil?
1172
- @kind = args[:kind] unless args[:kind].nil?
1173
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
1174
- @self_link = args[:self_link] unless args[:self_link].nil?
1173
+ @id = args[:id] if args.key?(:id)
1174
+ @items = args[:items] if args.key?(:items)
1175
+ @kind = args[:kind] if args.key?(:kind)
1176
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1177
+ @self_link = args[:self_link] if args.key?(:self_link)
1175
1178
  end
1176
1179
  end
1177
1180
 
@@ -1209,9 +1212,9 @@ module Google
1209
1212
 
1210
1213
  # Update properties of this object
1211
1214
  def update!(**args)
1212
- @raw_key = args[:raw_key] unless args[:raw_key].nil?
1213
- @rsa_encrypted_key = args[:rsa_encrypted_key] unless args[:rsa_encrypted_key].nil?
1214
- @sha256 = args[:sha256] unless args[:sha256].nil?
1215
+ @raw_key = args[:raw_key] if args.key?(:raw_key)
1216
+ @rsa_encrypted_key = args[:rsa_encrypted_key] if args.key?(:rsa_encrypted_key)
1217
+ @sha256 = args[:sha256] if args.key?(:sha256)
1215
1218
  end
1216
1219
  end
1217
1220
 
@@ -1259,11 +1262,11 @@ module Google
1259
1262
 
1260
1263
  # Update properties of this object
1261
1264
  def update!(**args)
1262
- @deleted = args[:deleted] unless args[:deleted].nil?
1263
- @deprecated = args[:deprecated] unless args[:deprecated].nil?
1264
- @obsolete = args[:obsolete] unless args[:obsolete].nil?
1265
- @replacement = args[:replacement] unless args[:replacement].nil?
1266
- @state = args[:state] unless args[:state].nil?
1265
+ @deleted = args[:deleted] if args.key?(:deleted)
1266
+ @deprecated = args[:deprecated] if args.key?(:deprecated)
1267
+ @obsolete = args[:obsolete] if args.key?(:obsolete)
1268
+ @replacement = args[:replacement] if args.key?(:replacement)
1269
+ @state = args[:state] if args.key?(:state)
1267
1270
  end
1268
1271
  end
1269
1272
 
@@ -1308,7 +1311,7 @@ module Google
1308
1311
  # @return [String]
1309
1312
  attr_accessor :last_detach_timestamp
1310
1313
 
1311
- # Any applicable publicly visible licenses.
1314
+ # [Output Only] Any applicable publicly visible licenses.
1312
1315
  # Corresponds to the JSON property `licenses`
1313
1316
  # @return [Array<String>]
1314
1317
  attr_accessor :licenses
@@ -1356,6 +1359,13 @@ module Google
1356
1359
  # projects/debian-cloud/global/images/debian-7-wheezy-vYYYYMMDD
1357
1360
  # where vYYYYMMDD is the image version. The fully-qualified URL will also work
1358
1361
  # in both cases.
1362
+ # You can also specify the latest image for a private image family by replacing
1363
+ # the image name suffix with family/family-name. For example:
1364
+ # global/images/family/my-private-family
1365
+ # Or you can specify an image family from a publicly-available project. For
1366
+ # example, to use the latest Debian 7 from the debian-cloud project, make sure
1367
+ # to include the project in the URL:
1368
+ # projects/debian-cloud/global/images/family/debian-7
1359
1369
  # Corresponds to the JSON property `sourceImage`
1360
1370
  # @return [String]
1361
1371
  attr_accessor :source_image
@@ -1365,11 +1375,11 @@ module Google
1365
1375
  # @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
1366
1376
  attr_accessor :source_image_encryption_key
1367
1377
 
1368
- # The ID value of the image used to create this disk. This value identifies the
1369
- # exact image that was used to create this persistent disk. For example, if you
1370
- # created the persistent disk from an image that was later deleted and recreated
1371
- # under the same name, the source image ID would identify the exact version of
1372
- # the image that was used.
1378
+ # [Output Only] The ID value of the image used to create this disk. This value
1379
+ # identifies the exact image that was used to create this persistent disk. For
1380
+ # example, if you created the persistent disk from an image that was later
1381
+ # deleted and recreated under the same name, the source image ID would identify
1382
+ # the exact version of the image that was used.
1373
1383
  # Corresponds to the JSON property `sourceImageId`
1374
1384
  # @return [String]
1375
1385
  attr_accessor :source_image_id
@@ -1411,13 +1421,13 @@ module Google
1411
1421
  attr_accessor :storage_type
1412
1422
 
1413
1423
  # URL of the disk type resource describing which disk type to use to create the
1414
- # disk; provided by the client when the disk is created.
1424
+ # disk. Provide this when creating the disk.
1415
1425
  # Corresponds to the JSON property `type`
1416
1426
  # @return [String]
1417
1427
  attr_accessor :type
1418
1428
 
1419
- # Links to the users of the disk (attached instances) in form: project/zones/
1420
- # zone/instances/instance
1429
+ # [Output Only] Links to the users of the disk (attached instances) in form:
1430
+ # project/zones/zone/instances/instance
1421
1431
  # Corresponds to the JSON property `users`
1422
1432
  # @return [Array<String>]
1423
1433
  attr_accessor :users
@@ -1433,29 +1443,29 @@ module Google
1433
1443
 
1434
1444
  # Update properties of this object
1435
1445
  def update!(**args)
1436
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
1437
- @description = args[:description] unless args[:description].nil?
1438
- @disk_encryption_key = args[:disk_encryption_key] unless args[:disk_encryption_key].nil?
1439
- @id = args[:id] unless args[:id].nil?
1440
- @kind = args[:kind] unless args[:kind].nil?
1441
- @last_attach_timestamp = args[:last_attach_timestamp] unless args[:last_attach_timestamp].nil?
1442
- @last_detach_timestamp = args[:last_detach_timestamp] unless args[:last_detach_timestamp].nil?
1443
- @licenses = args[:licenses] unless args[:licenses].nil?
1444
- @name = args[:name] unless args[:name].nil?
1445
- @options = args[:options] unless args[:options].nil?
1446
- @self_link = args[:self_link] unless args[:self_link].nil?
1447
- @size_gb = args[:size_gb] unless args[:size_gb].nil?
1448
- @source_image = args[:source_image] unless args[:source_image].nil?
1449
- @source_image_encryption_key = args[:source_image_encryption_key] unless args[:source_image_encryption_key].nil?
1450
- @source_image_id = args[:source_image_id] unless args[:source_image_id].nil?
1451
- @source_snapshot = args[:source_snapshot] unless args[:source_snapshot].nil?
1452
- @source_snapshot_encryption_key = args[:source_snapshot_encryption_key] unless args[:source_snapshot_encryption_key].nil?
1453
- @source_snapshot_id = args[:source_snapshot_id] unless args[:source_snapshot_id].nil?
1454
- @status = args[:status] unless args[:status].nil?
1455
- @storage_type = args[:storage_type] unless args[:storage_type].nil?
1456
- @type = args[:type] unless args[:type].nil?
1457
- @users = args[:users] unless args[:users].nil?
1458
- @zone = args[:zone] unless args[:zone].nil?
1446
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
1447
+ @description = args[:description] if args.key?(:description)
1448
+ @disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key)
1449
+ @id = args[:id] if args.key?(:id)
1450
+ @kind = args[:kind] if args.key?(:kind)
1451
+ @last_attach_timestamp = args[:last_attach_timestamp] if args.key?(:last_attach_timestamp)
1452
+ @last_detach_timestamp = args[:last_detach_timestamp] if args.key?(:last_detach_timestamp)
1453
+ @licenses = args[:licenses] if args.key?(:licenses)
1454
+ @name = args[:name] if args.key?(:name)
1455
+ @options = args[:options] if args.key?(:options)
1456
+ @self_link = args[:self_link] if args.key?(:self_link)
1457
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
1458
+ @source_image = args[:source_image] if args.key?(:source_image)
1459
+ @source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
1460
+ @source_image_id = args[:source_image_id] if args.key?(:source_image_id)
1461
+ @source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
1462
+ @source_snapshot_encryption_key = args[:source_snapshot_encryption_key] if args.key?(:source_snapshot_encryption_key)
1463
+ @source_snapshot_id = args[:source_snapshot_id] if args.key?(:source_snapshot_id)
1464
+ @status = args[:status] if args.key?(:status)
1465
+ @storage_type = args[:storage_type] if args.key?(:storage_type)
1466
+ @type = args[:type] if args.key?(:type)
1467
+ @users = args[:users] if args.key?(:users)
1468
+ @zone = args[:zone] if args.key?(:zone)
1459
1469
  end
1460
1470
  end
1461
1471
 
@@ -1500,11 +1510,11 @@ module Google
1500
1510
 
1501
1511
  # Update properties of this object
1502
1512
  def update!(**args)
1503
- @id = args[:id] unless args[:id].nil?
1504
- @items = args[:items] unless args[:items].nil?
1505
- @kind = args[:kind] unless args[:kind].nil?
1506
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
1507
- @self_link = args[:self_link] unless args[:self_link].nil?
1513
+ @id = args[:id] if args.key?(:id)
1514
+ @items = args[:items] if args.key?(:items)
1515
+ @kind = args[:kind] if args.key?(:kind)
1516
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1517
+ @self_link = args[:self_link] if args.key?(:self_link)
1508
1518
  end
1509
1519
  end
1510
1520
 
@@ -1548,15 +1558,15 @@ module Google
1548
1558
 
1549
1559
  # Update properties of this object
1550
1560
  def update!(**args)
1551
- @id = args[:id] unless args[:id].nil?
1552
- @items = args[:items] unless args[:items].nil?
1553
- @kind = args[:kind] unless args[:kind].nil?
1554
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
1555
- @self_link = args[:self_link] unless args[:self_link].nil?
1561
+ @id = args[:id] if args.key?(:id)
1562
+ @items = args[:items] if args.key?(:items)
1563
+ @kind = args[:kind] if args.key?(:kind)
1564
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1565
+ @self_link = args[:self_link] if args.key?(:self_link)
1556
1566
  end
1557
1567
  end
1558
1568
 
1559
- # A disk type resource.
1569
+ # A DiskType resource.
1560
1570
  class DiskType
1561
1571
  include Google::Apis::Core::Hashable
1562
1572
 
@@ -1618,16 +1628,16 @@ module Google
1618
1628
 
1619
1629
  # Update properties of this object
1620
1630
  def update!(**args)
1621
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
1622
- @default_disk_size_gb = args[:default_disk_size_gb] unless args[:default_disk_size_gb].nil?
1623
- @deprecated = args[:deprecated] unless args[:deprecated].nil?
1624
- @description = args[:description] unless args[:description].nil?
1625
- @id = args[:id] unless args[:id].nil?
1626
- @kind = args[:kind] unless args[:kind].nil?
1627
- @name = args[:name] unless args[:name].nil?
1628
- @self_link = args[:self_link] unless args[:self_link].nil?
1629
- @valid_disk_size = args[:valid_disk_size] unless args[:valid_disk_size].nil?
1630
- @zone = args[:zone] unless args[:zone].nil?
1631
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
1632
+ @default_disk_size_gb = args[:default_disk_size_gb] if args.key?(:default_disk_size_gb)
1633
+ @deprecated = args[:deprecated] if args.key?(:deprecated)
1634
+ @description = args[:description] if args.key?(:description)
1635
+ @id = args[:id] if args.key?(:id)
1636
+ @kind = args[:kind] if args.key?(:kind)
1637
+ @name = args[:name] if args.key?(:name)
1638
+ @self_link = args[:self_link] if args.key?(:self_link)
1639
+ @valid_disk_size = args[:valid_disk_size] if args.key?(:valid_disk_size)
1640
+ @zone = args[:zone] if args.key?(:zone)
1631
1641
  end
1632
1642
  end
1633
1643
 
@@ -1671,15 +1681,15 @@ module Google
1671
1681
 
1672
1682
  # Update properties of this object
1673
1683
  def update!(**args)
1674
- @id = args[:id] unless args[:id].nil?
1675
- @items = args[:items] unless args[:items].nil?
1676
- @kind = args[:kind] unless args[:kind].nil?
1677
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
1678
- @self_link = args[:self_link] unless args[:self_link].nil?
1684
+ @id = args[:id] if args.key?(:id)
1685
+ @items = args[:items] if args.key?(:items)
1686
+ @kind = args[:kind] if args.key?(:kind)
1687
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1688
+ @self_link = args[:self_link] if args.key?(:self_link)
1679
1689
  end
1680
1690
  end
1681
1691
 
1682
- # Contains a list of disk type resources.
1692
+ # Contains a list of disk types.
1683
1693
  class DiskTypeList
1684
1694
  include Google::Apis::Core::Hashable
1685
1695
 
@@ -1719,11 +1729,11 @@ module Google
1719
1729
 
1720
1730
  # Update properties of this object
1721
1731
  def update!(**args)
1722
- @id = args[:id] unless args[:id].nil?
1723
- @items = args[:items] unless args[:items].nil?
1724
- @kind = args[:kind] unless args[:kind].nil?
1725
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
1726
- @self_link = args[:self_link] unless args[:self_link].nil?
1732
+ @id = args[:id] if args.key?(:id)
1733
+ @items = args[:items] if args.key?(:items)
1734
+ @kind = args[:kind] if args.key?(:kind)
1735
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1736
+ @self_link = args[:self_link] if args.key?(:self_link)
1727
1737
  end
1728
1738
  end
1729
1739
 
@@ -1748,8 +1758,8 @@ module Google
1748
1758
 
1749
1759
  # Update properties of this object
1750
1760
  def update!(**args)
1751
- @disk_types = args[:disk_types] unless args[:disk_types].nil?
1752
- @warning = args[:warning] unless args[:warning].nil?
1761
+ @disk_types = args[:disk_types] if args.key?(:disk_types)
1762
+ @warning = args[:warning] if args.key?(:warning)
1753
1763
  end
1754
1764
 
1755
1765
  # [Output Only] Informational warning which replaces the list of disk types when
@@ -1780,9 +1790,9 @@ module Google
1780
1790
 
1781
1791
  # Update properties of this object
1782
1792
  def update!(**args)
1783
- @code = args[:code] unless args[:code].nil?
1784
- @data = args[:data] unless args[:data].nil?
1785
- @message = args[:message] unless args[:message].nil?
1793
+ @code = args[:code] if args.key?(:code)
1794
+ @data = args[:data] if args.key?(:data)
1795
+ @message = args[:message] if args.key?(:message)
1786
1796
  end
1787
1797
 
1788
1798
  #
@@ -1811,8 +1821,8 @@ module Google
1811
1821
 
1812
1822
  # Update properties of this object
1813
1823
  def update!(**args)
1814
- @key = args[:key] unless args[:key].nil?
1815
- @value = args[:value] unless args[:value].nil?
1824
+ @key = args[:key] if args.key?(:key)
1825
+ @value = args[:value] if args.key?(:value)
1816
1826
  end
1817
1827
  end
1818
1828
  end
@@ -1833,7 +1843,7 @@ module Google
1833
1843
 
1834
1844
  # Update properties of this object
1835
1845
  def update!(**args)
1836
- @size_gb = args[:size_gb] unless args[:size_gb].nil?
1846
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
1837
1847
  end
1838
1848
  end
1839
1849
 
@@ -1858,8 +1868,8 @@ module Google
1858
1868
 
1859
1869
  # Update properties of this object
1860
1870
  def update!(**args)
1861
- @disks = args[:disks] unless args[:disks].nil?
1862
- @warning = args[:warning] unless args[:warning].nil?
1871
+ @disks = args[:disks] if args.key?(:disks)
1872
+ @warning = args[:warning] if args.key?(:warning)
1863
1873
  end
1864
1874
 
1865
1875
  # [Output Only] Informational warning which replaces the list of disks when the
@@ -1890,9 +1900,9 @@ module Google
1890
1900
 
1891
1901
  # Update properties of this object
1892
1902
  def update!(**args)
1893
- @code = args[:code] unless args[:code].nil?
1894
- @data = args[:data] unless args[:data].nil?
1895
- @message = args[:message] unless args[:message].nil?
1903
+ @code = args[:code] if args.key?(:code)
1904
+ @data = args[:data] if args.key?(:data)
1905
+ @message = args[:message] if args.key?(:message)
1896
1906
  end
1897
1907
 
1898
1908
  #
@@ -1921,14 +1931,14 @@ module Google
1921
1931
 
1922
1932
  # Update properties of this object
1923
1933
  def update!(**args)
1924
- @key = args[:key] unless args[:key].nil?
1925
- @value = args[:value] unless args[:value].nil?
1934
+ @key = args[:key] if args.key?(:key)
1935
+ @value = args[:value] if args.key?(:value)
1926
1936
  end
1927
1937
  end
1928
1938
  end
1929
1939
  end
1930
1940
 
1931
- # A Firewall resource.
1941
+ # Represents a Firewall resource.
1932
1942
  class Firewall
1933
1943
  include Google::Apis::Core::Hashable
1934
1944
 
@@ -2020,17 +2030,17 @@ module Google
2020
2030
 
2021
2031
  # Update properties of this object
2022
2032
  def update!(**args)
2023
- @allowed = args[:allowed] unless args[:allowed].nil?
2024
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
2025
- @description = args[:description] unless args[:description].nil?
2026
- @id = args[:id] unless args[:id].nil?
2027
- @kind = args[:kind] unless args[:kind].nil?
2028
- @name = args[:name] unless args[:name].nil?
2029
- @network = args[:network] unless args[:network].nil?
2030
- @self_link = args[:self_link] unless args[:self_link].nil?
2031
- @source_ranges = args[:source_ranges] unless args[:source_ranges].nil?
2032
- @source_tags = args[:source_tags] unless args[:source_tags].nil?
2033
- @target_tags = args[:target_tags] unless args[:target_tags].nil?
2033
+ @allowed = args[:allowed] if args.key?(:allowed)
2034
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
2035
+ @description = args[:description] if args.key?(:description)
2036
+ @id = args[:id] if args.key?(:id)
2037
+ @kind = args[:kind] if args.key?(:kind)
2038
+ @name = args[:name] if args.key?(:name)
2039
+ @network = args[:network] if args.key?(:network)
2040
+ @self_link = args[:self_link] if args.key?(:self_link)
2041
+ @source_ranges = args[:source_ranges] if args.key?(:source_ranges)
2042
+ @source_tags = args[:source_tags] if args.key?(:source_tags)
2043
+ @target_tags = args[:target_tags] if args.key?(:target_tags)
2034
2044
  end
2035
2045
 
2036
2046
  #
@@ -2038,9 +2048,9 @@ module Google
2038
2048
  include Google::Apis::Core::Hashable
2039
2049
 
2040
2050
  # The IP protocol that is allowed for this rule. The protocol type is required
2041
- # when creating a firewall. This value can either be one of the following well
2042
- # known protocol strings (tcp, udp, icmp, esp, ah, sctp), or the IP protocol
2043
- # number.
2051
+ # when creating a firewall rule. This value can either be one of the following
2052
+ # well known protocol strings (tcp, udp, icmp, esp, ah, sctp), or the IP
2053
+ # protocol number.
2044
2054
  # Corresponds to the JSON property `IPProtocol`
2045
2055
  # @return [String]
2046
2056
  attr_accessor :ip_protocol
@@ -2059,13 +2069,13 @@ module Google
2059
2069
 
2060
2070
  # Update properties of this object
2061
2071
  def update!(**args)
2062
- @ip_protocol = args[:ip_protocol] unless args[:ip_protocol].nil?
2063
- @ports = args[:ports] unless args[:ports].nil?
2072
+ @ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol)
2073
+ @ports = args[:ports] if args.key?(:ports)
2064
2074
  end
2065
2075
  end
2066
2076
  end
2067
2077
 
2068
- # Contains a list of Firewall resources.
2078
+ # Contains a list of firewalls.
2069
2079
  class FirewallList
2070
2080
  include Google::Apis::Core::Hashable
2071
2081
 
@@ -2106,11 +2116,11 @@ module Google
2106
2116
 
2107
2117
  # Update properties of this object
2108
2118
  def update!(**args)
2109
- @id = args[:id] unless args[:id].nil?
2110
- @items = args[:items] unless args[:items].nil?
2111
- @kind = args[:kind] unless args[:kind].nil?
2112
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
2113
- @self_link = args[:self_link] unless args[:self_link].nil?
2119
+ @id = args[:id] if args.key?(:id)
2120
+ @items = args[:items] if args.key?(:items)
2121
+ @kind = args[:kind] if args.key?(:kind)
2122
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2123
+ @self_link = args[:self_link] if args.key?(:self_link)
2114
2124
  end
2115
2125
  end
2116
2126
 
@@ -2202,17 +2212,17 @@ module Google
2202
2212
 
2203
2213
  # Update properties of this object
2204
2214
  def update!(**args)
2205
- @ip_address = args[:ip_address] unless args[:ip_address].nil?
2206
- @ip_protocol = args[:ip_protocol] unless args[:ip_protocol].nil?
2207
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
2208
- @description = args[:description] unless args[:description].nil?
2209
- @id = args[:id] unless args[:id].nil?
2210
- @kind = args[:kind] unless args[:kind].nil?
2211
- @name = args[:name] unless args[:name].nil?
2212
- @port_range = args[:port_range] unless args[:port_range].nil?
2213
- @region = args[:region] unless args[:region].nil?
2214
- @self_link = args[:self_link] unless args[:self_link].nil?
2215
- @target = args[:target] unless args[:target].nil?
2215
+ @ip_address = args[:ip_address] if args.key?(:ip_address)
2216
+ @ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol)
2217
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
2218
+ @description = args[:description] if args.key?(:description)
2219
+ @id = args[:id] if args.key?(:id)
2220
+ @kind = args[:kind] if args.key?(:kind)
2221
+ @name = args[:name] if args.key?(:name)
2222
+ @port_range = args[:port_range] if args.key?(:port_range)
2223
+ @region = args[:region] if args.key?(:region)
2224
+ @self_link = args[:self_link] if args.key?(:self_link)
2225
+ @target = args[:target] if args.key?(:target)
2216
2226
  end
2217
2227
  end
2218
2228
 
@@ -2231,7 +2241,8 @@ module Google
2231
2241
  # @return [Hash<String,Google::Apis::ComputeBeta::ForwardingRulesScopedList>]
2232
2242
  attr_accessor :items
2233
2243
 
2234
- # Type of resource.
2244
+ # [Output Only] Type of resource. Always compute#forwardingRuleAggregatedList
2245
+ # for lists of forwarding rules.
2235
2246
  # Corresponds to the JSON property `kind`
2236
2247
  # @return [String]
2237
2248
  attr_accessor :kind
@@ -2256,11 +2267,11 @@ module Google
2256
2267
 
2257
2268
  # Update properties of this object
2258
2269
  def update!(**args)
2259
- @id = args[:id] unless args[:id].nil?
2260
- @items = args[:items] unless args[:items].nil?
2261
- @kind = args[:kind] unless args[:kind].nil?
2262
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
2263
- @self_link = args[:self_link] unless args[:self_link].nil?
2270
+ @id = args[:id] if args.key?(:id)
2271
+ @items = args[:items] if args.key?(:items)
2272
+ @kind = args[:kind] if args.key?(:kind)
2273
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2274
+ @self_link = args[:self_link] if args.key?(:self_link)
2264
2275
  end
2265
2276
  end
2266
2277
 
@@ -2303,11 +2314,11 @@ module Google
2303
2314
 
2304
2315
  # Update properties of this object
2305
2316
  def update!(**args)
2306
- @id = args[:id] unless args[:id].nil?
2307
- @items = args[:items] unless args[:items].nil?
2308
- @kind = args[:kind] unless args[:kind].nil?
2309
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
2310
- @self_link = args[:self_link] unless args[:self_link].nil?
2317
+ @id = args[:id] if args.key?(:id)
2318
+ @items = args[:items] if args.key?(:items)
2319
+ @kind = args[:kind] if args.key?(:kind)
2320
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2321
+ @self_link = args[:self_link] if args.key?(:self_link)
2311
2322
  end
2312
2323
  end
2313
2324
 
@@ -2332,8 +2343,8 @@ module Google
2332
2343
 
2333
2344
  # Update properties of this object
2334
2345
  def update!(**args)
2335
- @forwarding_rules = args[:forwarding_rules] unless args[:forwarding_rules].nil?
2336
- @warning = args[:warning] unless args[:warning].nil?
2346
+ @forwarding_rules = args[:forwarding_rules] if args.key?(:forwarding_rules)
2347
+ @warning = args[:warning] if args.key?(:warning)
2337
2348
  end
2338
2349
 
2339
2350
  # Informational warning which replaces the list of forwarding rules when the
@@ -2364,9 +2375,9 @@ module Google
2364
2375
 
2365
2376
  # Update properties of this object
2366
2377
  def update!(**args)
2367
- @code = args[:code] unless args[:code].nil?
2368
- @data = args[:data] unless args[:data].nil?
2369
- @message = args[:message] unless args[:message].nil?
2378
+ @code = args[:code] if args.key?(:code)
2379
+ @data = args[:data] if args.key?(:data)
2380
+ @message = args[:message] if args.key?(:message)
2370
2381
  end
2371
2382
 
2372
2383
  #
@@ -2395,14 +2406,19 @@ module Google
2395
2406
 
2396
2407
  # Update properties of this object
2397
2408
  def update!(**args)
2398
- @key = args[:key] unless args[:key].nil?
2399
- @value = args[:value] unless args[:value].nil?
2409
+ @key = args[:key] if args.key?(:key)
2410
+ @value = args[:value] if args.key?(:value)
2400
2411
  end
2401
2412
  end
2402
2413
  end
2403
2414
  end
2404
2415
 
2405
- #
2416
+ # A full or valid partial URL to a health check. For example, the following are
2417
+ # valid URLs:
2418
+ # - https://www.googleapis.com/compute/beta/projects/project-id/global/
2419
+ # httpHealthChecks/health-check
2420
+ # - projects/project-id/global/httpHealthChecks/health-check
2421
+ # - global/httpHealthChecks/health-check
2406
2422
  class HealthCheckReference
2407
2423
  include Google::Apis::Core::Hashable
2408
2424
 
@@ -2417,7 +2433,7 @@ module Google
2417
2433
 
2418
2434
  # Update properties of this object
2419
2435
  def update!(**args)
2420
- @health_check = args[:health_check] unless args[:health_check].nil?
2436
+ @health_check = args[:health_check] if args.key?(:health_check)
2421
2437
  end
2422
2438
  end
2423
2439
 
@@ -2451,10 +2467,10 @@ module Google
2451
2467
 
2452
2468
  # Update properties of this object
2453
2469
  def update!(**args)
2454
- @health_state = args[:health_state] unless args[:health_state].nil?
2455
- @instance = args[:instance] unless args[:instance].nil?
2456
- @ip_address = args[:ip_address] unless args[:ip_address].nil?
2457
- @port = args[:port] unless args[:port].nil?
2470
+ @health_state = args[:health_state] if args.key?(:health_state)
2471
+ @instance = args[:instance] if args.key?(:instance)
2472
+ @ip_address = args[:ip_address] if args.key?(:ip_address)
2473
+ @port = args[:port] if args.key?(:port)
2458
2474
  end
2459
2475
  end
2460
2476
 
@@ -2488,9 +2504,9 @@ module Google
2488
2504
 
2489
2505
  # Update properties of this object
2490
2506
  def update!(**args)
2491
- @description = args[:description] unless args[:description].nil?
2492
- @hosts = args[:hosts] unless args[:hosts].nil?
2493
- @path_matcher = args[:path_matcher] unless args[:path_matcher].nil?
2507
+ @description = args[:description] if args.key?(:description)
2508
+ @hosts = args[:hosts] if args.key?(:hosts)
2509
+ @path_matcher = args[:path_matcher] if args.key?(:path_matcher)
2494
2510
  end
2495
2511
  end
2496
2512
 
@@ -2534,7 +2550,8 @@ module Google
2534
2550
  # @return [String]
2535
2551
  attr_accessor :id
2536
2552
 
2537
- # Type of the resource.
2553
+ # [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP
2554
+ # health checks.
2538
2555
  # Corresponds to the JSON property `kind`
2539
2556
  # @return [String]
2540
2557
  attr_accessor :kind
@@ -2554,7 +2571,7 @@ module Google
2554
2571
  # @return [Fixnum]
2555
2572
  attr_accessor :port
2556
2573
 
2557
- # The request path of the HTTP health check request. The default value is "/".
2574
+ # The request path of the HTTP health check request. The default value is /.
2558
2575
  # Corresponds to the JSON property `requestPath`
2559
2576
  # @return [String]
2560
2577
  attr_accessor :request_path
@@ -2583,19 +2600,19 @@ module Google
2583
2600
 
2584
2601
  # Update properties of this object
2585
2602
  def update!(**args)
2586
- @check_interval_sec = args[:check_interval_sec] unless args[:check_interval_sec].nil?
2587
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
2588
- @description = args[:description] unless args[:description].nil?
2589
- @healthy_threshold = args[:healthy_threshold] unless args[:healthy_threshold].nil?
2590
- @host = args[:host] unless args[:host].nil?
2591
- @id = args[:id] unless args[:id].nil?
2592
- @kind = args[:kind] unless args[:kind].nil?
2593
- @name = args[:name] unless args[:name].nil?
2594
- @port = args[:port] unless args[:port].nil?
2595
- @request_path = args[:request_path] unless args[:request_path].nil?
2596
- @self_link = args[:self_link] unless args[:self_link].nil?
2597
- @timeout_sec = args[:timeout_sec] unless args[:timeout_sec].nil?
2598
- @unhealthy_threshold = args[:unhealthy_threshold] unless args[:unhealthy_threshold].nil?
2603
+ @check_interval_sec = args[:check_interval_sec] if args.key?(:check_interval_sec)
2604
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
2605
+ @description = args[:description] if args.key?(:description)
2606
+ @healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold)
2607
+ @host = args[:host] if args.key?(:host)
2608
+ @id = args[:id] if args.key?(:id)
2609
+ @kind = args[:kind] if args.key?(:kind)
2610
+ @name = args[:name] if args.key?(:name)
2611
+ @port = args[:port] if args.key?(:port)
2612
+ @request_path = args[:request_path] if args.key?(:request_path)
2613
+ @self_link = args[:self_link] if args.key?(:self_link)
2614
+ @timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
2615
+ @unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold)
2599
2616
  end
2600
2617
  end
2601
2618
 
@@ -2638,11 +2655,11 @@ module Google
2638
2655
 
2639
2656
  # Update properties of this object
2640
2657
  def update!(**args)
2641
- @id = args[:id] unless args[:id].nil?
2642
- @items = args[:items] unless args[:items].nil?
2643
- @kind = args[:kind] unless args[:kind].nil?
2644
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
2645
- @self_link = args[:self_link] unless args[:self_link].nil?
2658
+ @id = args[:id] if args.key?(:id)
2659
+ @items = args[:items] if args.key?(:items)
2660
+ @kind = args[:kind] if args.key?(:kind)
2661
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2662
+ @self_link = args[:self_link] if args.key?(:self_link)
2646
2663
  end
2647
2664
  end
2648
2665
 
@@ -2736,19 +2753,19 @@ module Google
2736
2753
 
2737
2754
  # Update properties of this object
2738
2755
  def update!(**args)
2739
- @check_interval_sec = args[:check_interval_sec] unless args[:check_interval_sec].nil?
2740
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
2741
- @description = args[:description] unless args[:description].nil?
2742
- @healthy_threshold = args[:healthy_threshold] unless args[:healthy_threshold].nil?
2743
- @host = args[:host] unless args[:host].nil?
2744
- @id = args[:id] unless args[:id].nil?
2745
- @kind = args[:kind] unless args[:kind].nil?
2746
- @name = args[:name] unless args[:name].nil?
2747
- @port = args[:port] unless args[:port].nil?
2748
- @request_path = args[:request_path] unless args[:request_path].nil?
2749
- @self_link = args[:self_link] unless args[:self_link].nil?
2750
- @timeout_sec = args[:timeout_sec] unless args[:timeout_sec].nil?
2751
- @unhealthy_threshold = args[:unhealthy_threshold] unless args[:unhealthy_threshold].nil?
2756
+ @check_interval_sec = args[:check_interval_sec] if args.key?(:check_interval_sec)
2757
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
2758
+ @description = args[:description] if args.key?(:description)
2759
+ @healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold)
2760
+ @host = args[:host] if args.key?(:host)
2761
+ @id = args[:id] if args.key?(:id)
2762
+ @kind = args[:kind] if args.key?(:kind)
2763
+ @name = args[:name] if args.key?(:name)
2764
+ @port = args[:port] if args.key?(:port)
2765
+ @request_path = args[:request_path] if args.key?(:request_path)
2766
+ @self_link = args[:self_link] if args.key?(:self_link)
2767
+ @timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
2768
+ @unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold)
2752
2769
  end
2753
2770
  end
2754
2771
 
@@ -2791,11 +2808,11 @@ module Google
2791
2808
 
2792
2809
  # Update properties of this object
2793
2810
  def update!(**args)
2794
- @id = args[:id] unless args[:id].nil?
2795
- @items = args[:items] unless args[:items].nil?
2796
- @kind = args[:kind] unless args[:kind].nil?
2797
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
2798
- @self_link = args[:self_link] unless args[:self_link].nil?
2811
+ @id = args[:id] if args.key?(:id)
2812
+ @items = args[:items] if args.key?(:items)
2813
+ @kind = args[:kind] if args.key?(:kind)
2814
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2815
+ @self_link = args[:self_link] if args.key?(:self_link)
2799
2816
  end
2800
2817
  end
2801
2818
 
@@ -2829,6 +2846,12 @@ module Google
2829
2846
  # @return [String]
2830
2847
  attr_accessor :disk_size_gb
2831
2848
 
2849
+ # Image family for the resource; provided by the client when the resource is
2850
+ # created.
2851
+ # Corresponds to the JSON property `family`
2852
+ # @return [String]
2853
+ attr_accessor :family
2854
+
2832
2855
  # [Output Only] The unique identifier for the resource. This identifier is
2833
2856
  # defined by the server.
2834
2857
  # Corresponds to the JSON property `id`
@@ -2913,23 +2936,24 @@ module Google
2913
2936
 
2914
2937
  # Update properties of this object
2915
2938
  def update!(**args)
2916
- @archive_size_bytes = args[:archive_size_bytes] unless args[:archive_size_bytes].nil?
2917
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
2918
- @deprecated = args[:deprecated] unless args[:deprecated].nil?
2919
- @description = args[:description] unless args[:description].nil?
2920
- @disk_size_gb = args[:disk_size_gb] unless args[:disk_size_gb].nil?
2921
- @id = args[:id] unless args[:id].nil?
2922
- @image_encryption_key = args[:image_encryption_key] unless args[:image_encryption_key].nil?
2923
- @kind = args[:kind] unless args[:kind].nil?
2924
- @licenses = args[:licenses] unless args[:licenses].nil?
2925
- @name = args[:name] unless args[:name].nil?
2926
- @raw_disk = args[:raw_disk] unless args[:raw_disk].nil?
2927
- @self_link = args[:self_link] unless args[:self_link].nil?
2928
- @source_disk = args[:source_disk] unless args[:source_disk].nil?
2929
- @source_disk_encryption_key = args[:source_disk_encryption_key] unless args[:source_disk_encryption_key].nil?
2930
- @source_disk_id = args[:source_disk_id] unless args[:source_disk_id].nil?
2931
- @source_type = args[:source_type] unless args[:source_type].nil?
2932
- @status = args[:status] unless args[:status].nil?
2939
+ @archive_size_bytes = args[:archive_size_bytes] if args.key?(:archive_size_bytes)
2940
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
2941
+ @deprecated = args[:deprecated] if args.key?(:deprecated)
2942
+ @description = args[:description] if args.key?(:description)
2943
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
2944
+ @family = args[:family] if args.key?(:family)
2945
+ @id = args[:id] if args.key?(:id)
2946
+ @image_encryption_key = args[:image_encryption_key] if args.key?(:image_encryption_key)
2947
+ @kind = args[:kind] if args.key?(:kind)
2948
+ @licenses = args[:licenses] if args.key?(:licenses)
2949
+ @name = args[:name] if args.key?(:name)
2950
+ @raw_disk = args[:raw_disk] if args.key?(:raw_disk)
2951
+ @self_link = args[:self_link] if args.key?(:self_link)
2952
+ @source_disk = args[:source_disk] if args.key?(:source_disk)
2953
+ @source_disk_encryption_key = args[:source_disk_encryption_key] if args.key?(:source_disk_encryption_key)
2954
+ @source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
2955
+ @source_type = args[:source_type] if args.key?(:source_type)
2956
+ @status = args[:status] if args.key?(:status)
2933
2957
  end
2934
2958
 
2935
2959
  # The parameters of the raw disk image.
@@ -2961,14 +2985,14 @@ module Google
2961
2985
 
2962
2986
  # Update properties of this object
2963
2987
  def update!(**args)
2964
- @container_type = args[:container_type] unless args[:container_type].nil?
2965
- @sha1_checksum = args[:sha1_checksum] unless args[:sha1_checksum].nil?
2966
- @source = args[:source] unless args[:source].nil?
2988
+ @container_type = args[:container_type] if args.key?(:container_type)
2989
+ @sha1_checksum = args[:sha1_checksum] if args.key?(:sha1_checksum)
2990
+ @source = args[:source] if args.key?(:source)
2967
2991
  end
2968
2992
  end
2969
2993
  end
2970
2994
 
2971
- # Contains a list of Image resources.
2995
+ # Contains a list of images.
2972
2996
  class ImageList
2973
2997
  include Google::Apis::Core::Hashable
2974
2998
 
@@ -3008,11 +3032,11 @@ module Google
3008
3032
 
3009
3033
  # Update properties of this object
3010
3034
  def update!(**args)
3011
- @id = args[:id] unless args[:id].nil?
3012
- @items = args[:items] unless args[:items].nil?
3013
- @kind = args[:kind] unless args[:kind].nil?
3014
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
3015
- @self_link = args[:self_link] unless args[:self_link].nil?
3035
+ @id = args[:id] if args.key?(:id)
3036
+ @items = args[:items] if args.key?(:items)
3037
+ @kind = args[:kind] if args.key?(:kind)
3038
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3039
+ @self_link = args[:self_link] if args.key?(:self_link)
3016
3040
  end
3017
3041
  end
3018
3042
 
@@ -3079,7 +3103,7 @@ module Google
3079
3103
  attr_accessor :labels
3080
3104
 
3081
3105
  # Full or partial URL of the machine type resource to use for this instance, in
3082
- # the format: zones/zone/machineTypes/ machine-type. This is provided by the
3106
+ # the format: zones/zone/machineTypes/machine-type. This is provided by the
3083
3107
  # client when the instance is created. For example, the following is a valid
3084
3108
  # partial url to a predefined machine type:
3085
3109
  # zones/us-central1-f/machineTypes/n1-standard-1
@@ -3162,26 +3186,26 @@ module Google
3162
3186
 
3163
3187
  # Update properties of this object
3164
3188
  def update!(**args)
3165
- @can_ip_forward = args[:can_ip_forward] unless args[:can_ip_forward].nil?
3166
- @cpu_platform = args[:cpu_platform] unless args[:cpu_platform].nil?
3167
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
3168
- @description = args[:description] unless args[:description].nil?
3169
- @disks = args[:disks] unless args[:disks].nil?
3170
- @id = args[:id] unless args[:id].nil?
3171
- @kind = args[:kind] unless args[:kind].nil?
3172
- @label_fingerprint = args[:label_fingerprint] unless args[:label_fingerprint].nil?
3173
- @labels = args[:labels] unless args[:labels].nil?
3174
- @machine_type = args[:machine_type] unless args[:machine_type].nil?
3175
- @metadata = args[:metadata] unless args[:metadata].nil?
3176
- @name = args[:name] unless args[:name].nil?
3177
- @network_interfaces = args[:network_interfaces] unless args[:network_interfaces].nil?
3178
- @scheduling = args[:scheduling] unless args[:scheduling].nil?
3179
- @self_link = args[:self_link] unless args[:self_link].nil?
3180
- @service_accounts = args[:service_accounts] unless args[:service_accounts].nil?
3181
- @status = args[:status] unless args[:status].nil?
3182
- @status_message = args[:status_message] unless args[:status_message].nil?
3183
- @tags = args[:tags] unless args[:tags].nil?
3184
- @zone = args[:zone] unless args[:zone].nil?
3189
+ @can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
3190
+ @cpu_platform = args[:cpu_platform] if args.key?(:cpu_platform)
3191
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
3192
+ @description = args[:description] if args.key?(:description)
3193
+ @disks = args[:disks] if args.key?(:disks)
3194
+ @id = args[:id] if args.key?(:id)
3195
+ @kind = args[:kind] if args.key?(:kind)
3196
+ @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
3197
+ @labels = args[:labels] if args.key?(:labels)
3198
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
3199
+ @metadata = args[:metadata] if args.key?(:metadata)
3200
+ @name = args[:name] if args.key?(:name)
3201
+ @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
3202
+ @scheduling = args[:scheduling] if args.key?(:scheduling)
3203
+ @self_link = args[:self_link] if args.key?(:self_link)
3204
+ @service_accounts = args[:service_accounts] if args.key?(:service_accounts)
3205
+ @status = args[:status] if args.key?(:status)
3206
+ @status_message = args[:status_message] if args.key?(:status_message)
3207
+ @tags = args[:tags] if args.key?(:tags)
3208
+ @zone = args[:zone] if args.key?(:zone)
3185
3209
  end
3186
3210
  end
3187
3211
 
@@ -3226,11 +3250,11 @@ module Google
3226
3250
 
3227
3251
  # Update properties of this object
3228
3252
  def update!(**args)
3229
- @id = args[:id] unless args[:id].nil?
3230
- @items = args[:items] unless args[:items].nil?
3231
- @kind = args[:kind] unless args[:kind].nil?
3232
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
3233
- @self_link = args[:self_link] unless args[:self_link].nil?
3253
+ @id = args[:id] if args.key?(:id)
3254
+ @items = args[:items] if args.key?(:items)
3255
+ @kind = args[:kind] if args.key?(:kind)
3256
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3257
+ @self_link = args[:self_link] if args.key?(:self_link)
3234
3258
  end
3235
3259
  end
3236
3260
 
@@ -3284,8 +3308,7 @@ module Google
3284
3308
  # @return [Array<Google::Apis::ComputeBeta::NamedPort>]
3285
3309
  attr_accessor :named_ports
3286
3310
 
3287
- # [Output Only] The URL of the network to which all instances in the instance
3288
- # group belong.
3311
+ # The URL of the network to which all instances in the instance group belong.
3289
3312
  # Corresponds to the JSON property `network`
3290
3313
  # @return [String]
3291
3314
  attr_accessor :network
@@ -3300,8 +3323,7 @@ module Google
3300
3323
  # @return [Fixnum]
3301
3324
  attr_accessor :size
3302
3325
 
3303
- # [Output Only] The URL of the subnetwork to which all instances in the instance
3304
- # group belong.
3326
+ # The URL of the subnetwork to which all instances in the instance group belong.
3305
3327
  # Corresponds to the JSON property `subnetwork`
3306
3328
  # @return [String]
3307
3329
  attr_accessor :subnetwork
@@ -3317,18 +3339,18 @@ module Google
3317
3339
 
3318
3340
  # Update properties of this object
3319
3341
  def update!(**args)
3320
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
3321
- @description = args[:description] unless args[:description].nil?
3322
- @fingerprint = args[:fingerprint] unless args[:fingerprint].nil?
3323
- @id = args[:id] unless args[:id].nil?
3324
- @kind = args[:kind] unless args[:kind].nil?
3325
- @name = args[:name] unless args[:name].nil?
3326
- @named_ports = args[:named_ports] unless args[:named_ports].nil?
3327
- @network = args[:network] unless args[:network].nil?
3328
- @self_link = args[:self_link] unless args[:self_link].nil?
3329
- @size = args[:size] unless args[:size].nil?
3330
- @subnetwork = args[:subnetwork] unless args[:subnetwork].nil?
3331
- @zone = args[:zone] unless args[:zone].nil?
3342
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
3343
+ @description = args[:description] if args.key?(:description)
3344
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
3345
+ @id = args[:id] if args.key?(:id)
3346
+ @kind = args[:kind] if args.key?(:kind)
3347
+ @name = args[:name] if args.key?(:name)
3348
+ @named_ports = args[:named_ports] if args.key?(:named_ports)
3349
+ @network = args[:network] if args.key?(:network)
3350
+ @self_link = args[:self_link] if args.key?(:self_link)
3351
+ @size = args[:size] if args.key?(:size)
3352
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
3353
+ @zone = args[:zone] if args.key?(:zone)
3332
3354
  end
3333
3355
  end
3334
3356
 
@@ -3373,11 +3395,11 @@ module Google
3373
3395
 
3374
3396
  # Update properties of this object
3375
3397
  def update!(**args)
3376
- @id = args[:id] unless args[:id].nil?
3377
- @items = args[:items] unless args[:items].nil?
3378
- @kind = args[:kind] unless args[:kind].nil?
3379
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
3380
- @self_link = args[:self_link] unless args[:self_link].nil?
3398
+ @id = args[:id] if args.key?(:id)
3399
+ @items = args[:items] if args.key?(:items)
3400
+ @kind = args[:kind] if args.key?(:kind)
3401
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3402
+ @self_link = args[:self_link] if args.key?(:self_link)
3381
3403
  end
3382
3404
  end
3383
3405
 
@@ -3422,16 +3444,15 @@ module Google
3422
3444
 
3423
3445
  # Update properties of this object
3424
3446
  def update!(**args)
3425
- @id = args[:id] unless args[:id].nil?
3426
- @items = args[:items] unless args[:items].nil?
3427
- @kind = args[:kind] unless args[:kind].nil?
3428
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
3429
- @self_link = args[:self_link] unless args[:self_link].nil?
3447
+ @id = args[:id] if args.key?(:id)
3448
+ @items = args[:items] if args.key?(:items)
3449
+ @kind = args[:kind] if args.key?(:kind)
3450
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3451
+ @self_link = args[:self_link] if args.key?(:self_link)
3430
3452
  end
3431
3453
  end
3432
3454
 
3433
- # InstanceGroupManagers
3434
- # Next available tag: 20
3455
+ #
3435
3456
  class InstanceGroupManager
3436
3457
  include Google::Apis::Core::Hashable
3437
3458
 
@@ -3541,22 +3562,22 @@ module Google
3541
3562
 
3542
3563
  # Update properties of this object
3543
3564
  def update!(**args)
3544
- @auto_healing_policies = args[:auto_healing_policies] unless args[:auto_healing_policies].nil?
3545
- @base_instance_name = args[:base_instance_name] unless args[:base_instance_name].nil?
3546
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
3547
- @current_actions = args[:current_actions] unless args[:current_actions].nil?
3548
- @description = args[:description] unless args[:description].nil?
3549
- @fingerprint = args[:fingerprint] unless args[:fingerprint].nil?
3550
- @id = args[:id] unless args[:id].nil?
3551
- @instance_group = args[:instance_group] unless args[:instance_group].nil?
3552
- @instance_template = args[:instance_template] unless args[:instance_template].nil?
3553
- @kind = args[:kind] unless args[:kind].nil?
3554
- @name = args[:name] unless args[:name].nil?
3555
- @named_ports = args[:named_ports] unless args[:named_ports].nil?
3556
- @self_link = args[:self_link] unless args[:self_link].nil?
3557
- @target_pools = args[:target_pools] unless args[:target_pools].nil?
3558
- @target_size = args[:target_size] unless args[:target_size].nil?
3559
- @zone = args[:zone] unless args[:zone].nil?
3565
+ @auto_healing_policies = args[:auto_healing_policies] if args.key?(:auto_healing_policies)
3566
+ @base_instance_name = args[:base_instance_name] if args.key?(:base_instance_name)
3567
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
3568
+ @current_actions = args[:current_actions] if args.key?(:current_actions)
3569
+ @description = args[:description] if args.key?(:description)
3570
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
3571
+ @id = args[:id] if args.key?(:id)
3572
+ @instance_group = args[:instance_group] if args.key?(:instance_group)
3573
+ @instance_template = args[:instance_template] if args.key?(:instance_template)
3574
+ @kind = args[:kind] if args.key?(:kind)
3575
+ @name = args[:name] if args.key?(:name)
3576
+ @named_ports = args[:named_ports] if args.key?(:named_ports)
3577
+ @self_link = args[:self_link] if args.key?(:self_link)
3578
+ @target_pools = args[:target_pools] if args.key?(:target_pools)
3579
+ @target_size = args[:target_size] if args.key?(:target_size)
3580
+ @zone = args[:zone] if args.key?(:zone)
3560
3581
  end
3561
3582
  end
3562
3583
 
@@ -3618,13 +3639,13 @@ module Google
3618
3639
 
3619
3640
  # Update properties of this object
3620
3641
  def update!(**args)
3621
- @abandoning = args[:abandoning] unless args[:abandoning].nil?
3622
- @creating = args[:creating] unless args[:creating].nil?
3623
- @deleting = args[:deleting] unless args[:deleting].nil?
3624
- @none = args[:none] unless args[:none].nil?
3625
- @recreating = args[:recreating] unless args[:recreating].nil?
3626
- @refreshing = args[:refreshing] unless args[:refreshing].nil?
3627
- @restarting = args[:restarting] unless args[:restarting].nil?
3642
+ @abandoning = args[:abandoning] if args.key?(:abandoning)
3643
+ @creating = args[:creating] if args.key?(:creating)
3644
+ @deleting = args[:deleting] if args.key?(:deleting)
3645
+ @none = args[:none] if args.key?(:none)
3646
+ @recreating = args[:recreating] if args.key?(:recreating)
3647
+ @refreshing = args[:refreshing] if args.key?(:refreshing)
3648
+ @restarting = args[:restarting] if args.key?(:restarting)
3628
3649
  end
3629
3650
  end
3630
3651
 
@@ -3670,11 +3691,11 @@ module Google
3670
3691
 
3671
3692
  # Update properties of this object
3672
3693
  def update!(**args)
3673
- @id = args[:id] unless args[:id].nil?
3674
- @items = args[:items] unless args[:items].nil?
3675
- @kind = args[:kind] unless args[:kind].nil?
3676
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
3677
- @self_link = args[:self_link] unless args[:self_link].nil?
3694
+ @id = args[:id] if args.key?(:id)
3695
+ @items = args[:items] if args.key?(:items)
3696
+ @kind = args[:kind] if args.key?(:kind)
3697
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3698
+ @self_link = args[:self_link] if args.key?(:self_link)
3678
3699
  end
3679
3700
  end
3680
3701
 
@@ -3702,8 +3723,8 @@ module Google
3702
3723
 
3703
3724
  # Update properties of this object
3704
3725
  def update!(**args)
3705
- @health_check = args[:health_check] unless args[:health_check].nil?
3706
- @initial_delay_sec = args[:initial_delay_sec] unless args[:initial_delay_sec].nil?
3726
+ @health_check = args[:health_check] if args.key?(:health_check)
3727
+ @initial_delay_sec = args[:initial_delay_sec] if args.key?(:initial_delay_sec)
3707
3728
  end
3708
3729
  end
3709
3730
 
@@ -3748,11 +3769,11 @@ module Google
3748
3769
 
3749
3770
  # Update properties of this object
3750
3771
  def update!(**args)
3751
- @id = args[:id] unless args[:id].nil?
3752
- @items = args[:items] unless args[:items].nil?
3753
- @kind = args[:kind] unless args[:kind].nil?
3754
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
3755
- @self_link = args[:self_link] unless args[:self_link].nil?
3772
+ @id = args[:id] if args.key?(:id)
3773
+ @items = args[:items] if args.key?(:items)
3774
+ @kind = args[:kind] if args.key?(:kind)
3775
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3776
+ @self_link = args[:self_link] if args.key?(:self_link)
3756
3777
  end
3757
3778
  end
3758
3779
 
@@ -3771,7 +3792,7 @@ module Google
3771
3792
 
3772
3793
  # Update properties of this object
3773
3794
  def update!(**args)
3774
- @instances = args[:instances] unless args[:instances].nil?
3795
+ @instances = args[:instances] if args.key?(:instances)
3775
3796
  end
3776
3797
  end
3777
3798
 
@@ -3791,7 +3812,7 @@ module Google
3791
3812
 
3792
3813
  # Update properties of this object
3793
3814
  def update!(**args)
3794
- @instances = args[:instances] unless args[:instances].nil?
3815
+ @instances = args[:instances] if args.key?(:instances)
3795
3816
  end
3796
3817
  end
3797
3818
 
@@ -3810,7 +3831,7 @@ module Google
3810
3831
 
3811
3832
  # Update properties of this object
3812
3833
  def update!(**args)
3813
- @managed_instances = args[:managed_instances] unless args[:managed_instances].nil?
3834
+ @managed_instances = args[:managed_instances] if args.key?(:managed_instances)
3814
3835
  end
3815
3836
  end
3816
3837
 
@@ -3829,7 +3850,7 @@ module Google
3829
3850
 
3830
3851
  # Update properties of this object
3831
3852
  def update!(**args)
3832
- @instances = args[:instances] unless args[:instances].nil?
3853
+ @instances = args[:instances] if args.key?(:instances)
3833
3854
  end
3834
3855
  end
3835
3856
 
@@ -3855,8 +3876,8 @@ module Google
3855
3876
 
3856
3877
  # Update properties of this object
3857
3878
  def update!(**args)
3858
- @instance_group_managers = args[:instance_group_managers] unless args[:instance_group_managers].nil?
3859
- @warning = args[:warning] unless args[:warning].nil?
3879
+ @instance_group_managers = args[:instance_group_managers] if args.key?(:instance_group_managers)
3880
+ @warning = args[:warning] if args.key?(:warning)
3860
3881
  end
3861
3882
 
3862
3883
  # [Output Only] The warning that replaces the list of managed instance groups
@@ -3887,9 +3908,9 @@ module Google
3887
3908
 
3888
3909
  # Update properties of this object
3889
3910
  def update!(**args)
3890
- @code = args[:code] unless args[:code].nil?
3891
- @data = args[:data] unless args[:data].nil?
3892
- @message = args[:message] unless args[:message].nil?
3911
+ @code = args[:code] if args.key?(:code)
3912
+ @data = args[:data] if args.key?(:data)
3913
+ @message = args[:message] if args.key?(:message)
3893
3914
  end
3894
3915
 
3895
3916
  #
@@ -3918,8 +3939,8 @@ module Google
3918
3939
 
3919
3940
  # Update properties of this object
3920
3941
  def update!(**args)
3921
- @key = args[:key] unless args[:key].nil?
3922
- @value = args[:value] unless args[:value].nil?
3942
+ @key = args[:key] if args.key?(:key)
3943
+ @value = args[:value] if args.key?(:value)
3923
3944
  end
3924
3945
  end
3925
3946
  end
@@ -3940,7 +3961,7 @@ module Google
3940
3961
 
3941
3962
  # Update properties of this object
3942
3963
  def update!(**args)
3943
- @auto_healing_policies = args[:auto_healing_policies] unless args[:auto_healing_policies].nil?
3964
+ @auto_healing_policies = args[:auto_healing_policies] if args.key?(:auto_healing_policies)
3944
3965
  end
3945
3966
  end
3946
3967
 
@@ -3961,7 +3982,7 @@ module Google
3961
3982
 
3962
3983
  # Update properties of this object
3963
3984
  def update!(**args)
3964
- @instance_template = args[:instance_template] unless args[:instance_template].nil?
3985
+ @instance_template = args[:instance_template] if args.key?(:instance_template)
3965
3986
  end
3966
3987
  end
3967
3988
 
@@ -3992,8 +4013,8 @@ module Google
3992
4013
 
3993
4014
  # Update properties of this object
3994
4015
  def update!(**args)
3995
- @fingerprint = args[:fingerprint] unless args[:fingerprint].nil?
3996
- @target_pools = args[:target_pools] unless args[:target_pools].nil?
4016
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
4017
+ @target_pools = args[:target_pools] if args.key?(:target_pools)
3997
4018
  end
3998
4019
  end
3999
4020
 
@@ -4012,7 +4033,7 @@ module Google
4012
4033
 
4013
4034
  # Update properties of this object
4014
4035
  def update!(**args)
4015
- @instances = args[:instances] unless args[:instances].nil?
4036
+ @instances = args[:instances] if args.key?(:instances)
4016
4037
  end
4017
4038
  end
4018
4039
 
@@ -4059,11 +4080,11 @@ module Google
4059
4080
 
4060
4081
  # Update properties of this object
4061
4082
  def update!(**args)
4062
- @id = args[:id] unless args[:id].nil?
4063
- @items = args[:items] unless args[:items].nil?
4064
- @kind = args[:kind] unless args[:kind].nil?
4065
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
4066
- @self_link = args[:self_link] unless args[:self_link].nil?
4083
+ @id = args[:id] if args.key?(:id)
4084
+ @items = args[:items] if args.key?(:items)
4085
+ @kind = args[:kind] if args.key?(:kind)
4086
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4087
+ @self_link = args[:self_link] if args.key?(:self_link)
4067
4088
  end
4068
4089
  end
4069
4090
 
@@ -4084,7 +4105,7 @@ module Google
4084
4105
 
4085
4106
  # Update properties of this object
4086
4107
  def update!(**args)
4087
- @instance_state = args[:instance_state] unless args[:instance_state].nil?
4108
+ @instance_state = args[:instance_state] if args.key?(:instance_state)
4088
4109
  end
4089
4110
  end
4090
4111
 
@@ -4103,7 +4124,7 @@ module Google
4103
4124
 
4104
4125
  # Update properties of this object
4105
4126
  def update!(**args)
4106
- @instances = args[:instances] unless args[:instances].nil?
4127
+ @instances = args[:instances] if args.key?(:instances)
4107
4128
  end
4108
4129
  end
4109
4130
 
@@ -4128,8 +4149,8 @@ module Google
4128
4149
 
4129
4150
  # Update properties of this object
4130
4151
  def update!(**args)
4131
- @instance_groups = args[:instance_groups] unless args[:instance_groups].nil?
4132
- @warning = args[:warning] unless args[:warning].nil?
4152
+ @instance_groups = args[:instance_groups] if args.key?(:instance_groups)
4153
+ @warning = args[:warning] if args.key?(:warning)
4133
4154
  end
4134
4155
 
4135
4156
  # [Output Only] An informational warning that replaces the list of instance
@@ -4160,9 +4181,9 @@ module Google
4160
4181
 
4161
4182
  # Update properties of this object
4162
4183
  def update!(**args)
4163
- @code = args[:code] unless args[:code].nil?
4164
- @data = args[:data] unless args[:data].nil?
4165
- @message = args[:message] unless args[:message].nil?
4184
+ @code = args[:code] if args.key?(:code)
4185
+ @data = args[:data] if args.key?(:data)
4186
+ @message = args[:message] if args.key?(:message)
4166
4187
  end
4167
4188
 
4168
4189
  #
@@ -4191,8 +4212,8 @@ module Google
4191
4212
 
4192
4213
  # Update properties of this object
4193
4214
  def update!(**args)
4194
- @key = args[:key] unless args[:key].nil?
4195
- @value = args[:value] unless args[:value].nil?
4215
+ @key = args[:key] if args.key?(:key)
4216
+ @value = args[:value] if args.key?(:value)
4196
4217
  end
4197
4218
  end
4198
4219
  end
@@ -4223,12 +4244,12 @@ module Google
4223
4244
 
4224
4245
  # Update properties of this object
4225
4246
  def update!(**args)
4226
- @fingerprint = args[:fingerprint] unless args[:fingerprint].nil?
4227
- @named_ports = args[:named_ports] unless args[:named_ports].nil?
4247
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
4248
+ @named_ports = args[:named_ports] if args.key?(:named_ports)
4228
4249
  end
4229
4250
  end
4230
4251
 
4231
- # Contains a list of instance resources.
4252
+ # Contains a list of instances.
4232
4253
  class InstanceList
4233
4254
  include Google::Apis::Core::Hashable
4234
4255
 
@@ -4238,7 +4259,7 @@ module Google
4238
4259
  # @return [String]
4239
4260
  attr_accessor :id
4240
4261
 
4241
- # [Output Only] A list of Instance resources.
4262
+ # [Output Only] A list of instances.
4242
4263
  # Corresponds to the JSON property `items`
4243
4264
  # @return [Array<Google::Apis::ComputeBeta::Instance>]
4244
4265
  attr_accessor :items
@@ -4269,11 +4290,11 @@ module Google
4269
4290
 
4270
4291
  # Update properties of this object
4271
4292
  def update!(**args)
4272
- @id = args[:id] unless args[:id].nil?
4273
- @items = args[:items] unless args[:items].nil?
4274
- @kind = args[:kind] unless args[:kind].nil?
4275
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
4276
- @self_link = args[:self_link] unless args[:self_link].nil?
4293
+ @id = args[:id] if args.key?(:id)
4294
+ @items = args[:items] if args.key?(:items)
4295
+ @kind = args[:kind] if args.key?(:kind)
4296
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4297
+ @self_link = args[:self_link] if args.key?(:self_link)
4277
4298
  end
4278
4299
  end
4279
4300
 
@@ -4342,15 +4363,15 @@ module Google
4342
4363
 
4343
4364
  # Update properties of this object
4344
4365
  def update!(**args)
4345
- @can_ip_forward = args[:can_ip_forward] unless args[:can_ip_forward].nil?
4346
- @description = args[:description] unless args[:description].nil?
4347
- @disks = args[:disks] unless args[:disks].nil?
4348
- @machine_type = args[:machine_type] unless args[:machine_type].nil?
4349
- @metadata = args[:metadata] unless args[:metadata].nil?
4350
- @network_interfaces = args[:network_interfaces] unless args[:network_interfaces].nil?
4351
- @scheduling = args[:scheduling] unless args[:scheduling].nil?
4352
- @service_accounts = args[:service_accounts] unless args[:service_accounts].nil?
4353
- @tags = args[:tags] unless args[:tags].nil?
4366
+ @can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
4367
+ @description = args[:description] if args.key?(:description)
4368
+ @disks = args[:disks] if args.key?(:disks)
4369
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
4370
+ @metadata = args[:metadata] if args.key?(:metadata)
4371
+ @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
4372
+ @scheduling = args[:scheduling] if args.key?(:scheduling)
4373
+ @service_accounts = args[:service_accounts] if args.key?(:service_accounts)
4374
+ @tags = args[:tags] if args.key?(:tags)
4354
4375
  end
4355
4376
  end
4356
4377
 
@@ -4369,7 +4390,7 @@ module Google
4369
4390
 
4370
4391
  # Update properties of this object
4371
4392
  def update!(**args)
4372
- @instance = args[:instance] unless args[:instance].nil?
4393
+ @instance = args[:instance] if args.key?(:instance)
4373
4394
  end
4374
4395
  end
4375
4396
 
@@ -4427,13 +4448,13 @@ module Google
4427
4448
 
4428
4449
  # Update properties of this object
4429
4450
  def update!(**args)
4430
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
4431
- @description = args[:description] unless args[:description].nil?
4432
- @id = args[:id] unless args[:id].nil?
4433
- @kind = args[:kind] unless args[:kind].nil?
4434
- @name = args[:name] unless args[:name].nil?
4435
- @properties = args[:properties] unless args[:properties].nil?
4436
- @self_link = args[:self_link] unless args[:self_link].nil?
4451
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
4452
+ @description = args[:description] if args.key?(:description)
4453
+ @id = args[:id] if args.key?(:id)
4454
+ @kind = args[:kind] if args.key?(:kind)
4455
+ @name = args[:name] if args.key?(:name)
4456
+ @properties = args[:properties] if args.key?(:properties)
4457
+ @self_link = args[:self_link] if args.key?(:self_link)
4437
4458
  end
4438
4459
  end
4439
4460
 
@@ -4479,11 +4500,11 @@ module Google
4479
4500
 
4480
4501
  # Update properties of this object
4481
4502
  def update!(**args)
4482
- @id = args[:id] unless args[:id].nil?
4483
- @items = args[:items] unless args[:items].nil?
4484
- @kind = args[:kind] unless args[:kind].nil?
4485
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
4486
- @self_link = args[:self_link] unless args[:self_link].nil?
4503
+ @id = args[:id] if args.key?(:id)
4504
+ @items = args[:items] if args.key?(:items)
4505
+ @kind = args[:kind] if args.key?(:kind)
4506
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4507
+ @self_link = args[:self_link] if args.key?(:self_link)
4487
4508
  end
4488
4509
  end
4489
4510
 
@@ -4512,9 +4533,9 @@ module Google
4512
4533
 
4513
4534
  # Update properties of this object
4514
4535
  def update!(**args)
4515
- @instance = args[:instance] unless args[:instance].nil?
4516
- @named_ports = args[:named_ports] unless args[:named_ports].nil?
4517
- @status = args[:status] unless args[:status].nil?
4536
+ @instance = args[:instance] if args.key?(:instance)
4537
+ @named_ports = args[:named_ports] if args.key?(:named_ports)
4538
+ @status = args[:status] if args.key?(:status)
4518
4539
  end
4519
4540
  end
4520
4541
 
@@ -4539,8 +4560,8 @@ module Google
4539
4560
 
4540
4561
  # Update properties of this object
4541
4562
  def update!(**args)
4542
- @instances = args[:instances] unless args[:instances].nil?
4543
- @warning = args[:warning] unless args[:warning].nil?
4563
+ @instances = args[:instances] if args.key?(:instances)
4564
+ @warning = args[:warning] if args.key?(:warning)
4544
4565
  end
4545
4566
 
4546
4567
  # [Output Only] Informational warning which replaces the list of instances when
@@ -4571,9 +4592,9 @@ module Google
4571
4592
 
4572
4593
  # Update properties of this object
4573
4594
  def update!(**args)
4574
- @code = args[:code] unless args[:code].nil?
4575
- @data = args[:data] unless args[:data].nil?
4576
- @message = args[:message] unless args[:message].nil?
4595
+ @code = args[:code] if args.key?(:code)
4596
+ @data = args[:data] if args.key?(:data)
4597
+ @message = args[:message] if args.key?(:message)
4577
4598
  end
4578
4599
 
4579
4600
  #
@@ -4602,8 +4623,8 @@ module Google
4602
4623
 
4603
4624
  # Update properties of this object
4604
4625
  def update!(**args)
4605
- @key = args[:key] unless args[:key].nil?
4606
- @value = args[:value] unless args[:value].nil?
4626
+ @key = args[:key] if args.key?(:key)
4627
+ @value = args[:value] if args.key?(:value)
4607
4628
  end
4608
4629
  end
4609
4630
  end
@@ -4631,8 +4652,8 @@ module Google
4631
4652
 
4632
4653
  # Update properties of this object
4633
4654
  def update!(**args)
4634
- @label_fingerprint = args[:label_fingerprint] unless args[:label_fingerprint].nil?
4635
- @labels = args[:labels] unless args[:labels].nil?
4655
+ @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
4656
+ @labels = args[:labels] if args.key?(:labels)
4636
4657
  end
4637
4658
  end
4638
4659
 
@@ -4653,7 +4674,7 @@ module Google
4653
4674
 
4654
4675
  # Update properties of this object
4655
4676
  def update!(**args)
4656
- @machine_type = args[:machine_type] unless args[:machine_type].nil?
4677
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
4657
4678
  end
4658
4679
  end
4659
4680
 
@@ -4690,10 +4711,10 @@ module Google
4690
4711
 
4691
4712
  # Update properties of this object
4692
4713
  def update!(**args)
4693
- @charges_use_fee = args[:charges_use_fee] unless args[:charges_use_fee].nil?
4694
- @kind = args[:kind] unless args[:kind].nil?
4695
- @name = args[:name] unless args[:name].nil?
4696
- @self_link = args[:self_link] unless args[:self_link].nil?
4714
+ @charges_use_fee = args[:charges_use_fee] if args.key?(:charges_use_fee)
4715
+ @kind = args[:kind] if args.key?(:kind)
4716
+ @name = args[:name] if args.key?(:name)
4717
+ @self_link = args[:self_link] if args.key?(:self_link)
4697
4718
  end
4698
4719
  end
4699
4720
 
@@ -4771,18 +4792,18 @@ module Google
4771
4792
 
4772
4793
  # Update properties of this object
4773
4794
  def update!(**args)
4774
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
4775
- @deprecated = args[:deprecated] unless args[:deprecated].nil?
4776
- @description = args[:description] unless args[:description].nil?
4777
- @guest_cpus = args[:guest_cpus] unless args[:guest_cpus].nil?
4778
- @id = args[:id] unless args[:id].nil?
4779
- @kind = args[:kind] unless args[:kind].nil?
4780
- @maximum_persistent_disks = args[:maximum_persistent_disks] unless args[:maximum_persistent_disks].nil?
4781
- @maximum_persistent_disks_size_gb = args[:maximum_persistent_disks_size_gb] unless args[:maximum_persistent_disks_size_gb].nil?
4782
- @memory_mb = args[:memory_mb] unless args[:memory_mb].nil?
4783
- @name = args[:name] unless args[:name].nil?
4784
- @self_link = args[:self_link] unless args[:self_link].nil?
4785
- @zone = args[:zone] unless args[:zone].nil?
4795
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
4796
+ @deprecated = args[:deprecated] if args.key?(:deprecated)
4797
+ @description = args[:description] if args.key?(:description)
4798
+ @guest_cpus = args[:guest_cpus] if args.key?(:guest_cpus)
4799
+ @id = args[:id] if args.key?(:id)
4800
+ @kind = args[:kind] if args.key?(:kind)
4801
+ @maximum_persistent_disks = args[:maximum_persistent_disks] if args.key?(:maximum_persistent_disks)
4802
+ @maximum_persistent_disks_size_gb = args[:maximum_persistent_disks_size_gb] if args.key?(:maximum_persistent_disks_size_gb)
4803
+ @memory_mb = args[:memory_mb] if args.key?(:memory_mb)
4804
+ @name = args[:name] if args.key?(:name)
4805
+ @self_link = args[:self_link] if args.key?(:self_link)
4806
+ @zone = args[:zone] if args.key?(:zone)
4786
4807
  end
4787
4808
  end
4788
4809
 
@@ -4827,15 +4848,15 @@ module Google
4827
4848
 
4828
4849
  # Update properties of this object
4829
4850
  def update!(**args)
4830
- @id = args[:id] unless args[:id].nil?
4831
- @items = args[:items] unless args[:items].nil?
4832
- @kind = args[:kind] unless args[:kind].nil?
4833
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
4834
- @self_link = args[:self_link] unless args[:self_link].nil?
4851
+ @id = args[:id] if args.key?(:id)
4852
+ @items = args[:items] if args.key?(:items)
4853
+ @kind = args[:kind] if args.key?(:kind)
4854
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4855
+ @self_link = args[:self_link] if args.key?(:self_link)
4835
4856
  end
4836
4857
  end
4837
4858
 
4838
- # Contains a list of Machine Type resources.
4859
+ # Contains a list of machine types.
4839
4860
  class MachineTypeList
4840
4861
  include Google::Apis::Core::Hashable
4841
4862
 
@@ -4876,11 +4897,11 @@ module Google
4876
4897
 
4877
4898
  # Update properties of this object
4878
4899
  def update!(**args)
4879
- @id = args[:id] unless args[:id].nil?
4880
- @items = args[:items] unless args[:items].nil?
4881
- @kind = args[:kind] unless args[:kind].nil?
4882
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
4883
- @self_link = args[:self_link] unless args[:self_link].nil?
4900
+ @id = args[:id] if args.key?(:id)
4901
+ @items = args[:items] if args.key?(:items)
4902
+ @kind = args[:kind] if args.key?(:kind)
4903
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4904
+ @self_link = args[:self_link] if args.key?(:self_link)
4884
4905
  end
4885
4906
  end
4886
4907
 
@@ -4905,8 +4926,8 @@ module Google
4905
4926
 
4906
4927
  # Update properties of this object
4907
4928
  def update!(**args)
4908
- @machine_types = args[:machine_types] unless args[:machine_types].nil?
4909
- @warning = args[:warning] unless args[:warning].nil?
4929
+ @machine_types = args[:machine_types] if args.key?(:machine_types)
4930
+ @warning = args[:warning] if args.key?(:warning)
4910
4931
  end
4911
4932
 
4912
4933
  # [Output Only] An informational warning that appears when the machine types
@@ -4937,9 +4958,9 @@ module Google
4937
4958
 
4938
4959
  # Update properties of this object
4939
4960
  def update!(**args)
4940
- @code = args[:code] unless args[:code].nil?
4941
- @data = args[:data] unless args[:data].nil?
4942
- @message = args[:message] unless args[:message].nil?
4961
+ @code = args[:code] if args.key?(:code)
4962
+ @data = args[:data] if args.key?(:data)
4963
+ @message = args[:message] if args.key?(:message)
4943
4964
  end
4944
4965
 
4945
4966
  #
@@ -4968,8 +4989,8 @@ module Google
4968
4989
 
4969
4990
  # Update properties of this object
4970
4991
  def update!(**args)
4971
- @key = args[:key] unless args[:key].nil?
4972
- @value = args[:value] unless args[:value].nil?
4992
+ @key = args[:key] if args.key?(:key)
4993
+ @value = args[:value] if args.key?(:value)
4973
4994
  end
4974
4995
  end
4975
4996
  end
@@ -5031,11 +5052,11 @@ module Google
5031
5052
 
5032
5053
  # Update properties of this object
5033
5054
  def update!(**args)
5034
- @current_action = args[:current_action] unless args[:current_action].nil?
5035
- @id = args[:id] unless args[:id].nil?
5036
- @instance = args[:instance] unless args[:instance].nil?
5037
- @instance_status = args[:instance_status] unless args[:instance_status].nil?
5038
- @last_attempt = args[:last_attempt] unless args[:last_attempt].nil?
5055
+ @current_action = args[:current_action] if args.key?(:current_action)
5056
+ @id = args[:id] if args.key?(:id)
5057
+ @instance = args[:instance] if args.key?(:instance)
5058
+ @instance_status = args[:instance_status] if args.key?(:instance_status)
5059
+ @last_attempt = args[:last_attempt] if args.key?(:last_attempt)
5039
5060
  end
5040
5061
  end
5041
5062
 
@@ -5055,7 +5076,7 @@ module Google
5055
5076
 
5056
5077
  # Update properties of this object
5057
5078
  def update!(**args)
5058
- @errors = args[:errors] unless args[:errors].nil?
5079
+ @errors = args[:errors] if args.key?(:errors)
5059
5080
  end
5060
5081
 
5061
5082
  # [Output Only] Encountered errors during the last attempt to create or delete
@@ -5074,7 +5095,7 @@ module Google
5074
5095
 
5075
5096
  # Update properties of this object
5076
5097
  def update!(**args)
5077
- @errors = args[:errors] unless args[:errors].nil?
5098
+ @errors = args[:errors] if args.key?(:errors)
5078
5099
  end
5079
5100
 
5080
5101
  #
@@ -5103,9 +5124,9 @@ module Google
5103
5124
 
5104
5125
  # Update properties of this object
5105
5126
  def update!(**args)
5106
- @code = args[:code] unless args[:code].nil?
5107
- @location = args[:location] unless args[:location].nil?
5108
- @message = args[:message] unless args[:message].nil?
5127
+ @code = args[:code] if args.key?(:code)
5128
+ @location = args[:location] if args.key?(:location)
5129
+ @message = args[:message] if args.key?(:message)
5109
5130
  end
5110
5131
  end
5111
5132
  end
@@ -5141,9 +5162,9 @@ module Google
5141
5162
 
5142
5163
  # Update properties of this object
5143
5164
  def update!(**args)
5144
- @fingerprint = args[:fingerprint] unless args[:fingerprint].nil?
5145
- @items = args[:items] unless args[:items].nil?
5146
- @kind = args[:kind] unless args[:kind].nil?
5165
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
5166
+ @items = args[:items] if args.key?(:items)
5167
+ @kind = args[:kind] if args.key?(:kind)
5147
5168
  end
5148
5169
 
5149
5170
  #
@@ -5172,8 +5193,8 @@ module Google
5172
5193
 
5173
5194
  # Update properties of this object
5174
5195
  def update!(**args)
5175
- @key = args[:key] unless args[:key].nil?
5176
- @value = args[:value] unless args[:value].nil?
5196
+ @key = args[:key] if args.key?(:key)
5197
+ @value = args[:value] if args.key?(:value)
5177
5198
  end
5178
5199
  end
5179
5200
  end
@@ -5199,12 +5220,13 @@ module Google
5199
5220
 
5200
5221
  # Update properties of this object
5201
5222
  def update!(**args)
5202
- @name = args[:name] unless args[:name].nil?
5203
- @port = args[:port] unless args[:port].nil?
5223
+ @name = args[:name] if args.key?(:name)
5224
+ @port = args[:port] if args.key?(:port)
5204
5225
  end
5205
5226
  end
5206
5227
 
5207
- # A network resource.
5228
+ # Represents a Network resource. Read Networks and Firewalls for more
5229
+ # information.
5208
5230
  class Network
5209
5231
  include Google::Apis::Core::Hashable
5210
5232
 
@@ -5280,16 +5302,16 @@ module Google
5280
5302
 
5281
5303
  # Update properties of this object
5282
5304
  def update!(**args)
5283
- @i_pv4_range = args[:i_pv4_range] unless args[:i_pv4_range].nil?
5284
- @auto_create_subnetworks = args[:auto_create_subnetworks] unless args[:auto_create_subnetworks].nil?
5285
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
5286
- @description = args[:description] unless args[:description].nil?
5287
- @gateway_i_pv4 = args[:gateway_i_pv4] unless args[:gateway_i_pv4].nil?
5288
- @id = args[:id] unless args[:id].nil?
5289
- @kind = args[:kind] unless args[:kind].nil?
5290
- @name = args[:name] unless args[:name].nil?
5291
- @self_link = args[:self_link] unless args[:self_link].nil?
5292
- @subnetworks = args[:subnetworks] unless args[:subnetworks].nil?
5305
+ @i_pv4_range = args[:i_pv4_range] if args.key?(:i_pv4_range)
5306
+ @auto_create_subnetworks = args[:auto_create_subnetworks] if args.key?(:auto_create_subnetworks)
5307
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
5308
+ @description = args[:description] if args.key?(:description)
5309
+ @gateway_i_pv4 = args[:gateway_i_pv4] if args.key?(:gateway_i_pv4)
5310
+ @id = args[:id] if args.key?(:id)
5311
+ @kind = args[:kind] if args.key?(:kind)
5312
+ @name = args[:name] if args.key?(:name)
5313
+ @self_link = args[:self_link] if args.key?(:self_link)
5314
+ @subnetworks = args[:subnetworks] if args.key?(:subnetworks)
5293
5315
  end
5294
5316
  end
5295
5317
 
@@ -5349,15 +5371,15 @@ module Google
5349
5371
 
5350
5372
  # Update properties of this object
5351
5373
  def update!(**args)
5352
- @access_configs = args[:access_configs] unless args[:access_configs].nil?
5353
- @name = args[:name] unless args[:name].nil?
5354
- @network = args[:network] unless args[:network].nil?
5355
- @network_ip = args[:network_ip] unless args[:network_ip].nil?
5356
- @subnetwork = args[:subnetwork] unless args[:subnetwork].nil?
5374
+ @access_configs = args[:access_configs] if args.key?(:access_configs)
5375
+ @name = args[:name] if args.key?(:name)
5376
+ @network = args[:network] if args.key?(:network)
5377
+ @network_ip = args[:network_ip] if args.key?(:network_ip)
5378
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
5357
5379
  end
5358
5380
  end
5359
5381
 
5360
- # Contains a list of Network resources.
5382
+ # Contains a list of networks.
5361
5383
  class NetworkList
5362
5384
  include Google::Apis::Core::Hashable
5363
5385
 
@@ -5398,11 +5420,11 @@ module Google
5398
5420
 
5399
5421
  # Update properties of this object
5400
5422
  def update!(**args)
5401
- @id = args[:id] unless args[:id].nil?
5402
- @items = args[:items] unless args[:items].nil?
5403
- @kind = args[:kind] unless args[:kind].nil?
5404
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
5405
- @self_link = args[:self_link] unless args[:self_link].nil?
5423
+ @id = args[:id] if args.key?(:id)
5424
+ @items = args[:items] if args.key?(:items)
5425
+ @kind = args[:kind] if args.key?(:kind)
5426
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
5427
+ @self_link = args[:self_link] if args.key?(:self_link)
5406
5428
  end
5407
5429
  end
5408
5430
 
@@ -5410,7 +5432,7 @@ module Google
5410
5432
  class Operation
5411
5433
  include Google::Apis::Core::Hashable
5412
5434
 
5413
- # [Output Only] A unique client ID generated by the server.
5435
+ # [Output Only] Reserved for future use.
5414
5436
  # Corresponds to the JSON property `clientOperationId`
5415
5437
  # @return [String]
5416
5438
  attr_accessor :client_operation_id
@@ -5474,7 +5496,8 @@ module Google
5474
5496
  # @return [String]
5475
5497
  attr_accessor :name
5476
5498
 
5477
- # [Output Only] The type of operation, which can be insert, update, or delete.
5499
+ # [Output Only] The type of operation, such as insert, update, or delete, and so
5500
+ # on.
5478
5501
  # Corresponds to the JSON property `operationType`
5479
5502
  # @return [String]
5480
5503
  attr_accessor :operation_type
@@ -5487,8 +5510,8 @@ module Google
5487
5510
  # @return [Fixnum]
5488
5511
  attr_accessor :progress
5489
5512
 
5490
- # [Output Only] URL of the region where the operation resides. Only available
5491
- # when performing regional operations.
5513
+ # [Output Only] The URL of the region where the operation resides. Only
5514
+ # available when performing regional operations.
5492
5515
  # Corresponds to the JSON property `region`
5493
5516
  # @return [String]
5494
5517
  attr_accessor :region
@@ -5522,7 +5545,7 @@ module Google
5522
5545
  # @return [String]
5523
5546
  attr_accessor :target_id
5524
5547
 
5525
- # [Output Only] The URL of the resource that the operation is modifying.
5548
+ # [Output Only] The URL of the resource that the operation modifies.
5526
5549
  # Corresponds to the JSON property `targetLink`
5527
5550
  # @return [String]
5528
5551
  attr_accessor :target_link
@@ -5538,8 +5561,8 @@ module Google
5538
5561
  # @return [Array<Google::Apis::ComputeBeta::Operation::Warning>]
5539
5562
  attr_accessor :warnings
5540
5563
 
5541
- # [Output Only] URL of the zone where the operation resides. Only available when
5542
- # performing per-zone operations.
5564
+ # [Output Only] The URL of the zone where the operation resides. Only available
5565
+ # when performing per-zone operations.
5543
5566
  # Corresponds to the JSON property `zone`
5544
5567
  # @return [String]
5545
5568
  attr_accessor :zone
@@ -5550,29 +5573,29 @@ module Google
5550
5573
 
5551
5574
  # Update properties of this object
5552
5575
  def update!(**args)
5553
- @client_operation_id = args[:client_operation_id] unless args[:client_operation_id].nil?
5554
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
5555
- @description = args[:description] unless args[:description].nil?
5556
- @end_time = args[:end_time] unless args[:end_time].nil?
5557
- @error = args[:error] unless args[:error].nil?
5558
- @http_error_message = args[:http_error_message] unless args[:http_error_message].nil?
5559
- @http_error_status_code = args[:http_error_status_code] unless args[:http_error_status_code].nil?
5560
- @id = args[:id] unless args[:id].nil?
5561
- @insert_time = args[:insert_time] unless args[:insert_time].nil?
5562
- @kind = args[:kind] unless args[:kind].nil?
5563
- @name = args[:name] unless args[:name].nil?
5564
- @operation_type = args[:operation_type] unless args[:operation_type].nil?
5565
- @progress = args[:progress] unless args[:progress].nil?
5566
- @region = args[:region] unless args[:region].nil?
5567
- @self_link = args[:self_link] unless args[:self_link].nil?
5568
- @start_time = args[:start_time] unless args[:start_time].nil?
5569
- @status = args[:status] unless args[:status].nil?
5570
- @status_message = args[:status_message] unless args[:status_message].nil?
5571
- @target_id = args[:target_id] unless args[:target_id].nil?
5572
- @target_link = args[:target_link] unless args[:target_link].nil?
5573
- @user = args[:user] unless args[:user].nil?
5574
- @warnings = args[:warnings] unless args[:warnings].nil?
5575
- @zone = args[:zone] unless args[:zone].nil?
5576
+ @client_operation_id = args[:client_operation_id] if args.key?(:client_operation_id)
5577
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
5578
+ @description = args[:description] if args.key?(:description)
5579
+ @end_time = args[:end_time] if args.key?(:end_time)
5580
+ @error = args[:error] if args.key?(:error)
5581
+ @http_error_message = args[:http_error_message] if args.key?(:http_error_message)
5582
+ @http_error_status_code = args[:http_error_status_code] if args.key?(:http_error_status_code)
5583
+ @id = args[:id] if args.key?(:id)
5584
+ @insert_time = args[:insert_time] if args.key?(:insert_time)
5585
+ @kind = args[:kind] if args.key?(:kind)
5586
+ @name = args[:name] if args.key?(:name)
5587
+ @operation_type = args[:operation_type] if args.key?(:operation_type)
5588
+ @progress = args[:progress] if args.key?(:progress)
5589
+ @region = args[:region] if args.key?(:region)
5590
+ @self_link = args[:self_link] if args.key?(:self_link)
5591
+ @start_time = args[:start_time] if args.key?(:start_time)
5592
+ @status = args[:status] if args.key?(:status)
5593
+ @status_message = args[:status_message] if args.key?(:status_message)
5594
+ @target_id = args[:target_id] if args.key?(:target_id)
5595
+ @target_link = args[:target_link] if args.key?(:target_link)
5596
+ @user = args[:user] if args.key?(:user)
5597
+ @warnings = args[:warnings] if args.key?(:warnings)
5598
+ @zone = args[:zone] if args.key?(:zone)
5576
5599
  end
5577
5600
 
5578
5601
  # [Output Only] If errors are generated during processing of the operation, this
@@ -5591,7 +5614,7 @@ module Google
5591
5614
 
5592
5615
  # Update properties of this object
5593
5616
  def update!(**args)
5594
- @errors = args[:errors] unless args[:errors].nil?
5617
+ @errors = args[:errors] if args.key?(:errors)
5595
5618
  end
5596
5619
 
5597
5620
  #
@@ -5620,9 +5643,9 @@ module Google
5620
5643
 
5621
5644
  # Update properties of this object
5622
5645
  def update!(**args)
5623
- @code = args[:code] unless args[:code].nil?
5624
- @location = args[:location] unless args[:location].nil?
5625
- @message = args[:message] unless args[:message].nil?
5646
+ @code = args[:code] if args.key?(:code)
5647
+ @location = args[:location] if args.key?(:location)
5648
+ @message = args[:message] if args.key?(:message)
5626
5649
  end
5627
5650
  end
5628
5651
  end
@@ -5654,9 +5677,9 @@ module Google
5654
5677
 
5655
5678
  # Update properties of this object
5656
5679
  def update!(**args)
5657
- @code = args[:code] unless args[:code].nil?
5658
- @data = args[:data] unless args[:data].nil?
5659
- @message = args[:message] unless args[:message].nil?
5680
+ @code = args[:code] if args.key?(:code)
5681
+ @data = args[:data] if args.key?(:data)
5682
+ @message = args[:message] if args.key?(:message)
5660
5683
  end
5661
5684
 
5662
5685
  #
@@ -5685,8 +5708,8 @@ module Google
5685
5708
 
5686
5709
  # Update properties of this object
5687
5710
  def update!(**args)
5688
- @key = args[:key] unless args[:key].nil?
5689
- @value = args[:value] unless args[:value].nil?
5711
+ @key = args[:key] if args.key?(:key)
5712
+ @value = args[:value] if args.key?(:value)
5690
5713
  end
5691
5714
  end
5692
5715
  end
@@ -5733,11 +5756,11 @@ module Google
5733
5756
 
5734
5757
  # Update properties of this object
5735
5758
  def update!(**args)
5736
- @id = args[:id] unless args[:id].nil?
5737
- @items = args[:items] unless args[:items].nil?
5738
- @kind = args[:kind] unless args[:kind].nil?
5739
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
5740
- @self_link = args[:self_link] unless args[:self_link].nil?
5759
+ @id = args[:id] if args.key?(:id)
5760
+ @items = args[:items] if args.key?(:items)
5761
+ @kind = args[:kind] if args.key?(:kind)
5762
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
5763
+ @self_link = args[:self_link] if args.key?(:self_link)
5741
5764
  end
5742
5765
  end
5743
5766
 
@@ -5751,7 +5774,7 @@ module Google
5751
5774
  # @return [String]
5752
5775
  attr_accessor :id
5753
5776
 
5754
- # [Output Only] The Operation resources.
5777
+ # [Output Only] A list of Operation resources.
5755
5778
  # Corresponds to the JSON property `items`
5756
5779
  # @return [Array<Google::Apis::ComputeBeta::Operation>]
5757
5780
  attr_accessor :items
@@ -5782,11 +5805,11 @@ module Google
5782
5805
 
5783
5806
  # Update properties of this object
5784
5807
  def update!(**args)
5785
- @id = args[:id] unless args[:id].nil?
5786
- @items = args[:items] unless args[:items].nil?
5787
- @kind = args[:kind] unless args[:kind].nil?
5788
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
5789
- @self_link = args[:self_link] unless args[:self_link].nil?
5808
+ @id = args[:id] if args.key?(:id)
5809
+ @items = args[:items] if args.key?(:items)
5810
+ @kind = args[:kind] if args.key?(:kind)
5811
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
5812
+ @self_link = args[:self_link] if args.key?(:self_link)
5790
5813
  end
5791
5814
  end
5792
5815
 
@@ -5811,8 +5834,8 @@ module Google
5811
5834
 
5812
5835
  # Update properties of this object
5813
5836
  def update!(**args)
5814
- @operations = args[:operations] unless args[:operations].nil?
5815
- @warning = args[:warning] unless args[:warning].nil?
5837
+ @operations = args[:operations] if args.key?(:operations)
5838
+ @warning = args[:warning] if args.key?(:warning)
5816
5839
  end
5817
5840
 
5818
5841
  # [Output Only] Informational warning which replaces the list of operations when
@@ -5843,9 +5866,9 @@ module Google
5843
5866
 
5844
5867
  # Update properties of this object
5845
5868
  def update!(**args)
5846
- @code = args[:code] unless args[:code].nil?
5847
- @data = args[:data] unless args[:data].nil?
5848
- @message = args[:message] unless args[:message].nil?
5869
+ @code = args[:code] if args.key?(:code)
5870
+ @data = args[:data] if args.key?(:data)
5871
+ @message = args[:message] if args.key?(:message)
5849
5872
  end
5850
5873
 
5851
5874
  #
@@ -5874,8 +5897,8 @@ module Google
5874
5897
 
5875
5898
  # Update properties of this object
5876
5899
  def update!(**args)
5877
- @key = args[:key] unless args[:key].nil?
5878
- @value = args[:value] unless args[:value].nil?
5900
+ @key = args[:key] if args.key?(:key)
5901
+ @value = args[:value] if args.key?(:value)
5879
5902
  end
5880
5903
  end
5881
5904
  end
@@ -5921,10 +5944,10 @@ module Google
5921
5944
 
5922
5945
  # Update properties of this object
5923
5946
  def update!(**args)
5924
- @default_service = args[:default_service] unless args[:default_service].nil?
5925
- @description = args[:description] unless args[:description].nil?
5926
- @name = args[:name] unless args[:name].nil?
5927
- @path_rules = args[:path_rules] unless args[:path_rules].nil?
5947
+ @default_service = args[:default_service] if args.key?(:default_service)
5948
+ @description = args[:description] if args.key?(:description)
5949
+ @name = args[:name] if args.key?(:name)
5950
+ @path_rules = args[:path_rules] if args.key?(:path_rules)
5928
5951
  end
5929
5952
  end
5930
5953
 
@@ -5952,12 +5975,12 @@ module Google
5952
5975
 
5953
5976
  # Update properties of this object
5954
5977
  def update!(**args)
5955
- @paths = args[:paths] unless args[:paths].nil?
5956
- @service = args[:service] unless args[:service].nil?
5978
+ @paths = args[:paths] if args.key?(:paths)
5979
+ @service = args[:service] if args.key?(:service)
5957
5980
  end
5958
5981
  end
5959
5982
 
5960
- # A Project resource. Projects can only be created in the Google Developers
5983
+ # A Project resource. Projects can only be created in the Google Cloud Platform
5961
5984
  # Console. Unless marked otherwise, values can only be modified in the console.
5962
5985
  class Project
5963
5986
  include Google::Apis::Core::Hashable
@@ -6022,16 +6045,16 @@ module Google
6022
6045
 
6023
6046
  # Update properties of this object
6024
6047
  def update!(**args)
6025
- @common_instance_metadata = args[:common_instance_metadata] unless args[:common_instance_metadata].nil?
6026
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
6027
- @description = args[:description] unless args[:description].nil?
6028
- @enabled_features = args[:enabled_features] unless args[:enabled_features].nil?
6029
- @id = args[:id] unless args[:id].nil?
6030
- @kind = args[:kind] unless args[:kind].nil?
6031
- @name = args[:name] unless args[:name].nil?
6032
- @quotas = args[:quotas] unless args[:quotas].nil?
6033
- @self_link = args[:self_link] unless args[:self_link].nil?
6034
- @usage_export_location = args[:usage_export_location] unless args[:usage_export_location].nil?
6048
+ @common_instance_metadata = args[:common_instance_metadata] if args.key?(:common_instance_metadata)
6049
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
6050
+ @description = args[:description] if args.key?(:description)
6051
+ @enabled_features = args[:enabled_features] if args.key?(:enabled_features)
6052
+ @id = args[:id] if args.key?(:id)
6053
+ @kind = args[:kind] if args.key?(:kind)
6054
+ @name = args[:name] if args.key?(:name)
6055
+ @quotas = args[:quotas] if args.key?(:quotas)
6056
+ @self_link = args[:self_link] if args.key?(:self_link)
6057
+ @usage_export_location = args[:usage_export_location] if args.key?(:usage_export_location)
6035
6058
  end
6036
6059
  end
6037
6060
 
@@ -6060,9 +6083,9 @@ module Google
6060
6083
 
6061
6084
  # Update properties of this object
6062
6085
  def update!(**args)
6063
- @limit = args[:limit] unless args[:limit].nil?
6064
- @metric = args[:metric] unless args[:metric].nil?
6065
- @usage = args[:usage] unless args[:usage].nil?
6086
+ @limit = args[:limit] if args.key?(:limit)
6087
+ @metric = args[:metric] if args.key?(:metric)
6088
+ @usage = args[:usage] if args.key?(:usage)
6066
6089
  end
6067
6090
  end
6068
6091
 
@@ -6128,16 +6151,16 @@ module Google
6128
6151
 
6129
6152
  # Update properties of this object
6130
6153
  def update!(**args)
6131
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
6132
- @deprecated = args[:deprecated] unless args[:deprecated].nil?
6133
- @description = args[:description] unless args[:description].nil?
6134
- @id = args[:id] unless args[:id].nil?
6135
- @kind = args[:kind] unless args[:kind].nil?
6136
- @name = args[:name] unless args[:name].nil?
6137
- @quotas = args[:quotas] unless args[:quotas].nil?
6138
- @self_link = args[:self_link] unless args[:self_link].nil?
6139
- @status = args[:status] unless args[:status].nil?
6140
- @zones = args[:zones] unless args[:zones].nil?
6154
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
6155
+ @deprecated = args[:deprecated] if args.key?(:deprecated)
6156
+ @description = args[:description] if args.key?(:description)
6157
+ @id = args[:id] if args.key?(:id)
6158
+ @kind = args[:kind] if args.key?(:kind)
6159
+ @name = args[:name] if args.key?(:name)
6160
+ @quotas = args[:quotas] if args.key?(:quotas)
6161
+ @self_link = args[:self_link] if args.key?(:self_link)
6162
+ @status = args[:status] if args.key?(:status)
6163
+ @zones = args[:zones] if args.key?(:zones)
6141
6164
  end
6142
6165
  end
6143
6166
 
@@ -6181,11 +6204,11 @@ module Google
6181
6204
 
6182
6205
  # Update properties of this object
6183
6206
  def update!(**args)
6184
- @id = args[:id] unless args[:id].nil?
6185
- @items = args[:items] unless args[:items].nil?
6186
- @kind = args[:kind] unless args[:kind].nil?
6187
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
6188
- @self_link = args[:self_link] unless args[:self_link].nil?
6207
+ @id = args[:id] if args.key?(:id)
6208
+ @items = args[:items] if args.key?(:items)
6209
+ @kind = args[:kind] if args.key?(:kind)
6210
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
6211
+ @self_link = args[:self_link] if args.key?(:self_link)
6189
6212
  end
6190
6213
  end
6191
6214
 
@@ -6204,23 +6227,24 @@ module Google
6204
6227
 
6205
6228
  # Update properties of this object
6206
6229
  def update!(**args)
6207
- @group = args[:group] unless args[:group].nil?
6230
+ @group = args[:group] if args.key?(:group)
6208
6231
  end
6209
6232
  end
6210
6233
 
6211
- # The route resource. A Route is a rule that specifies how certain packets
6212
- # should be handled by the virtual network. Routes are associated with instances
6213
- # by tags and the set of Routes for a particular instance is called its routing
6214
- # table. For each packet leaving a instance, the system searches that instance's
6215
- # routing table for a single best matching Route. Routes match packets by
6234
+ # Represents a Routes resource. A route specifies how certain packets should be
6235
+ # handled by the network. Routes are associated with instances by tags and the
6236
+ # set of routes for a particular instance is called its routing table.
6237
+ # For each packet leaving a instance, the system searches that instance's
6238
+ # routing table for a single best matching route. Routes match packets by
6216
6239
  # destination IP address, preferring smaller or more specific ranges over larger
6217
- # ones. If there is a tie, the system selects the Route with the smallest
6240
+ # ones. If there is a tie, the system selects the route with the smallest
6218
6241
  # priority value. If there is still a tie, it uses the layer three and four
6219
6242
  # packet headers to select just one of the remaining matching Routes. The packet
6220
- # is then forwarded as specified by the nextHop field of the winning Route --
6243
+ # is then forwarded as specified by the nextHop field of the winning route -
6221
6244
  # either to another instance destination, a instance gateway or a Google Compute
6222
- # Engien-operated gateway. Packets that do not match any Route in the sending
6223
- # instance's routing table are dropped.
6245
+ # Engine-operated gateway.
6246
+ # Packets that do not match any route in the sending instance's routing table
6247
+ # are dropped.
6224
6248
  class Route
6225
6249
  include Google::Apis::Core::Hashable
6226
6250
 
@@ -6325,22 +6349,22 @@ module Google
6325
6349
 
6326
6350
  # Update properties of this object
6327
6351
  def update!(**args)
6328
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
6329
- @description = args[:description] unless args[:description].nil?
6330
- @dest_range = args[:dest_range] unless args[:dest_range].nil?
6331
- @id = args[:id] unless args[:id].nil?
6332
- @kind = args[:kind] unless args[:kind].nil?
6333
- @name = args[:name] unless args[:name].nil?
6334
- @network = args[:network] unless args[:network].nil?
6335
- @next_hop_gateway = args[:next_hop_gateway] unless args[:next_hop_gateway].nil?
6336
- @next_hop_instance = args[:next_hop_instance] unless args[:next_hop_instance].nil?
6337
- @next_hop_ip = args[:next_hop_ip] unless args[:next_hop_ip].nil?
6338
- @next_hop_network = args[:next_hop_network] unless args[:next_hop_network].nil?
6339
- @next_hop_vpn_tunnel = args[:next_hop_vpn_tunnel] unless args[:next_hop_vpn_tunnel].nil?
6340
- @priority = args[:priority] unless args[:priority].nil?
6341
- @self_link = args[:self_link] unless args[:self_link].nil?
6342
- @tags = args[:tags] unless args[:tags].nil?
6343
- @warnings = args[:warnings] unless args[:warnings].nil?
6352
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
6353
+ @description = args[:description] if args.key?(:description)
6354
+ @dest_range = args[:dest_range] if args.key?(:dest_range)
6355
+ @id = args[:id] if args.key?(:id)
6356
+ @kind = args[:kind] if args.key?(:kind)
6357
+ @name = args[:name] if args.key?(:name)
6358
+ @network = args[:network] if args.key?(:network)
6359
+ @next_hop_gateway = args[:next_hop_gateway] if args.key?(:next_hop_gateway)
6360
+ @next_hop_instance = args[:next_hop_instance] if args.key?(:next_hop_instance)
6361
+ @next_hop_ip = args[:next_hop_ip] if args.key?(:next_hop_ip)
6362
+ @next_hop_network = args[:next_hop_network] if args.key?(:next_hop_network)
6363
+ @next_hop_vpn_tunnel = args[:next_hop_vpn_tunnel] if args.key?(:next_hop_vpn_tunnel)
6364
+ @priority = args[:priority] if args.key?(:priority)
6365
+ @self_link = args[:self_link] if args.key?(:self_link)
6366
+ @tags = args[:tags] if args.key?(:tags)
6367
+ @warnings = args[:warnings] if args.key?(:warnings)
6344
6368
  end
6345
6369
 
6346
6370
  #
@@ -6370,9 +6394,9 @@ module Google
6370
6394
 
6371
6395
  # Update properties of this object
6372
6396
  def update!(**args)
6373
- @code = args[:code] unless args[:code].nil?
6374
- @data = args[:data] unless args[:data].nil?
6375
- @message = args[:message] unless args[:message].nil?
6397
+ @code = args[:code] if args.key?(:code)
6398
+ @data = args[:data] if args.key?(:data)
6399
+ @message = args[:message] if args.key?(:message)
6376
6400
  end
6377
6401
 
6378
6402
  #
@@ -6401,8 +6425,8 @@ module Google
6401
6425
 
6402
6426
  # Update properties of this object
6403
6427
  def update!(**args)
6404
- @key = args[:key] unless args[:key].nil?
6405
- @value = args[:value] unless args[:value].nil?
6428
+ @key = args[:key] if args.key?(:key)
6429
+ @value = args[:value] if args.key?(:value)
6406
6430
  end
6407
6431
  end
6408
6432
  end
@@ -6447,11 +6471,11 @@ module Google
6447
6471
 
6448
6472
  # Update properties of this object
6449
6473
  def update!(**args)
6450
- @id = args[:id] unless args[:id].nil?
6451
- @items = args[:items] unless args[:items].nil?
6452
- @kind = args[:kind] unless args[:kind].nil?
6453
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
6454
- @self_link = args[:self_link] unless args[:self_link].nil?
6474
+ @id = args[:id] if args.key?(:id)
6475
+ @items = args[:items] if args.key?(:items)
6476
+ @kind = args[:kind] if args.key?(:kind)
6477
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
6478
+ @self_link = args[:self_link] if args.key?(:self_link)
6455
6479
  end
6456
6480
  end
6457
6481
 
@@ -6471,7 +6495,7 @@ module Google
6471
6495
  # Defines the maintenance behavior for this instance. For standard instances,
6472
6496
  # the default behavior is MIGRATE. For preemptible instances, the default and
6473
6497
  # only possible behavior is TERMINATE. For more information, see Setting
6474
- # maintenance behavior.
6498
+ # Instance Scheduling Options.
6475
6499
  # Corresponds to the JSON property `onHostMaintenance`
6476
6500
  # @return [String]
6477
6501
  attr_accessor :on_host_maintenance
@@ -6488,9 +6512,9 @@ module Google
6488
6512
 
6489
6513
  # Update properties of this object
6490
6514
  def update!(**args)
6491
- @automatic_restart = args[:automatic_restart] unless args[:automatic_restart].nil?
6492
- @on_host_maintenance = args[:on_host_maintenance] unless args[:on_host_maintenance].nil?
6493
- @preemptible = args[:preemptible] unless args[:preemptible].nil?
6515
+ @automatic_restart = args[:automatic_restart] if args.key?(:automatic_restart)
6516
+ @on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance)
6517
+ @preemptible = args[:preemptible] if args.key?(:preemptible)
6494
6518
  end
6495
6519
  end
6496
6520
 
@@ -6520,9 +6544,9 @@ module Google
6520
6544
 
6521
6545
  # Update properties of this object
6522
6546
  def update!(**args)
6523
- @contents = args[:contents] unless args[:contents].nil?
6524
- @kind = args[:kind] unless args[:kind].nil?
6525
- @self_link = args[:self_link] unless args[:self_link].nil?
6547
+ @contents = args[:contents] if args.key?(:contents)
6548
+ @kind = args[:kind] if args.key?(:kind)
6549
+ @self_link = args[:self_link] if args.key?(:self_link)
6526
6550
  end
6527
6551
  end
6528
6552
 
@@ -6546,8 +6570,8 @@ module Google
6546
6570
 
6547
6571
  # Update properties of this object
6548
6572
  def update!(**args)
6549
- @email = args[:email] unless args[:email].nil?
6550
- @scopes = args[:scopes] unless args[:scopes].nil?
6573
+ @email = args[:email] if args.key?(:email)
6574
+ @scopes = args[:scopes] if args.key?(:scopes)
6551
6575
  end
6552
6576
  end
6553
6577
 
@@ -6583,7 +6607,9 @@ module Google
6583
6607
  # @return [String]
6584
6608
  attr_accessor :kind
6585
6609
 
6586
- # Public visible licenses.
6610
+ # [Output Only] A list of public visible licenses that apply to this snapshot.
6611
+ # This can be because the original image had licenses attached (such as a
6612
+ # Windows image).
6587
6613
  # Corresponds to the JSON property `licenses`
6588
6614
  # @return [Array<String>]
6589
6615
  attr_accessor :licenses
@@ -6625,7 +6651,8 @@ module Google
6625
6651
  # @return [String]
6626
6652
  attr_accessor :source_disk_id
6627
6653
 
6628
- # [Output Only] The status of the snapshot.
6654
+ # [Output Only] The status of the snapshot. This can be CREATING, DELETING,
6655
+ # FAILED, READY, or UPLOADING.
6629
6656
  # Corresponds to the JSON property `status`
6630
6657
  # @return [String]
6631
6658
  attr_accessor :status
@@ -6638,7 +6665,9 @@ module Google
6638
6665
  attr_accessor :storage_bytes
6639
6666
 
6640
6667
  # [Output Only] An indicator whether storageBytes is in a stable state or it is
6641
- # being adjusted as a result of shared storage reallocation.
6668
+ # being adjusted as a result of shared storage reallocation. This status can
6669
+ # either be UPDATING, meaning the size of the snapshot is being updated, or
6670
+ # UP_TO_DATE, meaning the size of the snapshot is up-to-date.
6642
6671
  # Corresponds to the JSON property `storageBytesStatus`
6643
6672
  # @return [String]
6644
6673
  attr_accessor :storage_bytes_status
@@ -6649,21 +6678,21 @@ module Google
6649
6678
 
6650
6679
  # Update properties of this object
6651
6680
  def update!(**args)
6652
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
6653
- @description = args[:description] unless args[:description].nil?
6654
- @disk_size_gb = args[:disk_size_gb] unless args[:disk_size_gb].nil?
6655
- @id = args[:id] unless args[:id].nil?
6656
- @kind = args[:kind] unless args[:kind].nil?
6657
- @licenses = args[:licenses] unless args[:licenses].nil?
6658
- @name = args[:name] unless args[:name].nil?
6659
- @self_link = args[:self_link] unless args[:self_link].nil?
6660
- @snapshot_encryption_key = args[:snapshot_encryption_key] unless args[:snapshot_encryption_key].nil?
6661
- @source_disk = args[:source_disk] unless args[:source_disk].nil?
6662
- @source_disk_encryption_key = args[:source_disk_encryption_key] unless args[:source_disk_encryption_key].nil?
6663
- @source_disk_id = args[:source_disk_id] unless args[:source_disk_id].nil?
6664
- @status = args[:status] unless args[:status].nil?
6665
- @storage_bytes = args[:storage_bytes] unless args[:storage_bytes].nil?
6666
- @storage_bytes_status = args[:storage_bytes_status] unless args[:storage_bytes_status].nil?
6681
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
6682
+ @description = args[:description] if args.key?(:description)
6683
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
6684
+ @id = args[:id] if args.key?(:id)
6685
+ @kind = args[:kind] if args.key?(:kind)
6686
+ @licenses = args[:licenses] if args.key?(:licenses)
6687
+ @name = args[:name] if args.key?(:name)
6688
+ @self_link = args[:self_link] if args.key?(:self_link)
6689
+ @snapshot_encryption_key = args[:snapshot_encryption_key] if args.key?(:snapshot_encryption_key)
6690
+ @source_disk = args[:source_disk] if args.key?(:source_disk)
6691
+ @source_disk_encryption_key = args[:source_disk_encryption_key] if args.key?(:source_disk_encryption_key)
6692
+ @source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
6693
+ @status = args[:status] if args.key?(:status)
6694
+ @storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
6695
+ @storage_bytes_status = args[:storage_bytes_status] if args.key?(:storage_bytes_status)
6667
6696
  end
6668
6697
  end
6669
6698
 
@@ -6707,11 +6736,11 @@ module Google
6707
6736
 
6708
6737
  # Update properties of this object
6709
6738
  def update!(**args)
6710
- @id = args[:id] unless args[:id].nil?
6711
- @items = args[:items] unless args[:items].nil?
6712
- @kind = args[:kind] unless args[:kind].nil?
6713
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
6714
- @self_link = args[:self_link] unless args[:self_link].nil?
6739
+ @id = args[:id] if args.key?(:id)
6740
+ @items = args[:items] if args.key?(:items)
6741
+ @kind = args[:kind] if args.key?(:kind)
6742
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
6743
+ @self_link = args[:self_link] if args.key?(:self_link)
6715
6744
  end
6716
6745
  end
6717
6746
 
@@ -6778,14 +6807,14 @@ module Google
6778
6807
 
6779
6808
  # Update properties of this object
6780
6809
  def update!(**args)
6781
- @certificate = args[:certificate] unless args[:certificate].nil?
6782
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
6783
- @description = args[:description] unless args[:description].nil?
6784
- @id = args[:id] unless args[:id].nil?
6785
- @kind = args[:kind] unless args[:kind].nil?
6786
- @name = args[:name] unless args[:name].nil?
6787
- @private_key = args[:private_key] unless args[:private_key].nil?
6788
- @self_link = args[:self_link] unless args[:self_link].nil?
6810
+ @certificate = args[:certificate] if args.key?(:certificate)
6811
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
6812
+ @description = args[:description] if args.key?(:description)
6813
+ @id = args[:id] if args.key?(:id)
6814
+ @kind = args[:kind] if args.key?(:kind)
6815
+ @name = args[:name] if args.key?(:name)
6816
+ @private_key = args[:private_key] if args.key?(:private_key)
6817
+ @self_link = args[:self_link] if args.key?(:self_link)
6789
6818
  end
6790
6819
  end
6791
6820
 
@@ -6828,11 +6857,11 @@ module Google
6828
6857
 
6829
6858
  # Update properties of this object
6830
6859
  def update!(**args)
6831
- @id = args[:id] unless args[:id].nil?
6832
- @items = args[:items] unless args[:items].nil?
6833
- @kind = args[:kind] unless args[:kind].nil?
6834
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
6835
- @self_link = args[:self_link] unless args[:self_link].nil?
6860
+ @id = args[:id] if args.key?(:id)
6861
+ @items = args[:items] if args.key?(:items)
6862
+ @kind = args[:kind] if args.key?(:kind)
6863
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
6864
+ @self_link = args[:self_link] if args.key?(:self_link)
6836
6865
  end
6837
6866
  end
6838
6867
 
@@ -6909,16 +6938,16 @@ module Google
6909
6938
 
6910
6939
  # Update properties of this object
6911
6940
  def update!(**args)
6912
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
6913
- @description = args[:description] unless args[:description].nil?
6914
- @gateway_address = args[:gateway_address] unless args[:gateway_address].nil?
6915
- @id = args[:id] unless args[:id].nil?
6916
- @ip_cidr_range = args[:ip_cidr_range] unless args[:ip_cidr_range].nil?
6917
- @kind = args[:kind] unless args[:kind].nil?
6918
- @name = args[:name] unless args[:name].nil?
6919
- @network = args[:network] unless args[:network].nil?
6920
- @region = args[:region] unless args[:region].nil?
6921
- @self_link = args[:self_link] unless args[:self_link].nil?
6941
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
6942
+ @description = args[:description] if args.key?(:description)
6943
+ @gateway_address = args[:gateway_address] if args.key?(:gateway_address)
6944
+ @id = args[:id] if args.key?(:id)
6945
+ @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
6946
+ @kind = args[:kind] if args.key?(:kind)
6947
+ @name = args[:name] if args.key?(:name)
6948
+ @network = args[:network] if args.key?(:network)
6949
+ @region = args[:region] if args.key?(:region)
6950
+ @self_link = args[:self_link] if args.key?(:self_link)
6922
6951
  end
6923
6952
  end
6924
6953
 
@@ -6963,11 +6992,11 @@ module Google
6963
6992
 
6964
6993
  # Update properties of this object
6965
6994
  def update!(**args)
6966
- @id = args[:id] unless args[:id].nil?
6967
- @items = args[:items] unless args[:items].nil?
6968
- @kind = args[:kind] unless args[:kind].nil?
6969
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
6970
- @self_link = args[:self_link] unless args[:self_link].nil?
6995
+ @id = args[:id] if args.key?(:id)
6996
+ @items = args[:items] if args.key?(:items)
6997
+ @kind = args[:kind] if args.key?(:kind)
6998
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
6999
+ @self_link = args[:self_link] if args.key?(:self_link)
6971
7000
  end
6972
7001
  end
6973
7002
 
@@ -7012,11 +7041,11 @@ module Google
7012
7041
 
7013
7042
  # Update properties of this object
7014
7043
  def update!(**args)
7015
- @id = args[:id] unless args[:id].nil?
7016
- @items = args[:items] unless args[:items].nil?
7017
- @kind = args[:kind] unless args[:kind].nil?
7018
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
7019
- @self_link = args[:self_link] unless args[:self_link].nil?
7044
+ @id = args[:id] if args.key?(:id)
7045
+ @items = args[:items] if args.key?(:items)
7046
+ @kind = args[:kind] if args.key?(:kind)
7047
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
7048
+ @self_link = args[:self_link] if args.key?(:self_link)
7020
7049
  end
7021
7050
  end
7022
7051
 
@@ -7040,8 +7069,8 @@ module Google
7040
7069
 
7041
7070
  # Update properties of this object
7042
7071
  def update!(**args)
7043
- @subnetworks = args[:subnetworks] unless args[:subnetworks].nil?
7044
- @warning = args[:warning] unless args[:warning].nil?
7072
+ @subnetworks = args[:subnetworks] if args.key?(:subnetworks)
7073
+ @warning = args[:warning] if args.key?(:warning)
7045
7074
  end
7046
7075
 
7047
7076
  # An informational warning that appears when the list of addresses is empty.
@@ -7071,9 +7100,9 @@ module Google
7071
7100
 
7072
7101
  # Update properties of this object
7073
7102
  def update!(**args)
7074
- @code = args[:code] unless args[:code].nil?
7075
- @data = args[:data] unless args[:data].nil?
7076
- @message = args[:message] unless args[:message].nil?
7103
+ @code = args[:code] if args.key?(:code)
7104
+ @data = args[:data] if args.key?(:data)
7105
+ @message = args[:message] if args.key?(:message)
7077
7106
  end
7078
7107
 
7079
7108
  #
@@ -7102,8 +7131,8 @@ module Google
7102
7131
 
7103
7132
  # Update properties of this object
7104
7133
  def update!(**args)
7105
- @key = args[:key] unless args[:key].nil?
7106
- @value = args[:value] unless args[:value].nil?
7134
+ @key = args[:key] if args.key?(:key)
7135
+ @value = args[:value] if args.key?(:value)
7107
7136
  end
7108
7137
  end
7109
7138
  end
@@ -7135,8 +7164,8 @@ module Google
7135
7164
 
7136
7165
  # Update properties of this object
7137
7166
  def update!(**args)
7138
- @fingerprint = args[:fingerprint] unless args[:fingerprint].nil?
7139
- @items = args[:items] unless args[:items].nil?
7167
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
7168
+ @items = args[:items] if args.key?(:items)
7140
7169
  end
7141
7170
  end
7142
7171
 
@@ -7194,13 +7223,13 @@ module Google
7194
7223
 
7195
7224
  # Update properties of this object
7196
7225
  def update!(**args)
7197
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
7198
- @description = args[:description] unless args[:description].nil?
7199
- @id = args[:id] unless args[:id].nil?
7200
- @kind = args[:kind] unless args[:kind].nil?
7201
- @name = args[:name] unless args[:name].nil?
7202
- @self_link = args[:self_link] unless args[:self_link].nil?
7203
- @url_map = args[:url_map] unless args[:url_map].nil?
7226
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
7227
+ @description = args[:description] if args.key?(:description)
7228
+ @id = args[:id] if args.key?(:id)
7229
+ @kind = args[:kind] if args.key?(:kind)
7230
+ @name = args[:name] if args.key?(:name)
7231
+ @self_link = args[:self_link] if args.key?(:self_link)
7232
+ @url_map = args[:url_map] if args.key?(:url_map)
7204
7233
  end
7205
7234
  end
7206
7235
 
@@ -7219,7 +7248,7 @@ module Google
7219
7248
  # @return [Array<Google::Apis::ComputeBeta::TargetHttpProxy>]
7220
7249
  attr_accessor :items
7221
7250
 
7222
- # Type of resource. Always compute#targetHttpProxyList for lists of Target HTTP
7251
+ # Type of resource. Always compute#targetHttpProxyList for lists of target HTTP
7223
7252
  # proxies.
7224
7253
  # Corresponds to the JSON property `kind`
7225
7254
  # @return [String]
@@ -7245,11 +7274,11 @@ module Google
7245
7274
 
7246
7275
  # Update properties of this object
7247
7276
  def update!(**args)
7248
- @id = args[:id] unless args[:id].nil?
7249
- @items = args[:items] unless args[:items].nil?
7250
- @kind = args[:kind] unless args[:kind].nil?
7251
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
7252
- @self_link = args[:self_link] unless args[:self_link].nil?
7277
+ @id = args[:id] if args.key?(:id)
7278
+ @items = args[:items] if args.key?(:items)
7279
+ @kind = args[:kind] if args.key?(:kind)
7280
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
7281
+ @self_link = args[:self_link] if args.key?(:self_link)
7253
7282
  end
7254
7283
  end
7255
7284
 
@@ -7258,7 +7287,7 @@ module Google
7258
7287
  include Google::Apis::Core::Hashable
7259
7288
 
7260
7289
  # New set of URLs to SslCertificate resources to associate with this
7261
- # TargetHttpProxy. Currently exactly one ssl certificate must be specified.
7290
+ # TargetHttpProxy. Currently exactly one SSL certificate must be specified.
7262
7291
  # Corresponds to the JSON property `sslCertificates`
7263
7292
  # @return [Array<String>]
7264
7293
  attr_accessor :ssl_certificates
@@ -7269,7 +7298,7 @@ module Google
7269
7298
 
7270
7299
  # Update properties of this object
7271
7300
  def update!(**args)
7272
- @ssl_certificates = args[:ssl_certificates] unless args[:ssl_certificates].nil?
7301
+ @ssl_certificates = args[:ssl_certificates] if args.key?(:ssl_certificates)
7273
7302
  end
7274
7303
  end
7275
7304
 
@@ -7316,14 +7345,18 @@ module Google
7316
7345
  attr_accessor :self_link
7317
7346
 
7318
7347
  # URLs to SslCertificate resources that are used to authenticate connections
7319
- # between users and the load balancer. Currently exactly one SSL certificate
7348
+ # between users and the load balancer. Currently, exactly one SSL certificate
7320
7349
  # must be specified.
7321
7350
  # Corresponds to the JSON property `sslCertificates`
7322
7351
  # @return [Array<String>]
7323
7352
  attr_accessor :ssl_certificates
7324
7353
 
7325
- # URL to the UrlMap resource that defines the mapping from URL to the
7326
- # BackendService.
7354
+ # A fully-qualified or valid partial URL to the UrlMap resource that defines the
7355
+ # mapping from URL to the BackendService. For example, the following are all
7356
+ # valid URLs for specifying a URL map:
7357
+ # - https://www.googleapis.compute/v1/projects/project/global/urlMaps/url-map
7358
+ # - projects/project/global/urlMaps/url-map
7359
+ # - global/urlMaps/url-map
7327
7360
  # Corresponds to the JSON property `urlMap`
7328
7361
  # @return [String]
7329
7362
  attr_accessor :url_map
@@ -7334,14 +7367,14 @@ module Google
7334
7367
 
7335
7368
  # Update properties of this object
7336
7369
  def update!(**args)
7337
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
7338
- @description = args[:description] unless args[:description].nil?
7339
- @id = args[:id] unless args[:id].nil?
7340
- @kind = args[:kind] unless args[:kind].nil?
7341
- @name = args[:name] unless args[:name].nil?
7342
- @self_link = args[:self_link] unless args[:self_link].nil?
7343
- @ssl_certificates = args[:ssl_certificates] unless args[:ssl_certificates].nil?
7344
- @url_map = args[:url_map] unless args[:url_map].nil?
7370
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
7371
+ @description = args[:description] if args.key?(:description)
7372
+ @id = args[:id] if args.key?(:id)
7373
+ @kind = args[:kind] if args.key?(:kind)
7374
+ @name = args[:name] if args.key?(:name)
7375
+ @self_link = args[:self_link] if args.key?(:self_link)
7376
+ @ssl_certificates = args[:ssl_certificates] if args.key?(:ssl_certificates)
7377
+ @url_map = args[:url_map] if args.key?(:url_map)
7345
7378
  end
7346
7379
  end
7347
7380
 
@@ -7385,11 +7418,11 @@ module Google
7385
7418
 
7386
7419
  # Update properties of this object
7387
7420
  def update!(**args)
7388
- @id = args[:id] unless args[:id].nil?
7389
- @items = args[:items] unless args[:items].nil?
7390
- @kind = args[:kind] unless args[:kind].nil?
7391
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
7392
- @self_link = args[:self_link] unless args[:self_link].nil?
7421
+ @id = args[:id] if args.key?(:id)
7422
+ @items = args[:items] if args.key?(:items)
7423
+ @kind = args[:kind] if args.key?(:kind)
7424
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
7425
+ @self_link = args[:self_link] if args.key?(:self_link)
7393
7426
  end
7394
7427
  end
7395
7428
 
@@ -7415,7 +7448,14 @@ module Google
7415
7448
  # @return [String]
7416
7449
  attr_accessor :id
7417
7450
 
7418
- # The URL to the instance that terminates the relevant traffic.
7451
+ # A URL to the virtual machine instance that handles traffic for this target
7452
+ # instance. When creating a target instance, you can provide the fully-qualified
7453
+ # URL or a valid partial URL to the desired virtual machine. For example, the
7454
+ # following are all valid URLs:
7455
+ # - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
7456
+ # instance
7457
+ # - projects/project/zones/zone/instances/instance
7458
+ # - zones/zone/instances/instance
7419
7459
  # Corresponds to the JSON property `instance`
7420
7460
  # @return [String]
7421
7461
  attr_accessor :instance
@@ -7458,15 +7498,15 @@ module Google
7458
7498
 
7459
7499
  # Update properties of this object
7460
7500
  def update!(**args)
7461
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
7462
- @description = args[:description] unless args[:description].nil?
7463
- @id = args[:id] unless args[:id].nil?
7464
- @instance = args[:instance] unless args[:instance].nil?
7465
- @kind = args[:kind] unless args[:kind].nil?
7466
- @name = args[:name] unless args[:name].nil?
7467
- @nat_policy = args[:nat_policy] unless args[:nat_policy].nil?
7468
- @self_link = args[:self_link] unless args[:self_link].nil?
7469
- @zone = args[:zone] unless args[:zone].nil?
7501
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
7502
+ @description = args[:description] if args.key?(:description)
7503
+ @id = args[:id] if args.key?(:id)
7504
+ @instance = args[:instance] if args.key?(:instance)
7505
+ @kind = args[:kind] if args.key?(:kind)
7506
+ @name = args[:name] if args.key?(:name)
7507
+ @nat_policy = args[:nat_policy] if args.key?(:nat_policy)
7508
+ @self_link = args[:self_link] if args.key?(:self_link)
7509
+ @zone = args[:zone] if args.key?(:zone)
7470
7510
  end
7471
7511
  end
7472
7512
 
@@ -7509,11 +7549,11 @@ module Google
7509
7549
 
7510
7550
  # Update properties of this object
7511
7551
  def update!(**args)
7512
- @id = args[:id] unless args[:id].nil?
7513
- @items = args[:items] unless args[:items].nil?
7514
- @kind = args[:kind] unless args[:kind].nil?
7515
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
7516
- @self_link = args[:self_link] unless args[:self_link].nil?
7552
+ @id = args[:id] if args.key?(:id)
7553
+ @items = args[:items] if args.key?(:items)
7554
+ @kind = args[:kind] if args.key?(:kind)
7555
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
7556
+ @self_link = args[:self_link] if args.key?(:self_link)
7517
7557
  end
7518
7558
  end
7519
7559
 
@@ -7557,11 +7597,11 @@ module Google
7557
7597
 
7558
7598
  # Update properties of this object
7559
7599
  def update!(**args)
7560
- @id = args[:id] unless args[:id].nil?
7561
- @items = args[:items] unless args[:items].nil?
7562
- @kind = args[:kind] unless args[:kind].nil?
7563
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
7564
- @self_link = args[:self_link] unless args[:self_link].nil?
7600
+ @id = args[:id] if args.key?(:id)
7601
+ @items = args[:items] if args.key?(:items)
7602
+ @kind = args[:kind] if args.key?(:kind)
7603
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
7604
+ @self_link = args[:self_link] if args.key?(:self_link)
7565
7605
  end
7566
7606
  end
7567
7607
 
@@ -7586,8 +7626,8 @@ module Google
7586
7626
 
7587
7627
  # Update properties of this object
7588
7628
  def update!(**args)
7589
- @target_instances = args[:target_instances] unless args[:target_instances].nil?
7590
- @warning = args[:warning] unless args[:warning].nil?
7629
+ @target_instances = args[:target_instances] if args.key?(:target_instances)
7630
+ @warning = args[:warning] if args.key?(:warning)
7591
7631
  end
7592
7632
 
7593
7633
  # Informational warning which replaces the list of addresses when the list is
@@ -7618,9 +7658,9 @@ module Google
7618
7658
 
7619
7659
  # Update properties of this object
7620
7660
  def update!(**args)
7621
- @code = args[:code] unless args[:code].nil?
7622
- @data = args[:data] unless args[:data].nil?
7623
- @message = args[:message] unless args[:message].nil?
7661
+ @code = args[:code] if args.key?(:code)
7662
+ @data = args[:data] if args.key?(:data)
7663
+ @message = args[:message] if args.key?(:message)
7624
7664
  end
7625
7665
 
7626
7666
  #
@@ -7649,15 +7689,15 @@ module Google
7649
7689
 
7650
7690
  # Update properties of this object
7651
7691
  def update!(**args)
7652
- @key = args[:key] unless args[:key].nil?
7653
- @value = args[:value] unless args[:value].nil?
7692
+ @key = args[:key] if args.key?(:key)
7693
+ @value = args[:value] if args.key?(:value)
7654
7694
  end
7655
7695
  end
7656
7696
  end
7657
7697
  end
7658
7698
 
7659
7699
  # A TargetPool resource. This resource defines a pool of instances, associated
7660
- # HttpHealthCheck resources, and the fallback TargetPool.
7700
+ # HttpHealthCheck resources, and the fallback target pool.
7661
7701
  class TargetPool
7662
7702
  include Google::Apis::Core::Hashable
7663
7703
 
@@ -7716,8 +7756,8 @@ module Google
7716
7756
  # @return [String]
7717
7757
  attr_accessor :id
7718
7758
 
7719
- # A list of resource URLs to the member virtual machines serving this pool. They
7720
- # must live in zones contained in the same region as this pool.
7759
+ # A list of resource URLs to the virtual machine instances serving this pool.
7760
+ # They must live in zones contained in the same region as this pool.
7721
7761
  # Corresponds to the JSON property `instances`
7722
7762
  # @return [Array<String>]
7723
7763
  attr_accessor :instances
@@ -7763,18 +7803,18 @@ module Google
7763
7803
 
7764
7804
  # Update properties of this object
7765
7805
  def update!(**args)
7766
- @backup_pool = args[:backup_pool] unless args[:backup_pool].nil?
7767
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
7768
- @description = args[:description] unless args[:description].nil?
7769
- @failover_ratio = args[:failover_ratio] unless args[:failover_ratio].nil?
7770
- @health_checks = args[:health_checks] unless args[:health_checks].nil?
7771
- @id = args[:id] unless args[:id].nil?
7772
- @instances = args[:instances] unless args[:instances].nil?
7773
- @kind = args[:kind] unless args[:kind].nil?
7774
- @name = args[:name] unless args[:name].nil?
7775
- @region = args[:region] unless args[:region].nil?
7776
- @self_link = args[:self_link] unless args[:self_link].nil?
7777
- @session_affinity = args[:session_affinity] unless args[:session_affinity].nil?
7806
+ @backup_pool = args[:backup_pool] if args.key?(:backup_pool)
7807
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
7808
+ @description = args[:description] if args.key?(:description)
7809
+ @failover_ratio = args[:failover_ratio] if args.key?(:failover_ratio)
7810
+ @health_checks = args[:health_checks] if args.key?(:health_checks)
7811
+ @id = args[:id] if args.key?(:id)
7812
+ @instances = args[:instances] if args.key?(:instances)
7813
+ @kind = args[:kind] if args.key?(:kind)
7814
+ @name = args[:name] if args.key?(:name)
7815
+ @region = args[:region] if args.key?(:region)
7816
+ @self_link = args[:self_link] if args.key?(:self_link)
7817
+ @session_affinity = args[:session_affinity] if args.key?(:session_affinity)
7778
7818
  end
7779
7819
  end
7780
7820
 
@@ -7787,12 +7827,13 @@ module Google
7787
7827
  # @return [String]
7788
7828
  attr_accessor :id
7789
7829
 
7790
- # A map of scoped target pool lists.
7830
+ # [Output Only] A map of scoped target pool lists.
7791
7831
  # Corresponds to the JSON property `items`
7792
7832
  # @return [Hash<String,Google::Apis::ComputeBeta::TargetPoolsScopedList>]
7793
7833
  attr_accessor :items
7794
7834
 
7795
- # Type of resource.
7835
+ # [Output Only] Type of resource. Always compute#targetPoolAggregatedList for
7836
+ # aggregated lists of target pools.
7796
7837
  # Corresponds to the JSON property `kind`
7797
7838
  # @return [String]
7798
7839
  attr_accessor :kind
@@ -7817,11 +7858,11 @@ module Google
7817
7858
 
7818
7859
  # Update properties of this object
7819
7860
  def update!(**args)
7820
- @id = args[:id] unless args[:id].nil?
7821
- @items = args[:items] unless args[:items].nil?
7822
- @kind = args[:kind] unless args[:kind].nil?
7823
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
7824
- @self_link = args[:self_link] unless args[:self_link].nil?
7861
+ @id = args[:id] if args.key?(:id)
7862
+ @items = args[:items] if args.key?(:items)
7863
+ @kind = args[:kind] if args.key?(:kind)
7864
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
7865
+ @self_link = args[:self_link] if args.key?(:self_link)
7825
7866
  end
7826
7867
  end
7827
7868
 
@@ -7834,7 +7875,8 @@ module Google
7834
7875
  # @return [Array<Google::Apis::ComputeBeta::HealthStatus>]
7835
7876
  attr_accessor :health_status
7836
7877
 
7837
- # Type of resource.
7878
+ # [Output Only] Type of resource. Always compute#targetPoolInstanceHealth when
7879
+ # checking the health of an instance.
7838
7880
  # Corresponds to the JSON property `kind`
7839
7881
  # @return [String]
7840
7882
  attr_accessor :kind
@@ -7845,8 +7887,8 @@ module Google
7845
7887
 
7846
7888
  # Update properties of this object
7847
7889
  def update!(**args)
7848
- @health_status = args[:health_status] unless args[:health_status].nil?
7849
- @kind = args[:kind] unless args[:kind].nil?
7890
+ @health_status = args[:health_status] if args.key?(:health_status)
7891
+ @kind = args[:kind] if args.key?(:kind)
7850
7892
  end
7851
7893
  end
7852
7894
 
@@ -7864,7 +7906,8 @@ module Google
7864
7906
  # @return [Array<Google::Apis::ComputeBeta::TargetPool>]
7865
7907
  attr_accessor :items
7866
7908
 
7867
- # Type of resource.
7909
+ # [Output Only] Type of resource. Always compute#targetPoolList for lists of
7910
+ # target pools.
7868
7911
  # Corresponds to the JSON property `kind`
7869
7912
  # @return [String]
7870
7913
  attr_accessor :kind
@@ -7889,11 +7932,11 @@ module Google
7889
7932
 
7890
7933
  # Update properties of this object
7891
7934
  def update!(**args)
7892
- @id = args[:id] unless args[:id].nil?
7893
- @items = args[:items] unless args[:items].nil?
7894
- @kind = args[:kind] unless args[:kind].nil?
7895
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
7896
- @self_link = args[:self_link] unless args[:self_link].nil?
7935
+ @id = args[:id] if args.key?(:id)
7936
+ @items = args[:items] if args.key?(:items)
7937
+ @kind = args[:kind] if args.key?(:kind)
7938
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
7939
+ @self_link = args[:self_link] if args.key?(:self_link)
7897
7940
  end
7898
7941
  end
7899
7942
 
@@ -7901,7 +7944,7 @@ module Google
7901
7944
  class AddTargetPoolsHealthCheckRequest
7902
7945
  include Google::Apis::Core::Hashable
7903
7946
 
7904
- # Health check URLs to be added to targetPool.
7947
+ # A list of HttpHealthCheck resources to add to the target pool.
7905
7948
  # Corresponds to the JSON property `healthChecks`
7906
7949
  # @return [Array<Google::Apis::ComputeBeta::HealthCheckReference>]
7907
7950
  attr_accessor :health_checks
@@ -7912,7 +7955,7 @@ module Google
7912
7955
 
7913
7956
  # Update properties of this object
7914
7957
  def update!(**args)
7915
- @health_checks = args[:health_checks] unless args[:health_checks].nil?
7958
+ @health_checks = args[:health_checks] if args.key?(:health_checks)
7916
7959
  end
7917
7960
  end
7918
7961
 
@@ -7920,7 +7963,12 @@ module Google
7920
7963
  class AddTargetPoolsInstanceRequest
7921
7964
  include Google::Apis::Core::Hashable
7922
7965
 
7923
- # URLs of the instances to be added to targetPool.
7966
+ # A full or partial URL to an instance to add to this target pool. This can be a
7967
+ # full or partial URL. For example, the following are valid URLs:
7968
+ # - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone/
7969
+ # instances/instance-name
7970
+ # - projects/project-id/zones/zone/instances/instance-name
7971
+ # - zones/zone/instances/instance-name
7924
7972
  # Corresponds to the JSON property `instances`
7925
7973
  # @return [Array<Google::Apis::ComputeBeta::InstanceReference>]
7926
7974
  attr_accessor :instances
@@ -7931,7 +7979,7 @@ module Google
7931
7979
 
7932
7980
  # Update properties of this object
7933
7981
  def update!(**args)
7934
- @instances = args[:instances] unless args[:instances].nil?
7982
+ @instances = args[:instances] if args.key?(:instances)
7935
7983
  end
7936
7984
  end
7937
7985
 
@@ -7939,7 +7987,12 @@ module Google
7939
7987
  class RemoveTargetPoolsHealthCheckRequest
7940
7988
  include Google::Apis::Core::Hashable
7941
7989
 
7942
- # Health check URLs to be removed from targetPool.
7990
+ # Health check URL to be removed. This can be a full or valid partial URL. For
7991
+ # example, the following are valid URLs:
7992
+ # - https://www.googleapis.com/compute/beta/projects/project/global/
7993
+ # httpHealthChecks/health-check
7994
+ # - projects/project/global/httpHealthChecks/health-check
7995
+ # - global/httpHealthChecks/health-check
7943
7996
  # Corresponds to the JSON property `healthChecks`
7944
7997
  # @return [Array<Google::Apis::ComputeBeta::HealthCheckReference>]
7945
7998
  attr_accessor :health_checks
@@ -7950,7 +8003,7 @@ module Google
7950
8003
 
7951
8004
  # Update properties of this object
7952
8005
  def update!(**args)
7953
- @health_checks = args[:health_checks] unless args[:health_checks].nil?
8006
+ @health_checks = args[:health_checks] if args.key?(:health_checks)
7954
8007
  end
7955
8008
  end
7956
8009
 
@@ -7958,7 +8011,7 @@ module Google
7958
8011
  class RemoveTargetPoolsInstanceRequest
7959
8012
  include Google::Apis::Core::Hashable
7960
8013
 
7961
- # URLs of the instances to be removed from targetPool.
8014
+ # URLs of the instances to be removed from target pool.
7962
8015
  # Corresponds to the JSON property `instances`
7963
8016
  # @return [Array<Google::Apis::ComputeBeta::InstanceReference>]
7964
8017
  attr_accessor :instances
@@ -7969,7 +8022,7 @@ module Google
7969
8022
 
7970
8023
  # Update properties of this object
7971
8024
  def update!(**args)
7972
- @instances = args[:instances] unless args[:instances].nil?
8025
+ @instances = args[:instances] if args.key?(:instances)
7973
8026
  end
7974
8027
  end
7975
8028
 
@@ -7994,8 +8047,8 @@ module Google
7994
8047
 
7995
8048
  # Update properties of this object
7996
8049
  def update!(**args)
7997
- @target_pools = args[:target_pools] unless args[:target_pools].nil?
7998
- @warning = args[:warning] unless args[:warning].nil?
8050
+ @target_pools = args[:target_pools] if args.key?(:target_pools)
8051
+ @warning = args[:warning] if args.key?(:warning)
7999
8052
  end
8000
8053
 
8001
8054
  # Informational warning which replaces the list of addresses when the list is
@@ -8026,9 +8079,9 @@ module Google
8026
8079
 
8027
8080
  # Update properties of this object
8028
8081
  def update!(**args)
8029
- @code = args[:code] unless args[:code].nil?
8030
- @data = args[:data] unless args[:data].nil?
8031
- @message = args[:message] unless args[:message].nil?
8082
+ @code = args[:code] if args.key?(:code)
8083
+ @data = args[:data] if args.key?(:data)
8084
+ @message = args[:message] if args.key?(:message)
8032
8085
  end
8033
8086
 
8034
8087
  #
@@ -8057,8 +8110,8 @@ module Google
8057
8110
 
8058
8111
  # Update properties of this object
8059
8112
  def update!(**args)
8060
- @key = args[:key] unless args[:key].nil?
8061
- @value = args[:value] unless args[:value].nil?
8113
+ @key = args[:key] if args.key?(:key)
8114
+ @value = args[:value] if args.key?(:value)
8062
8115
  end
8063
8116
  end
8064
8117
  end
@@ -8079,11 +8132,11 @@ module Google
8079
8132
 
8080
8133
  # Update properties of this object
8081
8134
  def update!(**args)
8082
- @target = args[:target] unless args[:target].nil?
8135
+ @target = args[:target] if args.key?(:target)
8083
8136
  end
8084
8137
  end
8085
8138
 
8086
- #
8139
+ # Represents a Target VPN gateway resource.
8087
8140
  class TargetVpnGateway
8088
8141
  include Google::Apis::Core::Hashable
8089
8142
 
@@ -8149,7 +8202,7 @@ module Google
8149
8202
  attr_accessor :status
8150
8203
 
8151
8204
  # [Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created
8152
- # using compute.vpntunnels.insert and associated to a VPN gateway.
8205
+ # using compute.vpntunnels.insert method and associated to a VPN gateway.
8153
8206
  # Corresponds to the JSON property `tunnels`
8154
8207
  # @return [Array<String>]
8155
8208
  attr_accessor :tunnels
@@ -8160,17 +8213,17 @@ module Google
8160
8213
 
8161
8214
  # Update properties of this object
8162
8215
  def update!(**args)
8163
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
8164
- @description = args[:description] unless args[:description].nil?
8165
- @forwarding_rules = args[:forwarding_rules] unless args[:forwarding_rules].nil?
8166
- @id = args[:id] unless args[:id].nil?
8167
- @kind = args[:kind] unless args[:kind].nil?
8168
- @name = args[:name] unless args[:name].nil?
8169
- @network = args[:network] unless args[:network].nil?
8170
- @region = args[:region] unless args[:region].nil?
8171
- @self_link = args[:self_link] unless args[:self_link].nil?
8172
- @status = args[:status] unless args[:status].nil?
8173
- @tunnels = args[:tunnels] unless args[:tunnels].nil?
8216
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
8217
+ @description = args[:description] if args.key?(:description)
8218
+ @forwarding_rules = args[:forwarding_rules] if args.key?(:forwarding_rules)
8219
+ @id = args[:id] if args.key?(:id)
8220
+ @kind = args[:kind] if args.key?(:kind)
8221
+ @name = args[:name] if args.key?(:name)
8222
+ @network = args[:network] if args.key?(:network)
8223
+ @region = args[:region] if args.key?(:region)
8224
+ @self_link = args[:self_link] if args.key?(:self_link)
8225
+ @status = args[:status] if args.key?(:status)
8226
+ @tunnels = args[:tunnels] if args.key?(:tunnels)
8174
8227
  end
8175
8228
  end
8176
8229
 
@@ -8215,11 +8268,11 @@ module Google
8215
8268
 
8216
8269
  # Update properties of this object
8217
8270
  def update!(**args)
8218
- @id = args[:id] unless args[:id].nil?
8219
- @items = args[:items] unless args[:items].nil?
8220
- @kind = args[:kind] unless args[:kind].nil?
8221
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
8222
- @self_link = args[:self_link] unless args[:self_link].nil?
8271
+ @id = args[:id] if args.key?(:id)
8272
+ @items = args[:items] if args.key?(:items)
8273
+ @kind = args[:kind] if args.key?(:kind)
8274
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
8275
+ @self_link = args[:self_link] if args.key?(:self_link)
8223
8276
  end
8224
8277
  end
8225
8278
 
@@ -8264,11 +8317,11 @@ module Google
8264
8317
 
8265
8318
  # Update properties of this object
8266
8319
  def update!(**args)
8267
- @id = args[:id] unless args[:id].nil?
8268
- @items = args[:items] unless args[:items].nil?
8269
- @kind = args[:kind] unless args[:kind].nil?
8270
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
8271
- @self_link = args[:self_link] unless args[:self_link].nil?
8320
+ @id = args[:id] if args.key?(:id)
8321
+ @items = args[:items] if args.key?(:items)
8322
+ @kind = args[:kind] if args.key?(:kind)
8323
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
8324
+ @self_link = args[:self_link] if args.key?(:self_link)
8272
8325
  end
8273
8326
  end
8274
8327
 
@@ -8293,8 +8346,8 @@ module Google
8293
8346
 
8294
8347
  # Update properties of this object
8295
8348
  def update!(**args)
8296
- @target_vpn_gateways = args[:target_vpn_gateways] unless args[:target_vpn_gateways].nil?
8297
- @warning = args[:warning] unless args[:warning].nil?
8349
+ @target_vpn_gateways = args[:target_vpn_gateways] if args.key?(:target_vpn_gateways)
8350
+ @warning = args[:warning] if args.key?(:warning)
8298
8351
  end
8299
8352
 
8300
8353
  # [Output Only] Informational warning which replaces the list of addresses when
@@ -8325,9 +8378,9 @@ module Google
8325
8378
 
8326
8379
  # Update properties of this object
8327
8380
  def update!(**args)
8328
- @code = args[:code] unless args[:code].nil?
8329
- @data = args[:data] unless args[:data].nil?
8330
- @message = args[:message] unless args[:message].nil?
8381
+ @code = args[:code] if args.key?(:code)
8382
+ @data = args[:data] if args.key?(:data)
8383
+ @message = args[:message] if args.key?(:message)
8331
8384
  end
8332
8385
 
8333
8386
  #
@@ -8356,8 +8409,8 @@ module Google
8356
8409
 
8357
8410
  # Update properties of this object
8358
8411
  def update!(**args)
8359
- @key = args[:key] unless args[:key].nil?
8360
- @value = args[:value] unless args[:value].nil?
8412
+ @key = args[:key] if args.key?(:key)
8413
+ @value = args[:value] if args.key?(:value)
8361
8414
  end
8362
8415
  end
8363
8416
  end
@@ -8393,10 +8446,10 @@ module Google
8393
8446
 
8394
8447
  # Update properties of this object
8395
8448
  def update!(**args)
8396
- @actual_service = args[:actual_service] unless args[:actual_service].nil?
8397
- @expected_service = args[:expected_service] unless args[:expected_service].nil?
8398
- @host = args[:host] unless args[:host].nil?
8399
- @path = args[:path] unless args[:path].nil?
8449
+ @actual_service = args[:actual_service] if args.key?(:actual_service)
8450
+ @expected_service = args[:expected_service] if args.key?(:expected_service)
8451
+ @host = args[:host] if args.key?(:host)
8452
+ @path = args[:path] if args.key?(:path)
8400
8453
  end
8401
8454
  end
8402
8455
 
@@ -8478,17 +8531,17 @@ module Google
8478
8531
 
8479
8532
  # Update properties of this object
8480
8533
  def update!(**args)
8481
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
8482
- @default_service = args[:default_service] unless args[:default_service].nil?
8483
- @description = args[:description] unless args[:description].nil?
8484
- @fingerprint = args[:fingerprint] unless args[:fingerprint].nil?
8485
- @host_rules = args[:host_rules] unless args[:host_rules].nil?
8486
- @id = args[:id] unless args[:id].nil?
8487
- @kind = args[:kind] unless args[:kind].nil?
8488
- @name = args[:name] unless args[:name].nil?
8489
- @path_matchers = args[:path_matchers] unless args[:path_matchers].nil?
8490
- @self_link = args[:self_link] unless args[:self_link].nil?
8491
- @tests = args[:tests] unless args[:tests].nil?
8534
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
8535
+ @default_service = args[:default_service] if args.key?(:default_service)
8536
+ @description = args[:description] if args.key?(:description)
8537
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
8538
+ @host_rules = args[:host_rules] if args.key?(:host_rules)
8539
+ @id = args[:id] if args.key?(:id)
8540
+ @kind = args[:kind] if args.key?(:kind)
8541
+ @name = args[:name] if args.key?(:name)
8542
+ @path_matchers = args[:path_matchers] if args.key?(:path_matchers)
8543
+ @self_link = args[:self_link] if args.key?(:self_link)
8544
+ @tests = args[:tests] if args.key?(:tests)
8492
8545
  end
8493
8546
  end
8494
8547
 
@@ -8531,11 +8584,11 @@ module Google
8531
8584
 
8532
8585
  # Update properties of this object
8533
8586
  def update!(**args)
8534
- @id = args[:id] unless args[:id].nil?
8535
- @items = args[:items] unless args[:items].nil?
8536
- @kind = args[:kind] unless args[:kind].nil?
8537
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
8538
- @self_link = args[:self_link] unless args[:self_link].nil?
8587
+ @id = args[:id] if args.key?(:id)
8588
+ @items = args[:items] if args.key?(:items)
8589
+ @kind = args[:kind] if args.key?(:kind)
8590
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
8591
+ @self_link = args[:self_link] if args.key?(:self_link)
8539
8592
  end
8540
8593
  end
8541
8594
 
@@ -8554,7 +8607,7 @@ module Google
8554
8607
 
8555
8608
  # Update properties of this object
8556
8609
  def update!(**args)
8557
- @url_map = args[:url_map] unless args[:url_map].nil?
8610
+ @url_map = args[:url_map] if args.key?(:url_map)
8558
8611
  end
8559
8612
  end
8560
8613
 
@@ -8588,10 +8641,10 @@ module Google
8588
8641
 
8589
8642
  # Update properties of this object
8590
8643
  def update!(**args)
8591
- @description = args[:description] unless args[:description].nil?
8592
- @host = args[:host] unless args[:host].nil?
8593
- @path = args[:path] unless args[:path].nil?
8594
- @service = args[:service] unless args[:service].nil?
8644
+ @description = args[:description] if args.key?(:description)
8645
+ @host = args[:host] if args.key?(:host)
8646
+ @path = args[:path] if args.key?(:path)
8647
+ @service = args[:service] if args.key?(:service)
8595
8648
  end
8596
8649
  end
8597
8650
 
@@ -8629,10 +8682,10 @@ module Google
8629
8682
 
8630
8683
  # Update properties of this object
8631
8684
  def update!(**args)
8632
- @load_errors = args[:load_errors] unless args[:load_errors].nil?
8633
- @load_succeeded = args[:load_succeeded] unless args[:load_succeeded].nil?
8634
- @test_failures = args[:test_failures] unless args[:test_failures].nil?
8635
- @test_passed = args[:test_passed] unless args[:test_passed].nil?
8685
+ @load_errors = args[:load_errors] if args.key?(:load_errors)
8686
+ @load_succeeded = args[:load_succeeded] if args.key?(:load_succeeded)
8687
+ @test_failures = args[:test_failures] if args.key?(:test_failures)
8688
+ @test_passed = args[:test_passed] if args.key?(:test_passed)
8636
8689
  end
8637
8690
  end
8638
8691
 
@@ -8653,7 +8706,7 @@ module Google
8653
8706
 
8654
8707
  # Update properties of this object
8655
8708
  def update!(**args)
8656
- @resource = args[:resource] unless args[:resource].nil?
8709
+ @resource = args[:resource] if args.key?(:resource)
8657
8710
  end
8658
8711
  end
8659
8712
 
@@ -8672,7 +8725,7 @@ module Google
8672
8725
 
8673
8726
  # Update properties of this object
8674
8727
  def update!(**args)
8675
- @result = args[:result] unless args[:result].nil?
8728
+ @result = args[:result] if args.key?(:result)
8676
8729
  end
8677
8730
  end
8678
8731
 
@@ -8705,8 +8758,8 @@ module Google
8705
8758
 
8706
8759
  # Update properties of this object
8707
8760
  def update!(**args)
8708
- @bucket_name = args[:bucket_name] unless args[:bucket_name].nil?
8709
- @report_name_prefix = args[:report_name_prefix] unless args[:report_name_prefix].nil?
8761
+ @bucket_name = args[:bucket_name] if args.key?(:bucket_name)
8762
+ @report_name_prefix = args[:report_name_prefix] if args.key?(:report_name_prefix)
8710
8763
  end
8711
8764
  end
8712
8765
 
@@ -8747,9 +8800,9 @@ module Google
8747
8800
  # @return [String]
8748
8801
  attr_accessor :kind
8749
8802
 
8750
- # IKE networks to use when establishing the VPN tunnel with peer VPN gateway.
8751
- # The value should be a CIDR formatted string, for example: 192.168.0.0/16. The
8752
- # ranges should be disjoint.
8803
+ # Local traffic selector to use when establishing the VPN tunnel with peer VPN
8804
+ # gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/
8805
+ # 16. The ranges should be disjoint.
8753
8806
  # Corresponds to the JSON property `localTrafficSelector`
8754
8807
  # @return [Array<String>]
8755
8808
  attr_accessor :local_traffic_selector
@@ -8807,21 +8860,21 @@ module Google
8807
8860
 
8808
8861
  # Update properties of this object
8809
8862
  def update!(**args)
8810
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
8811
- @description = args[:description] unless args[:description].nil?
8812
- @detailed_status = args[:detailed_status] unless args[:detailed_status].nil?
8813
- @id = args[:id] unless args[:id].nil?
8814
- @ike_version = args[:ike_version] unless args[:ike_version].nil?
8815
- @kind = args[:kind] unless args[:kind].nil?
8816
- @local_traffic_selector = args[:local_traffic_selector] unless args[:local_traffic_selector].nil?
8817
- @name = args[:name] unless args[:name].nil?
8818
- @peer_ip = args[:peer_ip] unless args[:peer_ip].nil?
8819
- @region = args[:region] unless args[:region].nil?
8820
- @self_link = args[:self_link] unless args[:self_link].nil?
8821
- @shared_secret = args[:shared_secret] unless args[:shared_secret].nil?
8822
- @shared_secret_hash = args[:shared_secret_hash] unless args[:shared_secret_hash].nil?
8823
- @status = args[:status] unless args[:status].nil?
8824
- @target_vpn_gateway = args[:target_vpn_gateway] unless args[:target_vpn_gateway].nil?
8863
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
8864
+ @description = args[:description] if args.key?(:description)
8865
+ @detailed_status = args[:detailed_status] if args.key?(:detailed_status)
8866
+ @id = args[:id] if args.key?(:id)
8867
+ @ike_version = args[:ike_version] if args.key?(:ike_version)
8868
+ @kind = args[:kind] if args.key?(:kind)
8869
+ @local_traffic_selector = args[:local_traffic_selector] if args.key?(:local_traffic_selector)
8870
+ @name = args[:name] if args.key?(:name)
8871
+ @peer_ip = args[:peer_ip] if args.key?(:peer_ip)
8872
+ @region = args[:region] if args.key?(:region)
8873
+ @self_link = args[:self_link] if args.key?(:self_link)
8874
+ @shared_secret = args[:shared_secret] if args.key?(:shared_secret)
8875
+ @shared_secret_hash = args[:shared_secret_hash] if args.key?(:shared_secret_hash)
8876
+ @status = args[:status] if args.key?(:status)
8877
+ @target_vpn_gateway = args[:target_vpn_gateway] if args.key?(:target_vpn_gateway)
8825
8878
  end
8826
8879
  end
8827
8880
 
@@ -8865,11 +8918,11 @@ module Google
8865
8918
 
8866
8919
  # Update properties of this object
8867
8920
  def update!(**args)
8868
- @id = args[:id] unless args[:id].nil?
8869
- @items = args[:items] unless args[:items].nil?
8870
- @kind = args[:kind] unless args[:kind].nil?
8871
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
8872
- @self_link = args[:self_link] unless args[:self_link].nil?
8921
+ @id = args[:id] if args.key?(:id)
8922
+ @items = args[:items] if args.key?(:items)
8923
+ @kind = args[:kind] if args.key?(:kind)
8924
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
8925
+ @self_link = args[:self_link] if args.key?(:self_link)
8873
8926
  end
8874
8927
  end
8875
8928
 
@@ -8913,11 +8966,11 @@ module Google
8913
8966
 
8914
8967
  # Update properties of this object
8915
8968
  def update!(**args)
8916
- @id = args[:id] unless args[:id].nil?
8917
- @items = args[:items] unless args[:items].nil?
8918
- @kind = args[:kind] unless args[:kind].nil?
8919
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
8920
- @self_link = args[:self_link] unless args[:self_link].nil?
8969
+ @id = args[:id] if args.key?(:id)
8970
+ @items = args[:items] if args.key?(:items)
8971
+ @kind = args[:kind] if args.key?(:kind)
8972
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
8973
+ @self_link = args[:self_link] if args.key?(:self_link)
8921
8974
  end
8922
8975
  end
8923
8976
 
@@ -8942,8 +8995,8 @@ module Google
8942
8995
 
8943
8996
  # Update properties of this object
8944
8997
  def update!(**args)
8945
- @vpn_tunnels = args[:vpn_tunnels] unless args[:vpn_tunnels].nil?
8946
- @warning = args[:warning] unless args[:warning].nil?
8998
+ @vpn_tunnels = args[:vpn_tunnels] if args.key?(:vpn_tunnels)
8999
+ @warning = args[:warning] if args.key?(:warning)
8947
9000
  end
8948
9001
 
8949
9002
  # Informational warning which replaces the list of addresses when the list is
@@ -8974,9 +9027,9 @@ module Google
8974
9027
 
8975
9028
  # Update properties of this object
8976
9029
  def update!(**args)
8977
- @code = args[:code] unless args[:code].nil?
8978
- @data = args[:data] unless args[:data].nil?
8979
- @message = args[:message] unless args[:message].nil?
9030
+ @code = args[:code] if args.key?(:code)
9031
+ @data = args[:data] if args.key?(:data)
9032
+ @message = args[:message] if args.key?(:message)
8980
9033
  end
8981
9034
 
8982
9035
  #
@@ -9005,8 +9058,8 @@ module Google
9005
9058
 
9006
9059
  # Update properties of this object
9007
9060
  def update!(**args)
9008
- @key = args[:key] unless args[:key].nil?
9009
- @value = args[:value] unless args[:value].nil?
9061
+ @key = args[:key] if args.key?(:key)
9062
+ @value = args[:value] if args.key?(:value)
9010
9063
  end
9011
9064
  end
9012
9065
  end
@@ -9075,16 +9128,16 @@ module Google
9075
9128
 
9076
9129
  # Update properties of this object
9077
9130
  def update!(**args)
9078
- @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
9079
- @deprecated = args[:deprecated] unless args[:deprecated].nil?
9080
- @description = args[:description] unless args[:description].nil?
9081
- @id = args[:id] unless args[:id].nil?
9082
- @kind = args[:kind] unless args[:kind].nil?
9083
- @maintenance_windows = args[:maintenance_windows] unless args[:maintenance_windows].nil?
9084
- @name = args[:name] unless args[:name].nil?
9085
- @region = args[:region] unless args[:region].nil?
9086
- @self_link = args[:self_link] unless args[:self_link].nil?
9087
- @status = args[:status] unless args[:status].nil?
9131
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
9132
+ @deprecated = args[:deprecated] if args.key?(:deprecated)
9133
+ @description = args[:description] if args.key?(:description)
9134
+ @id = args[:id] if args.key?(:id)
9135
+ @kind = args[:kind] if args.key?(:kind)
9136
+ @maintenance_windows = args[:maintenance_windows] if args.key?(:maintenance_windows)
9137
+ @name = args[:name] if args.key?(:name)
9138
+ @region = args[:region] if args.key?(:region)
9139
+ @self_link = args[:self_link] if args.key?(:self_link)
9140
+ @status = args[:status] if args.key?(:status)
9088
9141
  end
9089
9142
 
9090
9143
  #
@@ -9117,10 +9170,10 @@ module Google
9117
9170
 
9118
9171
  # Update properties of this object
9119
9172
  def update!(**args)
9120
- @begin_time = args[:begin_time] unless args[:begin_time].nil?
9121
- @description = args[:description] unless args[:description].nil?
9122
- @end_time = args[:end_time] unless args[:end_time].nil?
9123
- @name = args[:name] unless args[:name].nil?
9173
+ @begin_time = args[:begin_time] if args.key?(:begin_time)
9174
+ @description = args[:description] if args.key?(:description)
9175
+ @end_time = args[:end_time] if args.key?(:end_time)
9176
+ @name = args[:name] if args.key?(:name)
9124
9177
  end
9125
9178
  end
9126
9179
  end
@@ -9164,11 +9217,11 @@ module Google
9164
9217
 
9165
9218
  # Update properties of this object
9166
9219
  def update!(**args)
9167
- @id = args[:id] unless args[:id].nil?
9168
- @items = args[:items] unless args[:items].nil?
9169
- @kind = args[:kind] unless args[:kind].nil?
9170
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
9171
- @self_link = args[:self_link] unless args[:self_link].nil?
9220
+ @id = args[:id] if args.key?(:id)
9221
+ @items = args[:items] if args.key?(:items)
9222
+ @kind = args[:kind] if args.key?(:kind)
9223
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
9224
+ @self_link = args[:self_link] if args.key?(:self_link)
9172
9225
  end
9173
9226
  end
9174
9227
  end