google-api-client 0.9.11 → 0.9.12

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 (135) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/Gemfile +1 -1
  4. data/README.md +1 -1
  5. data/api_names.yaml +55 -117
  6. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +76 -8
  7. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +23 -0
  8. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +10 -4
  9. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  10. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
  11. data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
  12. data/generated/google/apis/admin_directory_v1/classes.rb +6 -0
  13. data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
  14. data/generated/google/apis/admin_directory_v1/service.rb +2 -2
  15. data/generated/google/apis/admin_directory_v1.rb +1 -1
  16. data/generated/google/apis/admin_reports_v1/service.rb +2 -2
  17. data/generated/google/apis/admin_reports_v1.rb +3 -3
  18. data/generated/google/apis/adsense_v1_4.rb +1 -1
  19. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  20. data/generated/google/apis/analytics_v3/classes.rb +371 -1
  21. data/generated/google/apis/analytics_v3/representations.rb +135 -0
  22. data/generated/google/apis/analytics_v3/service.rb +218 -0
  23. data/generated/google/apis/analytics_v3.rb +1 -1
  24. data/generated/google/apis/analyticsreporting_v4/classes.rb +18 -8
  25. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  26. data/generated/google/apis/androidenterprise_v1/classes.rb +208 -37
  27. data/generated/google/apis/androidenterprise_v1/representations.rb +83 -0
  28. data/generated/google/apis/androidenterprise_v1/service.rb +469 -20
  29. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  30. data/generated/google/apis/androidpublisher_v2/classes.rb +9 -8
  31. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  32. data/generated/google/apis/appengine_v1beta5/classes.rb +379 -297
  33. data/generated/google/apis/appengine_v1beta5/representations.rb +55 -10
  34. data/generated/google/apis/appengine_v1beta5/service.rb +281 -35
  35. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  36. data/generated/google/apis/appsactivity_v1.rb +1 -1
  37. data/generated/google/apis/appstate_v1.rb +1 -1
  38. data/generated/google/apis/bigquery_v2/classes.rb +50 -2
  39. data/generated/google/apis/bigquery_v2/representations.rb +6 -0
  40. data/generated/google/apis/bigquery_v2/service.rb +8 -1
  41. data/generated/google/apis/bigquery_v2.rb +1 -1
  42. data/generated/google/apis/calendar_v3.rb +1 -1
  43. data/generated/google/apis/civicinfo_v2/classes.rb +6 -0
  44. data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
  45. data/generated/google/apis/civicinfo_v2/service.rb +2 -1
  46. data/generated/google/apis/civicinfo_v2.rb +3 -2
  47. data/generated/google/apis/classroom_v1/classes.rb +176 -37
  48. data/generated/google/apis/classroom_v1/representations.rb +73 -9
  49. data/generated/google/apis/classroom_v1/service.rb +392 -37
  50. data/generated/google/apis/classroom_v1.rb +1 -1
  51. data/generated/google/apis/cloudbuild_v1/classes.rb +190 -12
  52. data/generated/google/apis/cloudbuild_v1/representations.rb +73 -2
  53. data/generated/google/apis/cloudbuild_v1/service.rb +170 -0
  54. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  55. data/generated/google/apis/clouddebugger_v2/service.rb +2 -2
  56. data/generated/google/apis/clouddebugger_v2.rb +3 -6
  57. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  58. data/generated/google/apis/compute_beta/classes.rb +599 -77
  59. data/generated/google/apis/compute_beta/representations.rb +240 -0
  60. data/generated/google/apis/compute_beta/service.rb +1999 -710
  61. data/generated/google/apis/compute_beta.rb +1 -1
  62. data/generated/google/apis/compute_v1/classes.rb +140 -58
  63. data/generated/google/apis/compute_v1/representations.rb +17 -0
  64. data/generated/google/apis/compute_v1/service.rb +462 -521
  65. data/generated/google/apis/compute_v1.rb +1 -1
  66. data/generated/google/apis/content_v2/classes.rb +689 -1
  67. data/generated/google/apis/content_v2/representations.rb +316 -0
  68. data/generated/google/apis/content_v2/service.rb +244 -0
  69. data/generated/google/apis/content_v2.rb +1 -1
  70. data/generated/google/apis/datastore_v1beta3/classes.rb +48 -0
  71. data/generated/google/apis/datastore_v1beta3/representations.rb +5 -0
  72. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  73. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  74. data/generated/google/apis/dfareporting_v2_6/classes.rb +11585 -0
  75. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  76. data/generated/google/apis/dfareporting_v2_6/service.rb +9006 -0
  77. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  78. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  79. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  80. data/generated/google/apis/drive_v2/classes.rb +1 -1
  81. data/generated/google/apis/drive_v2.rb +1 -1
  82. data/generated/google/apis/drive_v3.rb +1 -1
  83. data/generated/google/apis/fitness_v1/classes.rb +8 -0
  84. data/generated/google/apis/fitness_v1/representations.rb +1 -0
  85. data/generated/google/apis/fitness_v1/service.rb +2 -2
  86. data/generated/google/apis/fitness_v1.rb +7 -1
  87. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  88. data/generated/google/apis/games_management_v1management.rb +1 -1
  89. data/generated/google/apis/games_v1.rb +1 -1
  90. data/generated/google/apis/genomics_v1/classes.rb +13 -2
  91. data/generated/google/apis/genomics_v1/representations.rb +1 -0
  92. data/generated/google/apis/genomics_v1/service.rb +2 -3
  93. data/generated/google/apis/genomics_v1.rb +1 -1
  94. data/generated/google/apis/gmail_v1/classes.rb +8 -11
  95. data/generated/google/apis/gmail_v1/service.rb +5 -5
  96. data/generated/google/apis/gmail_v1.rb +1 -1
  97. data/generated/google/apis/identitytoolkit_v3/classes.rb +38 -0
  98. data/generated/google/apis/identitytoolkit_v3/representations.rb +6 -0
  99. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  100. data/generated/google/apis/monitoring_v3/classes.rb +340 -421
  101. data/generated/google/apis/monitoring_v3/representations.rb +0 -17
  102. data/generated/google/apis/monitoring_v3/service.rb +136 -168
  103. data/generated/google/apis/monitoring_v3.rb +1 -1
  104. data/generated/google/apis/oauth2_v2.rb +1 -1
  105. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  106. data/generated/google/apis/plus_domains_v1.rb +1 -1
  107. data/generated/google/apis/plus_v1.rb +1 -1
  108. data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
  109. data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
  110. data/generated/google/apis/qpx_express_v1.rb +1 -1
  111. data/generated/google/apis/script_v1/classes.rb +6 -0
  112. data/generated/google/apis/script_v1/representations.rb +1 -0
  113. data/generated/google/apis/script_v1.rb +1 -1
  114. data/generated/google/apis/sheets_v4/classes.rb +35 -0
  115. data/generated/google/apis/sheets_v4/representations.rb +16 -0
  116. data/generated/google/apis/sheets_v4/service.rb +55 -0
  117. data/generated/google/apis/sheets_v4.rb +1 -1
  118. data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
  119. data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
  120. data/generated/google/apis/sqladmin_v1beta4/service.rb +41 -0
  121. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  122. data/generated/google/apis/storage_v1/classes.rb +36 -1
  123. data/generated/google/apis/storage_v1/representations.rb +16 -0
  124. data/generated/google/apis/storage_v1/service.rb +18 -3
  125. data/generated/google/apis/storage_v1.rb +1 -1
  126. data/generated/google/apis/vision_v1.rb +1 -1
  127. data/generated/google/apis/youtube_partner_v1/classes.rb +6 -0
  128. data/generated/google/apis/youtube_partner_v1/representations.rb +2 -0
  129. data/generated/google/apis/youtube_partner_v1/service.rb +15 -3
  130. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  131. data/generated/google/apis/youtube_v3.rb +1 -1
  132. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  133. data/lib/google/apis/generator/annotator.rb +6 -0
  134. data/lib/google/apis/version.rb +1 -1
  135. metadata +6 -3
@@ -94,6 +94,12 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class AutoscalerStatusDetails
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
97
103
  class AutoscalersScopedList
98
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
105
 
@@ -868,6 +874,84 @@ module Google
868
874
  include Google::Apis::Core::JsonObjectSupport
869
875
  end
870
876
 
877
+ class RegionAutoscalerList
878
+ class Representation < Google::Apis::Core::JsonRepresentation; end
879
+
880
+ include Google::Apis::Core::JsonObjectSupport
881
+ end
882
+
883
+ class RegionInstanceGroupList
884
+ class Representation < Google::Apis::Core::JsonRepresentation; end
885
+
886
+ include Google::Apis::Core::JsonObjectSupport
887
+ end
888
+
889
+ class RegionInstanceGroupManagerList
890
+ class Representation < Google::Apis::Core::JsonRepresentation; end
891
+
892
+ include Google::Apis::Core::JsonObjectSupport
893
+ end
894
+
895
+ class RegionInstanceGroupManagersAbandonInstancesRequest
896
+ class Representation < Google::Apis::Core::JsonRepresentation; end
897
+
898
+ include Google::Apis::Core::JsonObjectSupport
899
+ end
900
+
901
+ class RegionInstanceGroupManagersDeleteInstancesRequest
902
+ class Representation < Google::Apis::Core::JsonRepresentation; end
903
+
904
+ include Google::Apis::Core::JsonObjectSupport
905
+ end
906
+
907
+ class RegionInstanceGroupManagersListInstancesResponse
908
+ class Representation < Google::Apis::Core::JsonRepresentation; end
909
+
910
+ include Google::Apis::Core::JsonObjectSupport
911
+ end
912
+
913
+ class RegionInstanceGroupManagersRecreateRequest
914
+ class Representation < Google::Apis::Core::JsonRepresentation; end
915
+
916
+ include Google::Apis::Core::JsonObjectSupport
917
+ end
918
+
919
+ class RegionInstanceGroupManagersSetAutoHealingRequest
920
+ class Representation < Google::Apis::Core::JsonRepresentation; end
921
+
922
+ include Google::Apis::Core::JsonObjectSupport
923
+ end
924
+
925
+ class RegionInstanceGroupManagersSetTargetPoolsRequest
926
+ class Representation < Google::Apis::Core::JsonRepresentation; end
927
+
928
+ include Google::Apis::Core::JsonObjectSupport
929
+ end
930
+
931
+ class RegionInstanceGroupManagersSetTemplateRequest
932
+ class Representation < Google::Apis::Core::JsonRepresentation; end
933
+
934
+ include Google::Apis::Core::JsonObjectSupport
935
+ end
936
+
937
+ class RegionInstanceGroupsListInstances
938
+ class Representation < Google::Apis::Core::JsonRepresentation; end
939
+
940
+ include Google::Apis::Core::JsonObjectSupport
941
+ end
942
+
943
+ class RegionInstanceGroupsListInstancesRequest
944
+ class Representation < Google::Apis::Core::JsonRepresentation; end
945
+
946
+ include Google::Apis::Core::JsonObjectSupport
947
+ end
948
+
949
+ class RegionInstanceGroupsSetNamedPortsRequest
950
+ class Representation < Google::Apis::Core::JsonRepresentation; end
951
+
952
+ include Google::Apis::Core::JsonObjectSupport
953
+ end
954
+
871
955
  class RegionList
872
956
  class Representation < Google::Apis::Core::JsonRepresentation; end
873
957
 
@@ -958,6 +1042,12 @@ module Google
958
1042
  include Google::Apis::Core::JsonObjectSupport
959
1043
  end
960
1044
 
1045
+ class RoutersPreviewResponse
1046
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1047
+
1048
+ include Google::Apis::Core::JsonObjectSupport
1049
+ end
1050
+
961
1051
  class RoutersScopedList
962
1052
  class Representation < Google::Apis::Core::JsonRepresentation; end
963
1053
 
@@ -1042,6 +1132,12 @@ module Google
1042
1132
  include Google::Apis::Core::JsonObjectSupport
1043
1133
  end
1044
1134
 
1135
+ class SubnetworksExpandIpCidrRangeRequest
1136
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1137
+
1138
+ include Google::Apis::Core::JsonObjectSupport
1139
+ end
1140
+
1045
1141
  class SubnetworksScopedList
1046
1142
  class Representation < Google::Apis::Core::JsonRepresentation; end
1047
1143
 
@@ -1519,6 +1615,9 @@ module Google
1519
1615
  property :name, as: 'name'
1520
1616
  property :region, as: 'region'
1521
1617
  property :self_link, as: 'selfLink'
1618
+ property :status, as: 'status'
1619
+ collection :status_details, as: 'statusDetails', class: Google::Apis::ComputeBeta::AutoscalerStatusDetails, decorator: Google::Apis::ComputeBeta::AutoscalerStatusDetails::Representation
1620
+
1522
1621
  property :target, as: 'target'
1523
1622
  property :zone, as: 'zone'
1524
1623
  end
@@ -1548,6 +1647,14 @@ module Google
1548
1647
  end
1549
1648
  end
1550
1649
 
1650
+ class AutoscalerStatusDetails
1651
+ # @private
1652
+ class Representation < Google::Apis::Core::JsonRepresentation
1653
+ property :message, as: 'message'
1654
+ property :type, as: 'type'
1655
+ end
1656
+ end
1657
+
1551
1658
  class AutoscalersScopedList
1552
1659
  # @private
1553
1660
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2563,6 +2670,7 @@ module Google
2563
2670
  property :description, as: 'description'
2564
2671
  collection :disks, as: 'disks', class: Google::Apis::ComputeBeta::AttachedDisk, decorator: Google::Apis::ComputeBeta::AttachedDisk::Representation
2565
2672
 
2673
+ hash :labels, as: 'labels'
2566
2674
  property :machine_type, as: 'machineType'
2567
2675
  property :metadata, as: 'metadata', class: Google::Apis::ComputeBeta::Metadata, decorator: Google::Apis::ComputeBeta::Metadata::Representation
2568
2676
 
@@ -3040,6 +3148,123 @@ module Google
3040
3148
  end
3041
3149
  end
3042
3150
 
3151
+ class RegionAutoscalerList
3152
+ # @private
3153
+ class Representation < Google::Apis::Core::JsonRepresentation
3154
+ property :id, as: 'id'
3155
+ collection :items, as: 'items', class: Google::Apis::ComputeBeta::Autoscaler, decorator: Google::Apis::ComputeBeta::Autoscaler::Representation
3156
+
3157
+ property :kind, as: 'kind'
3158
+ property :next_page_token, as: 'nextPageToken'
3159
+ property :self_link, as: 'selfLink'
3160
+ end
3161
+ end
3162
+
3163
+ class RegionInstanceGroupList
3164
+ # @private
3165
+ class Representation < Google::Apis::Core::JsonRepresentation
3166
+ property :id, as: 'id'
3167
+ collection :items, as: 'items', class: Google::Apis::ComputeBeta::InstanceGroup, decorator: Google::Apis::ComputeBeta::InstanceGroup::Representation
3168
+
3169
+ property :kind, as: 'kind'
3170
+ property :next_page_token, as: 'nextPageToken'
3171
+ property :self_link, as: 'selfLink'
3172
+ end
3173
+ end
3174
+
3175
+ class RegionInstanceGroupManagerList
3176
+ # @private
3177
+ class Representation < Google::Apis::Core::JsonRepresentation
3178
+ property :id, as: 'id'
3179
+ collection :items, as: 'items', class: Google::Apis::ComputeBeta::InstanceGroupManager, decorator: Google::Apis::ComputeBeta::InstanceGroupManager::Representation
3180
+
3181
+ property :kind, as: 'kind'
3182
+ property :next_page_token, as: 'nextPageToken'
3183
+ property :self_link, as: 'selfLink'
3184
+ end
3185
+ end
3186
+
3187
+ class RegionInstanceGroupManagersAbandonInstancesRequest
3188
+ # @private
3189
+ class Representation < Google::Apis::Core::JsonRepresentation
3190
+ collection :instances, as: 'instances'
3191
+ end
3192
+ end
3193
+
3194
+ class RegionInstanceGroupManagersDeleteInstancesRequest
3195
+ # @private
3196
+ class Representation < Google::Apis::Core::JsonRepresentation
3197
+ collection :instances, as: 'instances'
3198
+ end
3199
+ end
3200
+
3201
+ class RegionInstanceGroupManagersListInstancesResponse
3202
+ # @private
3203
+ class Representation < Google::Apis::Core::JsonRepresentation
3204
+ collection :managed_instances, as: 'managedInstances', class: Google::Apis::ComputeBeta::ManagedInstance, decorator: Google::Apis::ComputeBeta::ManagedInstance::Representation
3205
+
3206
+ end
3207
+ end
3208
+
3209
+ class RegionInstanceGroupManagersRecreateRequest
3210
+ # @private
3211
+ class Representation < Google::Apis::Core::JsonRepresentation
3212
+ collection :instances, as: 'instances'
3213
+ end
3214
+ end
3215
+
3216
+ class RegionInstanceGroupManagersSetAutoHealingRequest
3217
+ # @private
3218
+ class Representation < Google::Apis::Core::JsonRepresentation
3219
+ collection :auto_healing_policies, as: 'autoHealingPolicies', class: Google::Apis::ComputeBeta::InstanceGroupManagerAutoHealingPolicy, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerAutoHealingPolicy::Representation
3220
+
3221
+ end
3222
+ end
3223
+
3224
+ class RegionInstanceGroupManagersSetTargetPoolsRequest
3225
+ # @private
3226
+ class Representation < Google::Apis::Core::JsonRepresentation
3227
+ property :fingerprint, :base64 => true, as: 'fingerprint'
3228
+ collection :target_pools, as: 'targetPools'
3229
+ end
3230
+ end
3231
+
3232
+ class RegionInstanceGroupManagersSetTemplateRequest
3233
+ # @private
3234
+ class Representation < Google::Apis::Core::JsonRepresentation
3235
+ property :instance_template, as: 'instanceTemplate'
3236
+ end
3237
+ end
3238
+
3239
+ class RegionInstanceGroupsListInstances
3240
+ # @private
3241
+ class Representation < Google::Apis::Core::JsonRepresentation
3242
+ property :id, as: 'id'
3243
+ collection :items, as: 'items', class: Google::Apis::ComputeBeta::InstanceWithNamedPorts, decorator: Google::Apis::ComputeBeta::InstanceWithNamedPorts::Representation
3244
+
3245
+ property :kind, as: 'kind'
3246
+ property :next_page_token, as: 'nextPageToken'
3247
+ property :self_link, as: 'selfLink'
3248
+ end
3249
+ end
3250
+
3251
+ class RegionInstanceGroupsListInstancesRequest
3252
+ # @private
3253
+ class Representation < Google::Apis::Core::JsonRepresentation
3254
+ property :instance_state, as: 'instanceState'
3255
+ property :port_name, as: 'portName'
3256
+ end
3257
+ end
3258
+
3259
+ class RegionInstanceGroupsSetNamedPortsRequest
3260
+ # @private
3261
+ class Representation < Google::Apis::Core::JsonRepresentation
3262
+ property :fingerprint, :base64 => true, as: 'fingerprint'
3263
+ collection :named_ports, as: 'namedPorts', class: Google::Apis::ComputeBeta::NamedPort, decorator: Google::Apis::ComputeBeta::NamedPort::Representation
3264
+
3265
+ end
3266
+ end
3267
+
3043
3268
  class RegionList
3044
3269
  # @private
3045
3270
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3221,6 +3446,14 @@ module Google
3221
3446
  end
3222
3447
  end
3223
3448
 
3449
+ class RoutersPreviewResponse
3450
+ # @private
3451
+ class Representation < Google::Apis::Core::JsonRepresentation
3452
+ property :resource, as: 'resource', class: Google::Apis::ComputeBeta::Router, decorator: Google::Apis::ComputeBeta::Router::Representation
3453
+
3454
+ end
3455
+ end
3456
+
3224
3457
  class RoutersScopedList
3225
3458
  # @private
3226
3459
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3391,6 +3624,13 @@ module Google
3391
3624
  end
3392
3625
  end
3393
3626
 
3627
+ class SubnetworksExpandIpCidrRangeRequest
3628
+ # @private
3629
+ class Representation < Google::Apis::Core::JsonRepresentation
3630
+ property :ip_cidr_range, as: 'ipCidrRange'
3631
+ end
3632
+ end
3633
+
3394
3634
  class SubnetworksScopedList
3395
3635
  # @private
3396
3636
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -68,16 +68,14 @@ module Google
68
68
  # must match the entire field.
69
69
  # For example, to filter for instances that do not have a name of example-
70
70
  # instance, you would use filter=name ne example-instance.
71
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
72
- # filter on nested fields. For example, you could filter on instances that have
73
- # set the scheduling.automaticRestart field to true. Use filtering on nested
74
- # fields to take advantage of labels to organize and search for results based on
75
- # label values.
76
- # The Beta API also supports filtering on multiple expressions by providing each
77
- # separate expression within parentheses. For example, (scheduling.
78
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
79
- # treated as AND expressions, meaning that resources must match all expressions
80
- # to pass the filters.
71
+ # You can filter on nested fields. For example, you could filter on instances
72
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
73
+ # nested fields to take advantage of labels to organize and search for results
74
+ # based on label values.
75
+ # To filter on multiple expressions, provide each separate expression within
76
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
77
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
78
+ # resources must match all expressions to pass the filters.
81
79
  # @param [Fixnum] max_results
82
80
  # The maximum number of results per page that should be returned. If the number
83
81
  # of available results is larger than maxResults, Compute Engine returns a
@@ -273,16 +271,14 @@ module Google
273
271
  # must match the entire field.
