google-api-client 0.9.15 → 0.9.18

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 (119) hide show
  1. checksums.yaml +4 -4
  2. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +298 -0
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +122 -0
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +458 -0
  6. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +82 -3
  8. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
  9. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -0
  10. data/generated/google/apis/admin_directory_v1.rb +1 -1
  11. data/generated/google/apis/admin_directory_v1/classes.rb +80 -0
  12. data/generated/google/apis/admin_directory_v1/representations.rb +23 -0
  13. data/generated/google/apis/admin_directory_v1/service.rb +39 -0
  14. data/generated/google/apis/adsense_v1_4.rb +1 -1
  15. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  16. data/generated/google/apis/analytics_v3.rb +1 -1
  17. data/generated/google/apis/analytics_v3/classes.rb +11 -5
  18. data/generated/google/apis/analytics_v3/representations.rb +1 -0
  19. data/generated/google/apis/analytics_v3/service.rb +17 -18
  20. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  21. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  22. data/generated/google/apis/androidenterprise_v1/classes.rb +80 -2
  23. data/generated/google/apis/androidenterprise_v1/representations.rb +30 -0
  24. data/generated/google/apis/androidenterprise_v1/service.rb +55 -6
  25. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  26. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  27. data/generated/google/apis/appengine_v1beta5/classes.rb +1 -1
  28. data/generated/google/apis/appengine_v1beta5/service.rb +36 -0
  29. data/generated/google/apis/appsactivity_v1.rb +1 -1
  30. data/generated/google/apis/bigquery_v2.rb +1 -1
  31. data/generated/google/apis/bigquery_v2/classes.rb +2 -2
  32. data/generated/google/apis/books_v1.rb +1 -1
  33. data/generated/google/apis/books_v1/classes.rb +2 -1
  34. data/generated/google/apis/calendar_v3.rb +1 -1
  35. data/generated/google/apis/classroom_v1.rb +1 -1
  36. data/generated/google/apis/classroom_v1/classes.rb +7 -0
  37. data/generated/google/apis/classroom_v1/representations.rb +1 -0
  38. data/generated/google/apis/classroom_v1/service.rb +25 -15
  39. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  40. data/generated/google/apis/cloudbuild_v1/classes.rb +56 -8
  41. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  42. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +535 -298
  43. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +141 -36
  44. data/generated/google/apis/cloudresourcemanager_v1/service.rb +250 -45
  45. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  46. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +99 -4
  47. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +44 -0
  48. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +24 -33
  49. data/generated/google/apis/compute_beta.rb +1 -1
  50. data/generated/google/apis/compute_beta/classes.rb +44 -29
  51. data/generated/google/apis/compute_beta/representations.rb +1 -0
  52. data/generated/google/apis/compute_beta/service.rb +123 -25
  53. data/generated/google/apis/compute_v1.rb +1 -1
  54. data/generated/google/apis/compute_v1/classes.rb +43 -20
  55. data/generated/google/apis/compute_v1/representations.rb +3 -0
  56. data/generated/google/apis/compute_v1/service.rb +608 -67
  57. data/generated/google/apis/content_v2.rb +1 -1
  58. data/generated/google/apis/dataflow_v1b3.rb +38 -0
  59. data/generated/google/apis/dataflow_v1b3/classes.rb +4009 -0
  60. data/generated/google/apis/dataflow_v1b3/representations.rb +1718 -0
  61. data/generated/google/apis/dataflow_v1b3/service.rb +515 -0
  62. data/generated/google/apis/datastore_v1.rb +1 -1
  63. data/generated/google/apis/dns_v1.rb +1 -1
  64. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  65. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
  66. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
  67. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
  68. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  69. data/generated/google/apis/drive_v2.rb +1 -1
  70. data/generated/google/apis/drive_v2/classes.rb +9 -0
  71. data/generated/google/apis/drive_v2/representations.rb +1 -0
  72. data/generated/google/apis/drive_v2/service.rb +8 -1
  73. data/generated/google/apis/drive_v3.rb +1 -1
  74. data/generated/google/apis/drive_v3/classes.rb +7 -0
  75. data/generated/google/apis/drive_v3/representations.rb +1 -0
  76. data/generated/google/apis/drive_v3/service.rb +8 -1
  77. data/generated/google/apis/genomics_v1.rb +1 -1
  78. data/generated/google/apis/iam_v1.rb +2 -2
  79. data/generated/google/apis/iam_v1/classes.rb +181 -206
  80. data/generated/google/apis/iam_v1/representations.rb +36 -45
  81. data/generated/google/apis/iam_v1/service.rb +101 -67
  82. data/generated/google/apis/identitytoolkit_v3.rb +4 -1
  83. data/generated/google/apis/identitytoolkit_v3/classes.rb +11 -27
  84. data/generated/google/apis/identitytoolkit_v3/representations.rb +2 -16
  85. data/generated/google/apis/language_v1beta1.rb +1 -1
  86. data/generated/google/apis/language_v1beta1/classes.rb +4 -2
  87. data/generated/google/apis/language_v1beta1/service.rb +2 -4
  88. data/generated/google/apis/logging_v2beta1.rb +6 -6
  89. data/generated/google/apis/logging_v2beta1/classes.rb +742 -732
  90. data/generated/google/apis/logging_v2beta1/representations.rb +134 -147
  91. data/generated/google/apis/logging_v2beta1/service.rb +276 -209
  92. data/generated/google/apis/monitoring_v3.rb +1 -1
  93. data/generated/google/apis/monitoring_v3/classes.rb +20 -13
  94. data/generated/google/apis/monitoring_v3/service.rb +1 -1
  95. data/generated/google/apis/oauth2_v2.rb +1 -1
  96. data/generated/google/apis/plus_domains_v1.rb +1 -1
  97. data/generated/google/apis/plus_v1.rb +1 -1
  98. data/generated/google/apis/pubsub_v1.rb +1 -1
  99. data/generated/google/apis/pubsub_v1/classes.rb +10 -9
  100. data/generated/google/apis/pubsub_v1/service.rb +128 -27
  101. data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
  102. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
  103. data/generated/google/apis/sheets_v4.rb +1 -1
  104. data/generated/google/apis/sheets_v4/classes.rb +2 -0
  105. data/generated/google/apis/speech_v1beta1.rb +1 -1
  106. data/generated/google/apis/speech_v1beta1/classes.rb +20 -30
  107. data/generated/google/apis/speech_v1beta1/representations.rb +6 -7
  108. data/generated/google/apis/speech_v1beta1/service.rb +68 -65
  109. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  110. data/generated/google/apis/sqladmin_v1beta4/classes.rb +6 -0
  111. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  112. data/generated/google/apis/storage_v1.rb +1 -1
  113. data/generated/google/apis/storage_v1/classes.rb +3 -3
  114. data/generated/google/apis/storage_v1/representations.rb +2 -1
  115. data/generated/google/apis/storage_v1/service.rb +5 -2
  116. data/generated/google/apis/vision_v1.rb +1 -1
  117. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  118. data/lib/google/apis/version.rb +1 -1
  119. metadata +10 -2
@@ -1480,6 +1480,7 @@ module Google
1480
1480
  property :id, as: 'id'
1481
1481
  property :kind, as: 'kind'
1482
1482
  property :name, as: 'name'
1483
+ property :region, as: 'region'
1483
1484
  property :self_link, as: 'selfLink'
1484
1485
  property :target, as: 'target'
1485
1486
  property :zone, as: 'zone'
@@ -2217,6 +2218,7 @@ module Google
2217
2218
  collection :named_ports, as: 'namedPorts', class: Google::Apis::ComputeV1::NamedPort, decorator: Google::Apis::ComputeV1::NamedPort::Representation
2218
2219
 
2219
2220
  property :network, as: 'network'
2221
+ property :region, as: 'region'
2220
2222
  property :self_link, as: 'selfLink'
2221
2223
  property :size, as: 'size'
2222
2224
  property :subnetwork, as: 'subnetwork'
@@ -2264,6 +2266,7 @@ module Google
2264
2266
  property :name, as: 'name'
2265
2267
  collection :named_ports, as: 'namedPorts', class: Google::Apis::ComputeV1::NamedPort, decorator: Google::Apis::ComputeV1::NamedPort::Representation
2266
2268
 
2269
+ property :region, as: 'region'
2267
2270
  property :self_link, as: 'selfLink'
2268
2271
  collection :target_pools, as: 'targetPools'
2269
2272
  property :target_size, as: 'targetSize'
@@ -81,6 +81,15 @@ module Google
81
81
  # of available results is larger than maxResults, Compute Engine returns a
82
82
  # nextPageToken that can be used to get the next page of results in subsequent
83
83
  # list requests.
84
+ # @param [String] order_by
85
+ # Sorts list results by a certain order. By default, results are returned in
86
+ # alphanumerical order based on the resource name.
87
+ # You can also sort results in descending order based on the creation timestamp
88
+ # using orderBy="creationTimestamp desc". This sorts results based on the
89
+ # creationTimestamp field in reverse chronological order (newest result first).
90
+ # Use this to sort resources like operations so that the newest operation is
91
+ # returned first.
92
+ # Currently, only sorting by name or creationTimestamp desc is supported.
84
93
  # @param [String] page_token
85
94
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
86
95
  # a previous list request to get the next page of results.
@@ -105,13 +114,14 @@ module Google
105
114
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
106
115
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
107
116
  # @raise [Google::Apis::AuthorizationError] Authorization is required
