google-api-client 0.9.pre1 → 0.9.pre2

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 (95) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/README.md +4 -3
  4. data/api_names.yaml +42 -0
  5. data/api_names_out.yaml +977 -651
  6. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  7. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  8. data/generated/google/apis/adsense_v1_4.rb +1 -1
  9. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  10. data/generated/google/apis/androidenterprise_v1/classes.rb +31 -24
  11. data/generated/google/apis/androidenterprise_v1/service.rb +11 -6
  12. data/generated/google/apis/androidenterprise_v1.rb +2 -1
  13. data/generated/google/apis/appstate_v1.rb +1 -1
  14. data/generated/google/apis/autoscaler_v1beta2.rb +1 -1
  15. data/generated/google/apis/bigquery_v2/classes.rb +34 -0
  16. data/generated/google/apis/bigquery_v2/representations.rb +14 -0
  17. data/generated/google/apis/bigquery_v2/service.rb +2 -2
  18. data/generated/google/apis/bigquery_v2.rb +1 -1
  19. data/generated/google/apis/calendar_v3/classes.rb +8 -0
  20. data/generated/google/apis/calendar_v3/representations.rb +1 -0
  21. data/generated/google/apis/calendar_v3.rb +1 -1
  22. data/generated/google/apis/civicinfo_v2/classes.rb +61 -0
  23. data/generated/google/apis/civicinfo_v2/representations.rb +8 -0
  24. data/generated/google/apis/civicinfo_v2.rb +1 -1
  25. data/generated/google/apis/classroom_v1beta1/classes.rb +447 -0
  26. data/generated/google/apis/classroom_v1beta1/representations.rb +190 -0
  27. data/generated/google/apis/classroom_v1beta1/service.rb +791 -0
  28. data/generated/google/apis/classroom_v1beta1.rb +49 -0
  29. data/generated/google/apis/cloudmonitoring_v2beta2.rb +4 -1
  30. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +20 -19
  31. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +34 -34
  32. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +2 -5
  33. data/generated/google/apis/compute_v1/classes.rb +2638 -1136
  34. data/generated/google/apis/compute_v1/representations.rb +580 -0
  35. data/generated/google/apis/compute_v1/service.rb +2448 -305
  36. data/generated/google/apis/compute_v1.rb +1 -1
  37. data/generated/google/apis/container_v1/classes.rb +438 -0
  38. data/generated/google/apis/container_v1/representations.rb +163 -0
  39. data/generated/google/apis/container_v1/service.rb +346 -0
  40. data/generated/google/apis/container_v1.rb +35 -0
  41. data/generated/google/apis/container_v1beta1.rb +1 -1
  42. data/generated/google/apis/content_v2/service.rb +48 -12
  43. data/generated/google/apis/content_v2.rb +1 -1
  44. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +13 -9
  45. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +110 -15
  46. data/generated/google/apis/deploymentmanager_v2beta2.rb +1 -1
  47. data/generated/google/apis/discovery_v1/classes.rb +7 -0
  48. data/generated/google/apis/discovery_v1/representations.rb +1 -0
  49. data/generated/google/apis/dns_v1/service.rb +4 -1
  50. data/generated/google/apis/dns_v1.rb +1 -1
  51. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  52. data/generated/google/apis/drive_v2.rb +1 -1
  53. data/generated/google/apis/fitness_v1/classes.rb +65 -2
  54. data/generated/google/apis/fitness_v1/representations.rb +27 -0
  55. data/generated/google/apis/fitness_v1.rb +1 -1
  56. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  57. data/generated/google/apis/games_v1.rb +1 -1
  58. data/generated/google/apis/genomics_v1/classes.rb +2287 -0
  59. data/generated/google/apis/genomics_v1/representations.rb +796 -0
  60. data/generated/google/apis/genomics_v1/service.rb +1520 -0
  61. data/generated/google/apis/genomics_v1.rb +47 -0
  62. data/generated/google/apis/genomics_v1beta2/service.rb +36 -0
  63. data/generated/google/apis/genomics_v1beta2.rb +1 -1
  64. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  65. data/generated/google/apis/mapsengine_v1.rb +1 -1
  66. data/generated/google/apis/oauth2_v2.rb +1 -1
  67. data/generated/google/apis/plus_domains_v1.rb +1 -1
  68. data/generated/google/apis/plus_v1.rb +1 -1
  69. data/generated/google/apis/prediction_v1_6/classes.rb +1 -1
  70. data/generated/google/apis/pubsub_v1beta2/classes.rb +42 -42
  71. data/generated/google/apis/pubsub_v1beta2/service.rb +26 -22
  72. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  73. data/generated/google/apis/replicapool_v1beta2/classes.rb +10 -0
  74. data/generated/google/apis/replicapool_v1beta2/representations.rb +1 -0
  75. data/generated/google/apis/replicapool_v1beta2.rb +1 -1
  76. data/generated/google/apis/resourceviews_v1beta2.rb +1 -1
  77. data/generated/google/apis/storage_v1/classes.rb +4 -2
  78. data/generated/google/apis/storage_v1.rb +1 -1
  79. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  80. data/generated/google/apis/youtube_v3/classes.rb +3 -3
  81. data/generated/google/apis/youtube_v3/representations.rb +1 -1
  82. data/generated/google/apis/youtube_v3/service.rb +78 -0
  83. data/generated/google/apis/youtube_v3.rb +1 -1
  84. data/google-api-client.gemspec +0 -1
  85. data/lib/google/api_client/auth/installed_app.rb +6 -4
  86. data/lib/google/api_client/auth/key_utils.rb +93 -0
  87. data/lib/google/apis/core/api_command.rb +12 -5
  88. data/lib/google/apis/core/http_command.rb +17 -7
  89. data/lib/google/apis/core/json_representation.rb +6 -2
  90. data/lib/google/apis/errors.rb +9 -2
  91. data/lib/google/apis/version.rb +1 -1
  92. data/script/generate +4 -3
  93. data/spec/google/apis/core/http_command_spec.rb +20 -0
  94. data/spec/google/apis/core/json_representation_spec.rb +1 -1
  95. metadata +15 -16
