google-api-client 0.9.20 → 0.9.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +8 -4
  3. data/api_names.yaml +33179 -1058
  4. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  5. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +24 -6
  7. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +2 -0
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +14 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +2 -0
  11. data/generated/google/apis/adsense_v1_4.rb +1 -1
  12. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  13. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  14. data/generated/google/apis/analyticsreporting_v4/classes.rb +7 -0
  15. data/generated/google/apis/analyticsreporting_v4/representations.rb +1 -0
  16. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  17. data/generated/google/apis/androidenterprise_v1/classes.rb +96 -156
  18. data/generated/google/apis/androidenterprise_v1/representations.rb +18 -47
  19. data/generated/google/apis/androidenterprise_v1/service.rb +15 -459
  20. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  21. data/generated/google/apis/androidpublisher_v2/classes.rb +176 -0
  22. data/generated/google/apis/androidpublisher_v2/representations.rb +62 -0
  23. data/generated/google/apis/androidpublisher_v2/service.rb +60 -2
  24. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  25. data/generated/google/apis/appengine_v1beta5/classes.rb +300 -198
  26. data/generated/google/apis/appengine_v1beta5/representations.rb +36 -0
  27. data/generated/google/apis/appengine_v1beta5/service.rb +54 -49
  28. data/generated/google/apis/appsactivity_v1.rb +1 -1
  29. data/generated/google/apis/appstate_v1.rb +1 -1
  30. data/generated/google/apis/bigquery_v2.rb +1 -1
  31. data/generated/google/apis/bigquery_v2/classes.rb +50 -6
  32. data/generated/google/apis/bigquery_v2/representations.rb +5 -0
  33. data/generated/google/apis/books_v1.rb +1 -1
  34. data/generated/google/apis/books_v1/classes.rb +7 -2
  35. data/generated/google/apis/books_v1/representations.rb +1 -0
  36. data/generated/google/apis/calendar_v3.rb +1 -1
  37. data/generated/google/apis/classroom_v1.rb +1 -1
  38. data/generated/google/apis/classroom_v1/classes.rb +74 -74
  39. data/generated/google/apis/classroom_v1/representations.rb +29 -29
  40. data/generated/google/apis/classroom_v1/service.rb +132 -28
  41. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  42. data/generated/google/apis/cloudbuild_v1/classes.rb +47 -27
  43. data/generated/google/apis/cloudbuild_v1/representations.rb +20 -7
  44. data/generated/google/apis/cloudbuild_v1/service.rb +42 -0
  45. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  46. data/generated/google/apis/clouddebugger_v2/classes.rb +648 -578
  47. data/generated/google/apis/clouddebugger_v2/representations.rb +140 -140
  48. data/generated/google/apis/clouddebugger_v2/service.rb +161 -155
  49. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  50. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +563 -423
  51. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +116 -76
  52. data/generated/google/apis/cloudresourcemanager_v1/service.rb +318 -249
  53. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  54. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +396 -331
  55. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +79 -79
  56. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +317 -281
  57. data/generated/google/apis/compute_beta.rb +1 -1
  58. data/generated/google/apis/compute_beta/classes.rb +352 -80
  59. data/generated/google/apis/compute_beta/representations.rb +132 -19
  60. data/generated/google/apis/compute_beta/service.rb +214 -0
  61. data/generated/google/apis/compute_v1.rb +1 -1
  62. data/generated/google/apis/compute_v1/classes.rb +673 -73
  63. data/generated/google/apis/compute_v1/representations.rb +274 -9
  64. data/generated/google/apis/compute_v1/service.rb +1574 -2
  65. data/generated/google/apis/content_v2.rb +1 -1
  66. data/generated/google/apis/content_v2/classes.rb +7 -8
  67. data/generated/google/apis/content_v2/service.rb +125 -54
  68. data/generated/google/apis/dataflow_v1b3.rb +2 -3
  69. data/generated/google/apis/dataflow_v1b3/classes.rb +286 -114
  70. data/generated/google/apis/dataflow_v1b3/representations.rb +73 -0
  71. data/generated/google/apis/dataflow_v1b3/service.rb +37 -38
  72. data/generated/google/apis/datastore_v1.rb +1 -1
  73. data/generated/google/apis/datastore_v1/classes.rb +5 -0
  74. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  75. data/generated/google/apis/deploymentmanager_v2/classes.rb +37 -5
  76. data/generated/google/apis/deploymentmanager_v2/representations.rb +16 -0
  77. data/generated/google/apis/deploymentmanager_v2/service.rb +4 -1
  78. data/generated/google/apis/dns_v1.rb +1 -1
  79. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  80. data/generated/google/apis/drive_v2.rb +1 -1
  81. data/generated/google/apis/drive_v2/classes.rb +55 -21
  82. data/generated/google/apis/drive_v2/representations.rb +2 -0
  83. data/generated/google/apis/drive_v3.rb +1 -1
  84. data/generated/google/apis/drive_v3/classes.rb +41 -12
  85. data/generated/google/apis/drive_v3/representations.rb +2 -0
  86. data/generated/google/apis/fitness_v1.rb +31 -1
  87. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  88. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  89. data/generated/google/apis/games_management_v1management.rb +1 -1
  90. data/generated/google/apis/games_v1.rb +1 -1
  91. data/generated/google/apis/gmail_v1.rb +1 -1
  92. data/generated/google/apis/gmail_v1/classes.rb +32 -1
  93. data/generated/google/apis/gmail_v1/representations.rb +15 -0
  94. data/generated/google/apis/gmail_v1/service.rb +41 -2
  95. data/generated/google/apis/identitytoolkit_v3.rb +4 -1
  96. data/generated/google/apis/identitytoolkit_v3/classes.rb +7 -0
  97. data/generated/google/apis/identitytoolkit_v3/representations.rb +1 -0
  98. data/generated/google/apis/kgsearch_v1.rb +2 -3
  99. data/generated/google/apis/kgsearch_v1/classes.rb +10 -10
  100. data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
  101. data/generated/google/apis/kgsearch_v1/service.rb +28 -26
  102. data/generated/google/apis/language_v1beta1.rb +1 -1
  103. data/generated/google/apis/language_v1beta1/classes.rb +166 -8
  104. data/generated/google/apis/language_v1beta1/representations.rb +50 -0
  105. data/generated/google/apis/language_v1beta1/service.rb +32 -0
  106. data/generated/google/apis/logging_v2beta1.rb +6 -6
  107. data/generated/google/apis/logging_v2beta1/classes.rb +868 -789
  108. data/generated/google/apis/logging_v2beta1/representations.rb +179 -147
  109. data/generated/google/apis/logging_v2beta1/service.rb +378 -211
  110. data/generated/google/apis/monitoring_v3.rb +1 -1
  111. data/generated/google/apis/monitoring_v3/classes.rb +110 -112
  112. data/generated/google/apis/monitoring_v3/service.rb +68 -73
  113. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  114. data/generated/google/apis/plus_domains_v1.rb +1 -1
  115. data/generated/google/apis/plus_v1.rb +1 -1
  116. data/generated/google/apis/pubsub_v1.rb +1 -1
  117. data/generated/google/apis/pubsub_v1/classes.rb +380 -327
  118. data/generated/google/apis/pubsub_v1/representations.rb +79 -79
  119. data/generated/google/apis/pubsub_v1/service.rb +424 -396
  120. data/generated/google/apis/sheets_v4.rb +1 -1
  121. data/generated/google/apis/sheets_v4/classes.rb +175 -53
  122. data/generated/google/apis/sheets_v4/representations.rb +48 -13
  123. data/generated/google/apis/site_verification_v1.rb +1 -1
  124. data/generated/google/apis/slides_v1.rb +1 -1
  125. data/generated/google/apis/slides_v1/classes.rb +149 -31
  126. data/generated/google/apis/slides_v1/representations.rb +52 -9
  127. data/generated/google/apis/slides_v1/service.rb +5 -5
  128. data/generated/google/apis/speech_v1beta1.rb +1 -1
  129. data/generated/google/apis/speech_v1beta1/service.rb +3 -1
  130. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  131. data/generated/google/apis/sqladmin_v1beta4/classes.rb +54 -2
  132. data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -0
  133. data/generated/google/apis/sqladmin_v1beta4/service.rb +41 -0
  134. data/generated/google/apis/storage_v1.rb +1 -1
  135. data/generated/google/apis/storage_v1/classes.rb +7 -0
  136. data/generated/google/apis/storage_v1/representations.rb +2 -0
  137. data/generated/google/apis/tagmanager_v1.rb +5 -5
  138. data/generated/google/apis/vision_v1.rb +1 -1
  139. data/generated/google/apis/vision_v1/classes.rb +63 -59
  140. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  141. data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
  142. data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
  143. data/generated/google/apis/youtube_analytics_v1/service.rb +0 -76
  144. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  145. data/generated/google/apis/youtube_partner_v1/classes.rb +71 -0
  146. data/generated/google/apis/youtube_partner_v1/representations.rb +33 -0
  147. data/generated/google/apis/youtube_partner_v1/service.rb +52 -0
  148. data/generated/google/apis/youtube_v3.rb +1 -1
  149. data/generated/google/apis/youtube_v3/classes.rb +15 -2
  150. data/generated/google/apis/youtube_v3/representations.rb +3 -0
  151. data/generated/google/apis/youtube_v3/service.rb +4 -4
  152. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  153. data/generated/google/apis/youtubereporting_v1/classes.rb +146 -137
  154. data/generated/google/apis/youtubereporting_v1/representations.rb +33 -33
  155. data/generated/google/apis/youtubereporting_v1/service.rb +149 -145
  156. data/lib/google/apis/version.rb +1 -1
  157. data/samples/cli/lib/samples/calendar.rb +1 -1
  158. data/samples/cli/lib/samples/gmail.rb +74 -0
  159. metadata +29 -29
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeV1
27
27
  VERSION = 'V1'