274
272
  # For example, to filter for instances that do not have a name of example-
275
273
  # instance, you would use filter=name ne example-instance.
276
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
277
- # filter on nested fields. For example, you could filter on instances that have
278
- # set the scheduling.automaticRestart field to true. Use filtering on nested
279
- # fields to take advantage of labels to organize and search for results based on
280
- # label values.
281
- # The Beta API also supports filtering on multiple expressions by providing each
282
- # separate expression within parentheses. For example, (scheduling.
283
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
284
- # treated as AND expressions, meaning that resources must match all expressions
285
- # to pass the filters.
274
+ # You can filter on nested fields. For example, you could filter on instances
275
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
276
+ # nested fields to take advantage of labels to organize and search for results
277
+ # based on label values.
278
+ # To filter on multiple expressions, provide each separate expression within
279
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
280
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
281
+ # resources must match all expressions to pass the filters.
286
282
  # @param [Fixnum] max_results
287
283
  # The maximum number of results per page that should be returned. If the number
288
284
  # of available results is larger than maxResults, Compute Engine returns a
@@ -397,16 +393,14 @@ module Google
397
393
  # must match the entire field.
398
394
  # For example, to filter for instances that do not have a name of example-
399
395
  # instance, you would use filter=name ne example-instance.
400
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
401
- # filter on nested fields. For example, you could filter on instances that have
402
- # set the scheduling.automaticRestart field to true. Use filtering on nested
403
- # fields to take advantage of labels to organize and search for results based on
404
- # label values.
405
- # The Beta API also supports filtering on multiple expressions by providing each
406
- # separate expression within parentheses. For example, (scheduling.
407
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
408
- # treated as AND expressions, meaning that resources must match all expressions
409
- # to pass the filters.
396
+ # You can filter on nested fields. For example, you could filter on instances
397
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
398
+ # nested fields to take advantage of labels to organize and search for results
399
+ # based on label values.
400
+ # To filter on multiple expressions, provide each separate expression within
401
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
402
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
403
+ # resources must match all expressions to pass the filters.
410
404
  # @param [Fixnum] max_results
411
405
  # The maximum number of results per page that should be returned. If the number
412
406
  # of available results is larger than maxResults, Compute Engine returns a
@@ -603,16 +597,14 @@ module Google
603
597
  # must match the entire field.
604
598
  # For example, to filter for instances that do not have a name of example-
605
599
  # instance, you would use filter=name ne example-instance.
606
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
607
- # filter on nested fields. For example, you could filter on instances that have
608
- # set the scheduling.automaticRestart field to true. Use filtering on nested
609
- # fields to take advantage of labels to organize and search for results based on
610
- # label values.
611
- # The Beta API also supports filtering on multiple expressions by providing each
612
- # separate expression within parentheses. For example, (scheduling.
613
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
614
- # treated as AND expressions, meaning that resources must match all expressions
615
- # to pass the filters.
600
+ # You can filter on nested fields. For example, you could filter on instances
601
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
602
+ # nested fields to take advantage of labels to organize and search for results
603
+ # based on label values.
604
+ # To filter on multiple expressions, provide each separate expression within
605
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
606
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
607
+ # resources must match all expressions to pass the filters.
616
608
  # @param [Fixnum] max_results
617
609
  # The maximum number of results per page that should be returned. If the number
618
610
  # of available results is larger than maxResults, Compute Engine returns a
@@ -976,16 +968,14 @@ module Google
976
968
  # must match the entire field.
977
969
  # For example, to filter for instances that do not have a name of example-
978
970
  # instance, you would use filter=name ne example-instance.
979
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
980
- # filter on nested fields. For example, you could filter on instances that have
981
- # set the scheduling.automaticRestart field to true. Use filtering on nested
982
- # fields to take advantage of labels to organize and search for results based on
983
- # label values.
984
- # The Beta API also supports filtering on multiple expressions by providing each
985
- # separate expression within parentheses. For example, (scheduling.
986
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
987
- # treated as AND expressions, meaning that resources must match all expressions
988
- # to pass the filters.
971
+ # You can filter on nested fields. For example, you could filter on instances
972
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
973
+ # nested fields to take advantage of labels to organize and search for results
974
+ # based on label values.
975
+ # To filter on multiple expressions, provide each separate expression within
976
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
977
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
978
+ # resources must match all expressions to pass the filters.
989
979
  # @param [Fixnum] max_results
990
980
  # The maximum number of results per page that should be returned. If the number
991
981
  # of available results is larger than maxResults, Compute Engine returns a
@@ -1183,16 +1173,14 @@ module Google
1183
1173
  # must match the entire field.
1184
1174
  # For example, to filter for instances that do not have a name of example-
1185
1175
  # instance, you would use filter=name ne example-instance.
1186
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
1187
- # filter on nested fields. For example, you could filter on instances that have
1188
- # set the scheduling.automaticRestart field to true. Use filtering on nested
1189
- # fields to take advantage of labels to organize and search for results based on
1190
- # label values.
1191
- # The Beta API also supports filtering on multiple expressions by providing each
1192
- # separate expression within parentheses. For example, (scheduling.
1193
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
1194
- # treated as AND expressions, meaning that resources must match all expressions
1195
- # to pass the filters.
1176
+ # You can filter on nested fields. For example, you could filter on instances
1177
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
1178
+ # nested fields to take advantage of labels to organize and search for results
1179
+ # based on label values.
1180
+ # To filter on multiple expressions, provide each separate expression within
1181
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
1182
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
1183
+ # resources must match all expressions to pass the filters.
1196
1184
  # @param [Fixnum] max_results
1197
1185
  # The maximum number of results per page that should be returned. If the number
1198
1186
  # of available results is larger than maxResults, Compute Engine returns a
@@ -1306,16 +1294,14 @@ module Google
1306
1294
  # must match the entire field.
1307
1295
  # For example, to filter for instances that do not have a name of example-
1308
1296
  # instance, you would use filter=name ne example-instance.
1309
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
1310
- # filter on nested fields. For example, you could filter on instances that have
1311
- # set the scheduling.automaticRestart field to true. Use filtering on nested
1312
- # fields to take advantage of labels to organize and search for results based on
1313
- # label values.
1314
- # The Beta API also supports filtering on multiple expressions by providing each
1315
- # separate expression within parentheses. For example, (scheduling.
1316
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
1317
- # treated as AND expressions, meaning that resources must match all expressions
1318
- # to pass the filters.
1297
+ # You can filter on nested fields. For example, you could filter on instances
1298
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
1299
+ # nested fields to take advantage of labels to organize and search for results
1300
+ # based on label values.
1301
+ # To filter on multiple expressions, provide each separate expression within
1302
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
1303
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
1304
+ # resources must match all expressions to pass the filters.
1319
1305
  # @param [Fixnum] max_results
1320
1306
  # The maximum number of results per page that should be returned. If the number
1321
1307
  # of available results is larger than maxResults, Compute Engine returns a
@@ -1386,16 +1372,14 @@ module Google
1386
1372
  # must match the entire field.
1387
1373
  # For example, to filter for instances that do not have a name of example-
1388
1374
  # instance, you would use filter=name ne example-instance.
1389
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
1390
- # filter on nested fields. For example, you could filter on instances that have
1391
- # set the scheduling.automaticRestart field to true. Use filtering on nested
1392
- # fields to take advantage of labels to organize and search for results based on
1393
- # label values.
1394
- # The Beta API also supports filtering on multiple expressions by providing each
1395
- # separate expression within parentheses. For example, (scheduling.
1396
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
1397
- # treated as AND expressions, meaning that resources must match all expressions
1398
- # to pass the filters.
1375
+ # You can filter on nested fields. For example, you could filter on instances
1376
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
1377
+ # nested fields to take advantage of labels to organize and search for results
1378
+ # based on label values.
1379
+ # To filter on multiple expressions, provide each separate expression within
1380
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
1381
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
1382
+ # resources must match all expressions to pass the filters.
1399
1383
  # @param [Fixnum] max_results
1400
1384
  # The maximum number of results per page that should be returned. If the number
1401
1385
  # of available results is larger than maxResults, Compute Engine returns a
@@ -1643,16 +1627,14 @@ module Google
1643
1627
  # must match the entire field.
1644
1628
  # For example, to filter for instances that do not have a name of example-
1645
1629
  # instance, you would use filter=name ne example-instance.
1646
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
1647
- # filter on nested fields. For example, you could filter on instances that have
1648
- # set the scheduling.automaticRestart field to true. Use filtering on nested
1649
- # fields to take advantage of labels to organize and search for results based on
1650
- # label values.
1651
- # The Beta API also supports filtering on multiple expressions by providing each
1652
- # separate expression within parentheses. For example, (scheduling.
1653
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
1654
- # treated as AND expressions, meaning that resources must match all expressions
1655
- # to pass the filters.
1630
+ # You can filter on nested fields. For example, you could filter on instances
1631
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
1632
+ # nested fields to take advantage of labels to organize and search for results
1633
+ # based on label values.
1634
+ # To filter on multiple expressions, provide each separate expression within
1635
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
1636
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
1637
+ # resources must match all expressions to pass the filters.
1656
1638
  # @param [Fixnum] max_results
1657
1639
  # The maximum number of results per page that should be returned. If the number
1658
1640
  # of available results is larger than maxResults, Compute Engine returns a
@@ -1971,16 +1953,14 @@ module Google
1971
1953
  # must match the entire field.
1972
1954
  # For example, to filter for instances that do not have a name of example-
1973
1955
  # instance, you would use filter=name ne example-instance.
1974
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
1975
- # filter on nested fields. For example, you could filter on instances that have
1976
- # set the scheduling.automaticRestart field to true. Use filtering on nested
1977
- # fields to take advantage of labels to organize and search for results based on
1978
- # label values.
1979
- # The Beta API also supports filtering on multiple expressions by providing each
1980
- # separate expression within parentheses. For example, (scheduling.
1981
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
1982
- # treated as AND expressions, meaning that resources must match all expressions
1983
- # to pass the filters.
1956
+ # You can filter on nested fields. For example, you could filter on instances
1957
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
1958
+ # nested fields to take advantage of labels to organize and search for results
1959
+ # based on label values.
1960
+ # To filter on multiple expressions, provide each separate expression within
1961
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
1962
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
1963
+ # resources must match all expressions to pass the filters.
1984
1964
  # @param [Fixnum] max_results
1985
1965
  # The maximum number of results per page that should be returned. If the number
1986
1966
  # of available results is larger than maxResults, Compute Engine returns a
@@ -2174,16 +2154,14 @@ module Google
2174
2154
  # must match the entire field.
2175
2155
  # For example, to filter for instances that do not have a name of example-
2176
2156
  # instance, you would use filter=name ne example-instance.
2177
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
2178
- # filter on nested fields. For example, you could filter on instances that have
2179
- # set the scheduling.automaticRestart field to true. Use filtering on nested
2180
- # fields to take advantage of labels to organize and search for results based on
2181
- # label values.
2182
- # The Beta API also supports filtering on multiple expressions by providing each
2183
- # separate expression within parentheses. For example, (scheduling.
2184
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
2185
- # treated as AND expressions, meaning that resources must match all expressions
2186
- # to pass the filters.
2157
+ # You can filter on nested fields. For example, you could filter on instances
2158
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
2159
+ # nested fields to take advantage of labels to organize and search for results
2160
+ # based on label values.
2161
+ # To filter on multiple expressions, provide each separate expression within
2162
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
2163
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
2164
+ # resources must match all expressions to pass the filters.
2187
2165
  # @param [Fixnum] max_results
2188
2166
  # The maximum number of results per page that should be returned. If the number
2189
2167
  # of available results is larger than maxResults, Compute Engine returns a
@@ -2380,16 +2358,14 @@ module Google
2380
2358
  # must match the entire field.
2381
2359
  # For example, to filter for instances that do not have a name of example-
2382
2360
  # instance, you would use filter=name ne example-instance.
2383
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
2384
- # filter on nested fields. For example, you could filter on instances that have
2385
- # set the scheduling.automaticRestart field to true. Use filtering on nested
2386
- # fields to take advantage of labels to organize and search for results based on
2387
- # label values.
2388
- # The Beta API also supports filtering on multiple expressions by providing each
2389
- # separate expression within parentheses. For example, (scheduling.
2390
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
2391
- # treated as AND expressions, meaning that resources must match all expressions
2392
- # to pass the filters.
2361
+ # You can filter on nested fields. For example, you could filter on instances
2362
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
2363
+ # nested fields to take advantage of labels to organize and search for results
2364
+ # based on label values.
2365
+ # To filter on multiple expressions, provide each separate expression within
2366
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
2367
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
2368
+ # resources must match all expressions to pass the filters.
2393
2369
  # @param [Fixnum] max_results
2394
2370
  # The maximum number of results per page that should be returned. If the number
2395
2371
  # of available results is larger than maxResults, Compute Engine returns a
@@ -2665,16 +2641,14 @@ module Google
2665
2641
  # must match the entire field.
2666
2642
  # For example, to filter for instances that do not have a name of example-
2667
2643
  # instance, you would use filter=name ne example-instance.
2668
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
2669
- # filter on nested fields. For example, you could filter on instances that have
2670
- # set the scheduling.automaticRestart field to true. Use filtering on nested
2671
- # fields to take advantage of labels to organize and search for results based on
2672
- # label values.
2673
- # The Beta API also supports filtering on multiple expressions by providing each
2674
- # separate expression within parentheses. For example, (scheduling.
2675
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
2676
- # treated as AND expressions, meaning that resources must match all expressions
2677
- # to pass the filters.
2644
+ # You can filter on nested fields. For example, you could filter on instances
2645
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
2646
+ # nested fields to take advantage of labels to organize and search for results
2647
+ # based on label values.
2648
+ # To filter on multiple expressions, provide each separate expression within
2649
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
2650
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
2651
+ # resources must match all expressions to pass the filters.
2678
2652
  # @param [Fixnum] max_results
2679
2653
  # The maximum number of results per page that should be returned. If the number
2680
2654
  # of available results is larger than maxResults, Compute Engine returns a
@@ -2902,16 +2876,14 @@ module Google
2902
2876
  # must match the entire field.
2903
2877
  # For example, to filter for instances that do not have a name of example-
2904
2878
  # instance, you would use filter=name ne example-instance.
2905
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
2906
- # filter on nested fields. For example, you could filter on instances that have
2907
- # set the scheduling.automaticRestart field to true. Use filtering on nested
2908
- # fields to take advantage of labels to organize and search for results based on
2909
- # label values.
2910
- # The Beta API also supports filtering on multiple expressions by providing each
2911
- # separate expression within parentheses. For example, (scheduling.
2912
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
2913
- # treated as AND expressions, meaning that resources must match all expressions
2914
- # to pass the filters.
2879
+ # You can filter on nested fields. For example, you could filter on instances
2880
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
2881
+ # nested fields to take advantage of labels to organize and search for results
2882
+ # based on label values.
2883
+ # To filter on multiple expressions, provide each separate expression within
2884
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
2885
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
2886
+ # resources must match all expressions to pass the filters.
2915
2887
  # @param [Fixnum] max_results
2916
2888
  # The maximum number of results per page that should be returned. If the number
2917
2889
  # of available results is larger than maxResults, Compute Engine returns a
@@ -3064,16 +3036,14 @@ module Google
3064
3036
  # must match the entire field.
3065
3037
  # For example, to filter for instances that do not have a name of example-
3066
3038
  # instance, you would use filter=name ne example-instance.
3067
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
3068
- # filter on nested fields. For example, you could filter on instances that have
3069
- # set the scheduling.automaticRestart field to true. Use filtering on nested
3070
- # fields to take advantage of labels to organize and search for results based on
3071
- # label values.
3072
- # The Beta API also supports filtering on multiple expressions by providing each
3073
- # separate expression within parentheses. For example, (scheduling.
3074
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
3075
- # treated as AND expressions, meaning that resources must match all expressions
3076
- # to pass the filters.
3039
+ # You can filter on nested fields. For example, you could filter on instances
3040
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
3041
+ # nested fields to take advantage of labels to organize and search for results
3042
+ # based on label values.
3043
+ # To filter on multiple expressions, provide each separate expression within
3044
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
3045
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
3046
+ # resources must match all expressions to pass the filters.
3077
3047
  # @param [Fixnum] max_results
3078
3048
  # The maximum number of results per page that should be returned. If the number
3079
3049
  # of available results is larger than maxResults, Compute Engine returns a
@@ -3218,16 +3188,14 @@ module Google
3218
3188
  # must match the entire field.
3219
3189
  # For example, to filter for instances that do not have a name of example-
3220
3190
  # instance, you would use filter=name ne example-instance.
3221
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
3222
- # filter on nested fields. For example, you could filter on instances that have
3223
- # set the scheduling.automaticRestart field to true. Use filtering on nested
3224
- # fields to take advantage of labels to organize and search for results based on
3225
- # label values.
3226
- # The Beta API also supports filtering on multiple expressions by providing each
3227
- # separate expression within parentheses. For example, (scheduling.
3228
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
3229
- # treated as AND expressions, meaning that resources must match all expressions
3230
- # to pass the filters.
3191
+ # You can filter on nested fields. For example, you could filter on instances
3192
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
3193
+ # nested fields to take advantage of labels to organize and search for results
3194
+ # based on label values.
3195
+ # To filter on multiple expressions, provide each separate expression within
3196
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
3197
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
3198
+ # resources must match all expressions to pass the filters.
3231
3199
  # @param [Fixnum] max_results
3232
3200
  # The maximum number of results per page that should be returned. If the number
3233
3201
  # of available results is larger than maxResults, Compute Engine returns a
@@ -3413,16 +3381,14 @@ module Google
3413
3381
  # must match the entire field.
3414
3382
  # For example, to filter for instances that do not have a name of example-
3415
3383
  # instance, you would use filter=name ne example-instance.
3416
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
3417
- # filter on nested fields. For example, you could filter on instances that have
3418
- # set the scheduling.automaticRestart field to true. Use filtering on nested
3419
- # fields to take advantage of labels to organize and search for results based on
3420
- # label values.
3421
- # The Beta API also supports filtering on multiple expressions by providing each
3422
- # separate expression within parentheses. For example, (scheduling.
3423
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
3424
- # treated as AND expressions, meaning that resources must match all expressions
3425
- # to pass the filters.
3384
+ # You can filter on nested fields. For example, you could filter on instances
3385
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
3386
+ # nested fields to take advantage of labels to organize and search for results
3387
+ # based on label values.
3388
+ # To filter on multiple expressions, provide each separate expression within
3389
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
3390
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
3391
+ # resources must match all expressions to pass the filters.
3426
3392
  # @param [Fixnum] max_results
3427
3393
  # The maximum number of results per page that should be returned. If the number
3428
3394
  # of available results is larger than maxResults, Compute Engine returns a
@@ -3734,16 +3700,14 @@ module Google
3734
3700
  # must match the entire field.
3735
3701
  # For example, to filter for instances that do not have a name of example-
3736
3702
  # instance, you would use filter=name ne example-instance.
3737
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
3738
- # filter on nested fields. For example, you could filter on instances that have
3739
- # set the scheduling.automaticRestart field to true. Use filtering on nested
3740
- # fields to take advantage of labels to organize and search for results based on
3741
- # label values.
3742
- # The Beta API also supports filtering on multiple expressions by providing each
3743
- # separate expression within parentheses. For example, (scheduling.
3744
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
3745
- # treated as AND expressions, meaning that resources must match all expressions
3746
- # to pass the filters.
3703
+ # You can filter on nested fields. For example, you could filter on instances
3704
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
3705
+ # nested fields to take advantage of labels to organize and search for results
3706
+ # based on label values.
3707
+ # To filter on multiple expressions, provide each separate expression within
3708
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
3709
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
3710
+ # resources must match all expressions to pass the filters.
3747
3711
  # @param [Fixnum] max_results
3748
3712
  # The maximum number of results per page that should be returned. If the number
3749
3713
  # of available results is larger than maxResults, Compute Engine returns a
@@ -4055,16 +4019,14 @@ module Google
4055
4019
  # must match the entire field.
4056
4020
  # For example, to filter for instances that do not have a name of example-
4057
4021
  # instance, you would use filter=name ne example-instance.
4058
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
4059
- # filter on nested fields. For example, you could filter on instances that have
4060
- # set the scheduling.automaticRestart field to true. Use filtering on nested
4061
- # fields to take advantage of labels to organize and search for results based on
4062
- # label values.
4063
- # The Beta API also supports filtering on multiple expressions by providing each
4064
- # separate expression within parentheses. For example, (scheduling.
4065
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
4066
- # treated as AND expressions, meaning that resources must match all expressions
4067
- # to pass the filters.
4022
+ # You can filter on nested fields. For example, you could filter on instances
4023
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
4024
+ # nested fields to take advantage of labels to organize and search for results
4025
+ # based on label values.
4026
+ # To filter on multiple expressions, provide each separate expression within
4027
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
4028
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
4029
+ # resources must match all expressions to pass the filters.
4068
4030
  # @param [Fixnum] max_results
4069
4031
  # The maximum number of results per page that should be returned. If the number
4070
4032
  # of available results is larger than maxResults, Compute Engine returns a
@@ -4366,7 +4328,7 @@ module Google
4366
4328
  # @param [String] project
4367
4329
  # Project ID for this request.
4368
4330
  # @param [String] family
4369
- # Name of the image resource to return.
4331
+ # Name of the image family to search for.
4370
4332
  # @param [String] fields
4371
4333
  # Selector specifying which fields to include in a partial response.
4372
4334
  # @param [String] quota_user
@@ -4460,16 +4422,14 @@ module Google
4460
4422
  # must match the entire field.