@@ -58,6 +58,46 @@ module Google
58
58
  class Representation < Google::Apis::Core::JsonRepresentation; end
59
59
  end
60
60
 
61
+ class Autoscaler
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+ end
64
+
65
+ class AutoscalerAggregatedList
66
+ class Representation < Google::Apis::Core::JsonRepresentation; end
67
+ end
68
+
69
+ class AutoscalerList
70
+ class Representation < Google::Apis::Core::JsonRepresentation; end
71
+ end
72
+
73
+ class AutoscalersScopedList
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ class Warning
77
+ class Representation < Google::Apis::Core::JsonRepresentation; end
78
+
79
+ class Datum
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+ end
82
+ end
83
+ end
84
+
85
+ class AutoscalingPolicy
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+ end
88
+
89
+ class AutoscalingPolicyCpuUtilization
90
+ class Representation < Google::Apis::Core::JsonRepresentation; end
91
+ end
92
+
93
+ class AutoscalingPolicyCustomMetricUtilization
94
+ class Representation < Google::Apis::Core::JsonRepresentation; end
95
+ end
96
+
97
+ class AutoscalingPolicyLoadBalancingUtilization
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+ end
100
+
61
101
  class Backend
62
102
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
103
  end
@@ -206,6 +246,106 @@ module Google
206
246
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
247
  end
208
248
 