28
- REVISION = '20161019'
28
+ REVISION = '20170118'
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'
@@ -69,7 +69,8 @@ module Google
69
69
  class Address
70
70
  include Google::Apis::Core::Hashable
71
71
 
72
- # The static external IP address represented by this resource.
72
+ # The static external IP address represented by this resource. Only IPv4 is
73
+ # supported.
73
74
  # Corresponds to the JSON property `address`
74
75
  # @return [String]
75
76
  attr_accessor :address
@@ -1122,6 +1123,11 @@ module Google
1122
1123
  # @return [String]
1123
1124
  attr_accessor :kind
1124
1125
 
1126
+ #
1127
+ # Corresponds to the JSON property `loadBalancingScheme`
1128
+ # @return [String]
1129
+ attr_accessor :load_balancing_scheme
1130
+
1125
1131
  # Name of the resource. Provided by the client when the resource is created. The
1126
1132
  # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
1127
1133
  # name must be 1-63 characters long and match the regular expression [a-z]([-a-
@@ -1198,6 +1204,7 @@ module Google
1198
1204
  @health_checks = args[:health_checks] if args.key?(:health_checks)
1199
1205
  @id = args[:id] if args.key?(:id)
1200
1206
  @kind = args[:kind] if args.key?(:kind)
1207
+ @load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
1201
1208
  @name = args[:name] if args.key?(:name)
1202
1209
  @port = args[:port] if args.key?(:port)
1203
1210
  @port_name = args[:port_name] if args.key?(:port_name)
@@ -1209,6 +1216,49 @@ module Google
1209
1216
  end
1210
1217
  end
1211
1218
 
1219
+ # Contains a list of BackendServicesScopedList.
1220
+ class BackendServiceAggregatedList
1221
+ include Google::Apis::Core::Hashable
1222
+
1223
+ # [Output Only] Unique identifier for the resource; defined by the server.
1224
+ # Corresponds to the JSON property `id`
1225
+ # @return [String]
1226
+ attr_accessor :id
1227
+
1228
+ # A map of scoped BackendService lists.
1229
+ # Corresponds to the JSON property `items`
1230
+ # @return [Hash<String,Google::Apis::ComputeV1::BackendServicesScopedList>]
1231
+ attr_accessor :items
1232
+
1233
+ # Type of resource.
1234
+ # Corresponds to the JSON property `kind`
1235
+ # @return [String]
1236
+ attr_accessor :kind
1237
+
1238
+ # [Output Only] A token used to continue a truncated list request.
1239
+ # Corresponds to the JSON property `nextPageToken`
1240
+ # @return [String]
1241
+ attr_accessor :next_page_token
1242
+
1243
+ # [Output Only] Server-defined URL for this resource.
1244
+ # Corresponds to the JSON property `selfLink`
1245
+ # @return [String]
1246
+ attr_accessor :self_link
1247
+
1248
+ def initialize(**args)
1249
+ update!(**args)
1250
+ end
1251
+
1252
+ # Update properties of this object
1253
+ def update!(**args)
1254
+ @id = args[:id] if args.key?(:id)
1255
+ @items = args[:items] if args.key?(:items)
1256
+ @kind = args[:kind] if args.key?(:kind)
1257
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1258
+ @self_link = args[:self_link] if args.key?(:self_link)
1259
+ end
1260
+ end
1261
+
1212
1262
  #
1213
1263
  class BackendServiceGroupHealth
1214
1264
  include Google::Apis::Core::Hashable
@@ -1279,10 +1329,107 @@ module Google
1279
1329
  end
1280
1330
  end
1281
1331
 