4461
4423
  # For example, to filter for instances that do not have a name of example-
4462
4424
  # instance, you would use filter=name ne example-instance.
4463
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
4464
- # filter on nested fields. For example, you could filter on instances that have
4465
- # set the scheduling.automaticRestart field to true. Use filtering on nested
4466
- # fields to take advantage of labels to organize and search for results based on
4467
- # label values.
4468
- # The Beta API also supports filtering on multiple expressions by providing each
4469
- # separate expression within parentheses. For example, (scheduling.
4470
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
4471
- # treated as AND expressions, meaning that resources must match all expressions
4472
- # to pass the filters.
4425
+ # You can filter on nested fields. For example, you could filter on instances
4426
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
4427
+ # nested fields to take advantage of labels to organize and search for results
4428
+ # based on label values.
4429
+ # To filter on multiple expressions, provide each separate expression within
4430
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
4431
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
4432
+ # resources must match all expressions to pass the filters.
4473
4433
  # @param [Fixnum] max_results
4474
4434
  # The maximum number of results per page that should be returned. If the number
4475
4435
  # of available results is larger than maxResults, Compute Engine returns a
@@ -4673,16 +4633,14 @@ module Google
4673
4633
  # must match the entire field.
4674
4634
  # For example, to filter for instances that do not have a name of example-
4675
4635
  # instance, you would use filter=name ne example-instance.
4676
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
4677
- # filter on nested fields. For example, you could filter on instances that have
4678
- # set the scheduling.automaticRestart field to true. Use filtering on nested
4679
- # fields to take advantage of labels to organize and search for results based on
4680
- # label values.
4681
- # The Beta API also supports filtering on multiple expressions by providing each
4682
- # separate expression within parentheses. For example, (scheduling.
4683
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
4684
- # treated as AND expressions, meaning that resources must match all expressions
4685
- # to pass the filters.
4636
+ # You can filter on nested fields. For example, you could filter on instances
4637
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
4638
+ # nested fields to take advantage of labels to organize and search for results
4639
+ # based on label values.
4640
+ # To filter on multiple expressions, provide each separate expression within
4641
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
4642
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
4643
+ # resources must match all expressions to pass the filters.
4686
4644
  # @param [Fixnum] max_results
4687
4645
  # The maximum number of results per page that should be returned. If the number
4688
4646
  # of available results is larger than maxResults, Compute Engine returns a
@@ -4936,16 +4894,14 @@ module Google
4936
4894
  # must match the entire field.
4937
4895
  # For example, to filter for instances that do not have a name of example-
4938
4896
  # instance, you would use filter=name ne example-instance.
4939
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
4940
- # filter on nested fields. For example, you could filter on instances that have
4941
- # set the scheduling.automaticRestart field to true. Use filtering on nested
4942
- # fields to take advantage of labels to organize and search for results based on
4943
- # label values.
4944
- # The Beta API also supports filtering on multiple expressions by providing each
4945
- # separate expression within parentheses. For example, (scheduling.
4946
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
4947
- # treated as AND expressions, meaning that resources must match all expressions
4948
- # to pass the filters.
4897
+ # You can filter on nested fields. For example, you could filter on instances
4898
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
4899
+ # nested fields to take advantage of labels to organize and search for results
4900
+ # based on label values.
4901
+ # To filter on multiple expressions, provide each separate expression within
4902
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
4903
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
4904
+ # resources must match all expressions to pass the filters.
4949
4905
  # @param [Fixnum] max_results
4950
4906
  # The maximum number of results per page that should be returned. If the number
4951
4907
  # of available results is larger than maxResults, Compute Engine returns a
@@ -5145,13 +5101,15 @@ module Google
5145
5101
  execute_or_queue_command(command, &block)
5146
5102
  end
5147
5103
 
5148
- # Resizes the managed instance group. If you increase the size, the group
5149
- # creates new instances using the current instance template. If you decrease the
5150
- # size, the group deletes instances. The resize operation is marked DONE when
5151
- # the resize actions are scheduled even if the group has not yet added or
5152
- # deleted any instances. You must separately verify the status of the creating
5153
- # or deleting actions with the listmanagedinstances method. This method is an
5154
- # extended version of Resize and it supports more advanced options.
5104
+ # Resizes the managed instance group with advanced configuration options like
5105
+ # disabling creation retries. This is an extended version of the resize method.
5106
+ # If you increase the size of the instance group, the group creates new
5107
+ # instances using the current instance template. If you decrease the size, the
5108
+ # group deletes instances. The resize operation is marked DONE when the resize
5109
+ # actions are scheduled even if the group has not yet added or deleted any
5110
+ # instances. You must separately verify the status of the creating,
5111
+ # creatingWithoutRetries, or deleting actions with the get or
5112
+ # listmanagedinstances method.
5155
5113
  # @param [String] project
5156
5114
  # Project ID for this request.
5157
5115
  # @param [String] zone
@@ -5440,16 +5398,14 @@ module Google
5440
5398
  # must match the entire field.
5441
5399
  # For example, to filter for instances that do not have a name of example-
5442
5400
  # instance, you would use filter=name ne example-instance.
5443
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
5444
- # filter on nested fields. For example, you could filter on instances that have
5445
- # set the scheduling.automaticRestart field to true. Use filtering on nested
5446
- # fields to take advantage of labels to organize and search for results based on
5447
- # label values.
5448
- # The Beta API also supports filtering on multiple expressions by providing each
5449
- # separate expression within parentheses. For example, (scheduling.
5450
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
5451
- # treated as AND expressions, meaning that resources must match all expressions
5452
- # to pass the filters.
5401
+ # You can filter on nested fields. For example, you could filter on instances
5402
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
5403
+ # nested fields to take advantage of labels to organize and search for results
5404
+ # based on label values.
5405
+ # To filter on multiple expressions, provide each separate expression within
5406
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
5407
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
5408
+ # resources must match all expressions to pass the filters.
5453
5409
  # @param [Fixnum] max_results
5454
5410
  # The maximum number of results per page that should be returned. If the number
5455
5411
  # of available results is larger than maxResults, Compute Engine returns a
@@ -5649,16 +5605,14 @@ module Google
5649
5605
  # must match the entire field.
5650
5606
  # For example, to filter for instances that do not have a name of example-
5651
5607
  # instance, you would use filter=name ne example-instance.
5652
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
5653
- # filter on nested fields. For example, you could filter on instances that have
5654
- # set the scheduling.automaticRestart field to true. Use filtering on nested
5655
- # fields to take advantage of labels to organize and search for results based on
5656
- # label values.
5657
- # The Beta API also supports filtering on multiple expressions by providing each
5658
- # separate expression within parentheses. For example, (scheduling.
5659
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
5660
- # treated as AND expressions, meaning that resources must match all expressions
5661
- # to pass the filters.
5608
+ # You can filter on nested fields. For example, you could filter on instances
5609
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
5610
+ # nested fields to take advantage of labels to organize and search for results
5611
+ # based on label values.
5612
+ # To filter on multiple expressions, provide each separate expression within
5613
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
5614
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
5615
+ # resources must match all expressions to pass the filters.
5662
5616
  # @param [Fixnum] max_results
5663
5617
  # The maximum number of results per page that should be returned. If the number
5664
5618
  # of available results is larger than maxResults, Compute Engine returns a
@@ -5735,16 +5689,14 @@ module Google
5735
5689
  # must match the entire field.
5736
5690
  # For example, to filter for instances that do not have a name of example-
5737
5691
  # instance, you would use filter=name ne example-instance.
5738
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
5739
- # filter on nested fields. For example, you could filter on instances that have
5740
- # set the scheduling.automaticRestart field to true. Use filtering on nested
5741
- # fields to take advantage of labels to organize and search for results based on
5742
- # label values.
5743
- # The Beta API also supports filtering on multiple expressions by providing each
5744
- # separate expression within parentheses. For example, (scheduling.
5745
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
5746
- # treated as AND expressions, meaning that resources must match all expressions
5747
- # to pass the filters.
5692
+ # You can filter on nested fields. For example, you could filter on instances
5693
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
5694
+ # nested fields to take advantage of labels to organize and search for results
5695
+ # based on label values.
5696
+ # To filter on multiple expressions, provide each separate expression within
5697
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
5698
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
5699
+ # resources must match all expressions to pass the filters.
5748
5700
  # @param [Fixnum] max_results
5749
5701
  # The maximum number of results per page that should be returned. If the number
5750
5702
  # of available results is larger than maxResults, Compute Engine returns a
@@ -6073,16 +6025,14 @@ module Google
6073
6025
  # must match the entire field.
6074
6026
  # For example, to filter for instances that do not have a name of example-
6075
6027
  # instance, you would use filter=name ne example-instance.
6076
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
6077
- # filter on nested fields. For example, you could filter on instances that have
6078
- # set the scheduling.automaticRestart field to true. Use filtering on nested
6079
- # fields to take advantage of labels to organize and search for results based on
6080
- # label values.
6081
- # The Beta API also supports filtering on multiple expressions by providing each
6082
- # separate expression within parentheses. For example, (scheduling.
6083
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
6084
- # treated as AND expressions, meaning that resources must match all expressions
6085
- # to pass the filters.
6028
+ # You can filter on nested fields. For example, you could filter on instances
6029
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
6030
+ # nested fields to take advantage of labels to organize and search for results
6031
+ # based on label values.
6032
+ # To filter on multiple expressions, provide each separate expression within
6033
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
6034
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
6035
+ # resources must match all expressions to pass the filters.
6086
6036
  # @param [Fixnum] max_results
6087
6037
  # The maximum number of results per page that should be returned. If the number
6088
6038
  # of available results is larger than maxResults, Compute Engine returns a
@@ -6240,16 +6190,14 @@ module Google
6240
6190
  # must match the entire field.
6241
6191
  # For example, to filter for instances that do not have a name of example-
6242
6192
  # instance, you would use filter=name ne example-instance.
6243
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
6244
- # filter on nested fields. For example, you could filter on instances that have
6245
- # set the scheduling.automaticRestart field to true. Use filtering on nested
6246
- # fields to take advantage of labels to organize and search for results based on
6247
- # label values.
6248
- # The Beta API also supports filtering on multiple expressions by providing each
6249
- # separate expression within parentheses. For example, (scheduling.
6250
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
6251
- # treated as AND expressions, meaning that resources must match all expressions
6252
- # to pass the filters.
6193
+ # You can filter on nested fields. For example, you could filter on instances
6194
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
6195
+ # nested fields to take advantage of labels to organize and search for results
6196
+ # based on label values.
6197
+ # To filter on multiple expressions, provide each separate expression within
6198
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
6199
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
6200
+ # resources must match all expressions to pass the filters.
6253
6201
  # @param [Fixnum] max_results
6254
6202
  # The maximum number of results per page that should be returned. If the number
6255
6203
  # of available results is larger than maxResults, Compute Engine returns a
@@ -6631,16 +6579,14 @@ module Google
6631
6579
  # must match the entire field.
6632
6580
  # For example, to filter for instances that do not have a name of example-
6633
6581
  # instance, you would use filter=name ne example-instance.
6634
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
6635
- # filter on nested fields. For example, you could filter on instances that have
6636
- # set the scheduling.automaticRestart field to true. Use filtering on nested
6637
- # fields to take advantage of labels to organize and search for results based on
6638
- # label values.
6639
- # The Beta API also supports filtering on multiple expressions by providing each
6640
- # separate expression within parentheses. For example, (scheduling.
6641
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
6642
- # treated as AND expressions, meaning that resources must match all expressions
6643
- # to pass the filters.
6582
+ # You can filter on nested fields. For example, you could filter on instances
6583
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
6584
+ # nested fields to take advantage of labels to organize and search for results
6585
+ # based on label values.
6586
+ # To filter on multiple expressions, provide each separate expression within
6587
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
6588
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
6589
+ # resources must match all expressions to pass the filters.
6644
6590
  # @param [Fixnum] max_results
6645
6591
  # The maximum number of results per page that should be returned. If the number
6646
6592
  # of available results is larger than maxResults, Compute Engine returns a
@@ -7237,16 +7183,14 @@ module Google
7237
7183
  # must match the entire field.
7238
7184
  # For example, to filter for instances that do not have a name of example-
7239
7185
  # instance, you would use filter=name ne example-instance.
7240
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
7241
- # filter on nested fields. For example, you could filter on instances that have
7242
- # set the scheduling.automaticRestart field to true. Use filtering on nested
7243
- # fields to take advantage of labels to organize and search for results based on
7244
- # label values.
7245
- # The Beta API also supports filtering on multiple expressions by providing each
7246
- # separate expression within parentheses. For example, (scheduling.
7247
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
7248
- # treated as AND expressions, meaning that resources must match all expressions
7249
- # to pass the filters.
7186
+ # You can filter on nested fields. For example, you could filter on instances
7187
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
7188
+ # nested fields to take advantage of labels to organize and search for results
7189
+ # based on label values.
7190
+ # To filter on multiple expressions, provide each separate expression within
7191
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
7192
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
7193
+ # resources must match all expressions to pass the filters.
7250
7194
  # @param [Fixnum] max_results
7251
7195
  # The maximum number of results per page that should be returned. If the number
7252
7196
  # of available results is larger than maxResults, Compute Engine returns a
@@ -7360,16 +7304,14 @@ module Google
7360
7304
  # must match the entire field.
7361
7305
  # For example, to filter for instances that do not have a name of example-
7362
7306
  # instance, you would use filter=name ne example-instance.
7363
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
7364
- # filter on nested fields. For example, you could filter on instances that have
7365
- # set the scheduling.automaticRestart field to true. Use filtering on nested
7366
- # fields to take advantage of labels to organize and search for results based on
7367
- # label values.
7368
- # The Beta API also supports filtering on multiple expressions by providing each
7369
- # separate expression within parentheses. For example, (scheduling.
7370
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
7371
- # treated as AND expressions, meaning that resources must match all expressions
7372
- # to pass the filters.
7307
+ # You can filter on nested fields. For example, you could filter on instances
7308
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
7309
+ # nested fields to take advantage of labels to organize and search for results
7310
+ # based on label values.
7311
+ # To filter on multiple expressions, provide each separate expression within
7312
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
7313
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
7314
+ # resources must match all expressions to pass the filters.
7373
7315
  # @param [Fixnum] max_results
7374
7316
  # The maximum number of results per page that should be returned. If the number
7375
7317
  # of available results is larger than maxResults, Compute Engine returns a
@@ -7556,16 +7498,14 @@ module Google
7556
7498
  # must match the entire field.
7557
7499
  # For example, to filter for instances that do not have a name of example-
7558
7500
  # instance, you would use filter=name ne example-instance.
7559
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
7560
- # filter on nested fields. For example, you could filter on instances that have
7561
- # set the scheduling.automaticRestart field to true. Use filtering on nested
7562
- # fields to take advantage of labels to organize and search for results based on
7563
- # label values.
7564
- # The Beta API also supports filtering on multiple expressions by providing each
7565
- # separate expression within parentheses. For example, (scheduling.
7566
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
7567
- # treated as AND expressions, meaning that resources must match all expressions
7568
- # to pass the filters.
7501
+ # You can filter on nested fields. For example, you could filter on instances
7502
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
7503
+ # nested fields to take advantage of labels to organize and search for results
7504
+ # based on label values.
7505
+ # To filter on multiple expressions, provide each separate expression within
7506
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
7507
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
7508
+ # resources must match all expressions to pass the filters.
7569
7509
  # @param [Fixnum] max_results
7570
7510
  # The maximum number of results per page that should be returned. If the number
7571
7511
  # of available results is larger than maxResults, Compute Engine returns a
@@ -7619,6 +7559,44 @@ module Google
7619
7559
  execute_or_queue_command(command, &block)
7620
7560
  end
7621
7561
 
