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

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 (96) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -0
  3. data/README.md +1 -1
  4. data/api_names_out.yaml +68 -5
  5. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +3 -3
  6. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  7. data/generated/google/apis/adexchangeseller_v2_0/service.rb +5 -5
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +34 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +5 -0
  11. data/generated/google/apis/adsense_v1_4.rb +1 -1
  12. data/generated/google/apis/adsense_v1_4/service.rb +10 -10
  13. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  14. data/generated/google/apis/adsensehost_v4_1/service.rb +19 -19
  15. data/generated/google/apis/analytics_v3/service.rb +35 -35
  16. data/generated/google/apis/androidenterprise_v1/service.rb +6 -6
  17. data/generated/google/apis/appstate_v1.rb +1 -1
  18. data/generated/google/apis/bigquery_v2.rb +1 -1
  19. data/generated/google/apis/bigquery_v2/classes.rb +16 -6
  20. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  21. data/generated/google/apis/bigquery_v2/service.rb +4 -4
  22. data/generated/google/apis/blogger_v3/service.rb +7 -7
  23. data/generated/google/apis/books_v1/service.rb +47 -47
  24. data/generated/google/apis/calendar_v3.rb +1 -1
  25. data/generated/google/apis/calendar_v3/classes.rb +43 -27
  26. data/generated/google/apis/calendar_v3/service.rb +20 -10
  27. data/generated/google/apis/civicinfo_v2/service.rb +1 -1
  28. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  29. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +8 -8
  30. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  31. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +372 -0
  32. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +155 -0
  33. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +109 -0
  34. data/generated/google/apis/compute_v1.rb +1 -1
  35. data/generated/google/apis/compute_v1/classes.rb +21 -18
  36. data/generated/google/apis/compute_v1/representations.rb +0 -1
  37. data/generated/google/apis/compute_v1/service.rb +459 -819
  38. data/generated/google/apis/content_v2.rb +1 -1
  39. data/generated/google/apis/content_v2/classes.rb +25 -15
  40. data/generated/google/apis/content_v2/representations.rb +2 -0
  41. data/generated/google/apis/content_v2/service.rb +2 -1
  42. data/generated/google/apis/coordinate_v1/service.rb +11 -11
  43. data/generated/google/apis/customsearch_v1/service.rb +3 -3
  44. data/generated/google/apis/deploymentmanager_v2beta2.rb +1 -1
  45. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +1 -1
  46. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +50 -90
  47. data/generated/google/apis/dfareporting_v2_1.rb +1 -1
  48. data/generated/google/apis/dfareporting_v2_1/classes.rb +4 -4
  49. data/generated/google/apis/dfareporting_v2_1/service.rb +65 -62
  50. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  51. data/generated/google/apis/doubleclicksearch_v2/service.rb +11 -11
  52. data/generated/google/apis/drive_v2.rb +4 -1
  53. data/generated/google/apis/drive_v2/classes.rb +2 -2
  54. data/generated/google/apis/drive_v2/service.rb +15 -9
  55. data/generated/google/apis/fitness_v1.rb +1 -1
  56. data/generated/google/apis/fitness_v1/classes.rb +44 -31
  57. data/generated/google/apis/fitness_v1/representations.rb +0 -2
  58. data/generated/google/apis/fitness_v1/service.rb +5 -1
  59. data/generated/google/apis/fusiontables_v2/service.rb +9 -9
  60. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  61. data/generated/google/apis/games_v1.rb +1 -1
  62. data/generated/google/apis/games_v1/service.rb +18 -18
  63. data/generated/google/apis/genomics_v1.rb +1 -1
  64. data/generated/google/apis/genomics_v1/classes.rb +56 -53
  65. data/generated/google/apis/genomics_v1/service.rb +1 -1
  66. data/generated/google/apis/licensing_v1/service.rb +2 -2
  67. data/generated/google/apis/mapsengine_v1/service.rb +8 -8
  68. data/generated/google/apis/mirror_v1.rb +1 -1
  69. data/generated/google/apis/pagespeedonline_v2/service.rb +3 -3
  70. data/generated/google/apis/plus_domains_v1.rb +1 -1
  71. data/generated/google/apis/plus_v1.rb +1 -1
  72. data/generated/google/apis/plus_v1/service.rb +6 -6
  73. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  74. data/generated/google/apis/pubsub_v1beta2/classes.rb +21 -20
  75. data/generated/google/apis/pubsub_v1beta2/service.rb +13 -13
  76. data/generated/google/apis/replicapool_v1beta2/service.rb +3 -3
  77. data/generated/google/apis/replicapoolupdater_v1beta1.rb +1 -1
  78. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +8 -1
  79. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +1 -0
  80. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -5
  81. data/generated/google/apis/reseller_v1/service.rb +1 -1
  82. data/generated/google/apis/site_verification_v1/service.rb +2 -2
  83. data/generated/google/apis/sqladmin_v1beta4/service.rb +4 -4
  84. data/generated/google/apis/storage_v1/service.rb +6 -6
  85. data/generated/google/apis/taskqueue_v1beta2/service.rb +9 -9
  86. data/generated/google/apis/translate_v2/service.rb +6 -6
  87. data/generated/google/apis/urlshortener_v1/service.rb +3 -3
  88. data/generated/google/apis/webmasters_v3.rb +1 -1
  89. data/generated/google/apis/webmasters_v3/classes.rb +11 -11
  90. data/generated/google/apis/webmasters_v3/service.rb +3 -3
  91. data/generated/google/apis/youtube_analytics_v1/service.rb +25 -25
  92. data/generated/google/apis/youtube_v3/service.rb +305 -305
  93. data/lib/google/apis/generator/model.rb +10 -0
  94. data/lib/google/apis/generator/templates/_method.tmpl +3 -3
  95. data/lib/google/apis/version.rb +1 -1
  96. metadata +2 -2