1332
+ #
1333
+ class BackendServicesScopedList
1334
+ include Google::Apis::Core::Hashable
1335
+
1336
+ # List of BackendServices contained in this scope.
1337
+ # Corresponds to the JSON property `backendServices`
1338
+ # @return [Array<Google::Apis::ComputeV1::BackendService>]
1339
+ attr_accessor :backend_services
1340
+
1341
+ # Informational warning which replaces the list of backend services when the
1342
+ # list is empty.
1343
+ # Corresponds to the JSON property `warning`
1344
+ # @return [Google::Apis::ComputeV1::BackendServicesScopedList::Warning]
1345
+ attr_accessor :warning
1346
+
1347
+ def initialize(**args)
1348
+ update!(**args)
1349
+ end
1350
+
1351
+ # Update properties of this object
1352
+ def update!(**args)
1353
+ @backend_services = args[:backend_services] if args.key?(:backend_services)
1354
+ @warning = args[:warning] if args.key?(:warning)
1355
+ end
1356
+
1357
+ # Informational warning which replaces the list of backend services when the
1358
+ # list is empty.
1359
+ class Warning
1360
+ include Google::Apis::Core::Hashable
1361
+
1362
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
1363
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
1364
+ # Corresponds to the JSON property `code`
1365
+ # @return [String]
1366
+ attr_accessor :code
1367
+
1368
+ # [Output Only] Metadata about this warning in key: value format. For example:
1369
+ # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
1370
+ # Corresponds to the JSON property `data`
1371
+ # @return [Array<Google::Apis::ComputeV1::BackendServicesScopedList::Warning::Datum>]
1372
+ attr_accessor :data
1373
+
1374
+ # [Output Only] A human-readable description of the warning code.
1375
+ # Corresponds to the JSON property `message`
1376
+ # @return [String]
1377
+ attr_accessor :message
1378
+
1379
+ def initialize(**args)
1380
+ update!(**args)
1381
+ end
1382
+
1383
+ # Update properties of this object
1384
+ def update!(**args)
1385
+ @code = args[:code] if args.key?(:code)
1386
+ @data = args[:data] if args.key?(:data)
1387
+ @message = args[:message] if args.key?(:message)
1388
+ end
1389
+
1390
+ #
1391
+ class Datum
1392
+ include Google::Apis::Core::Hashable
1393
+
1394
+ # [Output Only] A key that provides more detail on the warning being returned.
1395
+ # For example, for warnings where there are no results in a list request for a
1396
+ # particular zone, this key might be scope and the key value might be the zone
1397
+ # name. Other examples might be a key indicating a deprecated resource and a
1398
+ # suggested replacement, or a warning about invalid network settings (for
1399
+ # example, if an instance attempts to perform IP forwarding but is not enabled
1400
+ # for IP forwarding).
1401
+ # Corresponds to the JSON property `key`
1402
+ # @return [String]
1403
+ attr_accessor :key
1404
+
1405
+ # [Output Only] A warning data value corresponding to the key.
1406
+ # Corresponds to the JSON property `value`
1407
+ # @return [String]
1408
+ attr_accessor :value
1409
+
1410
+ def initialize(**args)
1411
+ update!(**args)
1412
+ end
1413
+
1414
+ # Update properties of this object
1415
+ def update!(**args)
1416
+ @key = args[:key] if args.key?(:key)
1417
+ @value = args[:value] if args.key?(:value)
1418
+ end
1419
+ end
1420
+ end
1421
+ end
1422
+
1282
1423
  #
1283
1424
  class CacheInvalidationRule
1284
1425
  include Google::Apis::Core::Hashable
1285
1426
 
1427
+ # If set, this invalidation rule will only apply to requests with a Host header
1428
+ # matching host.
1429
+ # Corresponds to the JSON property `host`
1430
+ # @return [String]
1431
+ attr_accessor :host
1432
+
1286
1433
  #
1287
1434
  # Corresponds to the JSON property `path`
1288
1435
  # @return [String]
@@ -1294,6 +1441,7 @@ module Google
1294
1441
 
1295
1442
  # Update properties of this object
1296
1443
  def update!(**args)
1444
+ @host = args[:host] if args.key?(:host)
1297
1445
  @path = args[:path] if args.key?(:path)
1298
1446
  end
1299
1447
  end
@@ -2181,7 +2329,7 @@ module Google
2181
2329
  # properties are set, the firewall will apply to traffic that has source IP
2182
2330
  # address within sourceRanges OR the source IP that belongs to a tag listed in
2183
2331
  # the sourceTags property. The connection does not need to match both properties
2184
- # for the firewall to apply.
2332
+ # for the firewall to apply. Only IPv4 is supported.
2185
2333
  # Corresponds to the JSON property `sourceRanges`
2186
2334
  # @return [Array<String>]
2187
2335
  attr_accessor :source_ranges
@@ -2321,7 +2469,7 @@ module Google
2321
2469
  # address belonging to the network/subnetwork configured for the forwarding rule.
2322
2470
  # A reserved address cannot be used. If the field is empty, the IP address will
2323
2471
  # be automatically allocated from the internal IP range of the subnetwork or
2324
- # network configured for this forwarding rule.
2472
+ # network configured for this forwarding rule. Only IPv4 is supported.
2325
2473
  # Corresponds to the JSON property `IPAddress`
2326
2474
  # @return [String]
2327
2475
  attr_accessor :ip_address
@@ -2333,6 +2481,13 @@ module Google
2333
2481
  # @return [String]
2334
2482
  attr_accessor :ip_protocol
2335
2483
 
2484
+ # This field is not used for external load balancing.
2485
+ # For internal load balancing, this field identifies the BackendService resource
2486
+ # to receive the matched traffic.
2487
+ # Corresponds to the JSON property `backendService`
2488
+ # @return [String]
2489
+ attr_accessor :backend_service
2490
+
2336
2491
  # [Output Only] Creation timestamp in RFC3339 text format.
2337
2492
  # Corresponds to the JSON property `creationTimestamp`
2338
2493
  # @return [String]
@@ -2356,6 +2511,15 @@ module Google
2356
2511
  # @return [String]
2357
2512
  attr_accessor :kind
2358
2513
 
2514
+ # This signifies what the ForwardingRule will be used for and can only take the
2515
+ # following values: INTERNAL EXTERNAL The value of INTERNAL means that this will
2516
+ # be used for Internal Network Load Balancing (TCP, UDP). The value of EXTERNAL
2517
+ # means that this will be used for External Load Balancing (HTTP(S) LB, External
2518
+ # TCP/UDP LB, SSL Proxy)
2519
+ # Corresponds to the JSON property `loadBalancingScheme`
2520
+ # @return [String]
2521
+ attr_accessor :load_balancing_scheme
2522
+
2359
2523
  # Name of the resource; provided by the client when the resource is created. The
2360
2524
  # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
2361
2525
  # name must be 1-63 characters long and match the regular expression [a-z]([-a-
@@ -2366,6 +2530,14 @@ module Google
2366
2530
  # @return [String]
2367
2531
  attr_accessor :name
2368
2532
 
2533
+ # This field is not used for external load balancing.
2534
+ # For internal load balancing, this field identifies the network that the load
2535
+ # balanced IP should belong to for this Forwarding Rule. If this field is not
2536
+ # specified, the default network will be used.
2537
+ # Corresponds to the JSON property `network`
2538
+ # @return [String]
2539
+ attr_accessor :network
2540
+
2369
2541
  # Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets addressed
2370
2542
  # to ports in the specified range will be forwarded to target. Forwarding rules