7562
+ # Switches the network mode from auto subnet mode to custom subnet mode.
7563
+ # @param [String] project
7564
+ # Project ID for this request.
7565
+ # @param [String] network
7566
+ # Name of the network to be updated.
7567
+ # @param [String] fields
7568
+ # Selector specifying which fields to include in a partial response.
7569
+ # @param [String] quota_user
7570
+ # Available to use for quota purposes for server-side applications. Can be any
7571
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7572
+ # Overrides userIp if both are provided.
7573
+ # @param [String] user_ip
7574
+ # IP address of the site where the request originates. Use this if you want to
7575
+ # enforce per-user limits.
7576
+ # @param [Google::Apis::RequestOptions] options
7577
+ # Request-specific options
7578
+ #
7579
+ # @yield [result, err] Result & error if block supplied
7580
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
7581
+ # @yieldparam err [StandardError] error object if request failed
7582
+ #
7583
+ # @return [Google::Apis::ComputeBeta::Operation]
7584
+ #
7585
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7586
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7587
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7588
+ def switch_network_to_custom_mode(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
7589
+ command = make_simple_command(:post, '{project}/global/networks/{network}/switchToCustomMode', options)
7590
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
7591
+ command.response_class = Google::Apis::ComputeBeta::Operation
7592
+ command.params['project'] = project unless project.nil?
7593
+ command.params['network'] = network unless network.nil?
7594
+ command.query['fields'] = fields unless fields.nil?
7595
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7596
+ command.query['userIp'] = user_ip unless user_ip.nil?
7597
+ execute_or_queue_command(command, &block)
7598
+ end
7599
+
7622
7600
  # Returns permissions that a caller has on the specified resource.
7623
7601
  # @param [String] project
7624
7602
  # Project ID for this request.
@@ -7850,52 +7828,13 @@ module Google
7850
7828
  execute_or_queue_command(command, &block)
7851
7829
  end
7852
7830
 
7853
- # Deletes the specified region-specific Operations resource.
7854
- # @param [String] project
7855
- # Project ID for this request.
7856
- # @param [String] region
7857
- # Name of the region for this request.
7858
- # @param [String] operation
7859
- # Name of the Operations resource to delete.
7860
- # @param [String] fields
7861
- # Selector specifying which fields to include in a partial response.
7862
- # @param [String] quota_user
7863
- # Available to use for quota purposes for server-side applications. Can be any
7864
- # arbitrary string assigned to a user, but should not exceed 40 characters.
7865
- # Overrides userIp if both are provided.
7866
- # @param [String] user_ip
7867
- # IP address of the site where the request originates. Use this if you want to
7868
- # enforce per-user limits.
7869
- # @param [Google::Apis::RequestOptions] options
7870
- # Request-specific options
7871
- #
7872
- # @yield [result, err] Result & error if block supplied
7873
- # @yieldparam result [NilClass] No result returned for this method
7874
- # @yieldparam err [StandardError] error object if request failed
7875
- #
7876
- # @return [void]
7877
- #
7878
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7879
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7880
- # @raise [Google::Apis::AuthorizationError] Authorization is required
7881
- def delete_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
7882
- command = make_simple_command(:delete, '{project}/regions/{region}/operations/{operation}', options)
7883
- command.params['project'] = project unless project.nil?
7884
- command.params['region'] = region unless region.nil?
7885
- command.params['operation'] = operation unless operation.nil?
7886
- command.query['fields'] = fields unless fields.nil?
7887
- command.query['quotaUser'] = quota_user unless quota_user.nil?
7888
- command.query['userIp'] = user_ip unless user_ip.nil?
7889
- execute_or_queue_command(command, &block)
7890
- end
7891
-
7892
- # Retrieves the specified region-specific Operations resource.
7831
+ # Deletes the specified autoscaler.
7893
7832
  # @param [String] project
7894
7833
  # Project ID for this request.
7895
7834
  # @param [String] region
7896
- # Name of the region for this request.
7897
- # @param [String] operation
7898
- # Name of the Operations resource to return.
7835
+ # Name of the region scoping this request.
7836
+ # @param [String] autoscaler
7837
+ # Name of the autoscaler to delete.
7899
7838
  # @param [String] fields
7900
7839
  # Selector specifying which fields to include in a partial response.
7901
7840
  # @param [String] quota_user
@@ -7917,64 +7856,26 @@ module Google
7917
7856
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7918
7857
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7919
7858
  # @raise [Google::Apis::AuthorizationError] Authorization is required
7920
- def get_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
7921
- command = make_simple_command(:get, '{project}/regions/{region}/operations/{operation}', options)
7859
+ def delete_region_autoscaler(project, region, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
7860
+ command = make_simple_command(:delete, '{project}/regions/{region}/autoscalers/{autoscaler}', options)
7922
7861
  command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
7923
7862
  command.response_class = Google::Apis::ComputeBeta::Operation
7924
7863
  command.params['project'] = project unless project.nil?
7925
7864
  command.params['region'] = region unless region.nil?
7926
- command.params['operation'] = operation unless operation.nil?
7865
+ command.params['autoscaler'] = autoscaler unless autoscaler.nil?
7927
7866
  command.query['fields'] = fields unless fields.nil?
7928
7867
  command.query['quotaUser'] = quota_user unless quota_user.nil?
7929
7868
  command.query['userIp'] = user_ip unless user_ip.nil?
7930
7869
  execute_or_queue_command(command, &block)
7931
7870
  end
7932
7871
 
7933
- # Retrieves a list of Operation resources contained within the specified region.
7872
+ # Returns the specified autoscaler.
7934
7873
  # @param [String] project
7935
7874
  # Project ID for this request.
7936
7875
  # @param [String] region
7937
- # Name of the region for this request.
7938
- # @param [String] filter
7939
- # Sets a filter expression for filtering listed resources, in the form filter=`
7940
- # expression`. Your `expression` must be in the format: field_name
7941
- # comparison_string literal_string.
7942
- # The field_name is the name of the field you want to compare. Only atomic field
7943
- # types are supported (string, number, boolean). The comparison_string must be
7944
- # either eq (equals) or ne (not equals). The literal_string is the string value
7945
- # to filter to. The literal value must be valid for the type of field you are
7946
- # filtering by (string, number, boolean). For string fields, the literal value
7947
- # is interpreted as a regular expression using RE2 syntax. The literal value
7948
- # must match the entire field.
7949
- # For example, to filter for instances that do not have a name of example-
7950
- # instance, you would use filter=name ne example-instance.
7951
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
7952
- # filter on nested fields. For example, you could filter on instances that have
7953
- # set the scheduling.automaticRestart field to true. Use filtering on nested
7954
- # fields to take advantage of labels to organize and search for results based on
7955
- # label values.
7956
- # The Beta API also supports filtering on multiple expressions by providing each
7957
- # separate expression within parentheses. For example, (scheduling.
7958
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
7959
- # treated as AND expressions, meaning that resources must match all expressions
7960
- # to pass the filters.
7961
- # @param [Fixnum] max_results
7962
- # The maximum number of results per page that should be returned. If the number
7963
- # of available results is larger than maxResults, Compute Engine returns a
7964
- # nextPageToken that can be used to get the next page of results in subsequent
7965
- # list requests.
7966
- # @param [String] order_by
7967
- # Sorts list results by a certain order. By default, results are returned in
7968
- # alphanumerical order based on the resource name.
7969
- # You can also sort results in descending order based on the creation timestamp
7970
- # using orderBy="creationTimestamp desc". This sorts results based on the
7971
- # creationTimestamp field in reverse chronological order (newest result first).
7972
- # Use this to sort resources like operations so that the newest operation is
7973
- # returned first.
7974
- # Currently, only sorting by name or creationTimestamp desc is supported.
7975
- # @param [String] page_token
7976
- # Specifies a page token to use. Set pageToken to the nextPageToken returned by
7977
- # a previous list request to get the next page of results.
7876
+ # Name of the region scoping this request.
7877
+ # @param [String] autoscaler
7878
+ # Name of the autoscaler to return.
7978
7879
  # @param [String] fields
7979
7880
  # Selector specifying which fields to include in a partial response.
7980
7881
  # @param [String] quota_user
@@ -7988,36 +7889,34 @@ module Google
7988
7889
  # Request-specific options
7989
7890
  #
7990
7891
  # @yield [result, err] Result & error if block supplied
7991
- # @yieldparam result [Google::Apis::ComputeBeta::OperationList] parsed result object
7892
+ # @yieldparam result [Google::Apis::ComputeBeta::Autoscaler] parsed result object
7992
7893
  # @yieldparam err [StandardError] error object if request failed
7993
7894
  #
7994
- # @return [Google::Apis::ComputeBeta::OperationList]
7895
+ # @return [Google::Apis::ComputeBeta::Autoscaler]
7995
7896
  #
7996
7897
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7997
7898
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7998
7899
  # @raise [Google::Apis::AuthorizationError] Authorization is required
7999
- def list_region_operations(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8000
- command = make_simple_command(:get, '{project}/regions/{region}/operations', options)
8001
- command.response_representation = Google::Apis::ComputeBeta::OperationList::Representation
8002
- command.response_class = Google::Apis::ComputeBeta::OperationList
7900
+ def get_region_autoscaler(project, region, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
7901
+ command = make_simple_command(:get, '{project}/regions/{region}/autoscalers/{autoscaler}', options)
7902
+ command.response_representation = Google::Apis::ComputeBeta::Autoscaler::Representation
7903
+ command.response_class = Google::Apis::ComputeBeta::Autoscaler
8003
7904
  command.params['project'] = project unless project.nil?
8004
7905
  command.params['region'] = region unless region.nil?
8005
- command.query['filter'] = filter unless filter.nil?
8006
- command.query['maxResults'] = max_results unless max_results.nil?
8007
- command.query['orderBy'] = order_by unless order_by.nil?
8008
- command.query['pageToken'] = page_token unless page_token.nil?
7906
+ command.params['autoscaler'] = autoscaler unless autoscaler.nil?
8009
7907
  command.query['fields'] = fields unless fields.nil?
8010
7908
  command.query['quotaUser'] = quota_user unless quota_user.nil?
8011
7909
  command.query['userIp'] = user_ip unless user_ip.nil?
8012
7910
  execute_or_queue_command(command, &block)
8013
7911
  end
8014
7912
 
8015
- # Returns the specified Region resource. Get a list of available regions by
8016
- # making a list() request.
7913
+ # Creates an autoscaler in the specified project using the data included in the
7914
+ # request.
8017
7915
  # @param [String] project
8018
7916
  # Project ID for this request.
8019
7917
  # @param [String] region
8020
- # Name of the region resource to return.
7918
+ # Name of the region scoping this request.
7919
+ # @param [Google::Apis::ComputeBeta::Autoscaler] autoscaler_object
8021
7920
  # @param [String] fields
8022
7921
  # Selector specifying which fields to include in a partial response.
8023
7922
  # @param [String] quota_user
@@ -8031,18 +7930,20 @@ module Google
8031
7930
  # Request-specific options
8032
7931
  #
8033
7932
  # @yield [result, err] Result & error if block supplied
8034
- # @yieldparam result [Google::Apis::ComputeBeta::Region] parsed result object
7933
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
8035
7934
  # @yieldparam err [StandardError] error object if request failed
8036
7935
  #
8037
- # @return [Google::Apis::ComputeBeta::Region]
7936
+ # @return [Google::Apis::ComputeBeta::Operation]
8038
7937
  #
8039
7938
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8040
7939
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8041
7940
  # @raise [Google::Apis::AuthorizationError] Authorization is required
8042
- def get_region(project, region, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8043
- command = make_simple_command(:get, '{project}/regions/{region}', options)
8044
- command.response_representation = Google::Apis::ComputeBeta::Region::Representation
8045
- command.response_class = Google::Apis::ComputeBeta::Region
7941
+ def insert_region_autoscaler(project, region, autoscaler_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
7942
+ command = make_simple_command(:post, '{project}/regions/{region}/autoscalers', options)
7943
+ command.request_representation = Google::Apis::ComputeBeta::Autoscaler::Representation
7944
+ command.request_object = autoscaler_object
7945
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
7946
+ command.response_class = Google::Apis::ComputeBeta::Operation
8046
7947
  command.params['project'] = project unless project.nil?
8047
7948
  command.params['region'] = region unless region.nil?
8048
7949
  command.query['fields'] = fields unless fields.nil?
@@ -8051,9 +7952,11 @@ module Google
8051
7952
  execute_or_queue_command(command, &block)
8052
7953
  end
8053
7954
 
8054
- # Retrieves the list of region resources available to the specified project.
7955
+ # Retrieves a list of autoscalers contained within the specified region.
8055
7956
  # @param [String] project
8056
7957
  # Project ID for this request.
7958
+ # @param [String] region
7959
+ # Name of the region scoping this request.
8057
7960
  # @param [String] filter
8058
7961
  # Sets a filter expression for filtering listed resources, in the form filter=`
8059
7962
  # expression`. Your `expression` must be in the format: field_name
@@ -8067,16 +7970,14 @@ module Google
8067
7970
  # must match the entire field.
8068
7971
  # For example, to filter for instances that do not have a name of example-
8069
7972
  # instance, you would use filter=name ne example-instance.
8070
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
8071
- # filter on nested fields. For example, you could filter on instances that have
8072
- # set the scheduling.automaticRestart field to true. Use filtering on nested
8073
- # fields to take advantage of labels to organize and search for results based on
8074
- # label values.
8075
- # The Beta API also supports filtering on multiple expressions by providing each
8076
- # separate expression within parentheses. For example, (scheduling.
8077
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
8078
- # treated as AND expressions, meaning that resources must match all expressions
8079
- # to pass the filters.
7973
+ # You can filter on nested fields. For example, you could filter on instances
7974
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
7975
+ # nested fields to take advantage of labels to organize and search for results
7976
+ # based on label values.
7977
+ # To filter on multiple expressions, provide each separate expression within
7978
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
7979
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
7980
+ # resources must match all expressions to pass the filters.
8080
7981
  # @param [Fixnum] max_results
8081
7982
  # The maximum number of results per page that should be returned. If the number
8082
7983
  # of available results is larger than maxResults, Compute Engine returns a
@@ -8107,19 +8008,20 @@ module Google
8107
8008
  # Request-specific options
8108
8009
  #
8109
8010
  # @yield [result, err] Result & error if block supplied
8110
- # @yieldparam result [Google::Apis::ComputeBeta::RegionList] parsed result object
8011
+ # @yieldparam result [Google::Apis::ComputeBeta::RegionAutoscalerList] parsed result object
8111
8012
  # @yieldparam err [StandardError] error object if request failed
8112
8013
  #
8113
- # @return [Google::Apis::ComputeBeta::RegionList]
8014
+ # @return [Google::Apis::ComputeBeta::RegionAutoscalerList]
8114
8015
  #
8115
8016
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8116
8017
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8117
8018
  # @raise [Google::Apis::AuthorizationError] Authorization is required
8118
- def list_regions(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8119
- command = make_simple_command(:get, '{project}/regions', options)
8120
- command.response_representation = Google::Apis::ComputeBeta::RegionList::Representation
8121
- command.response_class = Google::Apis::ComputeBeta::RegionList
8019
+ def list_region_autoscalers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8020
+ command = make_simple_command(:get, '{project}/regions/{region}/autoscalers', options)
8021
+ command.response_representation = Google::Apis::ComputeBeta::RegionAutoscalerList::Representation
8022
+ command.response_class = Google::Apis::ComputeBeta::RegionAutoscalerList
8122
8023
  command.params['project'] = project unless project.nil?
8024
+ command.params['region'] = region unless region.nil?
8123
8025
  command.query['filter'] = filter unless filter.nil?
8124
8026
  command.query['maxResults'] = max_results unless max_results.nil?
8125
8027
  command.query['orderBy'] = order_by unless order_by.nil?
@@ -8130,49 +8032,15 @@ module Google
8130
8032
  execute_or_queue_command(command, &block)
8131
8033
  end
8132
8034
 
8133
- # Retrieves an aggregated list of routers.
8035
+ # Updates a autoscaler in the specified project using the data included in the
8036
+ # request. This method supports patch semantics.
8134
8037
  # @param [String] project
8135
8038
  # Project ID for this request.
8136
- # @param [String] filter
8137
- # Sets a filter expression for filtering listed resources, in the form filter=`
8138
- # expression`. Your `expression` must be in the format: field_name
8139
- # comparison_string literal_string.
8140
- # The field_name is the name of the field you want to compare. Only atomic field
8141
- # types are supported (string, number, boolean). The comparison_string must be
8142
- # either eq (equals) or ne (not equals). The literal_string is the string value
8143
- # to filter to. The literal value must be valid for the type of field you are
8144
- # filtering by (string, number, boolean). For string fields, the literal value
8145
- # is interpreted as a regular expression using RE2 syntax. The literal value
8146
- # must match the entire field.
8147
- # For example, to filter for instances that do not have a name of example-
8148
- # instance, you would use filter=name ne example-instance.
8149
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
8150
- # filter on nested fields. For example, you could filter on instances that have
8151
- # set the scheduling.automaticRestart field to true. Use filtering on nested
8152
- # fields to take advantage of labels to organize and search for results based on
8153
- # label values.
8154
- # The Beta API also supports filtering on multiple expressions by providing each
8155
- # separate expression within parentheses. For example, (scheduling.
8156
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
8157
- # treated as AND expressions, meaning that resources must match all expressions
8158
- # to pass the filters.
8159
- # @param [Fixnum] max_results
8160
- # The maximum number of results per page that should be returned. If the number
8161
- # of available results is larger than maxResults, Compute Engine returns a
8162
- # nextPageToken that can be used to get the next page of results in subsequent
8163
- # list requests.
8164
- # @param [String] order_by
8165
- # Sorts list results by a certain order. By default, results are returned in
8166
- # alphanumerical order based on the resource name.
8167
- # You can also sort results in descending order based on the creation timestamp
8168
- # using orderBy="creationTimestamp desc". This sorts results based on the
8169
- # creationTimestamp field in reverse chronological order (newest result first).
8170
- # Use this to sort resources like operations so that the newest operation is
8171
- # returned first.
8172
- # Currently, only sorting by name or creationTimestamp desc is supported.
8173
- # @param [String] page_token
8174
- # Specifies a page token to use. Set pageToken to the nextPageToken returned by
8175
- # a previous list request to get the next page of results.
8039
+ # @param [String] region
8040
+ # Name of the region scoping this request.
8041
+ # @param [String] autoscaler
8042
+ # Name of the autoscaler to update.
8043
+ # @param [Google::Apis::ComputeBeta::Autoscaler] autoscaler_object
8176
8044
  # @param [String] fields
8177
8045
  # Selector specifying which fields to include in a partial response.
8178
8046
  # @param [String] quota_user
@@ -8186,36 +8054,37 @@ module Google
8186
8054
  # Request-specific options
8187
8055
  #
8188
8056
  # @yield [result, err] Result & error if block supplied
8189
- # @yieldparam result [Google::Apis::ComputeBeta::RouterAggregatedList] parsed result object
8057
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
8190
8058
  # @yieldparam err [StandardError] error object if request failed
8191
8059
  #
8192
- # @return [Google::Apis::ComputeBeta::RouterAggregatedList]
8060
+ # @return [Google::Apis::ComputeBeta::Operation]
8193
8061
  #
8194
8062
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8195
8063
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8196
8064
  # @raise [Google::Apis::AuthorizationError] Authorization is required
8197
- def list_aggregated_routers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8198
- command = make_simple_command(:get, '{project}/aggregated/routers', options)
8199
- command.response_representation = Google::Apis::ComputeBeta::RouterAggregatedList::Representation
8200
- command.response_class = Google::Apis::ComputeBeta::RouterAggregatedList
8065
+ def patch_region_autoscaler(project, region, autoscaler, autoscaler_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8066
+ command = make_simple_command(:patch, '{project}/regions/{region}/autoscalers', options)
8067
+ command.request_representation = Google::Apis::ComputeBeta::Autoscaler::Representation
8068
+ command.request_object = autoscaler_object
8069
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
8070
+ command.response_class = Google::Apis::ComputeBeta::Operation
8201
8071
  command.params['project'] = project unless project.nil?
8202
- command.query['filter'] = filter unless filter.nil?
8203
- command.query['maxResults'] = max_results unless max_results.nil?
8204
- command.query['orderBy'] = order_by unless order_by.nil?
8205
- command.query['pageToken'] = page_token unless page_token.nil?
8072
+ command.params['region'] = region unless region.nil?
8073
+ command.query['autoscaler'] = autoscaler unless autoscaler.nil?
8206
8074
  command.query['fields'] = fields unless fields.nil?
8207
8075
  command.query['quotaUser'] = quota_user unless quota_user.nil?
8208
8076
  command.query['userIp'] = user_ip unless user_ip.nil?
8209
8077
  execute_or_queue_command(command, &block)
8210
8078
  end
8211
8079
 
8212
- # Deletes the specified Router resource.
8080
+ # Returns permissions that a caller has on the specified resource.
8213
8081
  # @param [String] project
8214
8082
  # Project ID for this request.
8215
8083
  # @param [String] region
8216
- # Name of the region for this request.
8217
- # @param [String] router
8218
- # Name of the Router resource to delete.
8084
+ # The name of the region for this request.
8085
+ # @param [String] resource
8086
+ # Name of the resource for this request.
8087
+ # @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
8219
8088
  # @param [String] fields
8220
8089
  # Selector specifying which fields to include in a partial response.
8221
8090
  # @param [String] quota_user
@@ -8229,36 +8098,1407 @@ module Google
8229
8098
  # Request-specific options
8230
8099
  #
8231
8100
  # @yield [result, err] Result & error if block supplied
8232
- # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
8101
+ # @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object
8233
8102
  # @yieldparam err [StandardError] error object if request failed
8234
8103
  #
8235
- # @return [Google::Apis::ComputeBeta::Operation]
8104
+ # @return [Google::Apis::ComputeBeta::TestPermissionsResponse]
8236
8105
  #
8237
8106
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8238
8107
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8239
8108
  # @raise [Google::Apis::AuthorizationError] Authorization is required
8240
- def delete_router(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8241
- command = make_simple_command(:delete, '{project}/regions/{region}/routers/{router}', options)
8242
- command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
8243
- command.response_class = Google::Apis::ComputeBeta::Operation
8109
+ def test_region_autoscaler_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8110
+ command = make_simple_command(:post, '{project}/regions/{region}/autoscalers/{resource}/testIamPermissions', options)
8111
+ command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
8112
+ command.request_object = test_permissions_request_object
8113
+ command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
8114
+ command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
8244
8115
  command.params['project'] = project unless project.nil?
8245
8116
  command.params['region'] = region unless region.nil?
8246
- command.params['router'] = router unless router.nil?
8117
+ command.params['resource'] = resource unless resource.nil?
8247
8118
  command.query['fields'] = fields unless fields.nil?
8248
8119
  command.query['quotaUser'] = quota_user unless quota_user.nil?
8249
8120
  command.query['userIp'] = user_ip unless user_ip.nil?
8250
8121
  execute_or_queue_command(command, &block)
8251
8122
  end
8252
8123
 
8253
- # Returns the specified Router resource. Get a list of available routers by
8254
- # making a list() request.
8124
+ # Updates a autoscaler in the specified project using the data included in the
8125
+ # request.
8255
8126
  # @param [String] project
8256
8127
  # Project ID for this request.
8257
8128
  # @param [String] region
8258
- # Name of the region for this request.
8259
- # @param [String] router
8260
- # Name of the Router resource to return.
8261
- # @param [String] fields
8129
+ # Name of the region scoping this request.
8130
+ # @param [Google::Apis::ComputeBeta::Autoscaler] autoscaler_object
8131
+ # @param [String] autoscaler
8132
+ # Name of the autoscaler to update.
8133
+ # @param [String] fields
8134
+ # Selector specifying which fields to include in a partial response.
8135
+ # @param [String] quota_user
8136
+ # Available to use for quota purposes for server-side applications. Can be any
8137
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8138
+ # Overrides userIp if both are provided.
8139
+ # @param [String] user_ip
8140
+ # IP address of the site where the request originates. Use this if you want to
8141
+ # enforce per-user limits.
8142
+ # @param [Google::Apis::RequestOptions] options
8143
+ # Request-specific options
8144
+ #
8145
+ # @yield [result, err] Result & error if block supplied
8146
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
8147
+ # @yieldparam err [StandardError] error object if request failed
8148
+ #
8149
+ # @return [Google::Apis::ComputeBeta::Operation]
8150
+ #
8151
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8152
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8153
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8154
+ def update_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8155
+ command = make_simple_command(:put, '{project}/regions/{region}/autoscalers', options)
8156
+ command.request_representation = Google::Apis::ComputeBeta::Autoscaler::Representation
8157
+ command.request_object = autoscaler_object
8158
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
8159
+ command.response_class = Google::Apis::ComputeBeta::Operation
8160
+ command.params['project'] = project unless project.nil?
8161
+ command.params['region'] = region unless region.nil?
8162
+ command.query['autoscaler'] = autoscaler unless autoscaler.nil?
8163
+ command.query['fields'] = fields unless fields.nil?
8164
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8165
+ command.query['userIp'] = user_ip unless user_ip.nil?
8166
+ execute_or_queue_command(command, &block)
8167
+ end
8168
+
8169
+ # Schedules a group action to remove the specified instances from the managed
8170
+ # instance group. Abandoning an instance does not delete the instance, but it
8171
+ # does remove the instance from any target pools that are applied by the managed
8172
+ # instance group. This method reduces the targetSize of the managed instance
8173
+ # group by the number of instances that you abandon. This operation is marked as
8174
+ # DONE when the action is scheduled even if the instances have not yet been
8175
+ # removed from the group. You must separately verify the status of the
8176
+ # abandoning action with the listmanagedinstances method.
8177
+ # @param [String] project
8178
+ # Project ID for this request.
8179
+ # @param [String] region
8180
+ # Name of the region scoping this request.
8181
+ # @param [String] instance_group_manager
8182
+ # Name of the managed instance group.
8183
+ # @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagersAbandonInstancesRequest] region_instance_group_managers_abandon_instances_request_object
8184
+ # @param [String] fields
8185
+ # Selector specifying which fields to include in a partial response.
8186
+ # @param [String] quota_user
8187
+ # Available to use for quota purposes for server-side applications. Can be any
8188
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8189
+ # Overrides userIp if both are provided.
8190
+ # @param [String] user_ip
8191
+ # IP address of the site where the request originates. Use this if you want to
8192
+ # enforce per-user limits.
8193
+ # @param [Google::Apis::RequestOptions] options
8194
+ # Request-specific options
8195
+ #
8196
+ # @yield [result, err] Result & error if block supplied
8197
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
8198
+ # @yieldparam err [StandardError] error object if request failed
8199
+ #
8200
+ # @return [Google::Apis::ComputeBeta::Operation]
8201
+ #
8202
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8203
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8204
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8205
+ def abandon_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_abandon_instances_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8206
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options)
8207
+ command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersAbandonInstancesRequest::Representation
8208
+ command.request_object = region_instance_group_managers_abandon_instances_request_object
8209
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
8210
+ command.response_class = Google::Apis::ComputeBeta::Operation
8211
+ command.params['project'] = project unless project.nil?
8212
+ command.params['region'] = region unless region.nil?
8213
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
8214
+ command.query['fields'] = fields unless fields.nil?
8215
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8216
+ command.query['userIp'] = user_ip unless user_ip.nil?
8217
+ execute_or_queue_command(command, &block)
8218
+ end
8219
+
8220
+ # Deletes the specified managed instance group and all of the instances in that
8221
+ # group.
8222
+ # @param [String] project
8223
+ # Project ID for this request.
8224
+ # @param [String] region
8225
+ # Name of the region scoping this request.
8226
+ # @param [String] instance_group_manager
8227
+ # Name of the managed instance group to delete.
8228
+ # @param [String] fields
8229
+ # Selector specifying which fields to include in a partial response.
8230
+ # @param [String] quota_user
8231
+ # Available to use for quota purposes for server-side applications. Can be any
8232
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8233
+ # Overrides userIp if both are provided.
8234
+ # @param [String] user_ip
8235
+ # IP address of the site where the request originates. Use this if you want to
8236
+ # enforce per-user limits.
8237
+ # @param [Google::Apis::RequestOptions] options
8238
+ # Request-specific options
8239
+ #
8240
+ # @yield [result, err] Result & error if block supplied
8241
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
8242
+ # @yieldparam err [StandardError] error object if request failed
8243
+ #
8244
+ # @return [Google::Apis::ComputeBeta::Operation]
8245
+ #
8246
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8247
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8248
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8249
+ def delete_region_instance_group_manager(project, region, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8250
+ command = make_simple_command(:delete, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
8251
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
8252
+ command.response_class = Google::Apis::ComputeBeta::Operation
8253
+ command.params['project'] = project unless project.nil?
8254
+ command.params['region'] = region unless region.nil?
8255
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
8256
+ command.query['fields'] = fields unless fields.nil?
8257
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8258
+ command.query['userIp'] = user_ip unless user_ip.nil?
8259
+ execute_or_queue_command(command, &block)
8260
+ end
8261
+
8262
+ # Schedules a group action to delete the specified instances in the managed
8263
+ # instance group. The instances are also removed from any target pools of which
8264
+ # they were a member. This method reduces the targetSize of the managed instance
8265
+ # group by the number of instances that you delete. This operation is marked as
8266
+ # DONE when the action is scheduled even if the instances are still being
8267
+ # deleted. You must separately verify the status of the deleting action with the
8268
+ # listmanagedinstances method.
8269
+ # @param [String] project
8270
+ # Project ID for this request.
8271
+ # @param [String] region
8272
+ # Name of the region scoping this request.
8273
+ # @param [String] instance_group_manager
8274
+ # Name of the managed instance group.
8275
+ # @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagersDeleteInstancesRequest] region_instance_group_managers_delete_instances_request_object
8276
+ # @param [String] fields
8277
+ # Selector specifying which fields to include in a partial response.
8278
+ # @param [String] quota_user
8279
+ # Available to use for quota purposes for server-side applications. Can be any
8280
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8281
+ # Overrides userIp if both are provided.
8282
+ # @param [String] user_ip
8283
+ # IP address of the site where the request originates. Use this if you want to
8284
+ # enforce per-user limits.
8285
+ # @param [Google::Apis::RequestOptions] options
8286
+ # Request-specific options
8287
+ #
8288
+ # @yield [result, err] Result & error if block supplied
8289
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
8290
+ # @yieldparam err [StandardError] error object if request failed
8291
+ #
8292
+ # @return [Google::Apis::ComputeBeta::Operation]
8293
+ #
8294
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8295
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8296
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8297
+ def delete_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_delete_instances_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8298
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', options)
8299
+ command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersDeleteInstancesRequest::Representation
8300
+ command.request_object = region_instance_group_managers_delete_instances_request_object
8301
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
8302
+ command.response_class = Google::Apis::ComputeBeta::Operation
8303
+ command.params['project'] = project unless project.nil?
8304
+ command.params['region'] = region unless region.nil?
8305
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
8306
+ command.query['fields'] = fields unless fields.nil?
8307
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8308
+ command.query['userIp'] = user_ip unless user_ip.nil?
8309
+ execute_or_queue_command(command, &block)
8310
+ end
8311
+
8312
+ # Returns all of the details for the specified managed instance group.
8313
+ # @param [String] project
8314
+ # Project ID for this request.
8315
+ # @param [String] region
8316
+ # Name of the region scoping this request.
8317
+ # @param [String] instance_group_manager
8318
+ # Name of the managed instance group to return.
8319
+ # @param [String] fields
8320
+ # Selector specifying which fields to include in a partial response.
8321
+ # @param [String] quota_user
8322
+ # Available to use for quota purposes for server-side applications. Can be any
8323
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8324
+ # Overrides userIp if both are provided.
8325
+ # @param [String] user_ip
8326
+ # IP address of the site where the request originates. Use this if you want to
8327
+ # enforce per-user limits.
8328
+ # @param [Google::Apis::RequestOptions] options
8329
+ # Request-specific options
8330
+ #
8331
+ # @yield [result, err] Result & error if block supplied
8332
+ # @yieldparam result [Google::Apis::ComputeBeta::InstanceGroupManager] parsed result object
8333
+ # @yieldparam err [StandardError] error object if request failed
8334
+ #
8335
+ # @return [Google::Apis::ComputeBeta::InstanceGroupManager]
8336
+ #
8337
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8338
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8339
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8340
+ def get_region_instance_group_manager(project, region, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8341
+ command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
8342
+ command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation
8343
+ command.response_class = Google::Apis::ComputeBeta::InstanceGroupManager
8344
+ command.params['project'] = project unless project.nil?
8345
+ command.params['region'] = region unless region.nil?
8346
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
8347
+ command.query['fields'] = fields unless fields.nil?
8348
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8349
+ command.query['userIp'] = user_ip unless user_ip.nil?
8350
+ execute_or_queue_command(command, &block)
8351
+ end
8352
+
8353
+ # Creates a managed instance group using the information that you specify in the
8354
+ # request. After the group is created, it schedules an action to create
8355
+ # instances in the group using the specified instance template. This operation
8356
+ # is marked as DONE when the group is created even if the instances in the group
8357
+ # have not yet been created. You must separately verify the status of the
8358
+ # individual instances with the listmanagedinstances method.
8359
+ # @param [String] project
8360
+ # Project ID for this request.
8361
+ # @param [String] region
8362
+ # Name of the region scoping this request.
8363
+ # @param [Google::Apis::ComputeBeta::InstanceGroupManager] instance_group_manager_object
8364
+ # @param [String] fields
8365
+ # Selector specifying which fields to include in a partial response.
8366
+ # @param [String] quota_user
8367
+ # Available to use for quota purposes for server-side applications. Can be any
8368
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8369
+ # Overrides userIp if both are provided.
8370
+ # @param [String] user_ip
8371
+ # IP address of the site where the request originates. Use this if you want to
8372
+ # enforce per-user limits.
8373
+ # @param [Google::Apis::RequestOptions] options
8374
+ # Request-specific options
8375
+ #
8376
+ # @yield [result, err] Result & error if block supplied
8377
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
8378
+ # @yieldparam err [StandardError] error object if request failed
8379
+ #
8380
+ # @return [Google::Apis::ComputeBeta::Operation]
8381
+ #
8382
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8383
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8384
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8385
+ def insert_region_instance_group_manager(project, region, instance_group_manager_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8386
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers', options)
8387
+ command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation
8388
+ command.request_object = instance_group_manager_object
8389
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
8390
+ command.response_class = Google::Apis::ComputeBeta::Operation
8391
+ command.params['project'] = project unless project.nil?
8392
+ command.params['region'] = region unless region.nil?
8393
+ command.query['fields'] = fields unless fields.nil?
8394
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8395
+ command.query['userIp'] = user_ip unless user_ip.nil?
8396
+ execute_or_queue_command(command, &block)
8397
+ end
8398
+
8399
+ # Retrieves the list of managed instance groups that are contained within the
8400
+ # specified region.
8401
+ # @param [String] project
8402
+ # Project ID for this request.
8403
+ # @param [String] region
8404
+ # Name of the region scoping this request.
8405
+ # @param [String] filter
8406
+ # Sets a filter expression for filtering listed resources, in the form filter=`
8407
+ # expression`. Your `expression` must be in the format: field_name
8408
+ # comparison_string literal_string.
8409
+ # The field_name is the name of the field you want to compare. Only atomic field
8410
+ # types are supported (string, number, boolean). The comparison_string must be
8411
+ # either eq (equals) or ne (not equals). The literal_string is the string value
8412
+ # to filter to. The literal value must be valid for the type of field you are
8413
+ # filtering by (string, number, boolean). For string fields, the literal value
8414
+ # is interpreted as a regular expression using RE2 syntax. The literal value
8415
+ # must match the entire field.
8416
+ # For example, to filter for instances that do not have a name of example-
8417
+ # instance, you would use filter=name ne example-instance.
8418
+ # You can filter on nested fields. For example, you could filter on instances
8419
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
8420
+ # nested fields to take advantage of labels to organize and search for results
8421
+ # based on label values.
8422
+ # To filter on multiple expressions, provide each separate expression within
8423
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
8424
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
8425
+ # resources must match all expressions to pass the filters.
8426
+ # @param [Fixnum] max_results
8427
+ # The maximum number of results per page that should be returned. If the number
8428
+ # of available results is larger than maxResults, Compute Engine returns a
8429
+ # nextPageToken that can be used to get the next page of results in subsequent
8430
+ # list requests.
8431
+ # @param [String] order_by
8432
+ # Sorts list results by a certain order. By default, results are returned in
8433
+ # alphanumerical order based on the resource name.
8434
+ # You can also sort results in descending order based on the creation timestamp
8435
+ # using orderBy="creationTimestamp desc". This sorts results based on the
8436
+ # creationTimestamp field in reverse chronological order (newest result first).
8437
+ # Use this to sort resources like operations so that the newest operation is
8438
+ # returned first.
8439
+ # Currently, only sorting by name or creationTimestamp desc is supported.
8440
+ # @param [String] page_token
8441
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
8442
+ # a previous list request to get the next page of results.
8443
+ # @param [String] fields
8444
+ # Selector specifying which fields to include in a partial response.
8445
+ # @param [String] quota_user
8446
+ # Available to use for quota purposes for server-side applications. Can be any
8447
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8448
+ # Overrides userIp if both are provided.
8449
+ # @param [String] user_ip
8450
+ # IP address of the site where the request originates. Use this if you want to
8451
+ # enforce per-user limits.
8452
+ # @param [Google::Apis::RequestOptions] options
8453
+ # Request-specific options
8454
+ #
8455
+ # @yield [result, err] Result & error if block supplied
8456
+ # @yieldparam result [Google::Apis::ComputeBeta::RegionInstanceGroupManagerList] parsed result object
8457
+ # @yieldparam err [StandardError] error object if request failed
8458
+ #
8459
+ # @return [Google::Apis::ComputeBeta::RegionInstanceGroupManagerList]
8460
+ #
8461
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8462
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8463
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8464
+ def list_region_instance_group_managers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8465
+ command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers', options)
8466
+ command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagerList::Representation
8467
+ command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupManagerList
8468
+ command.params['project'] = project unless project.nil?
8469
+ command.params['region'] = region unless region.nil?
8470
+ command.query['filter'] = filter unless filter.nil?
8471
+ command.query['maxResults'] = max_results unless max_results.nil?
8472
+ command.query['orderBy'] = order_by unless order_by.nil?
8473
+ command.query['pageToken'] = page_token unless page_token.nil?
8474
+ command.query['fields'] = fields unless fields.nil?
8475
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8476
+ command.query['userIp'] = user_ip unless user_ip.nil?
8477
+ execute_or_queue_command(command, &block)
8478
+ end
8479
+
8480
+ # Lists the instances in the managed instance group and instances that are
8481
+ # scheduled to be created. The list includes any current actions that the group
8482
+ # has scheduled for its instances.
8483
+ # @param [String] project
8484
+ # Project ID for this request.
8485
+ # @param [String] region
8486
+ # Name of the region scoping this request.
8487
+ # @param [String] instance_group_manager
8488
+ # The name of the managed instance group.
8489
+ # @param [String] fields
8490
+ # Selector specifying which fields to include in a partial response.
8491
+ # @param [String] quota_user
8492
+ # Available to use for quota purposes for server-side applications. Can be any
8493
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8494
+ # Overrides userIp if both are provided.
8495
+ # @param [String] user_ip
8496
+ # IP address of the site where the request originates. Use this if you want to
8497
+ # enforce per-user limits.
8498
+ # @param [Google::Apis::RequestOptions] options
8499
+ # Request-specific options
8500
+ #
8501
+ # @yield [result, err] Result & error if block supplied
8502
+ # @yieldparam result [Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstancesResponse] parsed result object
8503
+ # @yieldparam err [StandardError] error object if request failed
8504
+ #
8505
+ # @return [Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstancesResponse]
8506
+ #
8507
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8508
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8509
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8510
+ def list_region_instance_group_manager_managed_instances(project, region, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8511
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options)
8512
+ command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstancesResponse::Representation
8513
+ command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstancesResponse
8514
+ command.params['project'] = project unless project.nil?
8515
+ command.params['region'] = region unless region.nil?
8516
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
8517
+ command.query['fields'] = fields unless fields.nil?
8518
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8519
+ command.query['userIp'] = user_ip unless user_ip.nil?
8520
+ execute_or_queue_command(command, &block)
8521
+ end
8522
+
8523
+ # Schedules a group action to recreate the specified instances in the managed
8524
+ # instance group. The instances are deleted and recreated using the current
8525
+ # instance template for the managed instance group. This operation is marked as
8526
+ # DONE when the action is scheduled even if the instances have not yet been
8527
+ # recreated. You must separately verify the status of the recreating action with
8528
+ # the listmanagedinstances method.
8529
+ # @param [String] project
8530
+ # Project ID for this request.
8531
+ # @param [String] region
8532
+ # Name of the region scoping this request.
8533
+ # @param [String] instance_group_manager
8534
+ # Name of the managed instance group.
8535
+ # @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagersRecreateRequest] region_instance_group_managers_recreate_request_object
8536
+ # @param [String] fields
8537
+ # Selector specifying which fields to include in a partial response.
8538
+ # @param [String] quota_user
8539
+ # Available to use for quota purposes for server-side applications. Can be any
8540
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8541
+ # Overrides userIp if both are provided.
8542
+ # @param [String] user_ip
8543
+ # IP address of the site where the request originates. Use this if you want to
8544
+ # enforce per-user limits.
8545
+ # @param [Google::Apis::RequestOptions] options
8546
+ # Request-specific options
8547
+ #
8548
+ # @yield [result, err] Result & error if block supplied
8549
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
8550
+ # @yieldparam err [StandardError] error object if request failed
8551
+ #
8552
+ # @return [Google::Apis::ComputeBeta::Operation]
8553
+ #
8554
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8555
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8556
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8557
+ def recreate_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_recreate_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8558
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', options)
8559
+ command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersRecreateRequest::Representation
8560
+ command.request_object = region_instance_group_managers_recreate_request_object
8561
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
8562
+ command.response_class = Google::Apis::ComputeBeta::Operation
8563
+ command.params['project'] = project unless project.nil?
8564
+ command.params['region'] = region unless region.nil?
8565
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
8566
+ command.query['fields'] = fields unless fields.nil?
8567
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8568
+ command.query['userIp'] = user_ip unless user_ip.nil?
8569
+ execute_or_queue_command(command, &block)
8570
+ end
8571
+
8572
+ # Changes the intended size for the managed instance group. If you increase the
8573
+ # size, the group schedules actions to create new instances using the current
8574
+ # instance template. If you decrease the size, the group schedules delete
8575
+ # actions on one or more instances. The resize operation is marked DONE when the
8576
+ # resize actions are scheduled even if the group has not yet added or deleted
8577
+ # any instances. You must separately verify the status of the creating or
8578
+ # deleting actions with the listmanagedinstances method.
8579
+ # @param [String] project
8580
+ # Project ID for this request.
8581
+ # @param [String] region
8582
+ # Name of the region scoping this request.
8583
+ # @param [String] instance_group_manager
8584
+ # Name of the managed instance group.
8585
+ # @param [Fixnum] size
8586
+ # Number of instances that should exist in this instance group manager.
8587
+ # @param [String] fields
8588
+ # Selector specifying which fields to include in a partial response.
8589
+ # @param [String] quota_user
8590
+ # Available to use for quota purposes for server-side applications. Can be any
8591
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8592
+ # Overrides userIp if both are provided.
8593
+ # @param [String] user_ip
8594
+ # IP address of the site where the request originates. Use this if you want to
8595
+ # enforce per-user limits.
8596
+ # @param [Google::Apis::RequestOptions] options
8597
+ # Request-specific options
8598
+ #
8599
+ # @yield [result, err] Result & error if block supplied
8600
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
8601
+ # @yieldparam err [StandardError] error object if request failed
8602
+ #
8603
+ # @return [Google::Apis::ComputeBeta::Operation]
8604
+ #
8605
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8606
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8607
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8608
+ def resize_region_instance_group_manager(project, region, instance_group_manager, size, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8609
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize', options)
8610
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
8611
+ command.response_class = Google::Apis::ComputeBeta::Operation
8612
+ command.params['project'] = project unless project.nil?
8613
+ command.params['region'] = region unless region.nil?
8614
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
8615
+ command.query['size'] = size unless size.nil?
8616
+ command.query['fields'] = fields unless fields.nil?
8617
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8618
+ command.query['userIp'] = user_ip unless user_ip.nil?
8619
+ execute_or_queue_command(command, &block)
8620
+ end
8621
+
8622
+ # Modifies the autohealing policy for the instances in this managed instance
8623
+ # group.
8624
+ # @param [String] project
8625
+ # Project ID for this request.
8626
+ # @param [String] region
8627
+ # Name of the region scoping this request.
8628
+ # @param [String] instance_group_manager
8629
+ # Name of the managed instance group.
8630
+ # @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagersSetAutoHealingRequest] region_instance_group_managers_set_auto_healing_request_object
8631
+ # @param [String] fields
8632
+ # Selector specifying which fields to include in a partial response.
8633
+ # @param [String] quota_user
8634
+ # Available to use for quota purposes for server-side applications. Can be any
8635
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8636
+ # Overrides userIp if both are provided.
8637
+ # @param [String] user_ip
8638
+ # IP address of the site where the request originates. Use this if you want to
8639
+ # enforce per-user limits.
8640
+ # @param [Google::Apis::RequestOptions] options
8641
+ # Request-specific options
8642
+ #
8643
+ # @yield [result, err] Result & error if block supplied
8644
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
8645
+ # @yieldparam err [StandardError] error object if request failed
8646
+ #
8647
+ # @return [Google::Apis::ComputeBeta::Operation]
8648
+ #
8649
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8650
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8651
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8652
+ def set_region_instance_group_manager_auto_healing_policies(project, region, instance_group_manager, region_instance_group_managers_set_auto_healing_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8653
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies', options)
8654
+ command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersSetAutoHealingRequest::Representation
8655
+ command.request_object = region_instance_group_managers_set_auto_healing_request_object
8656
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
8657
+ command.response_class = Google::Apis::ComputeBeta::Operation
8658
+ command.params['project'] = project unless project.nil?
8659
+ command.params['region'] = region unless region.nil?
8660
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
8661
+ command.query['fields'] = fields unless fields.nil?
8662
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8663
+ command.query['userIp'] = user_ip unless user_ip.nil?
8664
+ execute_or_queue_command(command, &block)
8665
+ end
8666
+
8667
+ # Sets the instance template to use when creating new instances in this group.
8668
+ # Existing instances are not affected.
8669
+ # @param [String] project
8670
+ # Project ID for this request.
8671
+ # @param [String] region
8672
+ # Name of the region scoping this request.
8673
+ # @param [String] instance_group_manager
8674
+ # The name of the managed instance group.
8675
+ # @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagersSetTemplateRequest] region_instance_group_managers_set_template_request_object
8676
+ # @param [String] fields
8677
+ # Selector specifying which fields to include in a partial response.
8678
+ # @param [String] quota_user
8679
+ # Available to use for quota purposes for server-side applications. Can be any
8680
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8681
+ # Overrides userIp if both are provided.
8682
+ # @param [String] user_ip
8683
+ # IP address of the site where the request originates. Use this if you want to
8684
+ # enforce per-user limits.
8685
+ # @param [Google::Apis::RequestOptions] options
8686
+ # Request-specific options
8687
+ #
8688
+ # @yield [result, err] Result & error if block supplied
8689
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
8690
+ # @yieldparam err [StandardError] error object if request failed
8691
+ #
8692
+ # @return [Google::Apis::ComputeBeta::Operation]
8693
+ #
8694
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8695
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8696
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8697
+ def set_region_instance_group_manager_instance_template(project, region, instance_group_manager, region_instance_group_managers_set_template_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8698
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', options)
8699
+ command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersSetTemplateRequest::Representation
8700
+ command.request_object = region_instance_group_managers_set_template_request_object
8701
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
8702
+ command.response_class = Google::Apis::ComputeBeta::Operation
8703
+ command.params['project'] = project unless project.nil?
8704
+ command.params['region'] = region unless region.nil?
8705
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
8706
+ command.query['fields'] = fields unless fields.nil?
8707
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8708
+ command.query['userIp'] = user_ip unless user_ip.nil?
8709
+ execute_or_queue_command(command, &block)
8710
+ end
8711
+
8712
+ # Modifies the target pools to which all new instances in this group are
8713
+ # assigned. Existing instances in the group are not affected.
8714
+ # @param [String] project
8715
+ # Project ID for this request.
8716
+ # @param [String] region
8717
+ # Name of the region scoping this request.
8718
+ # @param [String] instance_group_manager
8719
+ # Name of the managed instance group.
8720
+ # @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagersSetTargetPoolsRequest] region_instance_group_managers_set_target_pools_request_object
8721
+ # @param [String] fields
8722
+ # Selector specifying which fields to include in a partial response.
8723
+ # @param [String] quota_user
8724
+ # Available to use for quota purposes for server-side applications. Can be any
8725
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8726
+ # Overrides userIp if both are provided.
8727
+ # @param [String] user_ip
8728
+ # IP address of the site where the request originates. Use this if you want to
8729
+ # enforce per-user limits.
8730
+ # @param [Google::Apis::RequestOptions] options
8731
+ # Request-specific options
8732
+ #
8733
+ # @yield [result, err] Result & error if block supplied
8734
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
8735
+ # @yieldparam err [StandardError] error object if request failed
8736
+ #
8737
+ # @return [Google::Apis::ComputeBeta::Operation]
8738
+ #
8739
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8740
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8741
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8742
+ def set_region_instance_group_manager_target_pools(project, region, instance_group_manager, region_instance_group_managers_set_target_pools_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8743
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', options)
8744
+ command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersSetTargetPoolsRequest::Representation
8745
+ command.request_object = region_instance_group_managers_set_target_pools_request_object
8746
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
8747
+ command.response_class = Google::Apis::ComputeBeta::Operation
8748
+ command.params['project'] = project unless project.nil?
8749
+ command.params['region'] = region unless region.nil?
8750
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
8751
+ command.query['fields'] = fields unless fields.nil?
8752
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8753
+ command.query['userIp'] = user_ip unless user_ip.nil?
8754
+ execute_or_queue_command(command, &block)
8755
+ end
8756
+
8757
+ # Returns permissions that a caller has on the specified resource.
8758
+ # @param [String] project
8759
+ # Project ID for this request.
8760
+ # @param [String] region
8761
+ # The name of the region for this request.
8762
+ # @param [String] resource
8763
+ # Name of the resource for this request.
8764
+ # @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
8765
+ # @param [String] fields
8766
+ # Selector specifying which fields to include in a partial response.
8767
+ # @param [String] quota_user
8768
+ # Available to use for quota purposes for server-side applications. Can be any
8769
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8770
+ # Overrides userIp if both are provided.
8771
+ # @param [String] user_ip
8772
+ # IP address of the site where the request originates. Use this if you want to
8773
+ # enforce per-user limits.
8774
+ # @param [Google::Apis::RequestOptions] options
8775
+ # Request-specific options
8776
+ #
8777
+ # @yield [result, err] Result & error if block supplied
8778
+ # @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object
8779
+ # @yieldparam err [StandardError] error object if request failed
8780
+ #
8781
+ # @return [Google::Apis::ComputeBeta::TestPermissionsResponse]
8782
+ #
8783
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8784
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8785
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8786
+ def test_region_instance_group_manager_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8787
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{resource}/testIamPermissions', options)
8788
+ command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
8789
+ command.request_object = test_permissions_request_object
8790
+ command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
8791
+ command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
8792
+ command.params['project'] = project unless project.nil?
8793
+ command.params['region'] = region unless region.nil?
8794
+ command.params['resource'] = resource unless resource.nil?
8795
+ command.query['fields'] = fields unless fields.nil?
8796
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8797
+ command.query['userIp'] = user_ip unless user_ip.nil?
8798
+ execute_or_queue_command(command, &block)
8799
+ end
8800
+
8801
+ # Returns the specified instance group resource.
8802
+ # @param [String] project
8803
+ # Project ID for this request.
8804
+ # @param [String] region
8805
+ # Name of the region scoping this request.
8806
+ # @param [String] instance_group
8807
+ # Name of the instance group resource to return.
8808
+ # @param [String] fields
8809
+ # Selector specifying which fields to include in a partial response.
8810
+ # @param [String] quota_user
8811
+ # Available to use for quota purposes for server-side applications. Can be any
8812
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8813
+ # Overrides userIp if both are provided.
8814
+ # @param [String] user_ip
8815
+ # IP address of the site where the request originates. Use this if you want to
8816
+ # enforce per-user limits.
8817
+ # @param [Google::Apis::RequestOptions] options
8818
+ # Request-specific options
8819
+ #
8820
+ # @yield [result, err] Result & error if block supplied
8821
+ # @yieldparam result [Google::Apis::ComputeBeta::InstanceGroup] parsed result object
8822
+ # @yieldparam err [StandardError] error object if request failed
8823
+ #
8824
+ # @return [Google::Apis::ComputeBeta::InstanceGroup]
8825
+ #
8826
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8827
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8828
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8829
+ def get_region_instance_group(project, region, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8830
+ command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups/{instanceGroup}', options)
8831
+ command.response_representation = Google::Apis::ComputeBeta::InstanceGroup::Representation
8832
+ command.response_class = Google::Apis::ComputeBeta::InstanceGroup
8833
+ command.params['project'] = project unless project.nil?
8834
+ command.params['region'] = region unless region.nil?
8835
+ command.params['instanceGroup'] = instance_group unless instance_group.nil?
8836
+ command.query['fields'] = fields unless fields.nil?
8837
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8838
+ command.query['userIp'] = user_ip unless user_ip.nil?
8839
+ execute_or_queue_command(command, &block)
8840
+ end
8841
+
8842
+ # Retrieves the list of instance group resources contained within the specified
8843
+ # region.
8844
+ # @param [String] project
8845
+ # Project ID for this request.
8846
+ # @param [String] region
8847
+ # Name of the region scoping this request.
8848
+ # @param [String] filter
8849
+ # Sets a filter expression for filtering listed resources, in the form filter=`
8850
+ # expression`. Your `expression` must be in the format: field_name
8851
+ # comparison_string literal_string.
8852
+ # The field_name is the name of the field you want to compare. Only atomic field
8853
+ # types are supported (string, number, boolean). The comparison_string must be
8854
+ # either eq (equals) or ne (not equals). The literal_string is the string value
8855
+ # to filter to. The literal value must be valid for the type of field you are
8856
+ # filtering by (string, number, boolean). For string fields, the literal value
8857
+ # is interpreted as a regular expression using RE2 syntax. The literal value
8858
+ # must match the entire field.
8859
+ # For example, to filter for instances that do not have a name of example-
8860
+ # instance, you would use filter=name ne example-instance.
8861
+ # You can filter on nested fields. For example, you could filter on instances
8862
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
8863
+ # nested fields to take advantage of labels to organize and search for results
8864
+ # based on label values.
8865
+ # To filter on multiple expressions, provide each separate expression within
8866
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
8867
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
8868
+ # resources must match all expressions to pass the filters.
8869
+ # @param [Fixnum] max_results
8870
+ # The maximum number of results per page that should be returned. If the number
8871
+ # of available results is larger than maxResults, Compute Engine returns a
8872
+ # nextPageToken that can be used to get the next page of results in subsequent
8873
+ # list requests.
8874
+ # @param [String] order_by
8875
+ # Sorts list results by a certain order. By default, results are returned in
8876
+ # alphanumerical order based on the resource name.
8877
+ # You can also sort results in descending order based on the creation timestamp
8878
+ # using orderBy="creationTimestamp desc". This sorts results based on the
8879
+ # creationTimestamp field in reverse chronological order (newest result first).
8880
+ # Use this to sort resources like operations so that the newest operation is
8881
+ # returned first.
8882
+ # Currently, only sorting by name or creationTimestamp desc is supported.
8883
+ # @param [String] page_token
8884
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
8885
+ # a previous list request to get the next page of results.
8886
+ # @param [String] fields
8887
+ # Selector specifying which fields to include in a partial response.
8888
+ # @param [String] quota_user
8889
+ # Available to use for quota purposes for server-side applications. Can be any
8890
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8891
+ # Overrides userIp if both are provided.
8892
+ # @param [String] user_ip
8893
+ # IP address of the site where the request originates. Use this if you want to
8894
+ # enforce per-user limits.
8895
+ # @param [Google::Apis::RequestOptions] options
8896
+ # Request-specific options
8897
+ #
8898
+ # @yield [result, err] Result & error if block supplied
8899
+ # @yieldparam result [Google::Apis::ComputeBeta::RegionInstanceGroupList] parsed result object
8900
+ # @yieldparam err [StandardError] error object if request failed
8901
+ #
8902
+ # @return [Google::Apis::ComputeBeta::RegionInstanceGroupList]
8903
+ #
8904
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8905
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8906
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8907
+ def list_region_instance_groups(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8908
+ command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups', options)
8909
+ command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupList::Representation
8910
+ command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupList
8911
+ command.params['project'] = project unless project.nil?
8912
+ command.params['region'] = region unless region.nil?
8913
+ command.query['filter'] = filter unless filter.nil?
8914
+ command.query['maxResults'] = max_results unless max_results.nil?
8915
+ command.query['orderBy'] = order_by unless order_by.nil?
8916
+ command.query['pageToken'] = page_token unless page_token.nil?
8917
+ command.query['fields'] = fields unless fields.nil?
8918
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8919
+ command.query['userIp'] = user_ip unless user_ip.nil?
8920
+ execute_or_queue_command(command, &block)
8921
+ end
8922
+
8923
+ # Lists the instances in the specified instance group and displays information
8924
+ # about the named ports. Depending on the specified options, this method can
8925
+ # list all instances or only the instances that are running.
8926
+ # @param [String] project
8927
+ # Project ID for this request.
8928
+ # @param [String] region
8929
+ # Name of the region scoping this request.
8930
+ # @param [String] instance_group
8931
+ # Name of the regional instance group for which we want to list the instances.
8932
+ # @param [Google::Apis::ComputeBeta::RegionInstanceGroupsListInstancesRequest] region_instance_groups_list_instances_request_object
8933
+ # @param [String] filter
8934
+ # Sets a filter expression for filtering listed resources, in the form filter=`
8935
+ # expression`. Your `expression` must be in the format: field_name
8936
+ # comparison_string literal_string.
8937
+ # The field_name is the name of the field you want to compare. Only atomic field
8938
+ # types are supported (string, number, boolean). The comparison_string must be
8939
+ # either eq (equals) or ne (not equals). The literal_string is the string value
8940
+ # to filter to. The literal value must be valid for the type of field you are
8941
+ # filtering by (string, number, boolean). For string fields, the literal value
8942
+ # is interpreted as a regular expression using RE2 syntax. The literal value
8943
+ # must match the entire field.
8944
+ # For example, to filter for instances that do not have a name of example-
8945
+ # instance, you would use filter=name ne example-instance.
8946
+ # You can filter on nested fields. For example, you could filter on instances
8947
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
8948
+ # nested fields to take advantage of labels to organize and search for results
8949
+ # based on label values.
8950
+ # To filter on multiple expressions, provide each separate expression within
8951
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
8952
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
8953
+ # resources must match all expressions to pass the filters.
8954
+ # @param [Fixnum] max_results
8955
+ # The maximum number of results per page that should be returned. If the number
8956
+ # of available results is larger than maxResults, Compute Engine returns a
8957
+ # nextPageToken that can be used to get the next page of results in subsequent
8958
+ # list requests.
8959
+ # @param [String] order_by
8960
+ # Sorts list results by a certain order. By default, results are returned in
8961
+ # alphanumerical order based on the resource name.
8962
+ # You can also sort results in descending order based on the creation timestamp
8963
+ # using orderBy="creationTimestamp desc". This sorts results based on the
8964
+ # creationTimestamp field in reverse chronological order (newest result first).
8965
+ # Use this to sort resources like operations so that the newest operation is
8966
+ # returned first.
8967
+ # Currently, only sorting by name or creationTimestamp desc is supported.
8968
+ # @param [String] page_token
8969
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
8970
+ # a previous list request to get the next page of results.
8971
+ # @param [String] fields
8972
+ # Selector specifying which fields to include in a partial response.
8973
+ # @param [String] quota_user
8974
+ # Available to use for quota purposes for server-side applications. Can be any
8975
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8976
+ # Overrides userIp if both are provided.
8977
+ # @param [String] user_ip
8978
+ # IP address of the site where the request originates. Use this if you want to
8979
+ # enforce per-user limits.
8980
+ # @param [Google::Apis::RequestOptions] options
8981
+ # Request-specific options
8982
+ #
8983
+ # @yield [result, err] Result & error if block supplied
8984
+ # @yieldparam result [Google::Apis::ComputeBeta::RegionInstanceGroupsListInstances] parsed result object
8985
+ # @yieldparam err [StandardError] error object if request failed
8986
+ #
8987
+ # @return [Google::Apis::ComputeBeta::RegionInstanceGroupsListInstances]
8988
+ #
8989
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8990
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8991
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8992
+ def list_region_instance_group_instances(project, region, instance_group, region_instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8993
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances', options)
8994
+ command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupsListInstancesRequest::Representation
8995
+ command.request_object = region_instance_groups_list_instances_request_object
8996
+ command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupsListInstances::Representation
8997
+ command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupsListInstances
8998
+ command.params['project'] = project unless project.nil?
8999
+ command.params['region'] = region unless region.nil?
9000
+ command.params['instanceGroup'] = instance_group unless instance_group.nil?
9001
+ command.query['filter'] = filter unless filter.nil?
9002
+ command.query['maxResults'] = max_results unless max_results.nil?
9003
+ command.query['orderBy'] = order_by unless order_by.nil?
9004
+ command.query['pageToken'] = page_token unless page_token.nil?
9005
+ command.query['fields'] = fields unless fields.nil?
9006
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9007
+ command.query['userIp'] = user_ip unless user_ip.nil?
9008
+ execute_or_queue_command(command, &block)
9009
+ end
9010
+
9011
+ # Sets the named ports for the specified regional instance group.
9012
+ # @param [String] project
9013
+ # Project ID for this request.
9014
+ # @param [String] region
9015
+ # Name of the region scoping this request.
9016
+ # @param [String] instance_group
9017
+ # The name of the regional instance group where the named ports are updated.
9018
+ # @param [Google::Apis::ComputeBeta::RegionInstanceGroupsSetNamedPortsRequest] region_instance_groups_set_named_ports_request_object
9019
+ # @param [String] fields
9020
+ # Selector specifying which fields to include in a partial response.
9021
+ # @param [String] quota_user
9022
+ # Available to use for quota purposes for server-side applications. Can be any
9023
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9024
+ # Overrides userIp if both are provided.
9025
+ # @param [String] user_ip
9026
+ # IP address of the site where the request originates. Use this if you want to
9027
+ # enforce per-user limits.
9028
+ # @param [Google::Apis::RequestOptions] options
9029
+ # Request-specific options
9030
+ #
9031
+ # @yield [result, err] Result & error if block supplied
9032
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
9033
+ # @yieldparam err [StandardError] error object if request failed
9034
+ #
9035
+ # @return [Google::Apis::ComputeBeta::Operation]
9036
+ #
9037
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9038
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9039
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9040
+ def set_region_instance_group_named_ports(project, region, instance_group, region_instance_groups_set_named_ports_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9041
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts', options)
9042
+ command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupsSetNamedPortsRequest::Representation
9043
+ command.request_object = region_instance_groups_set_named_ports_request_object
9044
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
9045
+ command.response_class = Google::Apis::ComputeBeta::Operation
9046
+ command.params['project'] = project unless project.nil?
9047
+ command.params['region'] = region unless region.nil?
9048
+ command.params['instanceGroup'] = instance_group unless instance_group.nil?
9049
+ command.query['fields'] = fields unless fields.nil?
9050
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9051
+ command.query['userIp'] = user_ip unless user_ip.nil?
9052
+ execute_or_queue_command(command, &block)
9053
+ end
9054
+
9055
+ # Returns permissions that a caller has on the specified resource.
9056
+ # @param [String] project
9057
+ # Project ID for this request.
9058
+ # @param [String] region
9059
+ # The name of the region for this request.
9060
+ # @param [String] resource
9061
+ # Name of the resource for this request.
9062
+ # @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
9063
+ # @param [String] fields
9064
+ # Selector specifying which fields to include in a partial response.
9065
+ # @param [String] quota_user
9066
+ # Available to use for quota purposes for server-side applications. Can be any
9067
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9068
+ # Overrides userIp if both are provided.
9069
+ # @param [String] user_ip
9070
+ # IP address of the site where the request originates. Use this if you want to
9071
+ # enforce per-user limits.
9072
+ # @param [Google::Apis::RequestOptions] options
9073
+ # Request-specific options
9074
+ #
9075
+ # @yield [result, err] Result & error if block supplied
9076
+ # @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object
9077
+ # @yieldparam err [StandardError] error object if request failed
9078
+ #
9079
+ # @return [Google::Apis::ComputeBeta::TestPermissionsResponse]
9080
+ #
9081
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9082
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9083
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9084
+ def test_region_instance_group_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9085
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions', options)
9086
+ command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
9087
+ command.request_object = test_permissions_request_object
9088
+ command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
9089
+ command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
9090
+ command.params['project'] = project unless project.nil?
9091
+ command.params['region'] = region unless region.nil?
9092
+ command.params['resource'] = resource unless resource.nil?
9093
+ command.query['fields'] = fields unless fields.nil?
9094
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9095
+ command.query['userIp'] = user_ip unless user_ip.nil?
9096
+ execute_or_queue_command(command, &block)
9097
+ end
9098
+
9099
+ # Deletes the specified region-specific Operations resource.
9100
+ # @param [String] project
9101
+ # Project ID for this request.
9102
+ # @param [String] region
9103
+ # Name of the region for this request.
9104
+ # @param [String] operation
9105
+ # Name of the Operations resource to delete.
9106
+ # @param [String] fields
9107
+ # Selector specifying which fields to include in a partial response.
9108
+ # @param [String] quota_user
9109
+ # Available to use for quota purposes for server-side applications. Can be any
9110
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9111
+ # Overrides userIp if both are provided.
9112
+ # @param [String] user_ip
9113
+ # IP address of the site where the request originates. Use this if you want to
9114
+ # enforce per-user limits.
9115
+ # @param [Google::Apis::RequestOptions] options
9116
+ # Request-specific options
9117
+ #
9118
+ # @yield [result, err] Result & error if block supplied
9119
+ # @yieldparam result [NilClass] No result returned for this method
9120
+ # @yieldparam err [StandardError] error object if request failed
9121
+ #
9122
+ # @return [void]
9123
+ #
9124
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9125
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9126
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9127
+ def delete_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9128
+ command = make_simple_command(:delete, '{project}/regions/{region}/operations/{operation}', options)
9129
+ command.params['project'] = project unless project.nil?
9130
+ command.params['region'] = region unless region.nil?
9131
+ command.params['operation'] = operation unless operation.nil?
9132
+ command.query['fields'] = fields unless fields.nil?
9133
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9134
+ command.query['userIp'] = user_ip unless user_ip.nil?
9135
+ execute_or_queue_command(command, &block)
9136
+ end
9137
+
9138
+ # Retrieves the specified region-specific Operations resource.
9139
+ # @param [String] project
9140
+ # Project ID for this request.
9141
+ # @param [String] region
9142
+ # Name of the region for this request.
9143
+ # @param [String] operation
9144
+ # Name of the Operations resource to return.
9145
+ # @param [String] fields
9146
+ # Selector specifying which fields to include in a partial response.
9147
+ # @param [String] quota_user
9148
+ # Available to use for quota purposes for server-side applications. Can be any
9149
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9150
+ # Overrides userIp if both are provided.
9151
+ # @param [String] user_ip
9152
+ # IP address of the site where the request originates. Use this if you want to
9153
+ # enforce per-user limits.
9154
+ # @param [Google::Apis::RequestOptions] options
9155
+ # Request-specific options
9156
+ #
9157
+ # @yield [result, err] Result & error if block supplied
9158
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
9159
+ # @yieldparam err [StandardError] error object if request failed
9160
+ #
9161
+ # @return [Google::Apis::ComputeBeta::Operation]
9162
+ #
9163
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9164
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9165
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9166
+ def get_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9167
+ command = make_simple_command(:get, '{project}/regions/{region}/operations/{operation}', options)
9168
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
9169
+ command.response_class = Google::Apis::ComputeBeta::Operation
9170
+ command.params['project'] = project unless project.nil?
9171
+ command.params['region'] = region unless region.nil?
9172
+ command.params['operation'] = operation unless operation.nil?
9173
+ command.query['fields'] = fields unless fields.nil?
9174
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9175
+ command.query['userIp'] = user_ip unless user_ip.nil?
9176
+ execute_or_queue_command(command, &block)
9177
+ end
9178
+
9179
+ # Retrieves a list of Operation resources contained within the specified region.
9180
+ # @param [String] project
9181
+ # Project ID for this request.
9182
+ # @param [String] region
9183
+ # Name of the region for this request.
9184
+ # @param [String] filter
9185
+ # Sets a filter expression for filtering listed resources, in the form filter=`
9186
+ # expression`. Your `expression` must be in the format: field_name
9187
+ # comparison_string literal_string.
9188
+ # The field_name is the name of the field you want to compare. Only atomic field
9189
+ # types are supported (string, number, boolean). The comparison_string must be
9190
+ # either eq (equals) or ne (not equals). The literal_string is the string value
9191
+ # to filter to. The literal value must be valid for the type of field you are
9192
+ # filtering by (string, number, boolean). For string fields, the literal value
9193
+ # is interpreted as a regular expression using RE2 syntax. The literal value
9194
+ # must match the entire field.
9195
+ # For example, to filter for instances that do not have a name of example-
9196
+ # instance, you would use filter=name ne example-instance.
9197
+ # You can filter on nested fields. For example, you could filter on instances
9198
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
9199
+ # nested fields to take advantage of labels to organize and search for results
9200
+ # based on label values.
9201
+ # To filter on multiple expressions, provide each separate expression within
9202
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
9203
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
9204
+ # resources must match all expressions to pass the filters.
9205
+ # @param [Fixnum] max_results
9206
+ # The maximum number of results per page that should be returned. If the number
9207
+ # of available results is larger than maxResults, Compute Engine returns a
9208
+ # nextPageToken that can be used to get the next page of results in subsequent
9209
+ # list requests.
9210
+ # @param [String] order_by
9211
+ # Sorts list results by a certain order. By default, results are returned in
9212
+ # alphanumerical order based on the resource name.
9213
+ # You can also sort results in descending order based on the creation timestamp
9214
+ # using orderBy="creationTimestamp desc". This sorts results based on the
9215
+ # creationTimestamp field in reverse chronological order (newest result first).
9216
+ # Use this to sort resources like operations so that the newest operation is
9217
+ # returned first.
9218
+ # Currently, only sorting by name or creationTimestamp desc is supported.
9219
+ # @param [String] page_token
9220
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
9221
+ # a previous list request to get the next page of results.
9222
+ # @param [String] fields
9223
+ # Selector specifying which fields to include in a partial response.
9224
+ # @param [String] quota_user
9225
+ # Available to use for quota purposes for server-side applications. Can be any
9226
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9227
+ # Overrides userIp if both are provided.
9228
+ # @param [String] user_ip
9229
+ # IP address of the site where the request originates. Use this if you want to
9230
+ # enforce per-user limits.
9231
+ # @param [Google::Apis::RequestOptions] options
9232
+ # Request-specific options
9233
+ #
9234
+ # @yield [result, err] Result & error if block supplied
9235
+ # @yieldparam result [Google::Apis::ComputeBeta::OperationList] parsed result object
9236
+ # @yieldparam err [StandardError] error object if request failed
9237
+ #
9238
+ # @return [Google::Apis::ComputeBeta::OperationList]
9239
+ #
9240
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9241
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9242
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9243
+ def list_region_operations(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9244
+ command = make_simple_command(:get, '{project}/regions/{region}/operations', options)
9245
+ command.response_representation = Google::Apis::ComputeBeta::OperationList::Representation
9246
+ command.response_class = Google::Apis::ComputeBeta::OperationList
9247
+ command.params['project'] = project unless project.nil?
9248
+ command.params['region'] = region unless region.nil?
9249
+ command.query['filter'] = filter unless filter.nil?
9250
+ command.query['maxResults'] = max_results unless max_results.nil?
9251
+ command.query['orderBy'] = order_by unless order_by.nil?
9252
+ command.query['pageToken'] = page_token unless page_token.nil?
9253
+ command.query['fields'] = fields unless fields.nil?
9254
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9255
+ command.query['userIp'] = user_ip unless user_ip.nil?
9256
+ execute_or_queue_command(command, &block)
9257
+ end
9258
+
9259
+ # Returns the specified Region resource. Get a list of available regions by
9260
+ # making a list() request.
9261
+ # @param [String] project
9262
+ # Project ID for this request.
9263
+ # @param [String] region
9264
+ # Name of the region resource to return.
9265
+ # @param [String] fields
9266
+ # Selector specifying which fields to include in a partial response.
9267
+ # @param [String] quota_user
9268
+ # Available to use for quota purposes for server-side applications. Can be any
9269
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9270
+ # Overrides userIp if both are provided.
9271
+ # @param [String] user_ip
9272
+ # IP address of the site where the request originates. Use this if you want to
9273
+ # enforce per-user limits.
9274
+ # @param [Google::Apis::RequestOptions] options
9275
+ # Request-specific options
9276
+ #
9277
+ # @yield [result, err] Result & error if block supplied
9278
+ # @yieldparam result [Google::Apis::ComputeBeta::Region] parsed result object
9279
+ # @yieldparam err [StandardError] error object if request failed
9280
+ #
9281
+ # @return [Google::Apis::ComputeBeta::Region]
9282
+ #
9283
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9284
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9285
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9286
+ def get_region(project, region, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9287
+ command = make_simple_command(:get, '{project}/regions/{region}', options)
9288
+ command.response_representation = Google::Apis::ComputeBeta::Region::Representation
9289
+ command.response_class = Google::Apis::ComputeBeta::Region
9290
+ command.params['project'] = project unless project.nil?
9291
+ command.params['region'] = region unless region.nil?
9292
+ command.query['fields'] = fields unless fields.nil?
9293
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9294
+ command.query['userIp'] = user_ip unless user_ip.nil?
9295
+ execute_or_queue_command(command, &block)
9296
+ end
9297
+
9298
+ # Retrieves the list of region resources available to the specified project.
9299
+ # @param [String] project
9300
+ # Project ID for this request.
9301
+ # @param [String] filter
9302
+ # Sets a filter expression for filtering listed resources, in the form filter=`
9303
+ # expression`. Your `expression` must be in the format: field_name
9304
+ # comparison_string literal_string.
9305
+ # The field_name is the name of the field you want to compare. Only atomic field
9306
+ # types are supported (string, number, boolean). The comparison_string must be
9307
+ # either eq (equals) or ne (not equals). The literal_string is the string value
9308
+ # to filter to. The literal value must be valid for the type of field you are
9309
+ # filtering by (string, number, boolean). For string fields, the literal value
9310
+ # is interpreted as a regular expression using RE2 syntax. The literal value
9311
+ # must match the entire field.
9312
+ # For example, to filter for instances that do not have a name of example-
9313
+ # instance, you would use filter=name ne example-instance.
9314
+ # You can filter on nested fields. For example, you could filter on instances
9315
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
9316
+ # nested fields to take advantage of labels to organize and search for results
9317
+ # based on label values.
9318
+ # To filter on multiple expressions, provide each separate expression within
9319
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
9320
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
9321
+ # resources must match all expressions to pass the filters.
9322
+ # @param [Fixnum] max_results
9323
+ # The maximum number of results per page that should be returned. If the number
9324
+ # of available results is larger than maxResults, Compute Engine returns a
9325
+ # nextPageToken that can be used to get the next page of results in subsequent
9326
+ # list requests.
9327
+ # @param [String] order_by
9328
+ # Sorts list results by a certain order. By default, results are returned in
9329
+ # alphanumerical order based on the resource name.
9330
+ # You can also sort results in descending order based on the creation timestamp
9331
+ # using orderBy="creationTimestamp desc". This sorts results based on the
9332
+ # creationTimestamp field in reverse chronological order (newest result first).
9333
+ # Use this to sort resources like operations so that the newest operation is
9334
+ # returned first.
9335
+ # Currently, only sorting by name or creationTimestamp desc is supported.
9336
+ # @param [String] page_token
9337
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
9338
+ # a previous list request to get the next page of results.
9339
+ # @param [String] fields
9340
+ # Selector specifying which fields to include in a partial response.
9341
+ # @param [String] quota_user
9342
+ # Available to use for quota purposes for server-side applications. Can be any
9343
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9344
+ # Overrides userIp if both are provided.
9345
+ # @param [String] user_ip
9346
+ # IP address of the site where the request originates. Use this if you want to
9347
+ # enforce per-user limits.
9348
+ # @param [Google::Apis::RequestOptions] options
9349
+ # Request-specific options
9350
+ #
9351
+ # @yield [result, err] Result & error if block supplied
9352
+ # @yieldparam result [Google::Apis::ComputeBeta::RegionList] parsed result object
9353
+ # @yieldparam err [StandardError] error object if request failed
9354
+ #
9355
+ # @return [Google::Apis::ComputeBeta::RegionList]
9356
+ #
9357
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9358
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9359
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9360
+ def list_regions(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9361
+ command = make_simple_command(:get, '{project}/regions', options)
9362
+ command.response_representation = Google::Apis::ComputeBeta::RegionList::Representation
9363
+ command.response_class = Google::Apis::ComputeBeta::RegionList
9364
+ command.params['project'] = project unless project.nil?
9365
+ command.query['filter'] = filter unless filter.nil?
9366
+ command.query['maxResults'] = max_results unless max_results.nil?
9367
+ command.query['orderBy'] = order_by unless order_by.nil?
9368
+ command.query['pageToken'] = page_token unless page_token.nil?
9369
+ command.query['fields'] = fields unless fields.nil?
9370
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9371
+ command.query['userIp'] = user_ip unless user_ip.nil?
9372
+ execute_or_queue_command(command, &block)
9373
+ end
9374
+
9375
+ # Retrieves an aggregated list of routers.
9376
+ # @param [String] project
9377
+ # Project ID for this request.
9378
+ # @param [String] filter
9379
+ # Sets a filter expression for filtering listed resources, in the form filter=`
9380
+ # expression`. Your `expression` must be in the format: field_name
9381
+ # comparison_string literal_string.
9382
+ # The field_name is the name of the field you want to compare. Only atomic field
9383
+ # types are supported (string, number, boolean). The comparison_string must be
9384
+ # either eq (equals) or ne (not equals). The literal_string is the string value
9385
+ # to filter to. The literal value must be valid for the type of field you are
9386
+ # filtering by (string, number, boolean). For string fields, the literal value
9387
+ # is interpreted as a regular expression using RE2 syntax. The literal value
9388
+ # must match the entire field.
9389
+ # For example, to filter for instances that do not have a name of example-
9390
+ # instance, you would use filter=name ne example-instance.
9391
+ # You can filter on nested fields. For example, you could filter on instances
9392
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
9393
+ # nested fields to take advantage of labels to organize and search for results
9394
+ # based on label values.
9395
+ # To filter on multiple expressions, provide each separate expression within
9396
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
9397
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
9398
+ # resources must match all expressions to pass the filters.
9399
+ # @param [Fixnum] max_results
9400
+ # The maximum number of results per page that should be returned. If the number
9401
+ # of available results is larger than maxResults, Compute Engine returns a
9402
+ # nextPageToken that can be used to get the next page of results in subsequent
9403
+ # list requests.
9404
+ # @param [String] order_by
9405
+ # Sorts list results by a certain order. By default, results are returned in
9406
+ # alphanumerical order based on the resource name.
9407
+ # You can also sort results in descending order based on the creation timestamp
9408
+ # using orderBy="creationTimestamp desc". This sorts results based on the
9409
+ # creationTimestamp field in reverse chronological order (newest result first).
9410
+ # Use this to sort resources like operations so that the newest operation is
9411
+ # returned first.
9412
+ # Currently, only sorting by name or creationTimestamp desc is supported.
9413
+ # @param [String] page_token
9414
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
9415
+ # a previous list request to get the next page of results.
9416
+ # @param [String] fields
9417
+ # Selector specifying which fields to include in a partial response.
9418
+ # @param [String] quota_user
9419
+ # Available to use for quota purposes for server-side applications. Can be any
9420
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9421
+ # Overrides userIp if both are provided.
9422
+ # @param [String] user_ip
9423
+ # IP address of the site where the request originates. Use this if you want to
9424
+ # enforce per-user limits.
9425
+ # @param [Google::Apis::RequestOptions] options
9426
+ # Request-specific options
9427
+ #
9428
+ # @yield [result, err] Result & error if block supplied
9429
+ # @yieldparam result [Google::Apis::ComputeBeta::RouterAggregatedList] parsed result object
9430
+ # @yieldparam err [StandardError] error object if request failed
9431
+ #
9432
+ # @return [Google::Apis::ComputeBeta::RouterAggregatedList]
9433
+ #
9434
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9435
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9436
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9437
+ def list_aggregated_routers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9438
+ command = make_simple_command(:get, '{project}/aggregated/routers', options)
9439
+ command.response_representation = Google::Apis::ComputeBeta::RouterAggregatedList::Representation
9440
+ command.response_class = Google::Apis::ComputeBeta::RouterAggregatedList
9441
+ command.params['project'] = project unless project.nil?
9442
+ command.query['filter'] = filter unless filter.nil?
9443
+ command.query['maxResults'] = max_results unless max_results.nil?
9444
+ command.query['orderBy'] = order_by unless order_by.nil?
9445
+ command.query['pageToken'] = page_token unless page_token.nil?
9446
+ command.query['fields'] = fields unless fields.nil?
9447
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9448
+ command.query['userIp'] = user_ip unless user_ip.nil?
9449
+ execute_or_queue_command(command, &block)
9450
+ end
9451
+
9452
+ # Deletes the specified Router resource.
9453
+ # @param [String] project
9454
+ # Project ID for this request.
9455
+ # @param [String] region
9456
+ # Name of the region for this request.
9457
+ # @param [String] router
9458
+ # Name of the Router resource to delete.
9459
+ # @param [String] fields
9460
+ # Selector specifying which fields to include in a partial response.
9461
+ # @param [String] quota_user
9462
+ # Available to use for quota purposes for server-side applications. Can be any
9463
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9464
+ # Overrides userIp if both are provided.
9465
+ # @param [String] user_ip
9466
+ # IP address of the site where the request originates. Use this if you want to
9467
+ # enforce per-user limits.
9468
+ # @param [Google::Apis::RequestOptions] options
9469
+ # Request-specific options
9470
+ #
9471
+ # @yield [result, err] Result & error if block supplied
9472
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
9473
+ # @yieldparam err [StandardError] error object if request failed
9474
+ #
9475
+ # @return [Google::Apis::ComputeBeta::Operation]
9476
+ #
9477
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9478
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9479
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9480
+ def delete_router(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9481
+ command = make_simple_command(:delete, '{project}/regions/{region}/routers/{router}', options)
9482
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
9483
+ command.response_class = Google::Apis::ComputeBeta::Operation
9484
+ command.params['project'] = project unless project.nil?
9485
+ command.params['region'] = region unless region.nil?
9486
+ command.params['router'] = router unless router.nil?
9487
+ command.query['fields'] = fields unless fields.nil?
9488
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9489
+ command.query['userIp'] = user_ip unless user_ip.nil?
9490
+ execute_or_queue_command(command, &block)
9491
+ end
9492
+
9493
+ # Returns the specified Router resource. Get a list of available routers by
9494
+ # making a list() request.
9495
+ # @param [String] project
9496
+ # Project ID for this request.
9497
+ # @param [String] region
9498
+ # Name of the region for this request.
9499
+ # @param [String] router
9500
+ # Name of the Router resource to return.
9501
+ # @param [String] fields
8262
9502
  # Selector specifying which fields to include in a partial response.
8263
9503
  # @param [String] quota_user
8264
9504
  # Available to use for quota purposes for server-side applications. Can be any
@@ -8393,16 +9633,14 @@ module Google
8393
9633
  # must match the entire field.
8394
9634
  # For example, to filter for instances that do not have a name of example-
8395
9635
  # instance, you would use filter=name ne example-instance.
8396
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
8397
- # filter on nested fields. For example, you could filter on instances that have
8398
- # set the scheduling.automaticRestart field to true. Use filtering on nested
8399
- # fields to take advantage of labels to organize and search for results based on
8400
- # label values.
8401
- # The Beta API also supports filtering on multiple expressions by providing each
8402
- # separate expression within parentheses. For example, (scheduling.
8403
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
8404
- # treated as AND expressions, meaning that resources must match all expressions
8405
- # to pass the filters.
9636
+ # You can filter on nested fields. For example, you could filter on instances
9637
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
9638
+ # nested fields to take advantage of labels to organize and search for results
9639
+ # based on label values.
9640
+ # To filter on multiple expressions, provide each separate expression within
9641
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
9642
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
9643
+ # resources must match all expressions to pass the filters.
8406
9644
  # @param [Fixnum] max_results
8407
9645
  # The maximum number of results per page that should be returned. If the number
8408
9646
  # of available results is larger than maxResults, Compute Engine returns a
@@ -8502,6 +9740,51 @@ module Google
8502
9740
  execute_or_queue_command(command, &block)
8503
9741
  end
8504
9742
 
9743
+ # Preview fields auto-generated during router create and update operations.
9744
+ # Calling this method does NOT create or update the router.
9745
+ # @param [String] project
9746
+ # Project ID for this request.
9747
+ # @param [String] region
9748
+ # Name of the region for this request.
9749
+ # @param [String] router
9750
+ # Name of the Router resource to query.
9751
+ # @param [Google::Apis::ComputeBeta::Router] router_object
9752
+ # @param [String] fields
9753
+ # Selector specifying which fields to include in a partial response.
9754
+ # @param [String] quota_user
9755
+ # Available to use for quota purposes for server-side applications. Can be any
9756
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9757
+ # Overrides userIp if both are provided.
9758
+ # @param [String] user_ip
9759
+ # IP address of the site where the request originates. Use this if you want to
9760
+ # enforce per-user limits.
9761
+ # @param [Google::Apis::RequestOptions] options
9762
+ # Request-specific options
9763
+ #
9764
+ # @yield [result, err] Result & error if block supplied
9765
+ # @yieldparam result [Google::Apis::ComputeBeta::RoutersPreviewResponse] parsed result object
9766
+ # @yieldparam err [StandardError] error object if request failed
9767
+ #
9768
+ # @return [Google::Apis::ComputeBeta::RoutersPreviewResponse]
9769
+ #
9770
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9771
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9772
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9773
+ def preview_router(project, region, router, router_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9774
+ command = make_simple_command(:post, '{project}/regions/{region}/routers/{router}/preview', options)
9775
+ command.request_representation = Google::Apis::ComputeBeta::Router::Representation
9776
+ command.request_object = router_object
9777
+ command.response_representation = Google::Apis::ComputeBeta::RoutersPreviewResponse::Representation
9778
+ command.response_class = Google::Apis::ComputeBeta::RoutersPreviewResponse
9779
+ command.params['project'] = project unless project.nil?
9780
+ command.params['region'] = region unless region.nil?
9781
+ command.params['router'] = router unless router.nil?
9782
+ command.query['fields'] = fields unless fields.nil?
9783
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9784
+ command.query['userIp'] = user_ip unless user_ip.nil?
9785
+ execute_or_queue_command(command, &block)
9786
+ end
9787
+
8505
9788
  # Returns permissions that a caller has on the specified resource.
8506
9789
  # @param [String] project
8507
9790
  # Project ID for this request.
@@ -8722,16 +10005,14 @@ module Google
8722
10005
  # must match the entire field.
8723
10006
  # For example, to filter for instances that do not have a name of example-
8724
10007
  # instance, you would use filter=name ne example-instance.
8725
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
8726
- # filter on nested fields. For example, you could filter on instances that have
8727
- # set the scheduling.automaticRestart field to true. Use filtering on nested
8728
- # fields to take advantage of labels to organize and search for results based on
8729
- # label values.
8730
- # The Beta API also supports filtering on multiple expressions by providing each
8731
- # separate expression within parentheses. For example, (scheduling.
8732
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
8733
- # treated as AND expressions, meaning that resources must match all expressions
8734
- # to pass the filters.
10008
+ # You can filter on nested fields. For example, you could filter on instances
10009
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
10010
+ # nested fields to take advantage of labels to organize and search for results
10011
+ # based on label values.
10012
+ # To filter on multiple expressions, provide each separate expression within
10013
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
10014
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
10015
+ # resources must match all expressions to pass the filters.
8735
10016
  # @param [Fixnum] max_results
8736
10017
  # The maximum number of results per page that should be returned. If the number
8737
10018
  # of available results is larger than maxResults, Compute Engine returns a
@@ -8924,16 +10205,14 @@ module Google
8924
10205
  # must match the entire field.
8925
10206
  # For example, to filter for instances that do not have a name of example-
8926
10207
  # instance, you would use filter=name ne example-instance.
8927
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
8928
- # filter on nested fields. For example, you could filter on instances that have
8929
- # set the scheduling.automaticRestart field to true. Use filtering on nested
8930
- # fields to take advantage of labels to organize and search for results based on
8931
- # label values.
8932
- # The Beta API also supports filtering on multiple expressions by providing each
8933
- # separate expression within parentheses. For example, (scheduling.
8934
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
8935
- # treated as AND expressions, meaning that resources must match all expressions
8936
- # to pass the filters.
10208
+ # You can filter on nested fields. For example, you could filter on instances
10209
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
10210
+ # nested fields to take advantage of labels to organize and search for results
10211
+ # based on label values.
10212
+ # To filter on multiple expressions, provide each separate expression within
10213
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
10214
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
10215
+ # resources must match all expressions to pass the filters.
8937
10216
  # @param [Fixnum] max_results
8938
10217
  # The maximum number of results per page that should be returned. If the number
8939
10218
  # of available results is larger than maxResults, Compute Engine returns a
@@ -9203,16 +10482,14 @@ module Google
9203
10482
  # must match the entire field.
9204
10483
  # For example, to filter for instances that do not have a name of example-
9205
10484
  # instance, you would use filter=name ne example-instance.
9206
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
9207
- # filter on nested fields. For example, you could filter on instances that have
9208
- # set the scheduling.automaticRestart field to true. Use filtering on nested
9209
- # fields to take advantage of labels to organize and search for results based on
9210
- # label values.
9211
- # The Beta API also supports filtering on multiple expressions by providing each
9212
- # separate expression within parentheses. For example, (scheduling.
9213
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
9214
- # treated as AND expressions, meaning that resources must match all expressions
9215
- # to pass the filters.
10485
+ # You can filter on nested fields. For example, you could filter on instances
10486
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
10487
+ # nested fields to take advantage of labels to organize and search for results
10488
+ # based on label values.
10489
+ # To filter on multiple expressions, provide each separate expression within
10490
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
10491
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
10492
+ # resources must match all expressions to pass the filters.
9216
10493
  # @param [Fixnum] max_results
9217
10494
  # The maximum number of results per page that should be returned. If the number
9218
10495
  # of available results is larger than maxResults, Compute Engine returns a
@@ -9323,16 +10600,14 @@ module Google
9323
10600
  # must match the entire field.
9324
10601
  # For example, to filter for instances that do not have a name of example-
9325
10602
  # instance, you would use filter=name ne example-instance.
9326
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
9327
- # filter on nested fields. For example, you could filter on instances that have
9328
- # set the scheduling.automaticRestart field to true. Use filtering on nested
9329
- # fields to take advantage of labels to organize and search for results based on
9330
- # label values.
9331
- # The Beta API also supports filtering on multiple expressions by providing each
9332
- # separate expression within parentheses. For example, (scheduling.
9333
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
9334
- # treated as AND expressions, meaning that resources must match all expressions
9335
- # to pass the filters.
10603
+ # You can filter on nested fields. For example, you could filter on instances
10604
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
10605
+ # nested fields to take advantage of labels to organize and search for results
10606
+ # based on label values.
10607
+ # To filter on multiple expressions, provide each separate expression within
10608
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
10609
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
10610
+ # resources must match all expressions to pass the filters.
9336
10611
  # @param [Fixnum] max_results
9337
10612
  # The maximum number of results per page that should be returned. If the number
9338
10613
  # of available results is larger than maxResults, Compute Engine returns a
@@ -9427,6 +10702,50 @@ module Google
9427
10702
  execute_or_queue_command(command, &block)
9428
10703
  end
9429
10704
 
10705
+ # Expands the IP CIDR range of the subnetwork to a specified value.
10706
+ # @param [String] project
10707
+ # Project ID for this request.
10708
+ # @param [String] region
10709
+ # Name of the region scoping this request.
10710
+ # @param [String] subnetwork
10711
+ # Name of the Subnetwork resource to update.
10712
+ # @param [Google::Apis::ComputeBeta::SubnetworksExpandIpCidrRangeRequest] subnetworks_expand_ip_cidr_range_request_object
10713
+ # @param [String] fields
10714
+ # Selector specifying which fields to include in a partial response.
10715
+ # @param [String] quota_user
10716
+ # Available to use for quota purposes for server-side applications. Can be any
10717
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
10718
+ # Overrides userIp if both are provided.
10719
+ # @param [String] user_ip
10720
+ # IP address of the site where the request originates. Use this if you want to
10721
+ # enforce per-user limits.
10722
+ # @param [Google::Apis::RequestOptions] options
10723
+ # Request-specific options
10724
+ #
10725
+ # @yield [result, err] Result & error if block supplied
10726
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
10727
+ # @yieldparam err [StandardError] error object if request failed
10728
+ #
10729
+ # @return [Google::Apis::ComputeBeta::Operation]
10730
+ #
10731
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10732
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10733
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10734
+ def expand_subnetwork_ip_cidr_range(project, region, subnetwork, subnetworks_expand_ip_cidr_range_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10735
+ command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange', options)
10736
+ command.request_representation = Google::Apis::ComputeBeta::SubnetworksExpandIpCidrRangeRequest::Representation
10737
+ command.request_object = subnetworks_expand_ip_cidr_range_request_object
10738
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
10739
+ command.response_class = Google::Apis::ComputeBeta::Operation
10740
+ command.params['project'] = project unless project.nil?
10741
+ command.params['region'] = region unless region.nil?
10742
+ command.params['subnetwork'] = subnetwork unless subnetwork.nil?
10743
+ command.query['fields'] = fields unless fields.nil?
10744
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10745
+ command.query['userIp'] = user_ip unless user_ip.nil?
10746
+ execute_or_queue_command(command, &block)
10747
+ end
10748
+
9430
10749
  # Returns the specified subnetwork. Get a list of available subnetworks list()
9431
10750
  # request.
9432
10751
  # @param [String] project
@@ -9529,16 +10848,14 @@ module Google
9529
10848
  # must match the entire field.
9530
10849
  # For example, to filter for instances that do not have a name of example-
9531
10850
  # instance, you would use filter=name ne example-instance.
9532
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
9533
- # filter on nested fields. For example, you could filter on instances that have
9534
- # set the scheduling.automaticRestart field to true. Use filtering on nested
9535
- # fields to take advantage of labels to organize and search for results based on
9536
- # label values.
9537
- # The Beta API also supports filtering on multiple expressions by providing each
9538
- # separate expression within parentheses. For example, (scheduling.
9539
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
9540
- # treated as AND expressions, meaning that resources must match all expressions
9541
- # to pass the filters.
10851
+ # You can filter on nested fields. For example, you could filter on instances
10852
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
10853
+ # nested fields to take advantage of labels to organize and search for results
10854
+ # based on label values.
10855
+ # To filter on multiple expressions, provide each separate expression within
10856
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
10857
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
10858
+ # resources must match all expressions to pass the filters.
9542
10859
  # @param [Fixnum] max_results
9543
10860
  # The maximum number of results per page that should be returned. If the number
9544
10861
  # of available results is larger than maxResults, Compute Engine returns a
@@ -9770,16 +11087,14 @@ module Google
9770
11087
  # must match the entire field.
9771
11088
  # For example, to filter for instances that do not have a name of example-
9772
11089
  # instance, you would use filter=name ne example-instance.
9773
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
9774
- # filter on nested fields. For example, you could filter on instances that have
9775
- # set the scheduling.automaticRestart field to true. Use filtering on nested
9776
- # fields to take advantage of labels to organize and search for results based on
9777
- # label values.
9778
- # The Beta API also supports filtering on multiple expressions by providing each
9779
- # separate expression within parentheses. For example, (scheduling.
9780
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
9781
- # treated as AND expressions, meaning that resources must match all expressions
9782
- # to pass the filters.
11090
+ # You can filter on nested fields. For example, you could filter on instances
11091
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
11092
+ # nested fields to take advantage of labels to organize and search for results
11093
+ # based on label values.
11094
+ # To filter on multiple expressions, provide each separate expression within
11095
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
11096
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
11097
+ # resources must match all expressions to pass the filters.
9783
11098
  # @param [Fixnum] max_results
9784
11099
  # The maximum number of results per page that should be returned. If the number
9785
11100
  # of available results is larger than maxResults, Compute Engine returns a
@@ -10048,16 +11363,14 @@ module Google
10048
11363
  # must match the entire field.
10049
11364
  # For example, to filter for instances that do not have a name of example-
10050
11365
  # instance, you would use filter=name ne example-instance.
10051
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
10052
- # filter on nested fields. For example, you could filter on instances that have
10053
- # set the scheduling.automaticRestart field to true. Use filtering on nested
10054
- # fields to take advantage of labels to organize and search for results based on
10055
- # label values.
10056
- # The Beta API also supports filtering on multiple expressions by providing each
10057
- # separate expression within parentheses. For example, (scheduling.
10058
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
10059
- # treated as AND expressions, meaning that resources must match all expressions
10060
- # to pass the filters.
11366
+ # You can filter on nested fields. For example, you could filter on instances
11367
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
11368
+ # nested fields to take advantage of labels to organize and search for results
11369
+ # based on label values.
11370
+ # To filter on multiple expressions, provide each separate expression within
11371
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
11372
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
11373
+ # resources must match all expressions to pass the filters.
10061
11374
  # @param [Fixnum] max_results
10062
11375
  # The maximum number of results per page that should be returned. If the number
10063
11376
  # of available results is larger than maxResults, Compute Engine returns a
@@ -10250,16 +11563,14 @@ module Google
10250
11563
  # must match the entire field.
10251
11564
  # For example, to filter for instances that do not have a name of example-
10252
11565
  # instance, you would use filter=name ne example-instance.
10253
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
10254
- # filter on nested fields. For example, you could filter on instances that have
10255
- # set the scheduling.automaticRestart field to true. Use filtering on nested
10256
- # fields to take advantage of labels to organize and search for results based on
10257
- # label values.
10258
- # The Beta API also supports filtering on multiple expressions by providing each
10259
- # separate expression within parentheses. For example, (scheduling.
10260
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
10261
- # treated as AND expressions, meaning that resources must match all expressions
10262
- # to pass the filters.
11566
+ # You can filter on nested fields. For example, you could filter on instances
11567
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
11568
+ # nested fields to take advantage of labels to organize and search for results
11569
+ # based on label values.
11570
+ # To filter on multiple expressions, provide each separate expression within
11571
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
11572
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
11573
+ # resources must match all expressions to pass the filters.
10263
11574
  # @param [Fixnum] max_results
10264
11575
  # The maximum number of results per page that should be returned. If the number
10265
11576
  # of available results is larger than maxResults, Compute Engine returns a
@@ -10457,16 +11768,14 @@ module Google
10457
11768
  # must match the entire field.
10458
11769
  # For example, to filter for instances that do not have a name of example-
10459
11770
  # instance, you would use filter=name ne example-instance.
10460
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
10461
- # filter on nested fields. For example, you could filter on instances that have
10462
- # set the scheduling.automaticRestart field to true. Use filtering on nested
10463
- # fields to take advantage of labels to organize and search for results based on
10464
- # label values.
10465
- # The Beta API also supports filtering on multiple expressions by providing each
10466
- # separate expression within parentheses. For example, (scheduling.
10467
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
10468
- # treated as AND expressions, meaning that resources must match all expressions
10469
- # to pass the filters.
11771
+ # You can filter on nested fields. For example, you could filter on instances
11772
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
11773
+ # nested fields to take advantage of labels to organize and search for results
11774
+ # based on label values.
11775
+ # To filter on multiple expressions, provide each separate expression within
11776
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
11777
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
11778
+ # resources must match all expressions to pass the filters.
10470
11779
  # @param [Fixnum] max_results
10471
11780
  # The maximum number of results per page that should be returned. If the number
10472
11781
  # of available results is larger than maxResults, Compute Engine returns a
@@ -10669,16 +11978,14 @@ module Google
10669
11978
  # must match the entire field.
10670
11979
  # For example, to filter for instances that do not have a name of example-
10671
11980
  # instance, you would use filter=name ne example-instance.
10672
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
10673
- # filter on nested fields. For example, you could filter on instances that have
10674
- # set the scheduling.automaticRestart field to true. Use filtering on nested
10675
- # fields to take advantage of labels to organize and search for results based on
10676
- # label values.
10677
- # The Beta API also supports filtering on multiple expressions by providing each
10678
- # separate expression within parentheses. For example, (scheduling.
10679
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
10680
- # treated as AND expressions, meaning that resources must match all expressions
10681
- # to pass the filters.
11981
+ # You can filter on nested fields. For example, you could filter on instances
11982
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
11983
+ # nested fields to take advantage of labels to organize and search for results
11984
+ # based on label values.
11985
+ # To filter on multiple expressions, provide each separate expression within
11986
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
11987
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
11988
+ # resources must match all expressions to pass the filters.
10682
11989
  # @param [Fixnum] max_results
10683
11990
  # The maximum number of results per page that should be returned. If the number
10684
11991
  # of available results is larger than maxResults, Compute Engine returns a
@@ -10920,16 +12227,14 @@ module Google
10920
12227
  # must match the entire field.
10921
12228
  # For example, to filter for instances that do not have a name of example-
10922
12229
  # instance, you would use filter=name ne example-instance.
10923
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
10924
- # filter on nested fields. For example, you could filter on instances that have
10925
- # set the scheduling.automaticRestart field to true. Use filtering on nested
10926
- # fields to take advantage of labels to organize and search for results based on
10927
- # label values.
10928
- # The Beta API also supports filtering on multiple expressions by providing each
10929
- # separate expression within parentheses. For example, (scheduling.
10930
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
10931
- # treated as AND expressions, meaning that resources must match all expressions
10932
- # to pass the filters.
12230
+ # You can filter on nested fields. For example, you could filter on instances
12231
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
12232
+ # nested fields to take advantage of labels to organize and search for results
12233
+ # based on label values.
12234
+ # To filter on multiple expressions, provide each separate expression within
12235
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
12236
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
12237
+ # resources must match all expressions to pass the filters.
10933
12238
  # @param [Fixnum] max_results
10934
12239
  # The maximum number of results per page that should be returned. If the number
10935
12240
  # of available results is larger than maxResults, Compute Engine returns a
@@ -11296,16 +12601,14 @@ module Google
11296
12601
  # must match the entire field.
11297
12602
  # For example, to filter for instances that do not have a name of example-
11298
12603
  # instance, you would use filter=name ne example-instance.
11299
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
11300
- # filter on nested fields. For example, you could filter on instances that have
11301
- # set the scheduling.automaticRestart field to true. Use filtering on nested
11302
- # fields to take advantage of labels to organize and search for results based on
11303
- # label values.
11304
- # The Beta API also supports filtering on multiple expressions by providing each
11305
- # separate expression within parentheses. For example, (scheduling.
11306
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
11307
- # treated as AND expressions, meaning that resources must match all expressions
11308
- # to pass the filters.
12604
+ # You can filter on nested fields. For example, you could filter on instances
12605
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
12606
+ # nested fields to take advantage of labels to organize and search for results
12607
+ # based on label values.
12608
+ # To filter on multiple expressions, provide each separate expression within
12609
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
12610
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
12611
+ # resources must match all expressions to pass the filters.
11309
12612
  # @param [Fixnum] max_results
11310
12613
  # The maximum number of results per page that should be returned. If the number
11311
12614
  # of available results is larger than maxResults, Compute Engine returns a
@@ -11539,16 +12842,14 @@ module Google
11539
12842
  # must match the entire field.
11540
12843
  # For example, to filter for instances that do not have a name of example-
11541
12844
  # instance, you would use filter=name ne example-instance.
11542
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
11543
- # filter on nested fields. For example, you could filter on instances that have
11544
- # set the scheduling.automaticRestart field to true. Use filtering on nested
11545
- # fields to take advantage of labels to organize and search for results based on
11546
- # label values.
11547
- # The Beta API also supports filtering on multiple expressions by providing each
11548
- # separate expression within parentheses. For example, (scheduling.
11549
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
11550
- # treated as AND expressions, meaning that resources must match all expressions
11551
- # to pass the filters.
12845
+ # You can filter on nested fields. For example, you could filter on instances
12846
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
12847
+ # nested fields to take advantage of labels to organize and search for results
12848
+ # based on label values.
12849
+ # To filter on multiple expressions, provide each separate expression within
12850
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
12851
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
12852
+ # resources must match all expressions to pass the filters.
11552
12853
  # @param [Fixnum] max_results
11553
12854
  # The maximum number of results per page that should be returned. If the number
11554
12855
  # of available results is larger than maxResults, Compute Engine returns a
@@ -11746,16 +13047,14 @@ module Google
11746
13047
  # must match the entire field.
11747
13048
  # For example, to filter for instances that do not have a name of example-
11748
13049
  # instance, you would use filter=name ne example-instance.
11749
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
11750
- # filter on nested fields. For example, you could filter on instances that have
11751
- # set the scheduling.automaticRestart field to true. Use filtering on nested
11752
- # fields to take advantage of labels to organize and search for results based on
11753
- # label values.
11754
- # The Beta API also supports filtering on multiple expressions by providing each
11755
- # separate expression within parentheses. For example, (scheduling.
11756
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
11757
- # treated as AND expressions, meaning that resources must match all expressions
11758
- # to pass the filters.
13050
+ # You can filter on nested fields. For example, you could filter on instances
13051
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
13052
+ # nested fields to take advantage of labels to organize and search for results
13053
+ # based on label values.
13054
+ # To filter on multiple expressions, provide each separate expression within
13055
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
13056
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
13057
+ # resources must match all expressions to pass the filters.
11759
13058
  # @param [Fixnum] max_results
11760
13059
  # The maximum number of results per page that should be returned. If the number
11761
13060
  # of available results is larger than maxResults, Compute Engine returns a
@@ -12028,16 +13327,14 @@ module Google
12028
13327
  # must match the entire field.
12029
13328
  # For example, to filter for instances that do not have a name of example-
12030
13329
  # instance, you would use filter=name ne example-instance.
12031
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
12032
- # filter on nested fields. For example, you could filter on instances that have
12033
- # set the scheduling.automaticRestart field to true. Use filtering on nested
12034
- # fields to take advantage of labels to organize and search for results based on
12035
- # label values.
12036
- # The Beta API also supports filtering on multiple expressions by providing each
12037
- # separate expression within parentheses. For example, (scheduling.
12038
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
12039
- # treated as AND expressions, meaning that resources must match all expressions
12040
- # to pass the filters.
13330
+ # You can filter on nested fields. For example, you could filter on instances
13331
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
13332
+ # nested fields to take advantage of labels to organize and search for results
13333
+ # based on label values.
13334
+ # To filter on multiple expressions, provide each separate expression within
13335
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
13336
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
13337
+ # resources must match all expressions to pass the filters.
12041
13338
  # @param [Fixnum] max_results
12042
13339
  # The maximum number of results per page that should be returned. If the number
12043
13340
  # of available results is larger than maxResults, Compute Engine returns a
@@ -12273,16 +13570,14 @@ module Google
12273
13570
  # must match the entire field.
12274
13571
  # For example, to filter for instances that do not have a name of example-
12275
13572
  # instance, you would use filter=name ne example-instance.
12276
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
12277
- # filter on nested fields. For example, you could filter on instances that have
12278
- # set the scheduling.automaticRestart field to true. Use filtering on nested
12279
- # fields to take advantage of labels to organize and search for results based on
12280
- # label values.
12281
- # The Beta API also supports filtering on multiple expressions by providing each
12282
- # separate expression within parentheses. For example, (scheduling.
12283
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
12284
- # treated as AND expressions, meaning that resources must match all expressions
12285
- # to pass the filters.
13573
+ # You can filter on nested fields. For example, you could filter on instances
13574
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
13575
+ # nested fields to take advantage of labels to organize and search for results
13576
+ # based on label values.
13577
+ # To filter on multiple expressions, provide each separate expression within
13578
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
13579
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
13580
+ # resources must match all expressions to pass the filters.
12286
13581
  # @param [Fixnum] max_results
12287
13582
  # The maximum number of results per page that should be returned. If the number
12288
13583
  # of available results is larger than maxResults, Compute Engine returns a
@@ -12480,16 +13775,14 @@ module Google
12480
13775
  # must match the entire field.
12481
13776
  # For example, to filter for instances that do not have a name of example-
12482
13777
  # instance, you would use filter=name ne example-instance.
12483
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
12484
- # filter on nested fields. For example, you could filter on instances that have
12485
- # set the scheduling.automaticRestart field to true. Use filtering on nested
12486
- # fields to take advantage of labels to organize and search for results based on
12487
- # label values.
12488
- # The Beta API also supports filtering on multiple expressions by providing each
12489
- # separate expression within parentheses. For example, (scheduling.
12490
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
12491
- # treated as AND expressions, meaning that resources must match all expressions
12492
- # to pass the filters.
13778
+ # You can filter on nested fields. For example, you could filter on instances
13779
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
13780
+ # nested fields to take advantage of labels to organize and search for results
13781
+ # based on label values.
13782
+ # To filter on multiple expressions, provide each separate expression within
13783
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
13784
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
13785
+ # resources must match all expressions to pass the filters.
12493
13786
  # @param [Fixnum] max_results
12494
13787
  # The maximum number of results per page that should be returned. If the number
12495
13788
  # of available results is larger than maxResults, Compute Engine returns a
@@ -12686,16 +13979,14 @@ module Google
12686
13979
  # must match the entire field.
12687
13980
  # For example, to filter for instances that do not have a name of example-
12688
13981
  # instance, you would use filter=name ne example-instance.
12689
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
12690
- # filter on nested fields. For example, you could filter on instances that have
12691
- # set the scheduling.automaticRestart field to true. Use filtering on nested
12692
- # fields to take advantage of labels to organize and search for results based on
12693
- # label values.
12694
- # The Beta API also supports filtering on multiple expressions by providing each
12695
- # separate expression within parentheses. For example, (scheduling.
12696
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
12697
- # treated as AND expressions, meaning that resources must match all expressions
12698
- # to pass the filters.
13982
+ # You can filter on nested fields. For example, you could filter on instances
13983
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
13984
+ # nested fields to take advantage of labels to organize and search for results
13985
+ # based on label values.
13986
+ # To filter on multiple expressions, provide each separate expression within
13987
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
13988
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
13989
+ # resources must match all expressions to pass the filters.
12699
13990
  # @param [Fixnum] max_results
12700
13991
  # The maximum number of results per page that should be returned. If the number
12701
13992
  # of available results is larger than maxResults, Compute Engine returns a
@@ -12805,16 +14096,14 @@ module Google
12805
14096
  # must match the entire field.
12806
14097
  # For example, to filter for instances that do not have a name of example-
12807
14098
  # instance, you would use filter=name ne example-instance.
12808
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
12809
- # filter on nested fields. For example, you could filter on instances that have
12810
- # set the scheduling.automaticRestart field to true. Use filtering on nested
12811
- # fields to take advantage of labels to organize and search for results based on
12812
- # label values.
12813
- # The Beta API also supports filtering on multiple expressions by providing each
12814
- # separate expression within parentheses. For example, (scheduling.
12815
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
12816
- # treated as AND expressions, meaning that resources must match all expressions
12817
- # to pass the filters.
14099
+ # You can filter on nested fields. For example, you could filter on instances
14100
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
14101
+ # nested fields to take advantage of labels to organize and search for results
14102
+ # based on label values.
14103
+ # To filter on multiple expressions, provide each separate expression within
14104
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
14105
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
14106
+ # resources must match all expressions to pass the filters.
12818
14107
  # @param [Fixnum] max_results
12819
14108
  # The maximum number of results per page that should be returned. If the number
12820
14109
  # of available results is larger than maxResults, Compute Engine returns a