249
+ class InstanceGroup
250
+ class Representation < Google::Apis::Core::JsonRepresentation; end
251
+ end
252
+
253
+ class InstanceGroupAggregatedList
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+ end
256
+
257
+ class InstanceGroupList
258
+ class Representation < Google::Apis::Core::JsonRepresentation; end
259
+ end
260
+
261
+ class InstanceGroupManager
262
+ class Representation < Google::Apis::Core::JsonRepresentation; end
263
+ end
264
+
265
+ class InstanceGroupManagerActionsSummary
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+ end
268
+
269
+ class InstanceGroupManagerAggregatedList
270
+ class Representation < Google::Apis::Core::JsonRepresentation; end
271
+ end
272
+
273
+ class InstanceGroupManagerAutoHealingPolicy
274
+ class Representation < Google::Apis::Core::JsonRepresentation; end
275
+ end
276
+
277
+ class InstanceGroupManagerList
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+ end
280
+
281
+ class InstanceGroupManagersAbandonInstancesRequest
282
+ class Representation < Google::Apis::Core::JsonRepresentation; end
283
+ end
284
+
285
+ class InstanceGroupManagersDeleteInstancesRequest
286
+ class Representation < Google::Apis::Core::JsonRepresentation; end
287
+ end
288
+
289
+ class InstanceGroupManagersListManagedInstancesResponse
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+ end
292
+
293
+ class InstanceGroupManagersRecreateInstancesRequest
294
+ class Representation < Google::Apis::Core::JsonRepresentation; end
295
+ end
296
+
297
+ class InstanceGroupManagersScopedList
298
+ class Representation < Google::Apis::Core::JsonRepresentation; end
299
+
300
+ class Warning
301
+ class Representation < Google::Apis::Core::JsonRepresentation; end
302
+
303
+ class Datum
304
+ class Representation < Google::Apis::Core::JsonRepresentation; end
305
+ end
306
+ end
307
+ end
308
+
309
+ class InstanceGroupManagersSetInstanceTemplateRequest
310
+ class Representation < Google::Apis::Core::JsonRepresentation; end
311
+ end
312
+
313
+ class InstanceGroupManagersSetTargetPoolsRequest
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+ end
316
+
317
+ class InstanceGroupsAddInstancesRequest
318
+ class Representation < Google::Apis::Core::JsonRepresentation; end
319
+ end
320
+
321
+ class InstanceGroupsListInstances
322
+ class Representation < Google::Apis::Core::JsonRepresentation; end
323
+ end
324
+
325
+ class InstanceGroupsListInstancesRequest
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+ end
328
+
329
+ class InstanceGroupsRemoveInstancesRequest
330
+ class Representation < Google::Apis::Core::JsonRepresentation; end
331
+ end
332
+
333
+ class InstanceGroupsScopedList
334
+ class Representation < Google::Apis::Core::JsonRepresentation; end
335
+
336
+ class Warning
337
+ class Representation < Google::Apis::Core::JsonRepresentation; end
338
+
339
+ class Datum
340
+ class Representation < Google::Apis::Core::JsonRepresentation; end
341
+ end
342
+ end
343
+ end
344
+
345
+ class InstanceGroupsSetNamedPortsRequest
346
+ class Representation < Google::Apis::Core::JsonRepresentation; end
347
+ end
348
+
209
349
  class InstanceList
210
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
211
351
  end
@@ -230,6 +370,10 @@ module Google
230
370
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
371
  end
232
372
 
373
+ class InstanceWithNamedPorts
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+ end
376
+
233
377
  class InstancesScopedList
234
378
  class Representation < Google::Apis::Core::JsonRepresentation; end
235
379
 
@@ -274,6 +418,22 @@ module Google
274
418
  end
275
419
  end
276
420
 
421
+ class ManagedInstance
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+ end
424
+
425
+ class ManagedInstanceLastAttempt
426
+ class Representation < Google::Apis::Core::JsonRepresentation; end
427
+
428
+ class Errors
429
+ class Representation < Google::Apis::Core::JsonRepresentation; end
430
+
431
+ class Error
432
+ class Representation < Google::Apis::Core::JsonRepresentation; end
433
+ end
434
+ end
435
+ end
436
+
277
437
  class Metadata
278
438
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
439
 
@@ -282,6 +442,10 @@ module Google
282
442
  end
283
443
  end
284
444
 
445
+ class NamedPort
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+ end
448
+
285
449
  class Network
286
450
  class Representation < Google::Apis::Core::JsonRepresentation; end
287
451
  end
@@ -684,6 +848,112 @@ module Google
684
848
  end
685
849
  end