2371
2543
  # with the same [IPAddress, IPProtocol] pair must have disjoint port ranges.
@@ -2374,6 +2546,16 @@ module Google
2374
2546
  # @return [String]
2375
2547
  attr_accessor :port_range
2376
2548
 
2549
+ # This field is not used for external load balancing.
2550
+ # When the load balancing scheme is INTERNAL, a single port or a comma separated
2551
+ # list of ports can be configured. Only packets addressed to these ports will be
2552
+ # forwarded to the backends configured with this forwarding rule. If the port
2553
+ # list is not provided then all ports are allowed to pass through.
2554
+ # You may specify a maximum of up to 5 ports.
2555
+ # Corresponds to the JSON property `ports`
2556
+ # @return [Array<String>]
2557
+ attr_accessor :ports
2558
+
2377
2559
  # [Output Only] URL of the region where the regional forwarding rule resides.
2378
2560
  # This field is not applicable to global forwarding rules.
2379
2561
  # Corresponds to the JSON property `region`
@@ -2385,6 +2567,16 @@ module Google
2385
2567
  # @return [String]
2386
2568
  attr_accessor :self_link
2387
2569
 
2570
+ # This field is not used for external load balancing.
2571
+ # For internal load balancing, this field identifies the subnetwork that the
2572
+ # load balanced IP should belong to for this Forwarding Rule.
2573
+ # If the network specified is in auto subnet mode, this field is optional.
2574
+ # However, if the network is in custom subnet mode, a subnetwork must be
2575
+ # specified.
2576
+ # Corresponds to the JSON property `subnetwork`
2577
+ # @return [String]
2578
+ attr_accessor :subnetwork
2579
+
2388
2580
  # The URL of the target resource to receive the matched traffic. For regional
2389
2581
  # forwarding rules, this target must live in the same region as the forwarding
2390
2582
  # rule. For global forwarding rules, this target must be a global
@@ -2404,14 +2596,19 @@ module Google
2404
2596
  def update!(**args)
2405
2597
  @ip_address = args[:ip_address] if args.key?(:ip_address)
2406
2598
  @ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol)
2599
+ @backend_service = args[:backend_service] if args.key?(:backend_service)
2407
2600
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
2408
2601
  @description = args[:description] if args.key?(:description)
2409
2602
  @id = args[:id] if args.key?(:id)
2410
2603
  @kind = args[:kind] if args.key?(:kind)
2604
+ @load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
2411
2605
  @name = args[:name] if args.key?(:name)
2606
+ @network = args[:network] if args.key?(:network)
2412
2607
  @port_range = args[:port_range] if args.key?(:port_range)
2608
+ @ports = args[:ports] if args.key?(:ports)
2413
2609
  @region = args[:region] if args.key?(:region)
2414
2610
  @self_link = args[:self_link] if args.key?(:self_link)
2611
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
2415
2612
  @target = args[:target] if args.key?(:target)
2416
2613
  end
2417
2614
  end
@@ -2603,38 +2800,17 @@ module Google
2603
2800
  end
2604
2801
  end
2605
2802
 
2606
- #
2607
- class Http2HealthCheck
2803
+ # Guest OS features.
2804
+ class GuestOsFeature
2608
2805
  include Google::Apis::Core::Hashable
2609
2806
 
2610
- # The value of the host header in the HTTP/2 health check request. If left empty
2611
- # (default value), the IP on behalf of which this health check is performed will
2612
- # be used.
2613
- # Corresponds to the JSON property `host`
2614
- # @return [String]
2615
- attr_accessor :host
2616
-
2617
- # The TCP port number for the health check request. The default value is 443.
2618
- # Corresponds to the JSON property `port`
2619
- # @return [Fixnum]
2620
- attr_accessor :port
2621
-
2622
- # Port name as defined in InstanceGroup#NamedPort#name. If both port and
2623
- # port_name are defined, port takes precedence.
2624
- # Corresponds to the JSON property `portName`
2625
- # @return [String]
2626
- attr_accessor :port_name
2627
-
2628
- # Specifies the type of proxy header to append before sending data to the
2629
- # backend, either NONE or PROXY_V1. The default is NONE.
2630
- # Corresponds to the JSON property `proxyHeader`
2631
- # @return [String]
2632
- attr_accessor :proxy_header
2633
-
2634
- # The request path of the HTTP/2 health check request. The default value is /.
2635
- # Corresponds to the JSON property `requestPath`
2807
+ # The type of supported feature. Currenty only VIRTIO_SCSI_MULTIQUEUE is
2808
+ # supported. For newer Windows images, the server might also populate this
2809
+ # property with the value WINDOWS to indicate that this is a Windows image. This
2810
+ # value is purely informational and does not enable or disable any features.
2811
+ # Corresponds to the JSON property `type`
2636
2812
  # @return [String]
2637
- attr_accessor :request_path
2813
+ attr_accessor :type
2638
2814
 
2639
2815
  def initialize(**args)
2640
2816
  update!(**args)
@@ -2642,11 +2818,7 @@ module Google
2642
2818
 
2643
2819
  # Update properties of this object
2644
2820
  def update!(**args)
2645
- @host = args[:host] if args.key?(:host)
2646
- @port = args[:port] if args.key?(:port)
2647
- @port_name = args[:port_name] if args.key?(:port_name)
2648
- @proxy_header = args[:proxy_header] if args.key?(:proxy_header)
2649
- @request_path = args[:request_path] if args.key?(:request_path)
2821
+ @type = args[:type] if args.key?(:type)
2650
2822
  end
2651
2823
  end
2652
2824
 
@@ -2772,11 +2944,6 @@ module Google
2772
2944
  # @return [Fixnum]
2773
2945
  attr_accessor :healthy_threshold
2774
2946
 
2775
- #
2776
- # Corresponds to the JSON property `http2HealthCheck`
2777
- # @return [Google::Apis::ComputeV1::Http2HealthCheck]
2778
- attr_accessor :http2_health_check
2779
-
2780
2947
  #
2781
2948
  # Corresponds to the JSON property `httpHealthCheck`
2782
2949
  # @return [Google::Apis::ComputeV1::HttpHealthCheck]
@@ -2830,9 +2997,9 @@ module Google
2830
2997
  # @return [Fixnum]
2831
2998
  attr_accessor :timeout_sec
2832
2999
 
2833
- # Specifies the type of the healthCheck, either TCP, UDP, SSL, HTTP, HTTPS or
2834
- # HTTP2. If not specified, the default is TCP. Exactly one of the protocol-
2835
- # specific health check field must be specified, which must match type field.
3000
+ # Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not
3001
+ # specified, the default is TCP. Exactly one of the protocol-specific health
3002
+ # check field must be specified, which must match type field.
2836
3003
  # Corresponds to the JSON property `type`
2837
3004
  # @return [String]
2838
3005
  attr_accessor :type
@@ -2853,7 +3020,6 @@ module Google
2853
3020
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
2854
3021
  @description = args[:description] if args.key?(:description)
2855
3022
  @healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold)