108
- def list_aggregated_addresses(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
117
+ def list_aggregated_addresses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
109
118
  command = make_simple_command(:get, '{project}/aggregated/addresses', options)
110
119
  command.response_representation = Google::Apis::ComputeV1::AddressAggregatedList::Representation
111
120
  command.response_class = Google::Apis::ComputeV1::AddressAggregatedList
112
121
  command.params['project'] = project unless project.nil?
113
122
  command.query['filter'] = filter unless filter.nil?
114
123
  command.query['maxResults'] = max_results unless max_results.nil?
124
+ command.query['orderBy'] = order_by unless order_by.nil?
115
125
  command.query['pageToken'] = page_token unless page_token.nil?
116
126
  command.query['fields'] = fields unless fields.nil?
117
127
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -274,6 +284,15 @@ module Google
274
284
  # of available results is larger than maxResults, Compute Engine returns a
275
285
  # nextPageToken that can be used to get the next page of results in subsequent
276
286
  # list requests.
287
+ # @param [String] order_by
288
+ # Sorts list results by a certain order. By default, results are returned in
289
+ # alphanumerical order based on the resource name.
290
+ # You can also sort results in descending order based on the creation timestamp
291
+ # using orderBy="creationTimestamp desc". This sorts results based on the
292
+ # creationTimestamp field in reverse chronological order (newest result first).
293
+ # Use this to sort resources like operations so that the newest operation is
294
+ # returned first.
295
+ # Currently, only sorting by name or creationTimestamp desc is supported.
277
296
  # @param [String] page_token
278
297
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
279
298
  # a previous list request to get the next page of results.
@@ -298,7 +317,7 @@ module Google
298
317
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
299
318
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
300
319
  # @raise [Google::Apis::AuthorizationError] Authorization is required
301
- def list_addresses(project, region, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
320
+ def list_addresses(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
302
321
  command = make_simple_command(:get, '{project}/regions/{region}/addresses', options)
303
322
  command.response_representation = Google::Apis::ComputeV1::AddressList::Representation
304
323
  command.response_class = Google::Apis::ComputeV1::AddressList
@@ -306,6 +325,7 @@ module Google
306
325
  command.params['region'] = region unless region.nil?
307
326
  command.query['filter'] = filter unless filter.nil?
308
327
  command.query['maxResults'] = max_results unless max_results.nil?
328
+ command.query['orderBy'] = order_by unless order_by.nil?
309
329
  command.query['pageToken'] = page_token unless page_token.nil?
310
330
  command.query['fields'] = fields unless fields.nil?
311
331
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -342,6 +362,15 @@ module Google
342
362
  # of available results is larger than maxResults, Compute Engine returns a
343
363
  # nextPageToken that can be used to get the next page of results in subsequent
344
364
  # list requests.
365
+ # @param [String] order_by
366
+ # Sorts list results by a certain order. By default, results are returned in
367
+ # alphanumerical order based on the resource name.
368
+ # You can also sort results in descending order based on the creation timestamp
369
+ # using orderBy="creationTimestamp desc". This sorts results based on the
370
+ # creationTimestamp field in reverse chronological order (newest result first).
371
+ # Use this to sort resources like operations so that the newest operation is
372
+ # returned first.
373
+ # Currently, only sorting by name or creationTimestamp desc is supported.
345
374
  # @param [String] page_token
346
375
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
347
376
  # a previous list request to get the next page of results.
@@ -366,13 +395,14 @@ module Google
366
395
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
367
396
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
368
397
  # @raise [Google::Apis::AuthorizationError] Authorization is required
369
- def list_aggregated_autoscalers(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
398
+ def list_aggregated_autoscalers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
370
399
  command = make_simple_command(:get, '{project}/aggregated/autoscalers', options)
371
400
  command.response_representation = Google::Apis::ComputeV1::AutoscalerAggregatedList::Representation
372
401
  command.response_class = Google::Apis::ComputeV1::AutoscalerAggregatedList
373
402
  command.params['project'] = project unless project.nil?
374
403
  command.query['filter'] = filter unless filter.nil?
375
404
  command.query['maxResults'] = max_results unless max_results.nil?
405
+ command.query['orderBy'] = order_by unless order_by.nil?
376
406
  command.query['pageToken'] = page_token unless page_token.nil?
377
407
  command.query['fields'] = fields unless fields.nil?
378
408
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -536,6 +566,15 @@ module Google
536
566
  # of available results is larger than maxResults, Compute Engine returns a
537
567
  # nextPageToken that can be used to get the next page of results in subsequent
538
568
  # list requests.
569
+ # @param [String] order_by
570
+ # Sorts list results by a certain order. By default, results are returned in
571
+ # alphanumerical order based on the resource name.
572
+ # You can also sort results in descending order based on the creation timestamp
573
+ # using orderBy="creationTimestamp desc". This sorts results based on the
574
+ # creationTimestamp field in reverse chronological order (newest result first).
575
+ # Use this to sort resources like operations so that the newest operation is
576
+ # returned first.
577
+ # Currently, only sorting by name or creationTimestamp desc is supported.
539
578
  # @param [String] page_token
540
579
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
541
580
  # a previous list request to get the next page of results.
@@ -560,7 +599,7 @@ module Google
560
599
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
561
600
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
562
601
  # @raise [Google::Apis::AuthorizationError] Authorization is required
563
- def list_autoscalers(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
602
+ def list_autoscalers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
564
603
  command = make_simple_command(:get, '{project}/zones/{zone}/autoscalers', options)
565
604
  command.response_representation = Google::Apis::ComputeV1::AutoscalerList::Representation
566
605
  command.response_class = Google::Apis::ComputeV1::AutoscalerList
@@ -568,6 +607,7 @@ module Google
568
607
  command.params['zone'] = zone unless zone.nil?
569
608
  command.query['filter'] = filter unless filter.nil?
570
609
  command.query['maxResults'] = max_results unless max_results.nil?
610
+ command.query['orderBy'] = order_by unless order_by.nil?
571
611
  command.query['pageToken'] = page_token unless page_token.nil?
572
612
  command.query['fields'] = fields unless fields.nil?
573
613
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -853,6 +893,15 @@ module Google
853
893
  # of available results is larger than maxResults, Compute Engine returns a
854
894
  # nextPageToken that can be used to get the next page of results in subsequent
855
895
  # list requests.
896
+ # @param [String] order_by
897
+ # Sorts list results by a certain order. By default, results are returned in
898
+ # alphanumerical order based on the resource name.
899
+ # You can also sort results in descending order based on the creation timestamp
900
+ # using orderBy="creationTimestamp desc". This sorts results based on the
901
+ # creationTimestamp field in reverse chronological order (newest result first).
902
+ # Use this to sort resources like operations so that the newest operation is
903
+ # returned first.
904
+ # Currently, only sorting by name or creationTimestamp desc is supported.
856
905
  # @param [String] page_token
857
906
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
858
907
  # a previous list request to get the next page of results.
@@ -877,13 +926,14 @@ module Google
877
926
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
878
927
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
879
928
  # @raise [Google::Apis::AuthorizationError] Authorization is required
880
- def list_backend_services(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
929
+ def list_backend_services(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
881
930
  command = make_simple_command(:get, '{project}/global/backendServices', options)
882
931
  command.response_representation = Google::Apis::ComputeV1::BackendServiceList::Representation
883
932
  command.response_class = Google::Apis::ComputeV1::BackendServiceList
884
933
  command.params['project'] = project unless project.nil?
885
934
  command.query['filter'] = filter unless filter.nil?
886
935
  command.query['maxResults'] = max_results unless max_results.nil?
936
+ command.query['orderBy'] = order_by unless order_by.nil?
887
937
  command.query['pageToken'] = page_token unless page_token.nil?
888
938
  command.query['fields'] = fields unless fields.nil?
889
939
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -891,10 +941,10 @@ module Google
891
941
  execute_or_queue_command(command, &block)
892
942
  end
893
943
 
894
- # Updates the entire content of the BackendService resource. There are several
895
- # restrictions and guidelines to keep in mind when updating a backend service.
896
- # Read Restrictions and Guidelines for more information. This method supports
897
- # patch semantics.
944
+ # Updates the specified BackendService resource with the data included in the
945
+ # request. There are several restrictions and guidelines to keep in mind when
946
+ # updating a backend service. Read Restrictions and Guidelines for more
947
+ # information. This method supports patch semantics.
898
948
  # @param [String] project
899
949
  # Project ID for this request.
900
950
  # @param [String] backend_service
@@ -935,9 +985,10 @@ module Google
935
985
  execute_or_queue_command(command, &block)
936
986
  end
937
987
 
938
- # Updates the entire content of the BackendService resource. There are several
939
- # restrictions and guidelines to keep in mind when updating a backend service.
940
- # Read Restrictions and Guidelines for more information.
988
+ # Updates the specified BackendService resource with the data included in the
989
+ # request. There are several restrictions and guidelines to keep in mind when
990
+ # updating a backend service. Read Restrictions and Guidelines for more
991
+ # information.
941
992
  # @param [String] project
942
993
  # Project ID for this request.
943
994
  # @param [String] backend_service
@@ -1007,6 +1058,15 @@ module Google
1007
1058
  # of available results is larger than maxResults, Compute Engine returns a
1008
1059
  # nextPageToken that can be used to get the next page of results in subsequent
1009
1060
  # list requests.
1061
+ # @param [String] order_by
1062
+ # Sorts list results by a certain order. By default, results are returned in
1063
+ # alphanumerical order based on the resource name.
1064
+ # You can also sort results in descending order based on the creation timestamp
1065
+ # using orderBy="creationTimestamp desc". This sorts results based on the
1066
+ # creationTimestamp field in reverse chronological order (newest result first).
1067
+ # Use this to sort resources like operations so that the newest operation is
1068
+ # returned first.
1069
+ # Currently, only sorting by name or creationTimestamp desc is supported.
1010
1070
  # @param [String] page_token
1011
1071
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
1012
1072
  # a previous list request to get the next page of results.
@@ -1031,13 +1091,14 @@ module Google
1031
1091
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1032
1092
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1033
1093
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1034
- def list_aggregated_disk_types(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1094
+ def list_aggregated_disk_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1035
1095
  command = make_simple_command(:get, '{project}/aggregated/diskTypes', options)
1036
1096
  command.response_representation = Google::Apis::ComputeV1::DiskTypeAggregatedList::Representation
1037
1097
  command.response_class = Google::Apis::ComputeV1::DiskTypeAggregatedList
1038
1098
  command.params['project'] = project unless project.nil?
1039
1099
  command.query['filter'] = filter unless filter.nil?
1040
1100
  command.query['maxResults'] = max_results unless max_results.nil?
1101
+ command.query['orderBy'] = order_by unless order_by.nil?
1041
1102
  command.query['pageToken'] = page_token unless page_token.nil?
1042
1103
  command.query['fields'] = fields unless fields.nil?
1043
1104
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1118,6 +1179,15 @@ module Google
1118
1179
  # of available results is larger than maxResults, Compute Engine returns a
1119
1180
  # nextPageToken that can be used to get the next page of results in subsequent
1120
1181
  # list requests.
1182
+ # @param [String] order_by
1183
+ # Sorts list results by a certain order. By default, results are returned in
1184
+ # alphanumerical order based on the resource name.
1185
+ # You can also sort results in descending order based on the creation timestamp
1186
+ # using orderBy="creationTimestamp desc". This sorts results based on the
1187
+ # creationTimestamp field in reverse chronological order (newest result first).
1188
+ # Use this to sort resources like operations so that the newest operation is
1189
+ # returned first.
1190
+ # Currently, only sorting by name or creationTimestamp desc is supported.
1121
1191
  # @param [String] page_token
1122
1192
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
1123
1193
  # a previous list request to get the next page of results.
@@ -1142,7 +1212,7 @@ module Google
1142
1212
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1143
1213
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1144
1214
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1145
- def list_disk_types(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1215
+ def list_disk_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1146
1216
  command = make_simple_command(:get, '{project}/zones/{zone}/diskTypes', options)
1147
1217
  command.response_representation = Google::Apis::ComputeV1::DiskTypeList::Representation
1148
1218
  command.response_class = Google::Apis::ComputeV1::DiskTypeList
@@ -1150,6 +1220,7 @@ module Google
1150
1220
  command.params['zone'] = zone unless zone.nil?
1151
1221
  command.query['filter'] = filter unless filter.nil?
1152
1222
  command.query['maxResults'] = max_results unless max_results.nil?
1223
+ command.query['orderBy'] = order_by unless order_by.nil?
1153
1224
  command.query['pageToken'] = page_token unless page_token.nil?
1154
1225
  command.query['fields'] = fields unless fields.nil?
1155
1226
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1186,6 +1257,15 @@ module Google
1186
1257
  # of available results is larger than maxResults, Compute Engine returns a
1187
1258
  # nextPageToken that can be used to get the next page of results in subsequent
1188
1259
  # list requests.
1260
+ # @param [String] order_by
1261
+ # Sorts list results by a certain order. By default, results are returned in
1262
+ # alphanumerical order based on the resource name.
1263
+ # You can also sort results in descending order based on the creation timestamp
1264
+ # using orderBy="creationTimestamp desc". This sorts results based on the
1265
+ # creationTimestamp field in reverse chronological order (newest result first).
1266
+ # Use this to sort resources like operations so that the newest operation is
1267
+ # returned first.
1268
+ # Currently, only sorting by name or creationTimestamp desc is supported.
1189
1269
  # @param [String] page_token
1190
1270
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
1191
1271
  # a previous list request to get the next page of results.
@@ -1210,13 +1290,14 @@ module Google
1210
1290
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1211
1291
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1212
1292
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1213
- def list_aggregated_disk(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1293
+ def list_aggregated_disk(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1214
1294
  command = make_simple_command(:get, '{project}/aggregated/disks', options)
1215
1295
  command.response_representation = Google::Apis::ComputeV1::DiskAggregatedList::Representation
1216
1296
  command.response_class = Google::Apis::ComputeV1::DiskAggregatedList
1217
1297
  command.params['project'] = project unless project.nil?
1218
1298
  command.query['filter'] = filter unless filter.nil?
1219
1299
  command.query['maxResults'] = max_results unless max_results.nil?
1300
+ command.query['orderBy'] = order_by unless order_by.nil?
1220
1301
  command.query['pageToken'] = page_token unless page_token.nil?
1221
1302
  command.query['fields'] = fields unless fields.nil?
1222
1303
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1431,6 +1512,15 @@ module Google
1431
1512
  # of available results is larger than maxResults, Compute Engine returns a
1432
1513
  # nextPageToken that can be used to get the next page of results in subsequent
1433
1514
  # list requests.
1515
+ # @param [String] order_by
1516
+ # Sorts list results by a certain order. By default, results are returned in
1517
+ # alphanumerical order based on the resource name.
1518
+ # You can also sort results in descending order based on the creation timestamp
1519
+ # using orderBy="creationTimestamp desc". This sorts results based on the
1520
+ # creationTimestamp field in reverse chronological order (newest result first).
1521
+ # Use this to sort resources like operations so that the newest operation is
1522
+ # returned first.
1523
+ # Currently, only sorting by name or creationTimestamp desc is supported.
1434
1524
  # @param [String] page_token
1435
1525
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
1436
1526
  # a previous list request to get the next page of results.
@@ -1455,7 +1545,7 @@ module Google
1455
1545
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1456
1546
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1457
1547
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1458
- def list_disks(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1548
+ def list_disks(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1459
1549
  command = make_simple_command(:get, '{project}/zones/{zone}/disks', options)
1460
1550
  command.response_representation = Google::Apis::ComputeV1::DiskList::Representation
1461
1551
  command.response_class = Google::Apis::ComputeV1::DiskList
@@ -1463,6 +1553,7 @@ module Google
1463
1553
  command.params['zone'] = zone unless zone.nil?
1464
1554
  command.query['filter'] = filter unless filter.nil?
1465
1555
  command.query['maxResults'] = max_results unless max_results.nil?
1556
+ command.query['orderBy'] = order_by unless order_by.nil?
1466
1557
  command.query['pageToken'] = page_token unless page_token.nil?
1467
1558
  command.query['fields'] = fields unless fields.nil?
1468
1559
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1658,6 +1749,15 @@ module Google
1658
1749
  # of available results is larger than maxResults, Compute Engine returns a
1659
1750
  # nextPageToken that can be used to get the next page of results in subsequent
1660
1751
  # list requests.
1752
+ # @param [String] order_by
1753
+ # Sorts list results by a certain order. By default, results are returned in
1754
+ # alphanumerical order based on the resource name.
1755
+ # You can also sort results in descending order based on the creation timestamp
1756
+ # using orderBy="creationTimestamp desc". This sorts results based on the
1757
+ # creationTimestamp field in reverse chronological order (newest result first).
1758
+ # Use this to sort resources like operations so that the newest operation is
1759
+ # returned first.
1760
+ # Currently, only sorting by name or creationTimestamp desc is supported.
1661
1761
  # @param [String] page_token
1662
1762
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
1663
1763
  # a previous list request to get the next page of results.
@@ -1682,13 +1782,14 @@ module Google
1682
1782
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1683
1783
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1684
1784
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1685
- def list_firewalls(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1785
+ def list_firewalls(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1686
1786
  command = make_simple_command(:get, '{project}/global/firewalls', options)
1687
1787
  command.response_representation = Google::Apis::ComputeV1::FirewallList::Representation
1688
1788
  command.response_class = Google::Apis::ComputeV1::FirewallList
1689
1789
  command.params['project'] = project unless project.nil?
1690
1790
  command.query['filter'] = filter unless filter.nil?
1691
1791
  command.query['maxResults'] = max_results unless max_results.nil?
1792
+ command.query['orderBy'] = order_by unless order_by.nil?
1692
1793
  command.query['pageToken'] = page_token unless page_token.nil?
1693
1794
  command.query['fields'] = fields unless fields.nil?
1694
1795
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1808,6 +1909,15 @@ module Google
1808
1909
  # of available results is larger than maxResults, Compute Engine returns a
1809
1910
  # nextPageToken that can be used to get the next page of results in subsequent
1810
1911
  # list requests.
1912
+ # @param [String] order_by
1913
+ # Sorts list results by a certain order. By default, results are returned in
1914
+ # alphanumerical order based on the resource name.
1915
+ # You can also sort results in descending order based on the creation timestamp
1916
+ # using orderBy="creationTimestamp desc". This sorts results based on the
1917
+ # creationTimestamp field in reverse chronological order (newest result first).
1918
+ # Use this to sort resources like operations so that the newest operation is
1919
+ # returned first.
1920
+ # Currently, only sorting by name or creationTimestamp desc is supported.
1811
1921
  # @param [String] page_token
1812
1922
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
1813
1923
  # a previous list request to get the next page of results.
@@ -1832,13 +1942,14 @@ module Google
1832
1942
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1833
1943
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1834
1944
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1835
- def list_aggregated_forwarding_rules(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1945
+ def list_aggregated_forwarding_rules(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1836
1946
  command = make_simple_command(:get, '{project}/aggregated/forwardingRules', options)
1837
1947
  command.response_representation = Google::Apis::ComputeV1::ForwardingRuleAggregatedList::Representation
1838
1948
  command.response_class = Google::Apis::ComputeV1::ForwardingRuleAggregatedList
1839
1949
  command.params['project'] = project unless project.nil?
1840
1950
  command.query['filter'] = filter unless filter.nil?
1841
1951
  command.query['maxResults'] = max_results unless max_results.nil?
1952
+ command.query['orderBy'] = order_by unless order_by.nil?
1842
1953
  command.query['pageToken'] = page_token unless page_token.nil?
1843
1954
  command.query['fields'] = fields unless fields.nil?
1844
1955
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2002,6 +2113,15 @@ module Google
2002
2113
  # of available results is larger than maxResults, Compute Engine returns a
2003
2114
  # nextPageToken that can be used to get the next page of results in subsequent
2004
2115
  # list requests.
2116
+ # @param [String] order_by
2117
+ # Sorts list results by a certain order. By default, results are returned in
2118
+ # alphanumerical order based on the resource name.
2119
+ # You can also sort results in descending order based on the creation timestamp
2120
+ # using orderBy="creationTimestamp desc". This sorts results based on the
2121
+ # creationTimestamp field in reverse chronological order (newest result first).
2122
+ # Use this to sort resources like operations so that the newest operation is
2123
+ # returned first.
2124
+ # Currently, only sorting by name or creationTimestamp desc is supported.
2005
2125
  # @param [String] page_token
2006
2126
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
2007
2127
  # a previous list request to get the next page of results.
@@ -2026,7 +2146,7 @@ module Google
2026
2146
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2027
2147
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2028
2148
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2029
- def list_forwarding_rules(project, region, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2149
+ def list_forwarding_rules(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2030
2150
  command = make_simple_command(:get, '{project}/regions/{region}/forwardingRules', options)
2031
2151
  command.response_representation = Google::Apis::ComputeV1::ForwardingRuleList::Representation
2032
2152
  command.response_class = Google::Apis::ComputeV1::ForwardingRuleList
@@ -2034,6 +2154,7 @@ module Google
2034
2154
  command.params['region'] = region unless region.nil?
2035
2155
  command.query['filter'] = filter unless filter.nil?
2036
2156
  command.query['maxResults'] = max_results unless max_results.nil?
2157
+ command.query['orderBy'] = order_by unless order_by.nil?
2037
2158
  command.query['pageToken'] = page_token unless page_token.nil?
2038
2159
  command.query['fields'] = fields unless fields.nil?
2039
2160
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2231,6 +2352,15 @@ module Google
2231
2352
  # of available results is larger than maxResults, Compute Engine returns a
2232
2353
  # nextPageToken that can be used to get the next page of results in subsequent
2233
2354
  # list requests.
2355
+ # @param [String] order_by
2356
+ # Sorts list results by a certain order. By default, results are returned in
2357
+ # alphanumerical order based on the resource name.
2358
+ # You can also sort results in descending order based on the creation timestamp
2359
+ # using orderBy="creationTimestamp desc". This sorts results based on the
2360
+ # creationTimestamp field in reverse chronological order (newest result first).
2361
+ # Use this to sort resources like operations so that the newest operation is
2362
+ # returned first.
2363
+ # Currently, only sorting by name or creationTimestamp desc is supported.
2234
2364
  # @param [String] page_token
2235
2365
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
2236
2366
  # a previous list request to get the next page of results.
@@ -2255,13 +2385,14 @@ module Google
2255
2385
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2256
2386
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2257
2387
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2258
- def list_global_addresses(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2388
+ def list_global_addresses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2259
2389
  command = make_simple_command(:get, '{project}/global/addresses', options)
2260
2390
  command.response_representation = Google::Apis::ComputeV1::AddressList::Representation
2261
2391
  command.response_class = Google::Apis::ComputeV1::AddressList
2262
2392
  command.params['project'] = project unless project.nil?
2263
2393
  command.query['filter'] = filter unless filter.nil?
2264
2394
  command.query['maxResults'] = max_results unless max_results.nil?
2395
+ command.query['orderBy'] = order_by unless order_by.nil?
2265
2396
  command.query['pageToken'] = page_token unless page_token.nil?
2266
2397
  command.query['fields'] = fields unless fields.nil?
2267
2398
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2415,6 +2546,15 @@ module Google
2415
2546
  # of available results is larger than maxResults, Compute Engine returns a
2416
2547
  # nextPageToken that can be used to get the next page of results in subsequent
2417
2548
  # list requests.
2549
+ # @param [String] order_by
2550
+ # Sorts list results by a certain order. By default, results are returned in
2551
+ # alphanumerical order based on the resource name.
2552
+ # You can also sort results in descending order based on the creation timestamp
2553
+ # using orderBy="creationTimestamp desc". This sorts results based on the
2554
+ # creationTimestamp field in reverse chronological order (newest result first).
2555
+ # Use this to sort resources like operations so that the newest operation is
2556
+ # returned first.
2557
+ # Currently, only sorting by name or creationTimestamp desc is supported.
2418
2558
  # @param [String] page_token
2419
2559
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
2420
2560
  # a previous list request to get the next page of results.
@@ -2439,13 +2579,14 @@ module Google
2439
2579
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2440
2580
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2441
2581
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2442
- def list_global_forwarding_rules(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2582
+ def list_global_forwarding_rules(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2443
2583
  command = make_simple_command(:get, '{project}/global/forwardingRules', options)
2444
2584
  command.response_representation = Google::Apis::ComputeV1::ForwardingRuleList::Representation
2445
2585
  command.response_class = Google::Apis::ComputeV1::ForwardingRuleList
2446
2586
  command.params['project'] = project unless project.nil?
2447
2587
  command.query['filter'] = filter unless filter.nil?
2448
2588
  command.query['maxResults'] = max_results unless max_results.nil?
2589
+ command.query['orderBy'] = order_by unless order_by.nil?
2449
2590
  command.query['pageToken'] = page_token unless page_token.nil?
2450
2591
  command.query['fields'] = fields unless fields.nil?
2451
2592
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2524,6 +2665,15 @@ module Google
2524
2665
  # of available results is larger than maxResults, Compute Engine returns a
2525
2666
  # nextPageToken that can be used to get the next page of results in subsequent
2526
2667
  # list requests.
2668
+ # @param [String] order_by
2669
+ # Sorts list results by a certain order. By default, results are returned in
2670
+ # alphanumerical order based on the resource name.
2671
+ # You can also sort results in descending order based on the creation timestamp
2672
+ # using orderBy="creationTimestamp desc". This sorts results based on the
2673
+ # creationTimestamp field in reverse chronological order (newest result first).
2674
+ # Use this to sort resources like operations so that the newest operation is
2675
+ # returned first.
2676
+ # Currently, only sorting by name or creationTimestamp desc is supported.
2527
2677
  # @param [String] page_token
2528
2678
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
2529
2679
  # a previous list request to get the next page of results.
@@ -2548,13 +2698,14 @@ module Google
2548
2698
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2549
2699
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2550
2700
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2551
- def list_aggregated_global_operation(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2701
+ def list_aggregated_global_operation(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2552
2702
  command = make_simple_command(:get, '{project}/aggregated/operations', options)
2553
2703
  command.response_representation = Google::Apis::ComputeV1::OperationAggregatedList::Representation
2554
2704
  command.response_class = Google::Apis::ComputeV1::OperationAggregatedList
2555
2705
  command.params['project'] = project unless project.nil?
2556
2706
  command.query['filter'] = filter unless filter.nil?
2557
2707
  command.query['maxResults'] = max_results unless max_results.nil?
2708
+ command.query['orderBy'] = order_by unless order_by.nil?
2558
2709
  command.query['pageToken'] = page_token unless page_token.nil?
2559
2710
  command.query['fields'] = fields unless fields.nil?
2560
2711
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2666,6 +2817,15 @@ module Google
2666
2817
  # of available results is larger than maxResults, Compute Engine returns a
2667
2818
  # nextPageToken that can be used to get the next page of results in subsequent
2668
2819
  # list requests.
2820
+ # @param [String] order_by
2821
+ # Sorts list results by a certain order. By default, results are returned in
2822
+ # alphanumerical order based on the resource name.
2823
+ # You can also sort results in descending order based on the creation timestamp
2824
+ # using orderBy="creationTimestamp desc". This sorts results based on the
2825
+ # creationTimestamp field in reverse chronological order (newest result first).
2826
+ # Use this to sort resources like operations so that the newest operation is
2827
+ # returned first.
2828
+ # Currently, only sorting by name or creationTimestamp desc is supported.
2669
2829
  # @param [String] page_token
2670
2830
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
2671
2831
  # a previous list request to get the next page of results.
@@ -2690,13 +2850,14 @@ module Google
2690
2850
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2691
2851
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2692
2852
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2693
- def list_global_operations(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2853
+ def list_global_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2694
2854
  command = make_simple_command(:get, '{project}/global/operations', options)
2695
2855
  command.response_representation = Google::Apis::ComputeV1::OperationList::Representation
2696
2856
  command.response_class = Google::Apis::ComputeV1::OperationList
2697
2857
  command.params['project'] = project unless project.nil?
2698
2858
  command.query['filter'] = filter unless filter.nil?
2699
2859
  command.query['maxResults'] = max_results unless max_results.nil?
2860
+ command.query['orderBy'] = order_by unless order_by.nil?
2700
2861
  command.query['pageToken'] = page_token unless page_token.nil?
2701
2862
  command.query['fields'] = fields unless fields.nil?
2702
2863
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2849,6 +3010,15 @@ module Google
2849
3010
  # of available results is larger than maxResults, Compute Engine returns a
2850
3011
  # nextPageToken that can be used to get the next page of results in subsequent
2851
3012
  # list requests.
3013
+ # @param [String] order_by
3014
+ # Sorts list results by a certain order. By default, results are returned in
3015
+ # alphanumerical order based on the resource name.
3016
+ # You can also sort results in descending order based on the creation timestamp
3017
+ # using orderBy="creationTimestamp desc". This sorts results based on the
3018
+ # creationTimestamp field in reverse chronological order (newest result first).
3019
+ # Use this to sort resources like operations so that the newest operation is
3020
+ # returned first.
3021
+ # Currently, only sorting by name or creationTimestamp desc is supported.
2852
3022
  # @param [String] page_token
2853
3023
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
2854
3024
  # a previous list request to get the next page of results.
@@ -2873,13 +3043,14 @@ module Google
2873
3043
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2874
3044
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2875
3045
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2876
- def list_health_checks(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3046
+ def list_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2877
3047
  command = make_simple_command(:get, '{project}/global/healthChecks', options)
2878
3048
  command.response_representation = Google::Apis::ComputeV1::HealthCheckList::Representation
2879
3049
  command.response_class = Google::Apis::ComputeV1::HealthCheckList
2880
3050
  command.params['project'] = project unless project.nil?
2881
3051
  command.query['filter'] = filter unless filter.nil?
2882
3052
  command.query['maxResults'] = max_results unless max_results.nil?
3053
+ command.query['orderBy'] = order_by unless order_by.nil?
2883
3054
  command.query['pageToken'] = page_token unless page_token.nil?
2884
3055
  command.query['fields'] = fields unless fields.nil?
2885
3056
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -3117,6 +3288,15 @@ module Google
3117
3288
  # of available results is larger than maxResults, Compute Engine returns a
3118
3289
  # nextPageToken that can be used to get the next page of results in subsequent
3119
3290
  # list requests.
3291
+ # @param [String] order_by
3292
+ # Sorts list results by a certain order. By default, results are returned in
3293
+ # alphanumerical order based on the resource name.
3294
+ # You can also sort results in descending order based on the creation timestamp
3295
+ # using orderBy="creationTimestamp desc". This sorts results based on the
3296
+ # creationTimestamp field in reverse chronological order (newest result first).
3297
+ # Use this to sort resources like operations so that the newest operation is
3298
+ # returned first.
3299
+ # Currently, only sorting by name or creationTimestamp desc is supported.
3120
3300
  # @param [String] page_token
3121
3301
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
3122
3302
  # a previous list request to get the next page of results.
@@ -3141,13 +3321,14 @@ module Google
3141
3321
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3142
3322
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3143
3323
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3144
- def list_http_health_checks(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3324
+ def list_http_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3145
3325
  command = make_simple_command(:get, '{project}/global/httpHealthChecks', options)
3146
3326
  command.response_representation = Google::Apis::ComputeV1::HttpHealthCheckList::Representation
3147
3327
  command.response_class = Google::Apis::ComputeV1::HttpHealthCheckList
3148
3328
  command.params['project'] = project unless project.nil?
3149
3329
  command.query['filter'] = filter unless filter.nil?
3150
3330
  command.query['maxResults'] = max_results unless max_results.nil?
3331
+ command.query['orderBy'] = order_by unless order_by.nil?
3151
3332
  command.query['pageToken'] = page_token unless page_token.nil?
3152
3333
  command.query['fields'] = fields unless fields.nil?
3153
3334
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -3385,6 +3566,15 @@ module Google
3385
3566
  # of available results is larger than maxResults, Compute Engine returns a
3386
3567
  # nextPageToken that can be used to get the next page of results in subsequent
3387
3568
  # list requests.
3569
+ # @param [String] order_by
3570
+ # Sorts list results by a certain order. By default, results are returned in
3571
+ # alphanumerical order based on the resource name.
3572
+ # You can also sort results in descending order based on the creation timestamp
3573
+ # using orderBy="creationTimestamp desc". This sorts results based on the
3574
+ # creationTimestamp field in reverse chronological order (newest result first).
3575
+ # Use this to sort resources like operations so that the newest operation is
3576
+ # returned first.
3577
+ # Currently, only sorting by name or creationTimestamp desc is supported.
3388
3578
  # @param [String] page_token
3389
3579
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
3390
3580
  # a previous list request to get the next page of results.
@@ -3409,13 +3599,14 @@ module Google
3409
3599
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3410
3600
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3411
3601
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3412
- def list_https_health_checks(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3602
+ def list_https_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3413
3603
  command = make_simple_command(:get, '{project}/global/httpsHealthChecks', options)
3414
3604
  command.response_representation = Google::Apis::ComputeV1::HttpsHealthCheckList::Representation
3415
3605
  command.response_class = Google::Apis::ComputeV1::HttpsHealthCheckList
3416
3606
  command.params['project'] = project unless project.nil?
3417
3607
  command.query['filter'] = filter unless filter.nil?
3418
3608
  command.query['maxResults'] = max_results unless max_results.nil?
3609
+ command.query['orderBy'] = order_by unless order_by.nil?
3419
3610
  command.query['pageToken'] = page_token unless page_token.nil?
3420
3611
  command.query['fields'] = fields unless fields.nil?
3421
3612
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -3737,6 +3928,15 @@ module Google
3737
3928
  # of available results is larger than maxResults, Compute Engine returns a
3738
3929
  # nextPageToken that can be used to get the next page of results in subsequent
3739
3930
  # list requests.
3931
+ # @param [String] order_by
3932
+ # Sorts list results by a certain order. By default, results are returned in
3933
+ # alphanumerical order based on the resource name.
3934
+ # You can also sort results in descending order based on the creation timestamp
3935
+ # using orderBy="creationTimestamp desc". This sorts results based on the
3936
+ # creationTimestamp field in reverse chronological order (newest result first).
3937
+ # Use this to sort resources like operations so that the newest operation is
3938
+ # returned first.
3939
+ # Currently, only sorting by name or creationTimestamp desc is supported.
3740
3940
  # @param [String] page_token
3741
3941
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
3742
3942
  # a previous list request to get the next page of results.
@@ -3761,13 +3961,14 @@ module Google
3761
3961
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3762
3962
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3763
3963
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3764
- def list_images(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3964
+ def list_images(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3765
3965
  command = make_simple_command(:get, '{project}/global/images', options)
3766
3966
  command.response_representation = Google::Apis::ComputeV1::ImageList::Representation
3767
3967
  command.response_class = Google::Apis::ComputeV1::ImageList
3768
3968
  command.params['project'] = project unless project.nil?
3769
3969
  command.query['filter'] = filter unless filter.nil?
3770
3970
  command.query['maxResults'] = max_results unless max_results.nil?
3971
+ command.query['orderBy'] = order_by unless order_by.nil?
3771
3972
  command.query['pageToken'] = page_token unless page_token.nil?
3772
3973
  command.query['fields'] = fields unless fields.nil?
3773
3974
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -3855,6 +4056,15 @@ module Google
3855
4056
  # of available results is larger than maxResults, Compute Engine returns a
3856
4057
  # nextPageToken that can be used to get the next page of results in subsequent
3857
4058
  # list requests.
4059
+ # @param [String] order_by
4060
+ # Sorts list results by a certain order. By default, results are returned in
4061
+ # alphanumerical order based on the resource name.
4062
+ # You can also sort results in descending order based on the creation timestamp
4063
+ # using orderBy="creationTimestamp desc". This sorts results based on the
4064
+ # creationTimestamp field in reverse chronological order (newest result first).
4065
+ # Use this to sort resources like operations so that the newest operation is
4066
+ # returned first.
4067
+ # Currently, only sorting by name or creationTimestamp desc is supported.
3858
4068
  # @param [String] page_token
3859
4069
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
3860
4070
  # a previous list request to get the next page of results.
@@ -3879,13 +4089,14 @@ module Google
3879
4089
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3880
4090
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3881
4091
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3882
- def list_aggregated_instance_group_managers(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4092
+ def list_aggregated_instance_group_managers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3883
4093
  command = make_simple_command(:get, '{project}/aggregated/instanceGroupManagers', options)
3884
4094
  command.response_representation = Google::Apis::ComputeV1::InstanceGroupManagerAggregatedList::Representation
3885
4095
  command.response_class = Google::Apis::ComputeV1::InstanceGroupManagerAggregatedList
3886
4096
  command.params['project'] = project unless project.nil?
3887
4097
  command.query['filter'] = filter unless filter.nil?
3888
4098
  command.query['maxResults'] = max_results unless max_results.nil?
4099
+ command.query['orderBy'] = order_by unless order_by.nil?
3889
4100
  command.query['pageToken'] = page_token unless page_token.nil?
3890
4101
  command.query['fields'] = fields unless fields.nil?
3891
4102
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -4106,6 +4317,15 @@ module Google
4106
4317
  # of available results is larger than maxResults, Compute Engine returns a
4107
4318
  # nextPageToken that can be used to get the next page of results in subsequent
4108
4319
  # list requests.
4320
+ # @param [String] order_by
4321
+ # Sorts list results by a certain order. By default, results are returned in
4322
+ # alphanumerical order based on the resource name.
4323
+ # You can also sort results in descending order based on the creation timestamp
4324
+ # using orderBy="creationTimestamp desc". This sorts results based on the
4325
+ # creationTimestamp field in reverse chronological order (newest result first).
4326
+ # Use this to sort resources like operations so that the newest operation is
4327
+ # returned first.
4328
+ # Currently, only sorting by name or creationTimestamp desc is supported.
4109
4329
  # @param [String] page_token
4110
4330
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
4111
4331
  # a previous list request to get the next page of results.
@@ -4130,7 +4350,7 @@ module Google
4130
4350
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4131
4351
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4132
4352
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4133
- def list_instance_group_managers(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4353
+ def list_instance_group_managers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4134
4354
  command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroupManagers', options)
4135
4355
  command.response_representation = Google::Apis::ComputeV1::InstanceGroupManagerList::Representation
4136
4356
  command.response_class = Google::Apis::ComputeV1::InstanceGroupManagerList
@@ -4138,6 +4358,7 @@ module Google
4138
4358
  command.params['zone'] = zone unless zone.nil?
4139
4359
  command.query['filter'] = filter unless filter.nil?
4140
4360
  command.query['maxResults'] = max_results unless max_results.nil?
4361
+ command.query['orderBy'] = order_by unless order_by.nil?
4141
4362
  command.query['pageToken'] = page_token unless page_token.nil?
4142
4363
  command.query['fields'] = fields unless fields.nil?
4143
4364
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -4460,6 +4681,15 @@ module Google
4460
4681
  # of available results is larger than maxResults, Compute Engine returns a
4461
4682
  # nextPageToken that can be used to get the next page of results in subsequent
4462
4683
  # list requests.
4684
+ # @param [String] order_by
4685
+ # Sorts list results by a certain order. By default, results are returned in
4686
+ # alphanumerical order based on the resource name.
4687
+ # You can also sort results in descending order based on the creation timestamp
4688
+ # using orderBy="creationTimestamp desc". This sorts results based on the
4689
+ # creationTimestamp field in reverse chronological order (newest result first).
4690
+ # Use this to sort resources like operations so that the newest operation is
4691
+ # returned first.
4692
+ # Currently, only sorting by name or creationTimestamp desc is supported.
4463
4693
  # @param [String] page_token
4464
4694
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
4465
4695
  # a previous list request to get the next page of results.
@@ -4484,13 +4714,14 @@ module Google
4484
4714
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4485
4715
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4486
4716
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4487
- def list_aggregated_instance_groups(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4717
+ def list_aggregated_instance_groups(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4488
4718
  command = make_simple_command(:get, '{project}/aggregated/instanceGroups', options)
4489
4719
  command.response_representation = Google::Apis::ComputeV1::InstanceGroupAggregatedList::Representation
4490
4720
  command.response_class = Google::Apis::ComputeV1::InstanceGroupAggregatedList
4491
4721
  command.params['project'] = project unless project.nil?
4492
4722
  command.query['filter'] = filter unless filter.nil?
4493
4723
  command.query['maxResults'] = max_results unless max_results.nil?
4724
+ command.query['orderBy'] = order_by unless order_by.nil?
4494
4725
  command.query['pageToken'] = page_token unless page_token.nil?
4495
4726
  command.query['fields'] = fields unless fields.nil?
4496
4727
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -4657,6 +4888,15 @@ module Google
4657
4888
  # of available results is larger than maxResults, Compute Engine returns a
4658
4889
  # nextPageToken that can be used to get the next page of results in subsequent
4659
4890
  # list requests.
4891
+ # @param [String] order_by
4892
+ # Sorts list results by a certain order. By default, results are returned in
4893
+ # alphanumerical order based on the resource name.
4894
+ # You can also sort results in descending order based on the creation timestamp
4895
+ # using orderBy="creationTimestamp desc". This sorts results based on the
4896
+ # creationTimestamp field in reverse chronological order (newest result first).
4897
+ # Use this to sort resources like operations so that the newest operation is
4898
+ # returned first.
4899
+ # Currently, only sorting by name or creationTimestamp desc is supported.
4660
4900
  # @param [String] page_token
4661
4901
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
4662
4902
  # a previous list request to get the next page of results.
@@ -4681,7 +4921,7 @@ module Google
4681
4921
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4682
4922
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4683
4923
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4684
- def list_instance_groups(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4924
+ def list_instance_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4685
4925
  command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroups', options)
4686
4926
  command.response_representation = Google::Apis::ComputeV1::InstanceGroupList::Representation
4687
4927
  command.response_class = Google::Apis::ComputeV1::InstanceGroupList
@@ -4689,6 +4929,7 @@ module Google
4689
4929
  command.params['zone'] = zone unless zone.nil?
4690
4930
  command.query['filter'] = filter unless filter.nil?
4691
4931
  command.query['maxResults'] = max_results unless max_results.nil?
4932
+ command.query['orderBy'] = order_by unless order_by.nil?
4692
4933
  command.query['pageToken'] = page_token unless page_token.nil?
4693
4934
  command.query['fields'] = fields unless fields.nil?
4694
4935
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -4731,6 +4972,15 @@ module Google
4731
4972
  # of available results is larger than maxResults, Compute Engine returns a
4732
4973
  # nextPageToken that can be used to get the next page of results in subsequent
4733
4974
  # list requests.
4975
+ # @param [String] order_by
4976
+ # Sorts list results by a certain order. By default, results are returned in
4977
+ # alphanumerical order based on the resource name.
4978
+ # You can also sort results in descending order based on the creation timestamp
4979
+ # using orderBy="creationTimestamp desc". This sorts results based on the
4980
+ # creationTimestamp field in reverse chronological order (newest result first).
4981
+ # Use this to sort resources like operations so that the newest operation is
4982
+ # returned first.
4983
+ # Currently, only sorting by name or creationTimestamp desc is supported.
4734
4984
  # @param [String] page_token
4735
4985
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
4736
4986
  # a previous list request to get the next page of results.
@@ -4755,7 +5005,7 @@ module Google
4755
5005
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4756
5006
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4757
5007
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4758
- def list_instance_group_instances(project, zone, instance_group, instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
5008
+ def list_instance_group_instances(project, zone, instance_group, 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)
4759
5009
  command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances', options)
4760
5010
  command.request_representation = Google::Apis::ComputeV1::InstanceGroupsListInstancesRequest::Representation
4761
5011
  command.request_object = instance_groups_list_instances_request_object
@@ -4766,6 +5016,7 @@ module Google
4766
5016
  command.params['instanceGroup'] = instance_group unless instance_group.nil?
4767
5017
  command.query['filter'] = filter unless filter.nil?
4768
5018
  command.query['maxResults'] = max_results unless max_results.nil?
5019
+ command.query['orderBy'] = order_by unless order_by.nil?
4769
5020
  command.query['pageToken'] = page_token unless page_token.nil?
4770
5021
  command.query['fields'] = fields unless fields.nil?
4771
5022
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -5013,6 +5264,15 @@ module Google
5013
5264
  # of available results is larger than maxResults, Compute Engine returns a
5014
5265
  # nextPageToken that can be used to get the next page of results in subsequent
5015
5266
  # list requests.
5267
+ # @param [String] order_by
5268
+ # Sorts list results by a certain order. By default, results are returned in
5269
+ # alphanumerical order based on the resource name.
5270
+ # You can also sort results in descending order based on the creation timestamp
5271
+ # using orderBy="creationTimestamp desc". This sorts results based on the
5272
+ # creationTimestamp field in reverse chronological order (newest result first).
5273
+ # Use this to sort resources like operations so that the newest operation is
5274
+ # returned first.
5275
+ # Currently, only sorting by name or creationTimestamp desc is supported.
5016
5276
  # @param [String] page_token
5017
5277
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
5018
5278
  # a previous list request to get the next page of results.
@@ -5037,13 +5297,14 @@ module Google
5037
5297
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5038
5298
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5039
5299
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5040
- def list_instance_templates(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
5300
+ def list_instance_templates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
5041
5301
  command = make_simple_command(:get, '{project}/global/instanceTemplates', options)
5042
5302
  command.response_representation = Google::Apis::ComputeV1::InstanceTemplateList::Representation
5043
5303
  command.response_class = Google::Apis::ComputeV1::InstanceTemplateList
5044
5304
  command.params['project'] = project unless project.nil?
5045
5305
  command.query['filter'] = filter unless filter.nil?
5046
5306
  command.query['maxResults'] = max_results unless max_results.nil?
5307
+ command.query['orderBy'] = order_by unless order_by.nil?
5047
5308
  command.query['pageToken'] = page_token unless page_token.nil?
5048
5309
  command.query['fields'] = fields unless fields.nil?
5049
5310
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -5127,6 +5388,15 @@ module Google
5127
5388
  # of available results is larger than maxResults, Compute Engine returns a
5128
5389
  # nextPageToken that can be used to get the next page of results in subsequent
5129
5390
  # list requests.
5391
+ # @param [String] order_by
5392
+ # Sorts list results by a certain order. By default, results are returned in
5393
+ # alphanumerical order based on the resource name.
5394
+ # You can also sort results in descending order based on the creation timestamp
5395
+ # using orderBy="creationTimestamp desc". This sorts results based on the
5396
+ # creationTimestamp field in reverse chronological order (newest result first).
5397
+ # Use this to sort resources like operations so that the newest operation is
5398
+ # returned first.
5399
+ # Currently, only sorting by name or creationTimestamp desc is supported.
5130
5400
  # @param [String] page_token
5131
5401
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
5132
5402
  # a previous list request to get the next page of results.
@@ -5151,13 +5421,14 @@ module Google
5151
5421
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5152
5422
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5153
5423
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5154
- def list_aggregated_instances(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
5424
+ def list_aggregated_instances(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
5155
5425
  command = make_simple_command(:get, '{project}/aggregated/instances', options)
5156
5426
  command.response_representation = Google::Apis::ComputeV1::InstanceAggregatedList::Representation
5157
5427
  command.response_class = Google::Apis::ComputeV1::InstanceAggregatedList
5158
5428
  command.params['project'] = project unless project.nil?
5159
5429
  command.query['filter'] = filter unless filter.nil?
5160
5430
  command.query['maxResults'] = max_results unless max_results.nil?
5431
+ command.query['orderBy'] = order_by unless order_by.nil?
5161
5432
  command.query['pageToken'] = page_token unless page_token.nil?
5162
5433
  command.query['fields'] = fields unless fields.nil?
5163
5434
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -5501,6 +5772,15 @@ module Google
5501
5772
  # of available results is larger than maxResults, Compute Engine returns a
5502
5773
  # nextPageToken that can be used to get the next page of results in subsequent
5503
5774
  # list requests.
5775
+ # @param [String] order_by
5776
+ # Sorts list results by a certain order. By default, results are returned in
5777
+ # alphanumerical order based on the resource name.
5778
+ # You can also sort results in descending order based on the creation timestamp
5779
+ # using orderBy="creationTimestamp desc". This sorts results based on the
5780
+ # creationTimestamp field in reverse chronological order (newest result first).
5781
+ # Use this to sort resources like operations so that the newest operation is
5782
+ # returned first.
5783
+ # Currently, only sorting by name or creationTimestamp desc is supported.
5504
5784
  # @param [String] page_token
5505
5785
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
5506
5786
  # a previous list request to get the next page of results.
@@ -5525,7 +5805,7 @@ module Google
5525
5805
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5526
5806
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5527
5807
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5528
- def list_instances(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
5808
+ def list_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
5529
5809
  command = make_simple_command(:get, '{project}/zones/{zone}/instances', options)
5530
5810
  command.response_representation = Google::Apis::ComputeV1::InstanceList::Representation
5531
5811
  command.response_class = Google::Apis::ComputeV1::InstanceList
@@ -5533,6 +5813,7 @@ module Google
5533
5813
  command.params['zone'] = zone unless zone.nil?
5534
5814
  command.query['filter'] = filter unless filter.nil?
5535
5815
  command.query['maxResults'] = max_results unless max_results.nil?
5816
+ command.query['orderBy'] = order_by unless order_by.nil?
5536
5817
  command.query['pageToken'] = page_token unless page_token.nil?
5537
5818
  command.query['fields'] = fields unless fields.nil?
5538
5819
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -6006,6 +6287,15 @@ module Google
6006
6287
  # of available results is larger than maxResults, Compute Engine returns a
6007
6288
  # nextPageToken that can be used to get the next page of results in subsequent
6008
6289
  # list requests.
6290
+ # @param [String] order_by
6291
+ # Sorts list results by a certain order. By default, results are returned in
6292
+ # alphanumerical order based on the resource name.
6293
+ # You can also sort results in descending order based on the creation timestamp
6294
+ # using orderBy="creationTimestamp desc". This sorts results based on the
6295
+ # creationTimestamp field in reverse chronological order (newest result first).
6296
+ # Use this to sort resources like operations so that the newest operation is
6297
+ # returned first.
6298
+ # Currently, only sorting by name or creationTimestamp desc is supported.
6009
6299
  # @param [String] page_token
6010
6300
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
6011
6301
  # a previous list request to get the next page of results.
@@ -6030,13 +6320,14 @@ module Google
6030
6320
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6031
6321
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6032
6322
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6033
- def list_aggregated_machine_types(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
6323
+ def list_aggregated_machine_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
6034
6324
  command = make_simple_command(:get, '{project}/aggregated/machineTypes', options)
6035
6325
  command.response_representation = Google::Apis::ComputeV1::MachineTypeAggregatedList::Representation
6036
6326
  command.response_class = Google::Apis::ComputeV1::MachineTypeAggregatedList
6037
6327
  command.params['project'] = project unless project.nil?
6038
6328
  command.query['filter'] = filter unless filter.nil?
6039
6329
  command.query['maxResults'] = max_results unless max_results.nil?
6330
+ command.query['orderBy'] = order_by unless order_by.nil?
6040
6331
  command.query['pageToken'] = page_token unless page_token.nil?
6041
6332
  command.query['fields'] = fields unless fields.nil?
6042
6333
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -6117,6 +6408,15 @@ module Google
6117
6408
  # of available results is larger than maxResults, Compute Engine returns a
6118
6409
  # nextPageToken that can be used to get the next page of results in subsequent
6119
6410
  # list requests.
6411
+ # @param [String] order_by
6412
+ # Sorts list results by a certain order. By default, results are returned in
6413
+ # alphanumerical order based on the resource name.
6414
+ # You can also sort results in descending order based on the creation timestamp
6415
+ # using orderBy="creationTimestamp desc". This sorts results based on the
6416
+ # creationTimestamp field in reverse chronological order (newest result first).
6417
+ # Use this to sort resources like operations so that the newest operation is
6418
+ # returned first.
6419
+ # Currently, only sorting by name or creationTimestamp desc is supported.
6120
6420
  # @param [String] page_token
6121
6421
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
6122
6422
  # a previous list request to get the next page of results.
@@ -6141,7 +6441,7 @@ module Google
6141
6441
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6142
6442
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6143
6443
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6144
- def list_machine_types(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
6444
+ def list_machine_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
6145
6445
  command = make_simple_command(:get, '{project}/zones/{zone}/machineTypes', options)
6146
6446
  command.response_representation = Google::Apis::ComputeV1::MachineTypeList::Representation
6147
6447
  command.response_class = Google::Apis::ComputeV1::MachineTypeList
@@ -6149,6 +6449,7 @@ module Google
6149
6449
  command.params['zone'] = zone unless zone.nil?
6150
6450
  command.query['filter'] = filter unless filter.nil?
6151
6451
  command.query['maxResults'] = max_results unless max_results.nil?
6452
+ command.query['orderBy'] = order_by unless order_by.nil?
6152
6453
  command.query['pageToken'] = page_token unless page_token.nil?
6153
6454
  command.query['fields'] = fields unless fields.nil?
6154
6455
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -6301,6 +6602,15 @@ module Google
6301
6602
  # of available results is larger than maxResults, Compute Engine returns a
6302
6603
  # nextPageToken that can be used to get the next page of results in subsequent
6303
6604
  # list requests.
6605
+ # @param [String] order_by
6606
+ # Sorts list results by a certain order. By default, results are returned in
6607
+ # alphanumerical order based on the resource name.
6608
+ # You can also sort results in descending order based on the creation timestamp
6609
+ # using orderBy="creationTimestamp desc". This sorts results based on the
6610
+ # creationTimestamp field in reverse chronological order (newest result first).
6611
+ # Use this to sort resources like operations so that the newest operation is
6612
+ # returned first.
6613
+ # Currently, only sorting by name or creationTimestamp desc is supported.
6304
6614
  # @param [String] page_token
6305
6615
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
6306
6616
  # a previous list request to get the next page of results.
@@ -6325,13 +6635,14 @@ module Google
6325
6635
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6326
6636
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6327
6637
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6328
- def list_networks(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
6638
+ def list_networks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
6329
6639
  command = make_simple_command(:get, '{project}/global/networks', options)
6330
6640
  command.response_representation = Google::Apis::ComputeV1::NetworkList::Representation
6331
6641
  command.response_class = Google::Apis::ComputeV1::NetworkList
6332
6642
  command.params['project'] = project unless project.nil?
6333
6643
  command.query['filter'] = filter unless filter.nil?
6334
6644
  command.query['maxResults'] = max_results unless max_results.nil?
6645
+ command.query['orderBy'] = order_by unless order_by.nil?
6335
6646
  command.query['pageToken'] = page_token unless page_token.nil?
6336
6647
  command.query['fields'] = fields unless fields.nil?
6337
6648
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -6640,6 +6951,15 @@ module Google
6640
6951
  # of available results is larger than maxResults, Compute Engine returns a
6641
6952
  # nextPageToken that can be used to get the next page of results in subsequent
6642
6953
  # list requests.
6954
+ # @param [String] order_by
6955
+ # Sorts list results by a certain order. By default, results are returned in
6956
+ # alphanumerical order based on the resource name.
6957
+ # You can also sort results in descending order based on the creation timestamp
6958
+ # using orderBy="creationTimestamp desc". This sorts results based on the
6959
+ # creationTimestamp field in reverse chronological order (newest result first).
6960
+ # Use this to sort resources like operations so that the newest operation is
6961
+ # returned first.
6962
+ # Currently, only sorting by name or creationTimestamp desc is supported.
6643
6963
  # @param [String] page_token
6644
6964
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
6645
6965
  # a previous list request to get the next page of results.
@@ -6664,7 +6984,7 @@ module Google
6664
6984
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6665
6985
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6666
6986
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6667
- def list_region_operations(project, region, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
6987
+ 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)
6668
6988
  command = make_simple_command(:get, '{project}/regions/{region}/operations', options)
6669
6989
  command.response_representation = Google::Apis::ComputeV1::OperationList::Representation
6670
6990
  command.response_class = Google::Apis::ComputeV1::OperationList
@@ -6672,6 +6992,7 @@ module Google
6672
6992
  command.params['region'] = region unless region.nil?
6673
6993
  command.query['filter'] = filter unless filter.nil?
6674
6994
  command.query['maxResults'] = max_results unless max_results.nil?
6995
+ command.query['orderBy'] = order_by unless order_by.nil?
6675
6996
  command.query['pageToken'] = page_token unless page_token.nil?
6676
6997
  command.query['fields'] = fields unless fields.nil?
6677
6998
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -6747,6 +7068,15 @@ module Google
6747
7068
  # of available results is larger than maxResults, Compute Engine returns a
6748
7069
  # nextPageToken that can be used to get the next page of results in subsequent
6749
7070
  # list requests.
7071
+ # @param [String] order_by
7072
+ # Sorts list results by a certain order. By default, results are returned in
7073
+ # alphanumerical order based on the resource name.
7074
+ # You can also sort results in descending order based on the creation timestamp
7075
+ # using orderBy="creationTimestamp desc". This sorts results based on the
7076
+ # creationTimestamp field in reverse chronological order (newest result first).
7077
+ # Use this to sort resources like operations so that the newest operation is
7078
+ # returned first.
7079
+ # Currently, only sorting by name or creationTimestamp desc is supported.
6750
7080
  # @param [String] page_token
6751
7081
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
6752
7082
  # a previous list request to get the next page of results.
@@ -6771,13 +7101,14 @@ module Google
6771
7101
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6772
7102
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6773
7103
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6774
- def list_regions(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
7104
+ 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)
6775
7105
  command = make_simple_command(:get, '{project}/regions', options)
6776
7106
  command.response_representation = Google::Apis::ComputeV1::RegionList::Representation
6777
7107
  command.response_class = Google::Apis::ComputeV1::RegionList
6778
7108
  command.params['project'] = project unless project.nil?
6779
7109
  command.query['filter'] = filter unless filter.nil?
6780
7110
  command.query['maxResults'] = max_results unless max_results.nil?
7111
+ command.query['orderBy'] = order_by unless order_by.nil?
6781
7112
  command.query['pageToken'] = page_token unless page_token.nil?
6782
7113
  command.query['fields'] = fields unless fields.nil?
6783
7114
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -6814,6 +7145,15 @@ module Google
6814
7145
  # of available results is larger than maxResults, Compute Engine returns a
6815
7146
  # nextPageToken that can be used to get the next page of results in subsequent
6816
7147
  # list requests.
7148
+ # @param [String] order_by
7149
+ # Sorts list results by a certain order. By default, results are returned in
7150
+ # alphanumerical order based on the resource name.
7151
+ # You can also sort results in descending order based on the creation timestamp
7152
+ # using orderBy="creationTimestamp desc". This sorts results based on the
7153
+ # creationTimestamp field in reverse chronological order (newest result first).
7154
+ # Use this to sort resources like operations so that the newest operation is
7155
+ # returned first.
7156
+ # Currently, only sorting by name or creationTimestamp desc is supported.
6817
7157
  # @param [String] page_token
6818
7158
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
6819
7159
  # a previous list request to get the next page of results.
@@ -6838,13 +7178,14 @@ module Google
6838
7178
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6839
7179
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6840
7180
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6841
- def aggregated_router_list(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
7181
+ def aggregated_router_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
6842
7182
  command = make_simple_command(:get, '{project}/aggregated/routers', options)
6843
7183
  command.response_representation = Google::Apis::ComputeV1::RouterAggregatedList::Representation
6844
7184
  command.response_class = Google::Apis::ComputeV1::RouterAggregatedList
6845
7185
  command.params['project'] = project unless project.nil?
6846
7186
  command.query['filter'] = filter unless filter.nil?
6847
7187
  command.query['maxResults'] = max_results unless max_results.nil?
7188
+ command.query['orderBy'] = order_by unless order_by.nil?
6848
7189
  command.query['pageToken'] = page_token unless page_token.nil?
6849
7190
  command.query['fields'] = fields unless fields.nil?
6850
7191
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -7049,6 +7390,15 @@ module Google
7049
7390
  # of available results is larger than maxResults, Compute Engine returns a
7050
7391
  # nextPageToken that can be used to get the next page of results in subsequent
7051
7392
  # list requests.
7393
+ # @param [String] order_by
7394
+ # Sorts list results by a certain order. By default, results are returned in
7395
+ # alphanumerical order based on the resource name.
7396
+ # You can also sort results in descending order based on the creation timestamp
7397
+ # using orderBy="creationTimestamp desc". This sorts results based on the
7398
+ # creationTimestamp field in reverse chronological order (newest result first).
7399
+ # Use this to sort resources like operations so that the newest operation is
7400
+ # returned first.
7401
+ # Currently, only sorting by name or creationTimestamp desc is supported.
7052
7402
  # @param [String] page_token
7053
7403
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
7054
7404
  # a previous list request to get the next page of results.
@@ -7073,7 +7423,7 @@ module Google
7073
7423
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7074
7424
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7075
7425
  # @raise [Google::Apis::AuthorizationError] Authorization is required
7076
- def list_routers(project, region, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
7426
+ def list_routers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
7077
7427
  command = make_simple_command(:get, '{project}/regions/{region}/routers', options)
7078
7428
  command.response_representation = Google::Apis::ComputeV1::RouterList::Representation
7079
7429
  command.response_class = Google::Apis::ComputeV1::RouterList
@@ -7081,6 +7431,7 @@ module Google
7081
7431
  command.params['region'] = region unless region.nil?
7082
7432
  command.query['filter'] = filter unless filter.nil?
7083
7433
  command.query['maxResults'] = max_results unless max_results.nil?
7434
+ command.query['orderBy'] = order_by unless order_by.nil?
7084
7435
  command.query['pageToken'] = page_token unless page_token.nil?
7085
7436
  command.query['fields'] = fields unless fields.nil?
7086
7437
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -7088,8 +7439,8 @@ module Google
7088
7439
  execute_or_queue_command(command, &block)
7089
7440
  end
7090
7441
 
7091
- # Updates the entire content of the Router resource. This method supports patch
7092
- # semantics.
7442
+ # Updates the specified Router resource with the data included in the request.
7443
+ # This method supports patch semantics.
7093
7444
  # @param [String] project
7094
7445
  # Project ID for this request.
7095
7446
  # @param [String] region
@@ -7178,7 +7529,7 @@ module Google
7178
7529
  execute_or_queue_command(command, &block)
7179
7530
  end
7180
7531
 
7181
- # Updates the entire content of the Router resource.
7532
+ # Updates the specified Router resource with the data included in the request.
7182
7533
  # @param [String] project
7183
7534
  # Project ID for this request.
7184
7535
  # @param [String] region
@@ -7367,6 +7718,15 @@ module Google
7367
7718
  # of available results is larger than maxResults, Compute Engine returns a
7368
7719
  # nextPageToken that can be used to get the next page of results in subsequent
7369
7720
  # list requests.
7721
+ # @param [String] order_by
7722
+ # Sorts list results by a certain order. By default, results are returned in
7723
+ # alphanumerical order based on the resource name.
7724
+ # You can also sort results in descending order based on the creation timestamp
7725
+ # using orderBy="creationTimestamp desc". This sorts results based on the
7726
+ # creationTimestamp field in reverse chronological order (newest result first).
7727
+ # Use this to sort resources like operations so that the newest operation is
7728
+ # returned first.
7729
+ # Currently, only sorting by name or creationTimestamp desc is supported.
7370
7730
  # @param [String] page_token
7371
7731
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
7372
7732
  # a previous list request to get the next page of results.
@@ -7391,13 +7751,14 @@ module Google
7391
7751
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7392
7752
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7393
7753
  # @raise [Google::Apis::AuthorizationError] Authorization is required
7394
- def list_routes(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
7754
+ def list_routes(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
7395
7755
  command = make_simple_command(:get, '{project}/global/routes', options)
7396
7756
  command.response_representation = Google::Apis::ComputeV1::RouteList::Representation
7397
7757
  command.response_class = Google::Apis::ComputeV1::RouteList
7398
7758
  command.params['project'] = project unless project.nil?
7399
7759
  command.query['filter'] = filter unless filter.nil?
7400
7760
  command.query['maxResults'] = max_results unless max_results.nil?
7761
+ command.query['orderBy'] = order_by unless order_by.nil?
7401
7762
  command.query['pageToken'] = page_token unless page_token.nil?
7402
7763
  command.query['fields'] = fields unless fields.nil?
7403
7764
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -7516,6 +7877,15 @@ module Google
7516
7877
  # of available results is larger than maxResults, Compute Engine returns a
7517
7878
  # nextPageToken that can be used to get the next page of results in subsequent
7518
7879
  # list requests.
7880
+ # @param [String] order_by
7881
+ # Sorts list results by a certain order. By default, results are returned in
7882
+ # alphanumerical order based on the resource name.
7883
+ # You can also sort results in descending order based on the creation timestamp
7884
+ # using orderBy="creationTimestamp desc". This sorts results based on the
7885
+ # creationTimestamp field in reverse chronological order (newest result first).
7886
+ # Use this to sort resources like operations so that the newest operation is
7887
+ # returned first.
7888
+ # Currently, only sorting by name or creationTimestamp desc is supported.
7519
7889
  # @param [String] page_token
7520
7890
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
7521
7891
  # a previous list request to get the next page of results.
@@ -7540,13 +7910,14 @@ module Google
7540
7910
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7541
7911
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7542
7912
  # @raise [Google::Apis::AuthorizationError] Authorization is required
7543
- def list_snapshots(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
7913
+ def list_snapshots(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
7544
7914
  command = make_simple_command(:get, '{project}/global/snapshots', options)
7545
7915
  command.response_representation = Google::Apis::ComputeV1::SnapshotList::Representation
7546
7916
  command.response_class = Google::Apis::ComputeV1::SnapshotList
7547
7917
  command.params['project'] = project unless project.nil?
7548
7918
  command.query['filter'] = filter unless filter.nil?
7549
7919
  command.query['maxResults'] = max_results unless max_results.nil?
7920
+ command.query['orderBy'] = order_by unless order_by.nil?
7550
7921
  command.query['pageToken'] = page_token unless page_token.nil?
7551
7922
  command.query['fields'] = fields unless fields.nil?
7552
7923
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -7700,6 +8071,15 @@ module Google
7700
8071
  # of available results is larger than maxResults, Compute Engine returns a
7701
8072
  # nextPageToken that can be used to get the next page of results in subsequent
7702
8073
  # list requests.
8074
+ # @param [String] order_by
8075
+ # Sorts list results by a certain order. By default, results are returned in
8076
+ # alphanumerical order based on the resource name.
8077
+ # You can also sort results in descending order based on the creation timestamp
8078
+ # using orderBy="creationTimestamp desc". This sorts results based on the
8079
+ # creationTimestamp field in reverse chronological order (newest result first).
8080
+ # Use this to sort resources like operations so that the newest operation is
8081
+ # returned first.
8082
+ # Currently, only sorting by name or creationTimestamp desc is supported.
7703
8083
  # @param [String] page_token
7704
8084
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
7705
8085
  # a previous list request to get the next page of results.
@@ -7724,13 +8104,14 @@ module Google
7724
8104
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7725
8105
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7726
8106
  # @raise [Google::Apis::AuthorizationError] Authorization is required
7727
- def list_ssl_certificates(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8107
+ def list_ssl_certificates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
7728
8108
  command = make_simple_command(:get, '{project}/global/sslCertificates', options)
7729
8109
  command.response_representation = Google::Apis::ComputeV1::SslCertificateList::Representation
7730
8110
  command.response_class = Google::Apis::ComputeV1::SslCertificateList
7731
8111
  command.params['project'] = project unless project.nil?
7732
8112
  command.query['filter'] = filter unless filter.nil?
7733
8113
  command.query['maxResults'] = max_results unless max_results.nil?
8114
+ command.query['orderBy'] = order_by unless order_by.nil?
7734
8115
  command.query['pageToken'] = page_token unless page_token.nil?
7735
8116
  command.query['fields'] = fields unless fields.nil?
7736
8117
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -7767,6 +8148,15 @@ module Google
7767
8148
  # of available results is larger than maxResults, Compute Engine returns a
7768
8149
  # nextPageToken that can be used to get the next page of results in subsequent
7769
8150
  # list requests.
8151
+ # @param [String] order_by
8152
+ # Sorts list results by a certain order. By default, results are returned in
8153
+ # alphanumerical order based on the resource name.
8154
+ # You can also sort results in descending order based on the creation timestamp
8155
+ # using orderBy="creationTimestamp desc". This sorts results based on the
8156
+ # creationTimestamp field in reverse chronological order (newest result first).
8157
+ # Use this to sort resources like operations so that the newest operation is
8158
+ # returned first.
8159
+ # Currently, only sorting by name or creationTimestamp desc is supported.
7770
8160
  # @param [String] page_token
7771
8161
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
7772
8162
  # a previous list request to get the next page of results.
@@ -7791,13 +8181,14 @@ module Google
7791
8181
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7792
8182
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7793
8183
  # @raise [Google::Apis::AuthorizationError] Authorization is required
7794
- def aggregated_subnetwork_list(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8184
+ def aggregated_subnetwork_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
7795
8185
  command = make_simple_command(:get, '{project}/aggregated/subnetworks', options)
7796
8186
  command.response_representation = Google::Apis::ComputeV1::SubnetworkAggregatedList::Representation
7797
8187
  command.response_class = Google::Apis::ComputeV1::SubnetworkAggregatedList
7798
8188
  command.params['project'] = project unless project.nil?
7799
8189
  command.query['filter'] = filter unless filter.nil?
7800
8190
  command.query['maxResults'] = max_results unless max_results.nil?
8191
+ command.query['orderBy'] = order_by unless order_by.nil?
7801
8192
  command.query['pageToken'] = page_token unless page_token.nil?
7802
8193
  command.query['fields'] = fields unless fields.nil?
7803
8194
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -7961,6 +8352,15 @@ module Google
7961
8352
  # of available results is larger than maxResults, Compute Engine returns a
7962
8353
  # nextPageToken that can be used to get the next page of results in subsequent
7963
8354
  # list requests.
8355
+ # @param [String] order_by
8356
+ # Sorts list results by a certain order. By default, results are returned in
8357
+ # alphanumerical order based on the resource name.
8358
+ # You can also sort results in descending order based on the creation timestamp
8359
+ # using orderBy="creationTimestamp desc". This sorts results based on the
8360
+ # creationTimestamp field in reverse chronological order (newest result first).
8361
+ # Use this to sort resources like operations so that the newest operation is
8362
+ # returned first.
8363
+ # Currently, only sorting by name or creationTimestamp desc is supported.
7964
8364
  # @param [String] page_token
7965
8365
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
7966
8366
  # a previous list request to get the next page of results.
@@ -7985,7 +8385,7 @@ module Google
7985
8385
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7986
8386
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7987
8387
  # @raise [Google::Apis::AuthorizationError] Authorization is required
7988
- def list_subnetworks(project, region, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8388
+ def list_subnetworks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
7989
8389
  command = make_simple_command(:get, '{project}/regions/{region}/subnetworks', options)
7990
8390
  command.response_representation = Google::Apis::ComputeV1::SubnetworkList::Representation
7991
8391
  command.response_class = Google::Apis::ComputeV1::SubnetworkList
@@ -7993,6 +8393,7 @@ module Google
7993
8393
  command.params['region'] = region unless region.nil?
7994
8394
  command.query['filter'] = filter unless filter.nil?
7995
8395
  command.query['maxResults'] = max_results unless max_results.nil?
8396
+ command.query['orderBy'] = order_by unless order_by.nil?
7996
8397
  command.query['pageToken'] = page_token unless page_token.nil?
7997
8398
  command.query['fields'] = fields unless fields.nil?
7998
8399
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -8146,6 +8547,15 @@ module Google
8146
8547
  # of available results is larger than maxResults, Compute Engine returns a
8147
8548
  # nextPageToken that can be used to get the next page of results in subsequent
8148
8549
  # list requests.
8550
+ # @param [String] order_by
8551
+ # Sorts list results by a certain order. By default, results are returned in
8552
+ # alphanumerical order based on the resource name.
8553
+ # You can also sort results in descending order based on the creation timestamp
8554
+ # using orderBy="creationTimestamp desc". This sorts results based on the
8555
+ # creationTimestamp field in reverse chronological order (newest result first).
8556
+ # Use this to sort resources like operations so that the newest operation is
8557
+ # returned first.
8558
+ # Currently, only sorting by name or creationTimestamp desc is supported.
8149
8559
  # @param [String] page_token
8150
8560
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
8151
8561
  # a previous list request to get the next page of results.
@@ -8170,13 +8580,14 @@ module Google
8170
8580
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8171
8581
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8172
8582
  # @raise [Google::Apis::AuthorizationError] Authorization is required
8173
- def list_target_http_proxies(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8583
+ def list_target_http_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8174
8584
  command = make_simple_command(:get, '{project}/global/targetHttpProxies', options)
8175
8585
  command.response_representation = Google::Apis::ComputeV1::TargetHttpProxyList::Representation
8176
8586
  command.response_class = Google::Apis::ComputeV1::TargetHttpProxyList
8177
8587
  command.params['project'] = project unless project.nil?
8178
8588
  command.query['filter'] = filter unless filter.nil?
8179
8589
  command.query['maxResults'] = max_results unless max_results.nil?
8590
+ command.query['orderBy'] = order_by unless order_by.nil?
8180
8591
  command.query['pageToken'] = page_token unless page_token.nil?
8181
8592
  command.query['fields'] = fields unless fields.nil?
8182
8593
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -8371,6 +8782,15 @@ module Google
8371
8782
  # of available results is larger than maxResults, Compute Engine returns a
8372
8783
  # nextPageToken that can be used to get the next page of results in subsequent
8373
8784
  # list requests.
8785
+ # @param [String] order_by
8786
+ # Sorts list results by a certain order. By default, results are returned in
8787
+ # alphanumerical order based on the resource name.
8788
+ # You can also sort results in descending order based on the creation timestamp
8789
+ # using orderBy="creationTimestamp desc". This sorts results based on the
8790
+ # creationTimestamp field in reverse chronological order (newest result first).
8791
+ # Use this to sort resources like operations so that the newest operation is
8792
+ # returned first.
8793
+ # Currently, only sorting by name or creationTimestamp desc is supported.
8374
8794
  # @param [String] page_token
8375
8795
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
8376
8796
  # a previous list request to get the next page of results.
@@ -8395,13 +8815,14 @@ module Google
8395
8815
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8396
8816
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8397
8817
  # @raise [Google::Apis::AuthorizationError] Authorization is required
8398
- def list_target_https_proxies(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8818
+ def list_target_https_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8399
8819
  command = make_simple_command(:get, '{project}/global/targetHttpsProxies', options)
8400
8820
  command.response_representation = Google::Apis::ComputeV1::TargetHttpsProxyList::Representation
8401
8821
  command.response_class = Google::Apis::ComputeV1::TargetHttpsProxyList
8402
8822
  command.params['project'] = project unless project.nil?
8403
8823
  command.query['filter'] = filter unless filter.nil?
8404
8824
  command.query['maxResults'] = max_results unless max_results.nil?
8825
+ command.query['orderBy'] = order_by unless order_by.nil?
8405
8826
  command.query['pageToken'] = page_token unless page_token.nil?
8406
8827
  command.query['fields'] = fields unless fields.nil?
8407
8828
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -8520,6 +8941,15 @@ module Google
8520
8941
  # of available results is larger than maxResults, Compute Engine returns a
8521
8942
  # nextPageToken that can be used to get the next page of results in subsequent
8522
8943
  # list requests.
8944
+ # @param [String] order_by
8945
+ # Sorts list results by a certain order. By default, results are returned in
8946
+ # alphanumerical order based on the resource name.
8947
+ # You can also sort results in descending order based on the creation timestamp
8948
+ # using orderBy="creationTimestamp desc". This sorts results based on the
8949
+ # creationTimestamp field in reverse chronological order (newest result first).
8950
+ # Use this to sort resources like operations so that the newest operation is
8951
+ # returned first.
8952
+ # Currently, only sorting by name or creationTimestamp desc is supported.
8523
8953
  # @param [String] page_token
8524
8954
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
8525
8955
  # a previous list request to get the next page of results.
@@ -8544,13 +8974,14 @@ module Google
8544
8974
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8545
8975
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8546
8976
  # @raise [Google::Apis::AuthorizationError] Authorization is required
8547
- def list_aggregated_target_instance(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8977
+ def list_aggregated_target_instance(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8548
8978
  command = make_simple_command(:get, '{project}/aggregated/targetInstances', options)
8549
8979
  command.response_representation = Google::Apis::ComputeV1::TargetInstanceAggregatedList::Representation
8550
8980
  command.response_class = Google::Apis::ComputeV1::TargetInstanceAggregatedList
8551
8981
  command.params['project'] = project unless project.nil?
8552
8982
  command.query['filter'] = filter unless filter.nil?
8553
8983
  command.query['maxResults'] = max_results unless max_results.nil?
8984
+ command.query['orderBy'] = order_by unless order_by.nil?
8554
8985
  command.query['pageToken'] = page_token unless page_token.nil?
8555
8986
  command.query['fields'] = fields unless fields.nil?
8556
8987
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -8715,6 +9146,15 @@ module Google
8715
9146
  # of available results is larger than maxResults, Compute Engine returns a
8716
9147
  # nextPageToken that can be used to get the next page of results in subsequent
8717
9148
  # list requests.
9149
+ # @param [String] order_by
9150
+ # Sorts list results by a certain order. By default, results are returned in
9151
+ # alphanumerical order based on the resource name.
9152
+ # You can also sort results in descending order based on the creation timestamp
9153
+ # using orderBy="creationTimestamp desc". This sorts results based on the
9154
+ # creationTimestamp field in reverse chronological order (newest result first).
9155
+ # Use this to sort resources like operations so that the newest operation is
9156
+ # returned first.
9157
+ # Currently, only sorting by name or creationTimestamp desc is supported.
8718
9158
  # @param [String] page_token
8719
9159
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
8720
9160
  # a previous list request to get the next page of results.
@@ -8739,7 +9179,7 @@ module Google
8739
9179
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8740
9180
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8741
9181
  # @raise [Google::Apis::AuthorizationError] Authorization is required
8742
- def list_target_instances(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9182
+ def list_target_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8743
9183
  command = make_simple_command(:get, '{project}/zones/{zone}/targetInstances', options)
8744
9184
  command.response_representation = Google::Apis::ComputeV1::TargetInstanceList::Representation
8745
9185
  command.response_class = Google::Apis::ComputeV1::TargetInstanceList
@@ -8747,6 +9187,7 @@ module Google
8747
9187
  command.params['zone'] = zone unless zone.nil?
8748
9188
  command.query['filter'] = filter unless filter.nil?
8749
9189
  command.query['maxResults'] = max_results unless max_results.nil?
9190
+ command.query['orderBy'] = order_by unless order_by.nil?
8750
9191
  command.query['pageToken'] = page_token unless page_token.nil?
8751
9192
  command.query['fields'] = fields unless fields.nil?
8752
9193
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -8871,6 +9312,15 @@ module Google
8871
9312
  # of available results is larger than maxResults, Compute Engine returns a
8872
9313
  # nextPageToken that can be used to get the next page of results in subsequent
8873
9314
  # list requests.
9315
+ # @param [String] order_by
9316
+ # Sorts list results by a certain order. By default, results are returned in
9317
+ # alphanumerical order based on the resource name.
9318
+ # You can also sort results in descending order based on the creation timestamp
9319
+ # using orderBy="creationTimestamp desc". This sorts results based on the
9320
+ # creationTimestamp field in reverse chronological order (newest result first).
9321
+ # Use this to sort resources like operations so that the newest operation is
9322
+ # returned first.
9323
+ # Currently, only sorting by name or creationTimestamp desc is supported.
8874
9324
  # @param [String] page_token
8875
9325
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
8876
9326
  # a previous list request to get the next page of results.
@@ -8895,13 +9345,14 @@ module Google
8895
9345
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8896
9346
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8897
9347
  # @raise [Google::Apis::AuthorizationError] Authorization is required
8898
- def list_aggregated_target_pools(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9348
+ def list_aggregated_target_pools(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8899
9349
  command = make_simple_command(:get, '{project}/aggregated/targetPools', options)
8900
9350
  command.response_representation = Google::Apis::ComputeV1::TargetPoolAggregatedList::Representation
8901
9351
  command.response_class = Google::Apis::ComputeV1::TargetPoolAggregatedList
8902
9352
  command.params['project'] = project unless project.nil?
8903
9353
  command.query['filter'] = filter unless filter.nil?
8904
9354
  command.query['maxResults'] = max_results unless max_results.nil?
9355
+ command.query['orderBy'] = order_by unless order_by.nil?
8905
9356
  command.query['pageToken'] = page_token unless page_token.nil?
8906
9357
  command.query['fields'] = fields unless fields.nil?
8907
9358
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -9110,6 +9561,15 @@ module Google
9110
9561
  # of available results is larger than maxResults, Compute Engine returns a
9111
9562
  # nextPageToken that can be used to get the next page of results in subsequent
9112
9563
  # list requests.
9564
+ # @param [String] order_by
9565
+ # Sorts list results by a certain order. By default, results are returned in
9566
+ # alphanumerical order based on the resource name.
9567
+ # You can also sort results in descending order based on the creation timestamp
9568
+ # using orderBy="creationTimestamp desc". This sorts results based on the
9569
+ # creationTimestamp field in reverse chronological order (newest result first).
9570
+ # Use this to sort resources like operations so that the newest operation is
9571
+ # returned first.
9572
+ # Currently, only sorting by name or creationTimestamp desc is supported.
9113
9573
  # @param [String] page_token
9114
9574
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
9115
9575
  # a previous list request to get the next page of results.
@@ -9134,7 +9594,7 @@ module Google
9134
9594
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9135
9595
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9136
9596
  # @raise [Google::Apis::AuthorizationError] Authorization is required
9137
- def list_target_pools(project, region, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9597
+ def list_target_pools(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9138
9598
  command = make_simple_command(:get, '{project}/regions/{region}/targetPools', options)
9139
9599
  command.response_representation = Google::Apis::ComputeV1::TargetPoolList::Representation
9140
9600
  command.response_class = Google::Apis::ComputeV1::TargetPoolList
@@ -9142,6 +9602,7 @@ module Google
9142
9602
  command.params['region'] = region unless region.nil?
9143
9603
  command.query['filter'] = filter unless filter.nil?
9144
9604
  command.query['maxResults'] = max_results unless max_results.nil?
9605
+ command.query['orderBy'] = order_by unless order_by.nil?
9145
9606
  command.query['pageToken'] = page_token unless page_token.nil?
9146
9607
  command.query['fields'] = fields unless fields.nil?
9147
9608
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -9430,6 +9891,15 @@ module Google
9430
9891
  # of available results is larger than maxResults, Compute Engine returns a
9431
9892
  # nextPageToken that can be used to get the next page of results in subsequent
9432
9893
  # list requests.
9894
+ # @param [String] order_by
9895
+ # Sorts list results by a certain order. By default, results are returned in
9896
+ # alphanumerical order based on the resource name.
9897
+ # You can also sort results in descending order based on the creation timestamp
9898
+ # using orderBy="creationTimestamp desc". This sorts results based on the
9899
+ # creationTimestamp field in reverse chronological order (newest result first).
9900
+ # Use this to sort resources like operations so that the newest operation is
9901
+ # returned first.
9902
+ # Currently, only sorting by name or creationTimestamp desc is supported.
9433
9903
  # @param [String] page_token
9434
9904
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
9435
9905
  # a previous list request to get the next page of results.
@@ -9454,13 +9924,14 @@ module Google
9454
9924
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9455
9925
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9456
9926
  # @raise [Google::Apis::AuthorizationError] Authorization is required
9457
- def list_target_ssl_proxies(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9927
+ def list_target_ssl_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9458
9928
  command = make_simple_command(:get, '{project}/global/targetSslProxies', options)
9459
9929
  command.response_representation = Google::Apis::ComputeV1::TargetSslProxyList::Representation
9460
9930
  command.response_class = Google::Apis::ComputeV1::TargetSslProxyList
9461
9931
  command.params['project'] = project unless project.nil?
9462
9932
  command.query['filter'] = filter unless filter.nil?
9463
9933
  command.query['maxResults'] = max_results unless max_results.nil?
9934
+ command.query['orderBy'] = order_by unless order_by.nil?
9464
9935
  command.query['pageToken'] = page_token unless page_token.nil?
9465
9936
  command.query['fields'] = fields unless fields.nil?
9466
9937
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -9620,6 +10091,15 @@ module Google
9620
10091
  # of available results is larger than maxResults, Compute Engine returns a
9621
10092
  # nextPageToken that can be used to get the next page of results in subsequent
9622
10093
  # list requests.
10094
+ # @param [String] order_by
10095
+ # Sorts list results by a certain order. By default, results are returned in
10096
+ # alphanumerical order based on the resource name.
10097
+ # You can also sort results in descending order based on the creation timestamp
10098
+ # using orderBy="creationTimestamp desc". This sorts results based on the
10099
+ # creationTimestamp field in reverse chronological order (newest result first).
10100
+ # Use this to sort resources like operations so that the newest operation is
10101
+ # returned first.
10102
+ # Currently, only sorting by name or creationTimestamp desc is supported.
9623
10103
  # @param [String] page_token
9624
10104
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
9625
10105
  # a previous list request to get the next page of results.
@@ -9644,13 +10124,14 @@ module Google
9644
10124
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9645
10125
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9646
10126
  # @raise [Google::Apis::AuthorizationError] Authorization is required
9647
- def list_aggregated_target_vpn_gateways(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10127
+ def list_aggregated_target_vpn_gateways(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9648
10128
  command = make_simple_command(:get, '{project}/aggregated/targetVpnGateways', options)
9649
10129
  command.response_representation = Google::Apis::ComputeV1::TargetVpnGatewayAggregatedList::Representation
9650
10130
  command.response_class = Google::Apis::ComputeV1::TargetVpnGatewayAggregatedList
9651
10131
  command.params['project'] = project unless project.nil?
9652
10132
  command.query['filter'] = filter unless filter.nil?
9653
10133
  command.query['maxResults'] = max_results unless max_results.nil?
10134
+ command.query['orderBy'] = order_by unless order_by.nil?
9654
10135
  command.query['pageToken'] = page_token unless page_token.nil?
9655
10136
  command.query['fields'] = fields unless fields.nil?
9656
10137
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -9815,6 +10296,15 @@ module Google
9815
10296
  # of available results is larger than maxResults, Compute Engine returns a
9816
10297
  # nextPageToken that can be used to get the next page of results in subsequent
9817
10298
  # list requests.
10299
+ # @param [String] order_by
10300
+ # Sorts list results by a certain order. By default, results are returned in
10301
+ # alphanumerical order based on the resource name.
10302
+ # You can also sort results in descending order based on the creation timestamp
10303
+ # using orderBy="creationTimestamp desc". This sorts results based on the
10304
+ # creationTimestamp field in reverse chronological order (newest result first).
10305
+ # Use this to sort resources like operations so that the newest operation is
10306
+ # returned first.
10307
+ # Currently, only sorting by name or creationTimestamp desc is supported.
9818
10308
  # @param [String] page_token
9819
10309
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
9820
10310
  # a previous list request to get the next page of results.
@@ -9839,7 +10329,7 @@ module Google
9839
10329
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9840
10330
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9841
10331
  # @raise [Google::Apis::AuthorizationError] Authorization is required
9842
- def list_target_vpn_gateways(project, region, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10332
+ def list_target_vpn_gateways(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9843
10333
  command = make_simple_command(:get, '{project}/regions/{region}/targetVpnGateways', options)
9844
10334
  command.response_representation = Google::Apis::ComputeV1::TargetVpnGatewayList::Representation
9845
10335
  command.response_class = Google::Apis::ComputeV1::TargetVpnGatewayList
@@ -9847,6 +10337,7 @@ module Google
9847
10337
  command.params['region'] = region unless region.nil?
9848
10338
  command.query['filter'] = filter unless filter.nil?
9849
10339
  command.query['maxResults'] = max_results unless max_results.nil?
10340
+ command.query['orderBy'] = order_by unless order_by.nil?
9850
10341
  command.query['pageToken'] = page_token unless page_token.nil?
9851
10342
  command.query['fields'] = fields unless fields.nil?
9852
10343
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -10041,6 +10532,15 @@ module Google
10041
10532
  # of available results is larger than maxResults, Compute Engine returns a
10042
10533
  # nextPageToken that can be used to get the next page of results in subsequent
10043
10534
  # list requests.
10535
+ # @param [String] order_by
10536
+ # Sorts list results by a certain order. By default, results are returned in
10537
+ # alphanumerical order based on the resource name.
10538
+ # You can also sort results in descending order based on the creation timestamp
10539
+ # using orderBy="creationTimestamp desc". This sorts results based on the
10540
+ # creationTimestamp field in reverse chronological order (newest result first).
10541
+ # Use this to sort resources like operations so that the newest operation is
10542
+ # returned first.
10543
+ # Currently, only sorting by name or creationTimestamp desc is supported.
10044
10544
  # @param [String] page_token
10045
10545
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
10046
10546
  # a previous list request to get the next page of results.
@@ -10065,13 +10565,14 @@ module Google
10065
10565
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10066
10566
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10067
10567
  # @raise [Google::Apis::AuthorizationError] Authorization is required
10068
- def list_url_maps(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10568
+ def list_url_maps(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10069
10569
  command = make_simple_command(:get, '{project}/global/urlMaps', options)
10070
10570
  command.response_representation = Google::Apis::ComputeV1::UrlMapList::Representation
10071
10571
  command.response_class = Google::Apis::ComputeV1::UrlMapList
10072
10572
  command.params['project'] = project unless project.nil?
10073
10573
  command.query['filter'] = filter unless filter.nil?
10074
10574
  command.query['maxResults'] = max_results unless max_results.nil?
10575
+ command.query['orderBy'] = order_by unless order_by.nil?
10075
10576
  command.query['pageToken'] = page_token unless page_token.nil?
10076
10577
  command.query['fields'] = fields unless fields.nil?
10077
10578
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -10079,8 +10580,8 @@ module Google
10079
10580
  execute_or_queue_command(command, &block)
10080
10581
  end
10081
10582
 
10082
- # Updates the entire content of the UrlMap resource. This method supports patch
10083
- # semantics.
10583
+ # Updates the specified UrlMap resource with the data included in the request.
10584
+ # This method supports patch semantics.
10084
10585
  # @param [String] project
10085
10586
  # Project ID for this request.
10086
10587
  # @param [String] url_map
@@ -10121,7 +10622,7 @@ module Google
10121
10622
  execute_or_queue_command(command, &block)
10122
10623
  end
10123
10624
 
10124
- # Updates the entire content of the UrlMap resource.
10625
+ # Updates the specified UrlMap resource with the data included in the request.
10125
10626
  # @param [String] project
10126
10627
  # Project ID for this request.
10127
10628
  # @param [String] url_map
@@ -10233,6 +10734,15 @@ module Google
10233
10734
  # of available results is larger than maxResults, Compute Engine returns a
10234
10735
  # nextPageToken that can be used to get the next page of results in subsequent
10235
10736
  # list requests.
10737
+ # @param [String] order_by
10738
+ # Sorts list results by a certain order. By default, results are returned in
10739
+ # alphanumerical order based on the resource name.
10740
+ # You can also sort results in descending order based on the creation timestamp
10741
+ # using orderBy="creationTimestamp desc". This sorts results based on the
10742
+ # creationTimestamp field in reverse chronological order (newest result first).
10743
+ # Use this to sort resources like operations so that the newest operation is
10744
+ # returned first.
10745
+ # Currently, only sorting by name or creationTimestamp desc is supported.
10236
10746
  # @param [String] page_token
10237
10747
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
10238
10748
  # a previous list request to get the next page of results.
@@ -10257,13 +10767,14 @@ module Google
10257
10767
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10258
10768
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10259
10769
  # @raise [Google::Apis::AuthorizationError] Authorization is required
10260
- def list_aggregated_vpn_tunnel(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10770
+ def list_aggregated_vpn_tunnel(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10261
10771
  command = make_simple_command(:get, '{project}/aggregated/vpnTunnels', options)
10262
10772
  command.response_representation = Google::Apis::ComputeV1::VpnTunnelAggregatedList::Representation
10263
10773
  command.response_class = Google::Apis::ComputeV1::VpnTunnelAggregatedList
10264
10774
  command.params['project'] = project unless project.nil?
10265
10775
  command.query['filter'] = filter unless filter.nil?
10266
10776
  command.query['maxResults'] = max_results unless max_results.nil?
10777
+ command.query['orderBy'] = order_by unless order_by.nil?
10267
10778
  command.query['pageToken'] = page_token unless page_token.nil?
10268
10779
  command.query['fields'] = fields unless fields.nil?
10269
10780
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -10428,6 +10939,15 @@ module Google
10428
10939
  # of available results is larger than maxResults, Compute Engine returns a
10429
10940
  # nextPageToken that can be used to get the next page of results in subsequent
10430
10941
  # list requests.
10942
+ # @param [String] order_by
10943
+ # Sorts list results by a certain order. By default, results are returned in
10944
+ # alphanumerical order based on the resource name.
10945
+ # You can also sort results in descending order based on the creation timestamp
10946
+ # using orderBy="creationTimestamp desc". This sorts results based on the
10947
+ # creationTimestamp field in reverse chronological order (newest result first).
10948
+ # Use this to sort resources like operations so that the newest operation is
10949
+ # returned first.
10950
+ # Currently, only sorting by name or creationTimestamp desc is supported.
10431
10951
  # @param [String] page_token
10432
10952
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
10433
10953
  # a previous list request to get the next page of results.
@@ -10452,7 +10972,7 @@ module Google
10452
10972
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10453
10973
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10454
10974
  # @raise [Google::Apis::AuthorizationError] Authorization is required
10455
- def list_vpn_tunnels(project, region, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10975
+ def list_vpn_tunnels(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10456
10976
  command = make_simple_command(:get, '{project}/regions/{region}/vpnTunnels', options)
10457
10977
  command.response_representation = Google::Apis::ComputeV1::VpnTunnelList::Representation
10458
10978
  command.response_class = Google::Apis::ComputeV1::VpnTunnelList
@@ -10460,6 +10980,7 @@ module Google
10460
10980
  command.params['region'] = region unless region.nil?
10461
10981
  command.query['filter'] = filter unless filter.nil?
10462
10982
  command.query['maxResults'] = max_results unless max_results.nil?
10983
+ command.query['orderBy'] = order_by unless order_by.nil?
10463
10984
  command.query['pageToken'] = page_token unless page_token.nil?
10464
10985
  command.query['fields'] = fields unless fields.nil?
10465
10986
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -10578,6 +11099,15 @@ module Google
10578
11099
  # of available results is larger than maxResults, Compute Engine returns a
10579
11100
  # nextPageToken that can be used to get the next page of results in subsequent
10580
11101
  # list requests.
11102
+ # @param [String] order_by
11103
+ # Sorts list results by a certain order. By default, results are returned in
11104
+ # alphanumerical order based on the resource name.
11105
+ # You can also sort results in descending order based on the creation timestamp
11106
+ # using orderBy="creationTimestamp desc". This sorts results based on the
11107
+ # creationTimestamp field in reverse chronological order (newest result first).
11108
+ # Use this to sort resources like operations so that the newest operation is
11109
+ # returned first.
11110
+ # Currently, only sorting by name or creationTimestamp desc is supported.
10581
11111
  # @param [String] page_token
10582
11112
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
10583
11113
  # a previous list request to get the next page of results.
@@ -10602,7 +11132,7 @@ module Google
10602
11132
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10603
11133
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10604
11134
  # @raise [Google::Apis::AuthorizationError] Authorization is required
10605
- def list_zone_operations(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
11135
+ def list_zone_operations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10606
11136
  command = make_simple_command(:get, '{project}/zones/{zone}/operations', options)
10607
11137
  command.response_representation = Google::Apis::ComputeV1::OperationList::Representation
10608
11138
  command.response_class = Google::Apis::ComputeV1::OperationList
@@ -10610,6 +11140,7 @@ module Google
10610
11140
  command.params['zone'] = zone unless zone.nil?
10611
11141
  command.query['filter'] = filter unless filter.nil?
10612
11142
  command.query['maxResults'] = max_results unless max_results.nil?
11143
+ command.query['orderBy'] = order_by unless order_by.nil?
10613
11144
  command.query['pageToken'] = page_token unless page_token.nil?
10614
11145
  command.query['fields'] = fields unless fields.nil?
10615
11146
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -10685,6 +11216,15 @@ module Google
10685
11216
  # of available results is larger than maxResults, Compute Engine returns a
10686
11217
  # nextPageToken that can be used to get the next page of results in subsequent
10687
11218
  # list requests.
11219
+ # @param [String] order_by
11220
+ # Sorts list results by a certain order. By default, results are returned in
11221
+ # alphanumerical order based on the resource name.
11222
+ # You can also sort results in descending order based on the creation timestamp
11223
+ # using orderBy="creationTimestamp desc". This sorts results based on the
11224
+ # creationTimestamp field in reverse chronological order (newest result first).
11225
+ # Use this to sort resources like operations so that the newest operation is
11226
+ # returned first.
11227
+ # Currently, only sorting by name or creationTimestamp desc is supported.
10688
11228
  # @param [String] page_token
10689
11229
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
10690
11230
  # a previous list request to get the next page of results.
@@ -10709,13 +11249,14 @@ module Google
10709
11249
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10710
11250
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10711
11251
  # @raise [Google::Apis::AuthorizationError] Authorization is required
10712
- def list_zones(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
11252
+ def list_zones(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10713
11253
  command = make_simple_command(:get, '{project}/zones', options)
10714
11254
  command.response_representation = Google::Apis::ComputeV1::ZoneList::Representation
10715
11255
  command.response_class = Google::Apis::ComputeV1::ZoneList
10716
11256
  command.params['project'] = project unless project.nil?
10717
11257
  command.query['filter'] = filter unless filter.nil?
10718
11258
  command.query['maxResults'] = max_results unless max_results.nil?
11259
+ command.query['orderBy'] = order_by unless order_by.nil?
10719
11260
  command.query['pageToken'] = page_token unless page_token.nil?
10720
11261
  command.query['fields'] = fields unless fields.nil?
10721
11262
  command.query['quotaUser'] = quota_user unless quota_user.nil?