686
850
 
851
+ class Autoscaler
852
+ # @private
853
+ class Representation < Google::Apis::Core::JsonRepresentation
854
+ property :autoscaling_policy, as: 'autoscalingPolicy', class: Google::Apis::ComputeV1::AutoscalingPolicy, decorator: Google::Apis::ComputeV1::AutoscalingPolicy::Representation
855
+
856
+ property :creation_timestamp, as: 'creationTimestamp'
857
+ property :description, as: 'description'
858
+ property :id, as: 'id'
859
+ property :kind, as: 'kind'
860
+ property :name, as: 'name'
861
+ property :self_link, as: 'selfLink'
862
+ property :target, as: 'target'
863
+ property :zone, as: 'zone'
864
+ end
865
+ end
866
+
867
+ class AutoscalerAggregatedList
868
+ # @private
869
+ class Representation < Google::Apis::Core::JsonRepresentation
870
+ property :id, as: 'id'
871
+ hash :items, as: 'items', class: Google::Apis::ComputeV1::AutoscalersScopedList, decorator: Google::Apis::ComputeV1::AutoscalersScopedList::Representation
872
+
873
+ property :kind, as: 'kind'
874
+ property :next_page_token, as: 'nextPageToken'
875
+ property :self_link, as: 'selfLink'
876
+ end
877
+ end
878
+
879
+ class AutoscalerList
880
+ # @private
881
+ class Representation < Google::Apis::Core::JsonRepresentation
882
+ property :id, as: 'id'
883
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::Autoscaler, decorator: Google::Apis::ComputeV1::Autoscaler::Representation
884
+
885
+ property :kind, as: 'kind'
886
+ property :next_page_token, as: 'nextPageToken'
887
+ property :self_link, as: 'selfLink'
888
+ end
889
+ end
890
+
891
+ class AutoscalersScopedList
892
+ # @private
893
+ class Representation < Google::Apis::Core::JsonRepresentation
894
+ collection :autoscalers, as: 'autoscalers', class: Google::Apis::ComputeV1::Autoscaler, decorator: Google::Apis::ComputeV1::Autoscaler::Representation
895
+
896
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::AutoscalersScopedList::Warning, decorator: Google::Apis::ComputeV1::AutoscalersScopedList::Warning::Representation
897
+
898
+ end
899
+
900
+ class Warning
901
+ # @private
902
+ class Representation < Google::Apis::Core::JsonRepresentation
903
+ property :code, as: 'code'
904
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::AutoscalersScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::AutoscalersScopedList::Warning::Datum::Representation
905
+
906
+ property :message, as: 'message'
907
+ end
908
+
909
+ class Datum
910
+ # @private
911
+ class Representation < Google::Apis::Core::JsonRepresentation
912
+ property :key, as: 'key'
913
+ property :value, as: 'value'
914
+ end
915
+ end
916
+ end
917
+ end
918
+
919
+ class AutoscalingPolicy
920
+ # @private
921
+ class Representation < Google::Apis::Core::JsonRepresentation
922
+ property :cool_down_period_sec, as: 'coolDownPeriodSec'
923
+ property :cpu_utilization, as: 'cpuUtilization', class: Google::Apis::ComputeV1::AutoscalingPolicyCpuUtilization, decorator: Google::Apis::ComputeV1::AutoscalingPolicyCpuUtilization::Representation
924
+
925
+ collection :custom_metric_utilizations, as: 'customMetricUtilizations', class: Google::Apis::ComputeV1::AutoscalingPolicyCustomMetricUtilization, decorator: Google::Apis::ComputeV1::AutoscalingPolicyCustomMetricUtilization::Representation
926
+
927
+ property :load_balancing_utilization, as: 'loadBalancingUtilization', class: Google::Apis::ComputeV1::AutoscalingPolicyLoadBalancingUtilization, decorator: Google::Apis::ComputeV1::AutoscalingPolicyLoadBalancingUtilization::Representation
928
+
929
+ property :max_num_replicas, as: 'maxNumReplicas'
930
+ property :min_num_replicas, as: 'minNumReplicas'
931
+ end
932
+ end
933
+
934
+ class AutoscalingPolicyCpuUtilization
935
+ # @private
936
+ class Representation < Google::Apis::Core::JsonRepresentation
937
+ property :utilization_target, as: 'utilizationTarget'
938
+ end
939
+ end
940
+
941
+ class AutoscalingPolicyCustomMetricUtilization
942
+ # @private
943
+ class Representation < Google::Apis::Core::JsonRepresentation
944
+ property :metric, as: 'metric'
945
+ property :utilization_target, as: 'utilizationTarget'
946
+ property :utilization_target_type, as: 'utilizationTargetType'
947
+ end
948
+ end
949
+
950
+ class AutoscalingPolicyLoadBalancingUtilization
951
+ # @private
952
+ class Representation < Google::Apis::Core::JsonRepresentation
953
+ property :utilization_target, as: 'utilizationTarget'
954
+ end
955
+ end
956
+
687
957
  class Backend