2856
- @http2_health_check = args[:http2_health_check] if args.key?(:http2_health_check)
2857
3023
  @http_health_check = args[:http_health_check] if args.key?(:http_health_check)
2858
3024
  @https_health_check = args[:https_health_check] if args.key?(:https_health_check)
2859
3025
  @id = args[:id] if args.key?(:id)
@@ -3357,6 +3523,19 @@ module Google
3357
3523
  # @return [String]
3358
3524
  attr_accessor :family
3359
3525
 
3526
+ # A list of features to enable on the guest OS. Applicable for bootable images
3527
+ # only. Currently, only one feature can be enabled, VIRTIO_SCSCI_MULTIQUEUE,
3528
+ # which allows each virtual CPU to have its own queue. For Windows images, you
3529
+ # can only enable VIRTIO_SCSCI_MULTIQUEUE on images with driver version 1.2.0.
3530
+ # 1621 or higher. Linux images with kernel versions 3.17 and higher will support
3531
+ # VIRTIO_SCSCI_MULTIQUEUE.
3532
+ # For new Windows images, the server might also populate this field with the
3533
+ # value WINDOWS, to indicate that this is a Windows image. This value is purely
3534
+ # informational and does not enable or disable any features.
3535
+ # Corresponds to the JSON property `guestOsFeatures`
3536
+ # @return [Array<Google::Apis::ComputeV1::GuestOsFeature>]
3537
+ attr_accessor :guest_os_features
3538
+
3360
3539
  # [Output Only] The unique identifier for the resource. This identifier is
3361
3540
  # defined by the server.
3362
3541
  # Corresponds to the JSON property `id`
@@ -3398,8 +3577,8 @@ module Google
3398
3577
  # @return [String]
3399
3578
  attr_accessor :self_link
3400
3579
 
3401
- # URL of the The source disk used to create this image. This can be a full or
3402
- # valid partial URL. You must provide either this property or the rawDisk.source
3580
+ # URL of the source disk used to create this image. This can be a full or valid
3581
+ # partial URL. You must provide either this property or the rawDisk.source
3403
3582
  # property but not both to create an image. For example, the following are valid
3404
3583
  # values:
3405
3584
  # - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
@@ -3447,6 +3626,7 @@ module Google
3447
3626
  @description = args[:description] if args.key?(:description)
3448
3627
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
3449
3628
  @family = args[:family] if args.key?(:family)
3629
+ @guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
3450
3630
  @id = args[:id] if args.key?(:id)
3451
3631
  @image_encryption_key = args[:image_encryption_key] if args.key?(:image_encryption_key)
3452
3632
  @kind = args[:kind] if args.key?(:kind)
@@ -5144,6 +5324,31 @@ module Google
5144
5324
  end
5145
5325
  end
5146
5326
 
5327
+ #
5328
+ class InstancesSetServiceAccountRequest
5329
+ include Google::Apis::Core::Hashable
5330
+
5331
+ # Email address of the service account.
5332
+ # Corresponds to the JSON property `email`
5333
+ # @return [String]
5334
+ attr_accessor :email
5335
+
5336
+ # The list of scopes to be made available for this service account.
5337
+ # Corresponds to the JSON property `scopes`
5338
+ # @return [Array<String>]
5339
+ attr_accessor :scopes
5340
+
5341
+ def initialize(**args)
5342
+ update!(**args)
5343
+ end
5344
+
5345
+ # Update properties of this object
5346
+ def update!(**args)
5347
+ @email = args[:email] if args.key?(:email)
5348
+ @scopes = args[:scopes] if args.key?(:scopes)
5349
+ end
5350
+ end
5351
+
5147
5352
  #
5148
5353
  class InstancesStartWithEncryptionKeyRequest
5149
5354
  include Google::Apis::Core::Hashable
@@ -5856,6 +6061,12 @@ module Google
5856
6061
  # @return [Array<Google::Apis::ComputeV1::AccessConfig>]
5857
6062
  attr_accessor :access_configs
5858
6063
 
6064
+ # [Output Only] Type of the resource. Always compute#networkInterface for
6065
+ # network interfaces.
6066
+ # Corresponds to the JSON property `kind`
6067
+ # @return [String]
6068
+ attr_accessor :kind
6069
+
5859
6070
  # [Output Only] The name of the network interface, generated by the server. For
5860
6071
  # network devices, these are eth0, eth1, etc.
5861
6072
  # Corresponds to the JSON property `name`
@@ -5903,6 +6114,7 @@ module Google
5903
6114
  # Update properties of this object
5904
6115
  def update!(**args)
5905
6116
  @access_configs = args[:access_configs] if args.key?(:access_configs)
6117
+ @kind = args[:kind] if args.key?(:kind)
5906
6118
  @name = args[:name] if args.key?(:name)
5907
6119
  @network = args[:network] if args.key?(:network)
5908
6120
  @network_ip = args[:network_ip] if args.key?(:network_ip)
@@ -6703,8 +6915,8 @@ module Google
6703
6915
  end
6704
6916
  end
6705
6917
 
6706
- # Contains a list of region resources.
6707
- class RegionList
6918
+ # Contains a list of autoscalers.
6919
+ class RegionAutoscalerList
6708
6920
  include Google::Apis::Core::Hashable
6709
6921
 
6710
6922
  # [Output Only] The unique identifier for the resource. This identifier is
@@ -6713,21 +6925,17 @@ module Google
6713
6925
  # @return [String]
6714
6926
  attr_accessor :id
6715
6927
 
6716
- # [Output Only] A list of Region resources.
6928
+ # A list of autoscalers.
6717
6929
  # Corresponds to the JSON property `items`
6718
- # @return [Array<Google::Apis::ComputeV1::Region>]
6930
+ # @return [Array<Google::Apis::ComputeV1::Autoscaler>]
6719
6931
  attr_accessor :items
6720
6932
 
6721
- # [Output Only] Type of resource. Always compute#regionList for lists of regions.
6933
+ # Type of resource.
6722
6934
  # Corresponds to the JSON property `kind`
6723
6935
  # @return [String]
6724
6936
  attr_accessor :kind
6725
6937
 
6726
- # [Output Only] This token allows you to get the next page of results for list
6727
- # requests. If the number of results is larger than maxResults, use the
6728
- # nextPageToken as a value for the query parameter pageToken in the next list
6729
- # request. Subsequent list requests will have their own nextPageToken to
6730
- # continue paging through the results.
6938
+ # [Output Only] A token used to continue a truncated list request.
6731
6939
  # Corresponds to the JSON property `nextPageToken`
6732
6940
  # @return [String]
6733
6941
  attr_accessor :next_page_token
@@ -6751,14 +6959,39 @@ module Google
6751
6959
  end
6752
6960
  end
6753
6961
 
6754
- #
6755
- class ResourceGroupReference
6962
+ # Contains a list of InstanceGroup resources.
6963
+ class RegionInstanceGroupList
6756
6964
  include Google::Apis::Core::Hashable
6757
6965
 