@@ -139,6 +139,8 @@ module Google
139
139
  end
140
140
 
141
141
  # Search public activities.
142
+ # @param [String] query
143
+ # Full-text search query string.
142
144
  # @param [String] language
143
145
  # Specify the preferred language to search with. See search language codes for
144
146
  # available values.
@@ -152,8 +154,6 @@ module Google
152
154
  # The continuation token, which is used to page through large result sets. To
153
155
  # get the next page of results, set this parameter to the value of "
154
156
  # nextPageToken" from the previous response. This token can be of any length.
155
- # @param [String] query
156
- # Full-text search query string.
157
157
  # @param [String] fields
158
158
  # Selector specifying which fields to include in a partial response.
159
159
  # @param [String] quota_user
@@ -175,7 +175,7 @@ module Google
175
175
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
176
176
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
177
177
  # @raise [Google::Apis::AuthorizationError] Authorization is required
178
- def search_activities(language: nil, max_results: nil, order_by: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
178
+ def search_activities(query, language: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
179
179
  path = 'activities'
180
180
  command = make_simple_command(:get, path, options)
181
181
  command.response_representation = Google::Apis::PlusV1::ActivityFeed::Representation
@@ -554,6 +554,8 @@ module Google
554
554
  end
555
555
 
556
556
  # Search all public profiles.
557
+ # @param [String] query
558
+ # Specify a query string for full text search of public text in all profiles.
557
559
  # @param [String] language
558
560
  # Specify the preferred language to search with. See search language codes for
559
561
  # available values.
@@ -565,8 +567,6 @@ module Google
565
567
  # The continuation token, which is used to page through large result sets. To
566
568
  # get the next page of results, set this parameter to the value of "
567
569
  # nextPageToken" from the previous response. This token can be of any length.
568
- # @param [String] query
569
- # Specify a query string for full text search of public text in all profiles.
570
570
  # @param [String] fields
571
571
  # Selector specifying which fields to include in a partial response.
572
572
  # @param [String] quota_user
@@ -588,7 +588,7 @@ module Google
588
588
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
589
589
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
590
590
  # @raise [Google::Apis::AuthorizationError] Authorization is required
591
- def search_people(language: nil, max_results: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
591
+ def search_people(query, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
592
592
  path = 'people'
593
593
  command = make_simple_command(:get, path, options)
594
594
  command.response_representation = Google::Apis::PlusV1::PeopleFeed::Representation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/pubsub/docs
26
26
  module PubsubV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20150604'
28
+ REVISION = '20150427'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -385,12 +385,11 @@ module Google
385
385
  class Topic
386
386
  include Google::Apis::Core::Hashable
387
387
 
388
- # The name of the topic. It must have the format "projects/`project`/topics/`
389
- # topic`" for Google Cloud Pub/Sub API v1 and v1beta2. `topic` must start with a
390
- # letter, and contain only letters ([A-Za-z]), numbers ([0-9], dashes (-),
391
- # underscores (_), periods (.), tildes (~), plus (+) or percent signs (%). It
392
- # must be between 3 and 255 characters in length, and it must not start with "
393
- # goog".
388
+ # The name of the topic. It must have the format `"projects/`project`/topics/`
389
+ # topic`"`. ``topic`` must start with a letter, and contain only letters (`[A-Za-
390
+ # z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`),
391
+ # tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255
392
+ # characters in length, and it must not start with `"goog"`.
394
393
  # Corresponds to the JSON property `name`
395
394
  # @return [String]
396
395
  attr_accessor :name
@@ -424,7 +423,8 @@ module Google
424
423
  end
425
424
  end
426
425
 
427
- # A message data and its attributes.
426
+ # A message data and its attributes. The message payload must not be empty; it
427
+ # must contain either a non-empty data field, or at least one attribute.
428
428
  class Message
429
429
  include Google::Apis::Core::Hashable
430
430
 
@@ -553,12 +553,12 @@ module Google
553
553
  class Subscription
554
554
  include Google::Apis::Core::Hashable
555
555
 
556
- # The name of the subscription. It must have the format "projects/`project`/
557
- # subscriptions/`subscription`" for Google Cloud Pub/Sub API v1 and v1beta2. `
558
- # subscription` must start with a letter, and contain only letters ([A-Za-z]),
559
- # numbers ([0-9], dashes (-), underscores (_), periods (.), tildes (~), plus (+)
560
- # or percent signs (%). It must be between 3 and 255 characters in length, and
561
- # it must not start with "goog".
556
+ # The name of the subscription. It must have the format `"projects/`project`/
557
+ # subscriptions/`subscription`"`. ``subscription`` must start with a letter, and
558
+ # contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
559
+ # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%
560
+ # `). It must be between 3 and 255 characters in length, and it must not start
561
+ # with `"goog"`.
562
562
  # Corresponds to the JSON property `name`
563
563
  # @return [String]
564
564
  attr_accessor :name
@@ -579,12 +579,12 @@ module Google
579
579
  # before the ack deadline expires and before the message is acknowledged, it is
580
580
  # an outstanding message and will not be delivered again during that time (on a
581
581
  # best-effort basis). For pull delivery this value is used as the initial value
582
- # for the ack deadline. It may be overridden for each message using its
583
- # corresponding ack_id by calling ModifyAckDeadline. For push delivery, this
584
- # value is also used to set the request timeout for the call to the push
585
- # endpoint. If the subscriber never acknowledges the message, the Pub/Sub system
586
- # will eventually redeliver the message. If this parameter is not set, the
587
- # default value of 60 seconds is used.
582
+ # for the ack deadline. To override this value for a given message, call
583
+ # ModifyAckDeadline with the corresponding ack_id. For push delivery, this value
584
+ # is also used to set the request timeout for the call to the push endpoint. If
585
+ # the subscriber never acknowledges the message, the Pub/Sub system will
586
+ # eventually redeliver the message. If this parameter is not set, the default
587
+ # value of 10 seconds is used.
588
588
  # Corresponds to the JSON property `ackDeadlineSeconds`
589
589
  # @return [Fixnum]
590
590
  attr_accessor :ack_deadline_seconds
@@ -785,7 +785,8 @@ module Google
785
785
  # @return [String]
786
786
  attr_accessor :ack_id
787
787
 
788
- # A message data and its attributes.
788
+ # A message data and its attributes. The message payload must not be empty; it
789
+ # must contain either a non-empty data field, or at least one attribute.
789
790
  # Corresponds to the JSON property `message`
790
791
  # @return [Google::Apis::PubsubV1beta2::Message]
791
792
  attr_accessor :message
@@ -153,12 +153,11 @@ module Google
153
153
 
154
154
  # Creates the given topic with the given name.
155
155
  # @param [String] name
156
- # The name of the topic. It must have the format "projects/`project`/topics/`
157
- # topic`" for Google Cloud Pub/Sub API v1 and v1beta2. `topic` must start with a
158
- # letter, and contain only letters ([A-Za-z]), numbers ([0-9], dashes (-),
159
- # underscores (_), periods (.), tildes (~), plus (+) or percent signs (%). It
160
- # must be between 3 and 255 characters in length, and it must not start with "
161
- # goog".
156
+ # The name of the topic. It must have the format `"projects/`project`/topics/`
157
+ # topic`"`. ``topic`` must start with a letter, and contain only letters (`[A-Za-
158
+ # z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`),
159
+ # tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255
160
+ # characters in length, and it must not start with `"goog"`.
162
161
  # @param [Google::Apis::PubsubV1beta2::Topic] topic_object
163
162
  # @param [String] fields
164
163
  # Selector specifying which fields to include in a partial response.
@@ -191,7 +190,8 @@ module Google
191
190
  end
192
191
 
193
192
  # Adds one or more messages to the topic. Returns NOT_FOUND if the topic does
194
- # not exist.
193
+ # not exist. The message payload must not be empty; it must contain either a non-
194
+ # empty data field, or at least one attribute.
195
195
  # @param [String] topic
196
196
  # The messages in the request will be published on this topic.
197
197
  # @param [Google::Apis::PubsubV1beta2::PublishRequest] publish_request_object
@@ -480,12 +480,12 @@ module Google
480
480
  # request, the server will assign a random name for this subscription on the
481
481
  # same project as the topic.
482
482
  # @param [String] name
483
- # The name of the subscription. It must have the format "projects/`project`/
484
- # subscriptions/`subscription`" for Google Cloud Pub/Sub API v1 and v1beta2. `
485
- # subscription` must start with a letter, and contain only letters ([A-Za-z]),
486
- # numbers ([0-9], dashes (-), underscores (_), periods (.), tildes (~), plus (+)
487
- # or percent signs (%). It must be between 3 and 255 characters in length, and
488
- # it must not start with "goog".
483
+ # The name of the subscription. It must have the format `"projects/`project`/
484
+ # subscriptions/`subscription`"`. ``subscription`` must start with a letter, and
485
+ # contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
486
+ # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%
487
+ # `). It must be between 3 and 255 characters in length, and it must not start
488
+ # with `"goog"`.
489
489
  # @param [Google::Apis::PubsubV1beta2::Subscription] subscription_object
490
490
  # @param [String] fields
491
491
  # Selector specifying which fields to include in a partial response.
@@ -239,9 +239,9 @@ module Google
239
239
  # The Google Developers Console project name.
240
240
  # @param [String] zone
241
241
  # The name of the zone in which the instance group manager resides.
242
- # @param [Google::Apis::ReplicapoolV1beta2::InstanceGroupManager] instance_group_manager_object
243
242
  # @param [Fixnum] size
244
243
  # Number of instances that should exist.
244
+ # @param [Google::Apis::ReplicapoolV1beta2::InstanceGroupManager] instance_group_manager_object
245
245
  # @param [String] fields
246
246
  # Selector specifying which fields to include in a partial response.
247
247
  # @param [String] quota_user
@@ -263,7 +263,7 @@ module Google
263
263
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
264
264
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
265
265
  # @raise [Google::Apis::AuthorizationError] Authorization is required
266
- def insert_instance_group_manager(project, zone, instance_group_manager_object = nil, size: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
266
+ def insert_instance_group_manager(project, zone, size, instance_group_manager_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
267
267
  path = '{project}/zones/{zone}/instanceGroupManagers'
268
268
  command = make_simple_command(:post, path, options)
269
269
  command.request_representation = Google::Apis::ReplicapoolV1beta2::InstanceGroupManager::Representation
@@ -408,7 +408,7 @@ module Google
408
408
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
409
409
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
410
410
  # @raise [Google::Apis::AuthorizationError] Authorization is required
411
- def resize_instance(project, zone, instance_group_manager, size: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
411
+ def resize_instance(project, zone, instance_group_manager, size, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
412
412
  path = '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize'
413
413
  command = make_simple_command(:post, path, options)
414
414
  command.response_representation = Google::Apis::ReplicapoolV1beta2::Operation::Representation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service
27
27
  module ReplicapoolupdaterV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20150326'
29
+ REVISION = '20150722'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -31,7 +31,7 @@ module Google
31
31
  # @return [Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate::Error]
32
32
  attr_accessor :error
33
33
 
34
- # URL of the instance being updated.
34
+ # Fully-qualified URL of the instance being updated.
35
35
  # Corresponds to the JSON property `instance`
36
36
  # @return [String]
37
37
  attr_accessor :instance
@@ -468,6 +468,12 @@ module Google
468
468
  # @return [String]
469
469
  attr_accessor :kind
470
470
 
471
+ # Fully-qualified URL of the instance template encountered while starting the
472
+ # update.
473
+ # Corresponds to the JSON property `oldInstanceTemplate`
474
+ # @return [String]
475
+ attr_accessor :old_instance_template
476
+
471
477
  # Parameters of the update process.
472
478
  # Corresponds to the JSON property `policy`
473
479
  # @return [Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Policy]
@@ -526,6 +532,7 @@ module Google
526
532
  @instance_group_manager = args[:instance_group_manager] unless args[:instance_group_manager].nil?
527
533
  @instance_template = args[:instance_template] unless args[:instance_template].nil?
528
534
  @kind = args[:kind] unless args[:kind].nil?
535
+ @old_instance_template = args[:old_instance_template] unless args[:old_instance_template].nil?
529
536
  @policy = args[:policy] unless args[:policy].nil?
530
537
  @progress = args[:progress] unless args[:progress].nil?
531
538
  @self_link = args[:self_link] unless args[:self_link].nil?
@@ -194,6 +194,7 @@ module Google
194
194
  property :instance_group_manager, as: 'instanceGroupManager'
195
195
  property :instance_template, as: 'instanceTemplate'
196
196
  property :kind, as: 'kind'
197
+ property :old_instance_template, as: 'oldInstanceTemplate'
197
198
  property :policy, as: 'policy', class: Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Policy, decorator: Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Policy::Representation
198
199
 
199
200
  property :progress, as: 'progress'
@@ -188,9 +188,6 @@ module Google
188
188
  # The name of the zone in which the update's target resides.
189
189
  # @param [String] filter
190
190
  # Optional. Filter expression for filtering listed resources.
191
- # @param [String] instance_group_manager
192
- # The name of the instance group manager. Use this parameter to return only
193
- # updates to instances that are part of a specific instance group.
194
191
  # @param [Fixnum] max_results
195
192
  # Optional. Maximum count of results to be returned. Maximum value is 500 and
196
193
  # default value is 500.
@@ -218,7 +215,7 @@ module Google
218
215
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
219
216
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
220
217
  # @raise [Google::Apis::AuthorizationError] Authorization is required
221
- def list_rolling_updates(project, zone, filter: nil, instance_group_manager: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
218
+ def list_rolling_updates(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
222
219
  path = '{project}/zones/{zone}/rollingUpdates'
223
220
  command = make_simple_command(:get, path, options)
224
221
  command.response_representation = Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdateList::Representation
@@ -226,7 +223,6 @@ module Google
226
223
  command.params['project'] = project unless project.nil?
227
224
  command.params['zone'] = zone unless zone.nil?
228
225
  command.query['filter'] = filter unless filter.nil?
229
- command.query['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
230
226
  command.query['maxResults'] = max_results unless max_results.nil?
231
227
  command.query['pageToken'] = page_token unless page_token.nil?
232
228
  command.query['fields'] = fields unless fields.nil?
@@ -400,7 +400,7 @@ module Google
400
400
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
401
401
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
402
402
  # @raise [Google::Apis::AuthorizationError] Authorization is required
403
- def delete_subscription(customer_id, subscription_id, deletion_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
403
+ def delete_subscription(customer_id, subscription_id, deletion_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
404
404
  path = 'customers/{customerId}/subscriptions/{subscriptionId}'
405
405
  command = make_simple_command(:delete, path, options)
406
406
  command.params['customerId'] = customer_id unless customer_id.nil?
@@ -159,9 +159,9 @@ module Google
159
159
  end
160
160
 
161
161
  # Attempt verification of a website or domain.
162
- # @param [Google::Apis::SiteVerificationV1::SiteVerificationWebResourceResource] site_verification_web_resource_resource_object
163
162
  # @param [String] verification_method
164
163
  # The method to use for verifying a site or domain.
164
+ # @param [Google::Apis::SiteVerificationV1::SiteVerificationWebResourceResource] site_verification_web_resource_resource_object
165
165
  # @param [String] fields
166
166
  # Selector specifying which fields to include in a partial response.
167
167
  # @param [String] quota_user
@@ -183,7 +183,7 @@ module Google
183
183
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
184
184
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
185
185
  # @raise [Google::Apis::AuthorizationError] Authorization is required
186
- def insert_web_resource(site_verification_web_resource_resource_object = nil, verification_method: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
186
+ def insert_web_resource(verification_method, site_verification_web_resource_resource_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
187
187
  path = 'webResource'
188
188
  command = make_simple_command(:post, path, options)
189
189
  command.request_representation = Google::Apis::SiteVerificationV1::SiteVerificationWebResourceResource::Representation
@@ -1124,7 +1124,7 @@ module Google
1124
1124
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1125
1125
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1126
1126
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1127
- def list_operations(project, instance: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1127
+ def list_operations(project, instance, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1128
1128
  path = 'projects/{project}/operations'
1129
1129
  command = make_simple_command(:get, path, options)
1130
1130
  command.response_representation = Google::Apis::SqladminV1beta4::ListOperationsResponse::Representation
@@ -1377,7 +1377,7 @@ module Google
1377
1377
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1378
1378
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1379
1379
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1380
- def delete_user(project, instance, host: nil, name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1380
+ def delete_user(project, instance, host, name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1381
1381
  path = 'projects/{project}/instances/{instance}/users'
1382
1382
  command = make_simple_command(:delete, path, options)
1383
1383
  command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
@@ -1478,11 +1478,11 @@ module Google
1478
1478
  # Project ID of the project that contains the instance.
1479
1479
  # @param [String] instance
1480
1480
  # Database instance ID. This does not include the project ID.
1481
- # @param [Google::Apis::SqladminV1beta4::User] user_object
1482
1481
  # @param [String] host
1483
1482
  # Host of the user in the instance.
1484
1483
  # @param [String] name
1485
1484
  # Name of the user in the instance.
1485
+ # @param [Google::Apis::SqladminV1beta4::User] user_object
1486
1486
  # @param [String] fields
1487
1487
  # Selector specifying which fields to include in a partial response.
1488
1488
  # @param [String] quota_user
@@ -1504,7 +1504,7 @@ module Google
1504
1504
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1505
1505
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1506
1506
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1507
- def update_user(project, instance, user_object = nil, host: nil, name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1507
+ def update_user(project, instance, host, name, user_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1508
1508
  path = 'projects/{project}/instances/{instance}/users'
1509
1509
  command = make_simple_command(:put, path, options)
1510
1510
  command.request_representation = Google::Apis::SqladminV1beta4::User::Representation
@@ -382,13 +382,13 @@ module Google
382
382
  end
383
383
 
384
384
  # Creates a new bucket.
385
+ # @param [String] project
386
+ # A valid API project identifier.
385
387
  # @param [Google::Apis::StorageV1::Bucket] bucket_object
386
388
  # @param [String] predefined_acl
387
389
  # Apply a predefined set of access controls to this bucket.
388
390
  # @param [String] predefined_default_object_acl
389
391
  # Apply a predefined set of default object access controls to this bucket.
390
- # @param [String] project
391
- # A valid API project identifier.
392
392
  # @param [String] projection
393
393
  # Set of properties to return. Defaults to noAcl, unless the bucket resource
394
394
  # specifies acl or defaultObjectAcl properties, when it defaults to full.
@@ -413,7 +413,7 @@ module Google
413
413
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
414
414
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
415
415
  # @raise [Google::Apis::AuthorizationError] Authorization is required
416
- def insert_bucket(bucket_object = nil, predefined_acl: nil, predefined_default_object_acl: nil, project: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
416
+ def insert_bucket(project, bucket_object = nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
417
417
  path = 'b'
418
418
  command = make_simple_command(:post, path, options)
419
419
  command.request_representation = Google::Apis::StorageV1::Bucket::Representation
@@ -431,6 +431,8 @@ module Google
431
431
  end
432
432
 
433
433
  # Retrieves a list of buckets for a given project.
434
+ # @param [String] project
435
+ # A valid API project identifier.
434
436
  # @param [Fixnum] max_results
435
437
  # Maximum number of buckets to return.
436
438
  # @param [String] page_token
@@ -438,8 +440,6 @@ module Google
438
440
  # results to view.
439
441
  # @param [String] prefix
440
442
  # Filter results to buckets whose names begin with this prefix.
441
- # @param [String] project
442
- # A valid API project identifier.
443
443
  # @param [String] projection
444
444
  # Set of properties to return. Defaults to noAcl.
445
445
  # @param [String] fields
@@ -463,7 +463,7 @@ module Google
463
463
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
464
464
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
465
465
  # @raise [Google::Apis::AuthorizationError] Authorization is required
466
- def list_buckets(max_results: nil, page_token: nil, prefix: nil, project: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
466
+ def list_buckets(project, max_results: nil, page_token: nil, prefix: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
467
467
  path = 'b'
468
468
  command = make_simple_command(:get, path, options)
469
469
  command.response_representation = Google::Apis::StorageV1::Buckets::Representation
@@ -223,12 +223,12 @@ module Google
223
223
  # The project under which the queue lies.
224
224
  # @param [String] taskqueue
225
225
  # The taskqueue to lease a task from.
226
- # @param [Boolean] group_by_tag
227
- # When true, all returned tasks will have the same tag
228
- # @param [Fixnum] lease_secs
229
- # The lease in seconds.
230
226
  # @param [Fixnum] num_tasks
231
227
  # The number of tasks to lease.
228
+ # @param [Fixnum] lease_secs
229
+ # The lease in seconds.
230
+ # @param [Boolean] group_by_tag
231
+ # When true, all returned tasks will have the same tag
232
232
  # @param [String] tag
233
233
  # The tag allowed for tasks in the response. Must only be specified if
234
234
  # group_by_tag is true. If group_by_tag is true and tag is not specified the tag
@@ -254,7 +254,7 @@ module Google
254
254
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
255
255
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
256
256
  # @raise [Google::Apis::AuthorizationError] Authorization is required
257
- def lease_task(project, taskqueue, group_by_tag: nil, lease_secs: nil, num_tasks: nil, tag: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
257
+ def lease_task(project, taskqueue, num_tasks, lease_secs, group_by_tag: nil, tag: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
258
258
  path = '{project}/taskqueues/{taskqueue}/tasks/lease'
259
259
  command = make_simple_command(:post, path, options)
260
260
  command.response_representation = Google::Apis::TaskqueueV1beta2::Tasks::Representation
@@ -316,9 +316,9 @@ module Google
316
316
  # The project under which the queue lies.
317
317
  # @param [String] taskqueue
318
318
  # @param [String] task
319
- # @param [Google::Apis::TaskqueueV1beta2::Task] task_object
320
319
  # @param [Fixnum] new_lease_seconds
321
320
  # The new lease in seconds.
321
+ # @param [Google::Apis::TaskqueueV1beta2::Task] task_object
322
322
  # @param [String] fields
323
323
  # Selector specifying which fields to include in a partial response.
324
324
  # @param [String] quota_user
@@ -340,7 +340,7 @@ module Google
340
340
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
341
341
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
342
342
  # @raise [Google::Apis::AuthorizationError] Authorization is required
343
- def patch_task(project, taskqueue, task, task_object = nil, new_lease_seconds: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
343
+ def patch_task(project, taskqueue, task, new_lease_seconds, task_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
344
344
  path = '{project}/taskqueues/{taskqueue}/tasks/{task}'
345
345
  command = make_simple_command(:patch, path, options)
346
346
  command.request_representation = Google::Apis::TaskqueueV1beta2::Task::Representation
@@ -362,9 +362,9 @@ module Google
362
362
  # The project under which the queue lies.
363
363
  # @param [String] taskqueue
364
364
  # @param [String] task
365
- # @param [Google::Apis::TaskqueueV1beta2::Task] task_object
366
365
  # @param [Fixnum] new_lease_seconds
367
366
  # The new lease in seconds.
367
+ # @param [Google::Apis::TaskqueueV1beta2::Task] task_object
368
368
  # @param [String] fields
369
369
  # Selector specifying which fields to include in a partial response.
370
370
  # @param [String] quota_user
@@ -386,7 +386,7 @@ module Google
386
386
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
387
387
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
388
388
  # @raise [Google::Apis::AuthorizationError] Authorization is required
389
- def update_task(project, taskqueue, task, task_object = nil, new_lease_seconds: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
389
+ def update_task(project, taskqueue, task, new_lease_seconds, task_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
390
390
  path = '{project}/taskqueues/{taskqueue}/tasks/{task}'
391
391
  command = make_simple_command(:post, path, options)
392
392
  command.request_representation = Google::Apis::TaskqueueV1beta2::Task::Representation