688
958
  # @private
689
959
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1153,6 +1423,261 @@ module Google
1153
1423
  end
1154
1424
  end
1155
1425
 
1426
+ class InstanceGroup
1427
+ # @private
1428
+ class Representation < Google::Apis::Core::JsonRepresentation
1429
+ property :creation_timestamp, as: 'creationTimestamp'
1430
+ property :description, as: 'description'
1431
+ property :fingerprint, :base64 => true, as: 'fingerprint'
1432
+ property :id, as: 'id'
1433
+ property :kind, as: 'kind'
1434
+ property :name, as: 'name'
1435
+ collection :named_ports, as: 'namedPorts', class: Google::Apis::ComputeV1::NamedPort, decorator: Google::Apis::ComputeV1::NamedPort::Representation
1436
+
1437
+ property :network, as: 'network'
1438
+ property :self_link, as: 'selfLink'
1439
+ property :size, as: 'size'
1440
+ property :zone, as: 'zone'
1441
+ end
1442
+ end
1443
+
1444
+ class InstanceGroupAggregatedList
1445
+ # @private
1446
+ class Representation < Google::Apis::Core::JsonRepresentation
1447
+ property :id, as: 'id'
1448
+ hash :items, as: 'items', class: Google::Apis::ComputeV1::InstanceGroupsScopedList, decorator: Google::Apis::ComputeV1::InstanceGroupsScopedList::Representation
1449
+
1450
+ property :kind, as: 'kind'
1451
+ property :next_page_token, as: 'nextPageToken'
1452
+ property :self_link, as: 'selfLink'
1453
+ end
1454
+ end
1455
+
1456
+ class InstanceGroupList
1457
+ # @private
1458
+ class Representation < Google::Apis::Core::JsonRepresentation
1459
+ property :id, as: 'id'
1460
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::InstanceGroup, decorator: Google::Apis::ComputeV1::InstanceGroup::Representation
1461
+
1462
+ property :kind, as: 'kind'
1463
+ property :next_page_token, as: 'nextPageToken'
1464
+ property :self_link, as: 'selfLink'
1465
+ end
1466
+ end
1467
+
1468
+ class InstanceGroupManager
1469
+ # @private
1470
+ class Representation < Google::Apis::Core::JsonRepresentation
1471
+ collection :auto_healing_policies, as: 'autoHealingPolicies', class: Google::Apis::ComputeV1::InstanceGroupManagerAutoHealingPolicy, decorator: Google::Apis::ComputeV1::InstanceGroupManagerAutoHealingPolicy::Representation
1472
+
1473
+ property :base_instance_name, as: 'baseInstanceName'
1474
+ property :creation_timestamp, as: 'creationTimestamp'
1475
+ property :current_actions, as: 'currentActions', class: Google::Apis::ComputeV1::InstanceGroupManagerActionsSummary, decorator: Google::Apis::ComputeV1::InstanceGroupManagerActionsSummary::Representation
1476
+
1477
+ property :description, as: 'description'
1478
+ property :fingerprint, :base64 => true, as: 'fingerprint'
1479
+ property :id, as: 'id'
1480
+ property :instance_group, as: 'instanceGroup'
1481
+ property :instance_template, as: 'instanceTemplate'
1482
+ property :kind, as: 'kind'
1483
+ property :name, as: 'name'
1484
+ property :self_link, as: 'selfLink'
1485
+ collection :target_pools, as: 'targetPools'
1486
+ property :target_size, as: 'targetSize'
1487
+ property :zone, as: 'zone'
1488
+ end
1489
+ end
1490
+
1491
+ class InstanceGroupManagerActionsSummary
1492
+ # @private
1493
+ class Representation < Google::Apis::Core::JsonRepresentation
1494
+ property :abandoning, as: 'abandoning'
1495
+ property :creating, as: 'creating'
1496
+ property :deleting, as: 'deleting'
1497
+ property :none, as: 'none'
1498
+ property :recreating, as: 'recreating'
1499
+ property :refreshing, as: 'refreshing'
1500
+ property :restarting, as: 'restarting'
1501
+ end
1502
+ end
1503
+
1504
+ class InstanceGroupManagerAggregatedList
1505
+ # @private
1506
+ class Representation < Google::Apis::Core::JsonRepresentation
1507
+ property :id, as: 'id'
1508
+ hash :items, as: 'items', class: Google::Apis::ComputeV1::InstanceGroupManagersScopedList, decorator: Google::Apis::ComputeV1::InstanceGroupManagersScopedList::Representation
1509
+
1510
+ property :kind, as: 'kind'
1511
+ property :next_page_token, as: 'nextPageToken'
1512
+ property :self_link, as: 'selfLink'
1513
+ end
1514
+ end
1515
+
1516
+ class InstanceGroupManagerAutoHealingPolicy
1517
+ # @private
1518
+ class Representation < Google::Apis::Core::JsonRepresentation
1519
+ property :action_type, as: 'actionType'
1520
+ property :health_check, as: 'healthCheck'
1521
+ end
1522
+ end
1523
+
1524
+ class InstanceGroupManagerList
1525
+ # @private
1526
+ class Representation < Google::Apis::Core::JsonRepresentation
1527
+ property :id, as: 'id'
1528
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::InstanceGroupManager, decorator: Google::Apis::ComputeV1::InstanceGroupManager::Representation
1529
+
1530
+ property :kind, as: 'kind'
1531
+ property :next_page_token, as: 'nextPageToken'
1532
+ property :self_link, as: 'selfLink'
1533
+ end
1534
+ end
1535
+
1536
+ class InstanceGroupManagersAbandonInstancesRequest
1537
+ # @private
1538
+ class Representation < Google::Apis::Core::JsonRepresentation
1539
+ collection :instances, as: 'instances'
1540
+ end
1541
+ end
1542
+
1543
+ class InstanceGroupManagersDeleteInstancesRequest
1544
+ # @private
1545
+ class Representation < Google::Apis::Core::JsonRepresentation
1546
+ collection :instances, as: 'instances'
1547
+ end
1548
+ end
1549
+
1550
+ class InstanceGroupManagersListManagedInstancesResponse
1551
+ # @private
1552
+ class Representation < Google::Apis::Core::JsonRepresentation
1553
+ collection :managed_instances, as: 'managedInstances', class: Google::Apis::ComputeV1::ManagedInstance, decorator: Google::Apis::ComputeV1::ManagedInstance::Representation
1554
+
1555
+ end
1556
+ end
1557
+
1558
+ class InstanceGroupManagersRecreateInstancesRequest
1559
+ # @private
1560
+ class Representation < Google::Apis::Core::JsonRepresentation
1561
+ collection :instances, as: 'instances'
1562
+ end
1563
+ end
1564
+
1565
+ class InstanceGroupManagersScopedList
1566
+ # @private
1567
+ class Representation < Google::Apis::Core::JsonRepresentation
1568
+ collection :instance_group_managers, as: 'instanceGroupManagers', class: Google::Apis::ComputeV1::InstanceGroupManager, decorator: Google::Apis::ComputeV1::InstanceGroupManager::Representation
1569
+
1570
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::InstanceGroupManagersScopedList::Warning, decorator: Google::Apis::ComputeV1::InstanceGroupManagersScopedList::Warning::Representation
1571
+
1572
+ end
1573
+
1574
+ class Warning
1575
+ # @private
1576
+ class Representation < Google::Apis::Core::JsonRepresentation
1577
+ property :code, as: 'code'
1578
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::InstanceGroupManagersScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::InstanceGroupManagersScopedList::Warning::Datum::Representation
1579
+
1580
+ property :message, as: 'message'
1581
+ end
1582
+
1583
+ class Datum
1584
+ # @private
1585
+ class Representation < Google::Apis::Core::JsonRepresentation
1586
+ property :key, as: 'key'
1587
+ property :value, as: 'value'
1588
+ end
1589
+ end
1590
+ end
1591
+ end
1592
+
1593
+ class InstanceGroupManagersSetInstanceTemplateRequest
1594
+ # @private
1595
+ class Representation < Google::Apis::Core::JsonRepresentation
1596
+ property :instance_template, as: 'instanceTemplate'
1597
+ end
1598
+ end
1599
+
1600
+ class InstanceGroupManagersSetTargetPoolsRequest
1601
+ # @private
1602
+ class Representation < Google::Apis::Core::JsonRepresentation
1603
+ property :fingerprint, :base64 => true, as: 'fingerprint'
1604
+ collection :target_pools, as: 'targetPools'
1605
+ end
1606
+ end
1607
+
1608
+ class InstanceGroupsAddInstancesRequest
1609
+ # @private
1610
+ class Representation < Google::Apis::Core::JsonRepresentation
1611
+ collection :instances, as: 'instances', class: Google::Apis::ComputeV1::InstanceReference, decorator: Google::Apis::ComputeV1::InstanceReference::Representation
1612
+
1613
+ end
1614
+ end
1615
+
1616
+ class InstanceGroupsListInstances
1617
+ # @private
1618
+ class Representation < Google::Apis::Core::JsonRepresentation
1619
+ property :id, as: 'id'
1620
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::InstanceWithNamedPorts, decorator: Google::Apis::ComputeV1::InstanceWithNamedPorts::Representation
1621
+
1622
+ property :kind, as: 'kind'
1623
+ property :next_page_token, as: 'nextPageToken'
1624
+ property :self_link, as: 'selfLink'
1625
+ end
1626
+ end
1627
+
1628
+ class InstanceGroupsListInstancesRequest
1629
+ # @private
1630
+ class Representation < Google::Apis::Core::JsonRepresentation
1631
+ property :instance_state, as: 'instanceState'
1632
+ property :port_name, as: 'portName'
1633
+ end
1634
+ end
1635
+
1636
+ class InstanceGroupsRemoveInstancesRequest
1637
+ # @private
1638
+ class Representation < Google::Apis::Core::JsonRepresentation
1639
+ collection :instances, as: 'instances', class: Google::Apis::ComputeV1::InstanceReference, decorator: Google::Apis::ComputeV1::InstanceReference::Representation
1640
+
1641
+ end
1642
+ end
1643
+
1644
+ class InstanceGroupsScopedList
1645
+ # @private
1646
+ class Representation < Google::Apis::Core::JsonRepresentation
1647
+ collection :instance_groups, as: 'instanceGroups', class: Google::Apis::ComputeV1::InstanceGroup, decorator: Google::Apis::ComputeV1::InstanceGroup::Representation
1648
+
1649
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::InstanceGroupsScopedList::Warning, decorator: Google::Apis::ComputeV1::InstanceGroupsScopedList::Warning::Representation
1650
+
1651
+ end
1652
+
1653
+ class Warning
1654
+ # @private
1655
+ class Representation < Google::Apis::Core::JsonRepresentation
1656
+ property :code, as: 'code'
1657
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::InstanceGroupsScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::InstanceGroupsScopedList::Warning::Datum::Representation
1658
+
1659
+ property :message, as: 'message'
1660
+ end
1661
+
1662
+ class Datum
1663
+ # @private
1664
+ class Representation < Google::Apis::Core::JsonRepresentation
1665
+ property :key, as: 'key'
1666
+ property :value, as: 'value'
1667
+ end
1668
+ end
1669
+ end
1670
+ end
1671
+
1672
+ class InstanceGroupsSetNamedPortsRequest
1673
+ # @private
1674
+ class Representation < Google::Apis::Core::JsonRepresentation
1675
+ property :fingerprint, :base64 => true, as: 'fingerprint'
1676
+ collection :named_ports, as: 'namedPorts', class: Google::Apis::ComputeV1::NamedPort, decorator: Google::Apis::ComputeV1::NamedPort::Representation
1677
+
1678
+ end
1679
+ end
1680
+
1156
1681
  class InstanceList