6758
- # A URI referencing one of the instance groups listed in the backend service.
6759
- # Corresponds to the JSON property `group`
6966
+ # [Output Only] The unique identifier for the resource. This identifier is
6967
+ # defined by the server.
6968
+ # Corresponds to the JSON property `id`
6760
6969
  # @return [String]
6761
- attr_accessor :group
6970
+ attr_accessor :id
6971
+
6972
+ # A list of InstanceGroup resources.
6973
+ # Corresponds to the JSON property `items`
6974
+ # @return [Array<Google::Apis::ComputeV1::InstanceGroup>]
6975
+ attr_accessor :items
6976
+
6977
+ # The resource type.
6978
+ # Corresponds to the JSON property `kind`
6979
+ # @return [String]
6980
+ attr_accessor :kind
6981
+
6982
+ # [Output Only] This token allows you to get the next page of results for list
6983
+ # requests. If the number of results is larger than maxResults, use the
6984
+ # nextPageToken as a value for the query parameter pageToken in the next list
6985
+ # request. Subsequent list requests will have their own nextPageToken to
6986
+ # continue paging through the results.
6987
+ # Corresponds to the JSON property `nextPageToken`
6988
+ # @return [String]
6989
+ attr_accessor :next_page_token
6990
+
6991
+ # [Output Only] The URL for this resource type. The server generates this URL.
6992
+ # Corresponds to the JSON property `selfLink`
6993
+ # @return [String]
6994
+ attr_accessor :self_link
6762
6995
 
6763
6996
  def initialize(**args)
6764
6997
  update!(**args)
@@ -6766,8 +6999,355 @@ module Google
6766
6999
 
6767
7000
  # Update properties of this object
6768
7001
  def update!(**args)