1157
1682
  # @private
1158
1683
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1227,6 +1752,16 @@ module Google
1227
1752
  end
1228
1753
  end
1229
1754
 
1755
+ class InstanceWithNamedPorts
1756
+ # @private
1757
+ class Representation < Google::Apis::Core::JsonRepresentation
1758
+ property :instance, as: 'instance'
1759
+ collection :named_ports, as: 'namedPorts', class: Google::Apis::ComputeV1::NamedPort, decorator: Google::Apis::ComputeV1::NamedPort::Representation
1760
+
1761
+ property :status, as: 'status'
1762
+ end
1763
+ end
1764
+
1230
1765
  class InstancesScopedList
1231
1766
  # @private
1232
1767
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1346,6 +1881,43 @@ module Google
1346
1881
  end
1347
1882
  end
1348
1883
 
1884
+ class ManagedInstance
1885
+ # @private
1886
+ class Representation < Google::Apis::Core::JsonRepresentation
1887
+ property :current_action, as: 'currentAction'
1888
+ property :id, as: 'id'
1889
+ property :instance, as: 'instance'
1890
+ property :instance_status, as: 'instanceStatus'
1891
+ property :last_attempt, as: 'lastAttempt', class: Google::Apis::ComputeV1::ManagedInstanceLastAttempt, decorator: Google::Apis::ComputeV1::ManagedInstanceLastAttempt::Representation
1892
+
1893
+ end
1894
+ end
1895
+
1896
+ class ManagedInstanceLastAttempt
1897
+ # @private
1898
+ class Representation < Google::Apis::Core::JsonRepresentation
1899
+ property :errors, as: 'errors', class: Google::Apis::ComputeV1::ManagedInstanceLastAttempt::Errors, decorator: Google::Apis::ComputeV1::ManagedInstanceLastAttempt::Errors::Representation
1900
+
1901
+ end
1902
+
1903
+ class Errors
1904
+ # @private
1905
+ class Representation < Google::Apis::Core::JsonRepresentation
1906
+ collection :errors, as: 'errors', class: Google::Apis::ComputeV1::ManagedInstanceLastAttempt::Errors::Error, decorator: Google::Apis::ComputeV1::ManagedInstanceLastAttempt::Errors::Error::Representation
1907
+
1908
+ end
1909
+
1910
+ class Error
1911
+ # @private
1912
+ class Representation < Google::Apis::Core::JsonRepresentation
1913
+ property :code, as: 'code'
1914
+ property :location, as: 'location'
1915
+ property :message, as: 'message'
1916
+ end
1917
+ end
1918
+ end
1919
+ end
1920
+
1349
1921
  class Metadata
1350
1922
  # @private
1351
1923
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1364,6 +1936,14 @@ module Google
1364
1936
  end
1365
1937
  end
1366
1938
 
1939
+ class NamedPort
1940
+ # @private
1941
+ class Representation < Google::Apis::Core::JsonRepresentation
1942
+ property :name, as: 'name'
1943
+ property :port, as: 'port'
1944
+ end
1945
+ end
1946
+
1367
1947
  class Network
1368
1948
  # @private
1369
1949
  class Representation < Google::Apis::Core::JsonRepresentation