6769
- @group = args[:group] if args.key?(:group)
6770
- end
7002
+ @id = args[:id] if args.key?(:id)
7003
+ @items = args[:items] if args.key?(:items)
7004
+ @kind = args[:kind] if args.key?(:kind)
7005
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
7006
+ @self_link = args[:self_link] if args.key?(:self_link)
7007
+ end
7008
+ end
7009
+
7010
+ # Contains a list of managed instance groups.
7011
+ class RegionInstanceGroupManagerList
7012
+ include Google::Apis::Core::Hashable
7013
+
7014
+ # [Output Only] The unique identifier for the resource. This identifier is
7015
+ # defined by the server.
7016
+ # Corresponds to the JSON property `id`
7017
+ # @return [String]
7018
+ attr_accessor :id
7019
+
7020
+ # A list of managed instance groups.
7021
+ # Corresponds to the JSON property `items`
7022
+ # @return [Array<Google::Apis::ComputeV1::InstanceGroupManager>]
7023
+ attr_accessor :items
7024
+
7025
+ # [Output Only] The resource type, which is always compute#
7026
+ # instanceGroupManagerList for a list of managed instance groups that exist in
7027
+ # th regional scope.
7028
+ # Corresponds to the JSON property `kind`
7029
+ # @return [String]
7030
+ attr_accessor :kind
7031
+
7032
+ # [Output only] A token used to continue a truncated list request.
7033
+ # Corresponds to the JSON property `nextPageToken`
7034
+ # @return [String]
7035
+ attr_accessor :next_page_token
7036
+
7037
+ # [Output only] The URL for this resource type. The server generates this URL.
7038
+ # Corresponds to the JSON property `selfLink`
7039
+ # @return [String]
7040
+ attr_accessor :self_link
7041
+
7042
+ def initialize(**args)
7043
+ update!(**args)
7044
+ end
7045
+
7046
+ # Update properties of this object
7047
+ def update!(**args)
7048
+ @id = args[:id] if args.key?(:id)
7049
+ @items = args[:items] if args.key?(:items)
7050
+ @kind = args[:kind] if args.key?(:kind)
7051
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
7052
+ @self_link = args[:self_link] if args.key?(:self_link)
7053
+ end
7054
+ end
7055
+
7056
+ #
7057
+ class RegionInstanceGroupManagersAbandonInstancesRequest
7058
+ include Google::Apis::Core::Hashable
7059
+
7060
+ # The names of one or more instances to abandon.
7061
+ # Corresponds to the JSON property `instances`
7062
+ # @return [Array<String>]
7063
+ attr_accessor :instances
7064
+
7065
+ def initialize(**args)
7066
+ update!(**args)
7067
+ end
7068
+
7069
+ # Update properties of this object
7070
+ def update!(**args)
7071
+ @instances = args[:instances] if args.key?(:instances)
7072
+ end
7073
+ end
7074
+
7075
+ #
7076
+ class RegionInstanceGroupManagersDeleteInstancesRequest
7077
+ include Google::Apis::Core::Hashable
7078
+
7079
+ # The names of one or more instances to delete.
7080
+ # Corresponds to the JSON property `instances`
7081
+ # @return [Array<String>]
7082
+ attr_accessor :instances
7083
+
7084
+ def initialize(**args)
7085
+ update!(**args)
7086
+ end
7087
+
7088
+ # Update properties of this object
7089
+ def update!(**args)
7090
+ @instances = args[:instances] if args.key?(:instances)
7091
+ end
7092
+ end
7093
+
7094
+ #
7095
+ class RegionInstanceGroupManagersListInstancesResponse
7096
+ include Google::Apis::Core::Hashable
7097
+
7098
+ # List of managed instances.
7099
+ # Corresponds to the JSON property `managedInstances`
7100
+ # @return [Array<Google::Apis::ComputeV1::ManagedInstance>]
7101
+ attr_accessor :managed_instances
7102
+
7103
+ def initialize(**args)
7104
+ update!(**args)
7105
+ end
7106
+
7107
+ # Update properties of this object
7108
+ def update!(**args)
7109
+ @managed_instances = args[:managed_instances] if args.key?(:managed_instances)
7110
+ end
7111
+ end
7112
+
7113
+ #
7114
+ class RegionInstanceGroupManagersRecreateRequest
7115
+ include Google::Apis::Core::Hashable
7116
+
7117
+ # The URL for one or more instances to recreate.
7118
+ # Corresponds to the JSON property `instances`
7119
+ # @return [Array<String>]
7120
+ attr_accessor :instances
7121
+
7122
+ def initialize(**args)
7123
+ update!(**args)
7124
+ end
7125
+
7126
+ # Update properties of this object
7127
+ def update!(**args)
7128
+ @instances = args[:instances] if args.key?(:instances)
7129
+ end
7130
+ end
7131
+
7132
+ #
7133
+ class RegionInstanceGroupManagersSetTargetPoolsRequest
7134
+ include Google::Apis::Core::Hashable
7135
+
7136
+ # Fingerprint of the target pools information, which is a hash of the contents.
7137
+ # This field is used for optimistic locking when you update the target pool
7138
+ # entries. This field is optional.
7139
+ # Corresponds to the JSON property `fingerprint`
7140
+ # @return [String]
7141
+ attr_accessor :fingerprint
7142
+
7143
+ # The URL of all TargetPool resources to which instances in the instanceGroup
7144
+ # field are added. The target pools automatically apply to all of the instances
7145
+ # in the managed instance group.
7146
+ # Corresponds to the JSON property `targetPools`
7147
+ # @return [Array<String>]
7148
+ attr_accessor :target_pools
7149
+
7150
+ def initialize(**args)
7151
+ update!(**args)
7152
+ end
7153
+
7154
+ # Update properties of this object
7155
+ def update!(**args)
7156
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
7157
+ @target_pools = args[:target_pools] if args.key?(:target_pools)
7158
+ end
7159
+ end
7160
+
7161
+ #
7162
+ class RegionInstanceGroupManagersSetTemplateRequest
7163
+ include Google::Apis::Core::Hashable
7164
+
7165
+ # URL of the InstanceTemplate resource from which all new instances will be
7166
+ # created.
7167
+ # Corresponds to the JSON property `instanceTemplate`
7168
+ # @return [String]
7169
+ attr_accessor :instance_template
7170
+
7171
+ def initialize(**args)
7172
+ update!(**args)
7173
+ end
7174
+
7175
+ # Update properties of this object
7176
+ def update!(**args)
7177
+ @instance_template = args[:instance_template] if args.key?(:instance_template)
7178
+ end
7179
+ end
7180
+
7181
+ #
7182
+ class RegionInstanceGroupsListInstances
7183
+ include Google::Apis::Core::Hashable
7184
+
7185
+ # [Output Only] Unique identifier for the resource. Defined by the server.
7186
+ # Corresponds to the JSON property `id`
7187
+ # @return [String]
7188
+ attr_accessor :id
7189
+
7190
+ # A list of instances and any named ports that are assigned to those instances.
7191
+ # Corresponds to the JSON property `items`
7192
+ # @return [Array<Google::Apis::ComputeV1::InstanceWithNamedPorts>]
7193
+ attr_accessor :items
7194
+
7195
+ # The resource type.
7196
+ # Corresponds to the JSON property `kind`
7197
+ # @return [String]
7198
+ attr_accessor :kind
7199
+
7200
+ # [Output Only] This token allows you to get the next page of results for list
7201
+ # requests. If the number of results is larger than maxResults, use the
7202
+ # nextPageToken as a value for the query parameter pageToken in the next list
7203
+ # request. Subsequent list requests will have their own nextPageToken to
7204
+ # continue paging through the results.
7205
+ # Corresponds to the JSON property `nextPageToken`
7206
+ # @return [String]
7207
+ attr_accessor :next_page_token
7208
+
7209
+ # [Output Only] Server-defined URL for the resource.
7210
+ # Corresponds to the JSON property `selfLink`
7211
+ # @return [String]
7212
+ attr_accessor :self_link
7213
+
7214
+ def initialize(**args)
7215
+ update!(**args)
7216
+ end
7217
+
7218
+ # Update properties of this object
7219
+ def update!(**args)
7220
+ @id = args[:id] if args.key?(:id)
7221
+ @items = args[:items] if args.key?(:items)
7222
+ @kind = args[:kind] if args.key?(:kind)
7223
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
7224
+ @self_link = args[:self_link] if args.key?(:self_link)
7225
+ end
7226
+ end
7227
+
7228
+ #
7229
+ class RegionInstanceGroupsListInstancesRequest
7230
+ include Google::Apis::Core::Hashable
7231
+
7232
+ # Instances in which state should be returned. Valid options are: 'ALL', '
7233
+ # RUNNING'. By default, it lists all instances.
7234
+ # Corresponds to the JSON property `instanceState`
7235
+ # @return [String]
7236
+ attr_accessor :instance_state
7237
+
7238
+ # Name of port user is interested in. It is optional. If it is set, only
7239
+ # information about this ports will be returned. If it is not set, all the named
7240
+ # ports will be returned. Always lists all instances.
7241
+ # Corresponds to the JSON property `portName`
7242
+ # @return [String]
7243
+ attr_accessor :port_name
7244
+
7245
+ def initialize(**args)
7246
+ update!(**args)
7247
+ end
7248
+
7249
+ # Update properties of this object
7250
+ def update!(**args)
7251
+ @instance_state = args[:instance_state] if args.key?(:instance_state)
7252
+ @port_name = args[:port_name] if args.key?(:port_name)
7253
+ end
7254
+ end
7255
+
7256
+ #
7257
+ class RegionInstanceGroupsSetNamedPortsRequest
7258
+ include Google::Apis::Core::Hashable
7259
+
7260
+ # The fingerprint of the named ports information for this instance group. Use
7261
+ # this optional property to prevent conflicts when multiple users change the
7262
+ # named ports settings concurrently. Obtain the fingerprint with the
7263
+ # instanceGroups.get method. Then, include the fingerprint in your request to
7264
+ # ensure that you do not overwrite changes that were applied from another
7265
+ # concurrent request.
7266
+ # Corresponds to the JSON property `fingerprint`
7267
+ # @return [String]
7268
+ attr_accessor :fingerprint
7269
+
7270
+ # The list of named ports to set for this instance group.
7271
+ # Corresponds to the JSON property `namedPorts`
7272
+ # @return [Array<Google::Apis::ComputeV1::NamedPort>]
7273
+ attr_accessor :named_ports
7274
+
7275
+ def initialize(**args)
7276
+ update!(**args)
7277
+ end
7278
+
7279
+ # Update properties of this object
7280
+ def update!(**args)
7281
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
7282
+ @named_ports = args[:named_ports] if args.key?(:named_ports)
7283
+ end
7284
+ end
7285
+
7286
+ # Contains a list of region resources.
7287
+ class RegionList
7288
+ include Google::Apis::Core::Hashable
7289
+
7290
+ # [Output Only] The unique identifier for the resource. This identifier is
7291
+ # defined by the server.
7292
+ # Corresponds to the JSON property `id`
7293
+ # @return [String]
7294
+ attr_accessor :id
7295
+
7296
+ # [Output Only] A list of Region resources.
7297
+ # Corresponds to the JSON property `items`
7298
+ # @return [Array<Google::Apis::ComputeV1::Region>]
7299
+ attr_accessor :items
7300
+
7301
+ # [Output Only] Type of resource. Always compute#regionList for lists of regions.
7302
+ # Corresponds to the JSON property `kind`
7303
+ # @return [String]
7304
+ attr_accessor :kind
7305
+
7306
+ # [Output Only] This token allows you to get the next page of results for list
7307
+ # requests. If the number of results is larger than maxResults, use the
7308
+ # nextPageToken as a value for the query parameter pageToken in the next list
7309
+ # request. Subsequent list requests will have their own nextPageToken to
7310
+ # continue paging through the results.
7311
+ # Corresponds to the JSON property `nextPageToken`
7312
+ # @return [String]
7313
+ attr_accessor :next_page_token
7314
+
7315
+ # [Output Only] Server-defined URL for this resource.
7316
+ # Corresponds to the JSON property `selfLink`
7317
+ # @return [String]
7318
+ attr_accessor :self_link
7319
+
7320
+ def initialize(**args)
7321
+ update!(**args)
7322
+ end
7323
+
7324
+ # Update properties of this object
7325
+ def update!(**args)
7326
+ @id = args[:id] if args.key?(:id)
7327
+ @items = args[:items] if args.key?(:items)
7328
+ @kind = args[:kind] if args.key?(:kind)
7329
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
7330
+ @self_link = args[:self_link] if args.key?(:self_link)
7331
+ end
7332
+ end
7333
+
7334
+ #
7335
+ class ResourceGroupReference
7336
+ include Google::Apis::Core::Hashable
7337
+
7338
+ # A URI referencing one of the instance groups listed in the backend service.
7339
+ # Corresponds to the JSON property `group`
7340
+ # @return [String]
7341
+ attr_accessor :group
7342
+
7343
+ def initialize(**args)
7344
+ update!(**args)
7345
+ end
7346
+
7347
+ # Update properties of this object
7348
+ def update!(**args)
7349
+ @group = args[:group] if args.key?(:group)
7350
+ end
6771
7351
  end
6772
7352
 
6773
7353
  # Represents a Route resource. A route specifies how certain packets should be
@@ -6798,7 +7378,8 @@ module Google
6798
7378
  # @return [String]
6799
7379
  attr_accessor :description
6800
7380
 
6801
- # The destination range of outgoing packets that this route applies to.
7381
+ # The destination range of outgoing packets that this route applies to. Only
7382
+ # IPv4 is supported.
6802
7383
  # Corresponds to the JSON property `destRange`
6803
7384
  # @return [String]
6804
7385
  attr_accessor :dest_range
@@ -6844,6 +7425,7 @@ module Google
6844
7425
  attr_accessor :next_hop_instance
6845
7426
 
6846
7427
  # The network IP address of an instance that should handle matching packets.
7428
+ # Only IPv4 is supported.
6847
7429
  # Corresponds to the JSON property `nextHopIp`
6848
7430
  # @return [String]
6849
7431
  attr_accessor :next_hop_ip
@@ -7192,7 +7774,8 @@ module Google
7192
7774
  # @return [String]
7193
7775
  attr_accessor :interface_name
7194
7776
 
7195
- # IP address of the interface inside Google Cloud Platform.
7777
+ # IP address of the interface inside Google Cloud Platform. Only IPv4 is
7778
+ # supported.
7196
7779
  # Corresponds to the JSON property `ipAddress`
7197
7780
  # @return [String]
7198
7781
  attr_accessor :ip_address
@@ -7209,7 +7792,7 @@ module Google
7209
7792
  # @return [Fixnum]
7210
7793
  attr_accessor :peer_asn
7211
7794
 
7212
- # IP address of the BGP interface outside Google cloud.
7795
+ # IP address of the BGP interface outside Google cloud. Only IPv4 is supported.
7213
7796
  # Corresponds to the JSON property `peerIpAddress`
7214
7797
  # @return [String]
7215
7798
  attr_accessor :peer_ip_address
@@ -7657,11 +8240,25 @@ module Google
7657
8240
  # @return [String]
7658
8241
  attr_accessor :kind
7659
8242
 
8243
+ # [Output Only] The position of the next byte of content from the serial console
8244
+ # output. Use this value in the next request as the start parameter.
8245
+ # Corresponds to the JSON property `next`
8246
+ # @return [String]
8247
+ attr_accessor :next
8248
+
7660
8249
  # [Output Only] Server-defined URL for this resource.
7661
8250
  # Corresponds to the JSON property `selfLink`
7662
8251
  # @return [String]
7663
8252
  attr_accessor :self_link
7664
8253
 
8254
+ # [Output Only] The starting byte position of the output that was returned. This
8255
+ # should match the start parameter sent with the request. If the serial console
8256
+ # output exceeds the size of the buffer, older output will be overwritten by
8257
+ # newer content and the start values will be mismatched.
8258
+ # Corresponds to the JSON property `start`
8259
+ # @return [String]
8260
+ attr_accessor :start
8261
+
7665
8262
  def initialize(**args)
7666
8263
  update!(**args)
7667
8264
  end
@@ -7670,7 +8267,9 @@ module Google
7670
8267
  def update!(**args)
7671
8268
  @contents = args[:contents] if args.key?(:contents)
7672
8269
  @kind = args[:kind] if args.key?(:kind)
8270
+ @next = args[:next] if args.key?(:next)
7673
8271
  @self_link = args[:self_link] if args.key?(:self_link)
8272
+ @start = args[:start] if args.key?(:start)
7674
8273
  end
7675
8274
  end
7676
8275
 
@@ -7914,7 +8513,7 @@ module Google
7914
8513
  # @return [String]
7915
8514
  attr_accessor :name
7916
8515
 
7917
- # A write-only private key in PEM format. Only insert RPCs will include this
8516
+ # A write-only private key in PEM format. Only insert requests will include this
7918
8517
  # field.
7919
8518
  # Corresponds to the JSON property `privateKey`
7920
8519
  # @return [String]
@@ -8018,7 +8617,8 @@ module Google
8018
8617
 
8019
8618
  # The range of internal addresses that are owned by this subnetwork. Provide
8020
8619
  # this property when you create the subnetwork. For example, 10.0.0.0/8 or 192.
8021
- # 168.0.0/16. Ranges must be unique and non-overlapping within a network.
8620
+ # 168.0.0/16. Ranges must be unique and non-overlapping within a network. Only
8621
+ # IPv4 is supported.
8022
8622
  # Corresponds to the JSON property `ipCidrRange`
8023
8623
  # @return [String]
8024
8624
  attr_accessor :ip_cidr_range
@@ -10183,7 +10783,7 @@ module Google
10183
10783
 
10184
10784
  # Local traffic selector to use when establishing the VPN tunnel with peer VPN
10185
10785
  # gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/
10186
- # 16. The ranges should be disjoint.
10786
+ # 16. The ranges should be disjoint. Only IPv4 is supported.
10187
10787
  # Corresponds to the JSON property `localTrafficSelector`
10188
10788
  # @return [Array<String>]
10189
10789
  attr_accessor :local_traffic_selector
@@ -10198,7 +10798,7 @@ module Google
10198
10798
  # @return [String]
10199
10799
  attr_accessor :name
10200
10800
 
10201
- # IP address of the peer VPN gateway.
10801
+ # IP address of the peer VPN gateway. Only IPv4 is supported.
10202
10802
  # Corresponds to the JSON property `peerIp`
10203
10803
  # @return [String]
10204
10804
  attr_accessor :peer_ip
@@ -10210,7 +10810,7 @@ module Google
10210
10810
 
10211
10811
  # Remote traffic selectors to use when establishing the VPN tunnel with peer VPN
10212
10812
  # gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/
10213
- # 16. The ranges should be disjoint.
10813
+ # 16. The ranges should be disjoint. Only IPv4 is supported.
10214
10814
  # Corresponds to the JSON property `remoteTrafficSelector`
10215
10815
  # @return [Array<String>]
10216
10816
  attr_accessor :remote_traffic_selector