google-api-client 0.13.5 → 0.13.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +58 -0
  3. data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +1 -1
  5. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +1 -1
  8. data/generated/google/apis/adexchangeseller_v1/service.rb +1 -1
  9. data/generated/google/apis/adexchangeseller_v1_1/service.rb +1 -1
  10. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -1
  11. data/generated/google/apis/admin_datatransfer_v1/service.rb +1 -1
  12. data/generated/google/apis/admin_directory_v1/service.rb +1 -1
  13. data/generated/google/apis/admin_reports_v1/service.rb +1 -1
  14. data/generated/google/apis/adsense_v1_4.rb +1 -1
  15. data/generated/google/apis/adsense_v1_4/service.rb +1 -1
  16. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  17. data/generated/google/apis/adsensehost_v4_1/service.rb +1 -1
  18. data/generated/google/apis/analytics_v2_4.rb +1 -1
  19. data/generated/google/apis/analytics_v2_4/service.rb +1 -1
  20. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  21. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +74 -54
  22. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +14 -0
  23. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +54 -17
  24. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  25. data/generated/google/apis/androidenterprise_v1/classes.rb +15 -18
  26. data/generated/google/apis/androidenterprise_v1/service.rb +1 -1
  27. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  28. data/generated/google/apis/androidmanagement_v1/classes.rb +15 -7
  29. data/generated/google/apis/androidmanagement_v1/representations.rb +2 -1
  30. data/generated/google/apis/androidpublisher_v1.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v1/service.rb +1 -1
  32. data/generated/google/apis/androidpublisher_v1_1/service.rb +1 -1
  33. data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
  34. data/generated/google/apis/appengine_v1.rb +1 -1
  35. data/generated/google/apis/appengine_v1/classes.rb +324 -0
  36. data/generated/google/apis/appengine_v1/representations.rb +152 -0
  37. data/generated/google/apis/appengine_v1/service.rb +406 -0
  38. data/generated/google/apis/appengine_v1beta.rb +1 -1
  39. data/generated/google/apis/appengine_v1beta/classes.rb +59 -1
  40. data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
  41. data/generated/google/apis/appsactivity_v1.rb +1 -1
  42. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  43. data/generated/google/apis/appsmarket_v2/service.rb +1 -1
  44. data/generated/google/apis/appstate_v1.rb +1 -1
  45. data/generated/google/apis/appstate_v1/service.rb +1 -1
  46. data/generated/google/apis/bigquery_v2.rb +1 -1
  47. data/generated/google/apis/bigquery_v2/classes.rb +70 -0
  48. data/generated/google/apis/bigquery_v2/representations.rb +35 -0
  49. data/generated/google/apis/bigquery_v2/service.rb +37 -1
  50. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  51. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +42 -37
  52. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +4 -3
  53. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +8 -8
  54. data/generated/google/apis/blogger_v2/service.rb +1 -1
  55. data/generated/google/apis/blogger_v3/service.rb +1 -1
  56. data/generated/google/apis/calendar_v3.rb +1 -1
  57. data/generated/google/apis/calendar_v3/service.rb +1 -1
  58. data/generated/google/apis/civicinfo_v2/service.rb +1 -1
  59. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  60. data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
  61. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  62. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
  63. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  64. data/generated/google/apis/clouduseraccounts_alpha/service.rb +1 -1
  65. data/generated/google/apis/clouduseraccounts_beta/service.rb +1 -1
  66. data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +1 -1
  67. data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +1 -1
  68. data/generated/google/apis/consumersurveys_v2/service.rb +1 -1
  69. data/generated/google/apis/container_v1.rb +1 -1
  70. data/generated/google/apis/container_v1/classes.rb +1 -1
  71. data/generated/google/apis/container_v1beta1.rb +1 -1
  72. data/generated/google/apis/container_v1beta1/classes.rb +15 -1
  73. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  74. data/generated/google/apis/content_v2.rb +1 -1
  75. data/generated/google/apis/content_v2/service.rb +1 -1
  76. data/generated/google/apis/content_v2sandbox.rb +1 -1
  77. data/generated/google/apis/content_v2sandbox/service.rb +1 -1
  78. data/generated/google/apis/customsearch_v1/service.rb +1 -1
  79. data/generated/google/apis/datastore_v1.rb +1 -1
  80. data/generated/google/apis/datastore_v1/classes.rb +14 -13
  81. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  82. data/generated/google/apis/datastore_v1beta1/classes.rb +19 -18
  83. data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
  84. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  85. data/generated/google/apis/datastore_v1beta3/classes.rb +13 -12
  86. data/generated/google/apis/deploymentmanager_alpha/service.rb +1 -1
  87. data/generated/google/apis/deploymentmanager_v2/service.rb +1 -1
  88. data/generated/google/apis/dfareporting_v2_7/service.rb +1 -1
  89. data/generated/google/apis/dfareporting_v2_8/service.rb +1 -1
  90. data/generated/google/apis/discovery_v1/service.rb +1 -1
  91. data/generated/google/apis/dns_v1.rb +1 -1
  92. data/generated/google/apis/dns_v2beta1.rb +1 -1
  93. data/generated/google/apis/dns_v2beta1/service.rb +1 -1
  94. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +1 -1
  95. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  96. data/generated/google/apis/doubleclicksearch_v2/service.rb +1 -1
  97. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  98. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +224 -0
  99. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +63 -0
  100. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +30 -0
  101. data/generated/google/apis/fitness_v1.rb +1 -1
  102. data/generated/google/apis/fitness_v1/classes.rb +39 -0
  103. data/generated/google/apis/fitness_v1/representations.rb +18 -0
  104. data/generated/google/apis/fitness_v1/service.rb +49 -1
  105. data/generated/google/apis/fusiontables_v1/service.rb +1 -1
  106. data/generated/google/apis/fusiontables_v2/service.rb +1 -1
  107. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  108. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
  109. data/generated/google/apis/games_management_v1management/service.rb +1 -1
  110. data/generated/google/apis/games_v1.rb +1 -1
  111. data/generated/google/apis/games_v1/service.rb +1 -1
  112. data/generated/google/apis/gmail_v1.rb +1 -1
  113. data/generated/google/apis/gmail_v1/classes.rb +36 -0
  114. data/generated/google/apis/gmail_v1/representations.rb +16 -0
  115. data/generated/google/apis/gmail_v1/service.rb +1 -1
  116. data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
  117. data/generated/google/apis/groupssettings_v1/service.rb +1 -1
  118. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  119. data/generated/google/apis/identitytoolkit_v3/classes.rb +24 -0
  120. data/generated/google/apis/identitytoolkit_v3/representations.rb +4 -0
  121. data/generated/google/apis/identitytoolkit_v3/service.rb +1 -1
  122. data/generated/google/apis/language_v1beta2.rb +1 -1
  123. data/generated/google/apis/language_v1beta2/classes.rb +78 -0
  124. data/generated/google/apis/language_v1beta2/representations.rb +45 -0
  125. data/generated/google/apis/language_v1beta2/service.rb +30 -0
  126. data/generated/google/apis/licensing_v1/service.rb +1 -1
  127. data/generated/google/apis/logging_v2.rb +1 -1
  128. data/generated/google/apis/logging_v2/classes.rb +11 -18
  129. data/generated/google/apis/logging_v2/service.rb +116 -48
  130. data/generated/google/apis/logging_v2beta1.rb +1 -1
  131. data/generated/google/apis/logging_v2beta1/classes.rb +11 -18
  132. data/generated/google/apis/logging_v2beta1/service.rb +16 -8
  133. data/generated/google/apis/mirror_v1/service.rb +1 -1
  134. data/generated/google/apis/oauth2_v1.rb +1 -1
  135. data/generated/google/apis/oauth2_v1/service.rb +1 -1
  136. data/generated/google/apis/oauth2_v2.rb +1 -1
  137. data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
  138. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  139. data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
  140. data/generated/google/apis/plus_domains_v1.rb +1 -1
  141. data/generated/google/apis/plus_domains_v1/service.rb +1 -1
  142. data/generated/google/apis/plus_v1.rb +1 -1
  143. data/generated/google/apis/plus_v1/service.rb +1 -1
  144. data/generated/google/apis/prediction_v1_2/service.rb +1 -1
  145. data/generated/google/apis/prediction_v1_3/service.rb +1 -1
  146. data/generated/google/apis/prediction_v1_4/service.rb +1 -1
  147. data/generated/google/apis/prediction_v1_5/service.rb +1 -1
  148. data/generated/google/apis/prediction_v1_6/service.rb +1 -1
  149. data/generated/google/apis/qpx_express_v1/service.rb +1 -1
  150. data/generated/google/apis/replicapool_v1beta1/service.rb +1 -1
  151. data/generated/google/apis/replicapool_v1beta2/service.rb +1 -1
  152. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
  153. data/generated/google/apis/reseller_v1/service.rb +1 -1
  154. data/generated/google/apis/resourceviews_v1beta2/service.rb +1 -1
  155. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  156. data/generated/google/apis/servicemanagement_v1/classes.rb +3 -256
  157. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -99
  158. data/generated/google/apis/serviceuser_v1.rb +1 -1
  159. data/generated/google/apis/serviceuser_v1/classes.rb +3 -3
  160. data/generated/google/apis/site_verification_v1/service.rb +1 -1
  161. data/generated/google/apis/spanner_v1.rb +1 -1
  162. data/generated/google/apis/spanner_v1/classes.rb +0 -458
  163. data/generated/google/apis/spanner_v1/representations.rb +0 -165
  164. data/generated/google/apis/spectrum_v1explorer/service.rb +1 -1
  165. data/generated/google/apis/sqladmin_v1beta3/service.rb +1 -1
  166. data/generated/google/apis/storage_v1.rb +1 -1
  167. data/generated/google/apis/storage_v1/classes.rb +6 -0
  168. data/generated/google/apis/storage_v1/representations.rb +1 -0
  169. data/generated/google/apis/storage_v1/service.rb +10 -3
  170. data/generated/google/apis/storage_v1beta1.rb +1 -1
  171. data/generated/google/apis/storage_v1beta1/service.rb +1 -1
  172. data/generated/google/apis/storage_v1beta2.rb +1 -1
  173. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  174. data/generated/google/apis/surveys_v2/service.rb +1 -1
  175. data/generated/google/apis/tagmanager_v1/service.rb +1 -1
  176. data/generated/google/apis/tagmanager_v2/service.rb +1 -1
  177. data/generated/google/apis/taskqueue_v1beta1/service.rb +1 -1
  178. data/generated/google/apis/tasks_v1/service.rb +1 -1
  179. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  180. data/generated/google/apis/toolresults_v1beta3/service.rb +5 -5
  181. data/generated/google/apis/toolresults_v1beta3firstparty.rb +1 -1
  182. data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +5 -5
  183. data/generated/google/apis/urlshortener_v1/service.rb +1 -1
  184. data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
  185. data/generated/google/apis/videointelligence_v1beta1/classes.rb +379 -1
  186. data/generated/google/apis/videointelligence_v1beta1/representations.rb +175 -0
  187. data/generated/google/apis/webfonts_v1/service.rb +1 -1
  188. data/generated/google/apis/webmasters_v3.rb +1 -1
  189. data/generated/google/apis/webmasters_v3/service.rb +1 -1
  190. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  191. data/generated/google/apis/youtube_analytics_v1/service.rb +1 -1
  192. data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
  193. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +1 -1
  194. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  195. data/generated/google/apis/youtube_partner_v1/service.rb +1 -1
  196. data/lib/google/apis/version.rb +1 -1
  197. metadata +2 -2
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/fit/rest/
26
26
  module FitnessV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170731'
28
+ REVISION = '20170830'
29
29
 
30
30
  # View your activity information in Google Fit
31
31
  AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'
@@ -716,6 +716,45 @@ module Google
716
716
  end
717
717
  end
718
718
 
719
+ #
720
+ class ListDataPointChangesResponse
721
+ include Google::Apis::Core::Hashable
722
+
723
+ # The data stream ID of the data source with data point changes.
724
+ # Corresponds to the JSON property `dataSourceId`
725
+ # @return [String]
726
+ attr_accessor :data_source_id
727
+
728
+ # Data points that have been removed and will not be included in any other
729
+ # request for dataset contents.
730
+ # Corresponds to the JSON property `deletedDataPoint`
731
+ # @return [Array<Google::Apis::FitnessV1::DataPoint>]
732
+ attr_accessor :deleted_data_point
733
+
734
+ # Data points listed.
735
+ # Corresponds to the JSON property `insertedDataPoint`
736
+ # @return [Array<Google::Apis::FitnessV1::DataPoint>]
737
+ attr_accessor :inserted_data_point
738
+
739
+ # The continuation token, which is used to page through large result sets.
740
+ # Provide this value in a subsequent request to return the next page of results.
741
+ # Corresponds to the JSON property `nextPageToken`
742
+ # @return [String]
743
+ attr_accessor :next_page_token
744
+
745
+ def initialize(**args)
746
+ update!(**args)
747
+ end
748
+
749
+ # Update properties of this object
750
+ def update!(**args)
751
+ @data_source_id = args[:data_source_id] if args.key?(:data_source_id)
752
+ @deleted_data_point = args[:deleted_data_point] if args.key?(:deleted_data_point)
753
+ @inserted_data_point = args[:inserted_data_point] if args.key?(:inserted_data_point)
754
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
755
+ end
756
+ end
757
+
719
758
  #
720
759
  class ListDataSourcesResponse
721
760
  include Google::Apis::Core::Hashable
@@ -112,6 +112,12 @@ module Google
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
+ class ListDataPointChangesResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
115
121
  class ListDataSourcesResponse
116
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
123
 
@@ -313,6 +319,18 @@ module Google
313
319
  end
314
320
  end
315
321
 
322
+ class ListDataPointChangesResponse
323
+ # @private
324
+ class Representation < Google::Apis::Core::JsonRepresentation
325
+ property :data_source_id, as: 'dataSourceId'
326
+ collection :deleted_data_point, as: 'deletedDataPoint', class: Google::Apis::FitnessV1::DataPoint, decorator: Google::Apis::FitnessV1::DataPoint::Representation
327
+
328
+ collection :inserted_data_point, as: 'insertedDataPoint', class: Google::Apis::FitnessV1::DataPoint, decorator: Google::Apis::FitnessV1::DataPoint::Representation
329
+
330
+ property :next_page_token, as: 'nextPageToken'
331
+ end
332
+ end
333
+
316
334
  class ListDataSourcesResponse
317
335
  # @private
318
336
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'fitness/v1/users/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/fitness/v1'
54
54
  end
55
55
 
56
56
  # Creates a new data source that is unique across all data sources belonging to
@@ -311,6 +311,54 @@ module Google
311
311
  execute_or_queue_command(command, &block)
312
312
  end
313
313
 
314
+ # results ordered by descending end_time
315
+ # @param [String] user_id
316
+ # List data points for the person identified. Use "me" to indicate the
317
+ # authenticated user. Only "me" is supported at this time.
318
+ # @param [String] data_source_id
319
+ # The data stream ID of the data source that created the dataset.
320
+ # @param [Fixnum] limit
321
+ # If specified, no more than this many data point changes will be included in
322
+ # the response. The default is 500 data point changes.
323
+ # @param [String] page_token
324
+ # The continuation token, which is used to page through large result sets. To
325
+ # get the next page of results, set this parameter to the value of nextPageToken
326
+ # from the previous response.
327
+ # @param [String] fields
328
+ # Selector specifying which fields to include in a partial response.
329
+ # @param [String] quota_user
330
+ # Available to use for quota purposes for server-side applications. Can be any
331
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
332
+ # Overrides userIp if both are provided.
333
+ # @param [String] user_ip
334
+ # IP address of the site where the request originates. Use this if you want to
335
+ # enforce per-user limits.
336
+ # @param [Google::Apis::RequestOptions] options
337
+ # Request-specific options
338
+ #
339
+ # @yield [result, err] Result & error if block supplied
340
+ # @yieldparam result [Google::Apis::FitnessV1::ListDataPointChangesResponse] parsed result object
341
+ # @yieldparam err [StandardError] error object if request failed
342
+ #
343
+ # @return [Google::Apis::FitnessV1::ListDataPointChangesResponse]
344
+ #
345
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
346
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
347
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
348
+ def list_user_data_source_data_point_changes(user_id, data_source_id, limit: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
349
+ command = make_simple_command(:get, '{userId}/dataSources/{dataSourceId}/dataPointChanges', options)
350
+ command.response_representation = Google::Apis::FitnessV1::ListDataPointChangesResponse::Representation
351
+ command.response_class = Google::Apis::FitnessV1::ListDataPointChangesResponse
352
+ command.params['userId'] = user_id unless user_id.nil?
353
+ command.params['dataSourceId'] = data_source_id unless data_source_id.nil?
354
+ command.query['limit'] = limit unless limit.nil?
355
+ command.query['pageToken'] = page_token unless page_token.nil?
356
+ command.query['fields'] = fields unless fields.nil?
357
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
358
+ command.query['userIp'] = user_ip unless user_ip.nil?
359
+ execute_or_queue_command(command, &block)
360
+ end
361
+
314
362
  # Performs an inclusive delete of all data points whose start and end times have
315
363
  # any overlap with the time range specified by the dataset ID. For most data
316
364
  # types, the entire data point will be deleted. For data types where the time
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'fusiontables/v1/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/fusiontables/v1'
54
54
  end
55
55
 
56
56
  # Deletes the column.
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'fusiontables/v2/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/fusiontables/v2'
54
54
  end
55
55
 
56
56
  # Deletes the specified column.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/games/services
26
26
  module GamesConfigurationV1configuration
27
27
  VERSION = 'V1configuration'
28
- REVISION = '20170420'
28
+ REVISION = '20170831'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'games/v1configuration/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/gamesConfiguration/v1configuration'
54
54
  end
55
55
 
56
56
  # Delete the achievement configuration with the given ID.
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'games/v1management/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/gamesManagement/v1management'
54
54
  end
55
55
 
56
56
  # Resets the achievement with the given ID for the currently authenticated
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/games/services/
26
26
  module GamesV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170420'
28
+ REVISION = '20170831'
29
29
 
30
30
  # View and manage its own configuration data in your Google Drive
31
31
  AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'games/v1/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/games/v1'
54
54
  end
55
55
 
56
56
  # Lists all the achievement definitions for your application.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/gmail/api/
26
26
  module GmailV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170829'
28
+ REVISION = '20170905'
29
29
 
30
30
  # Read, send, delete, and manage your email
31
31
  AUTH_SCOPE = 'https://mail.google.com/'
@@ -485,6 +485,13 @@ module Google
485
485
  class Label
486
486
  include Google::Apis::Core::Hashable
487
487
 
488
+ # Color to assign to the label. This field is hidden behind an API server mendel
489
+ # experiment and only available for user-defined labels. Will be unset if the
490
+ # label doesn't have a color configured.
491
+ # Corresponds to the JSON property `color`
492
+ # @return [Google::Apis::GmailV1::LabelColor]
493
+ attr_accessor :color
494
+
488
495
  # The immutable ID of the label.
489
496
  # Corresponds to the JSON property `id`
490
497
  # @return [String]
@@ -543,6 +550,7 @@ module Google
543
550
 
544
551
  # Update properties of this object
545
552
  def update!(**args)
553
+ @color = args[:color] if args.key?(:color)
546
554
  @id = args[:id] if args.key?(:id)
547
555
  @label_list_visibility = args[:label_list_visibility] if args.key?(:label_list_visibility)
548
556
  @message_list_visibility = args[:message_list_visibility] if args.key?(:message_list_visibility)
@@ -555,6 +563,34 @@ module Google
555
563
  end
556
564
  end
557
565
 
566
+ #
567
+ class LabelColor
568
+ include Google::Apis::Core::Hashable
569
+
570
+ # Background color represented as hex string #RRGGBB (ex #000000). Only a
571
+ # restricted predefined set of color values are allowed. See (go/gmail-api-label-
572
+ # colors).
573
+ # Corresponds to the JSON property `backgroundColor`
574
+ # @return [String]
575
+ attr_accessor :background_color
576
+
577
+ # Text color represented as hex string #RRGGBB (ex #000000). Only a restricted
578
+ # predefined set of color values are allowed. See (go/gmail-api-label-colors).
579
+ # Corresponds to the JSON property `textColor`
580
+ # @return [String]
581
+ attr_accessor :text_color
582
+
583
+ def initialize(**args)
584
+ update!(**args)
585
+ end
586
+
587
+ # Update properties of this object
588
+ def update!(**args)
589
+ @background_color = args[:background_color] if args.key?(:background_color)
590
+ @text_color = args[:text_color] if args.key?(:text_color)
591
+ end
592
+ end
593
+
558
594
  #
559
595
  class ListDraftsResponse
560
596
  include Google::Apis::Core::Hashable
@@ -112,6 +112,12 @@ module Google
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
+ class LabelColor
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
115
121
  class ListDraftsResponse
116
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
123
 
@@ -397,6 +403,8 @@ module Google
397
403
  class Label
398
404
  # @private
399
405
  class Representation < Google::Apis::Core::JsonRepresentation
406
+ property :color, as: 'color', class: Google::Apis::GmailV1::LabelColor, decorator: Google::Apis::GmailV1::LabelColor::Representation
407
+
400
408
  property :id, as: 'id'
401
409
  property :label_list_visibility, as: 'labelListVisibility'
402
410
  property :message_list_visibility, as: 'messageListVisibility'
@@ -409,6 +417,14 @@ module Google
409
417
  end
410
418
  end
411
419
 
420
+ class LabelColor
421
+ # @private
422
+ class Representation < Google::Apis::Core::JsonRepresentation
423
+ property :background_color, as: 'backgroundColor'
424
+ property :text_color, as: 'textColor'
425
+ end
426
+ end
427
+
412
428
  class ListDraftsResponse
413
429
  # @private
414
430
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'gmail/v1/users/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/gmail/v1'
54
54
  end
55
55
 
56
56
  # Gets the current user's Gmail profile.
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'groups/v1/groups/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/groupsmigration/v1'
54
54
  end
55
55
 
56
56
  # Inserts a new mail into the archive of the Google group.
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'groups/v1/groups/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/groupssettings/v1'
54
54
  end
55
55
 
56
56
  # Gets one resource by id.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/identity-toolkit/v3/
26
26
  module IdentitytoolkitV3
27
27
  VERSION = 'V3'
28
- REVISION = '20170817'
28
+ REVISION = '20170828'
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'
@@ -1075,12 +1075,27 @@ module Google
1075
1075
  attr_accessor :allow_overwrite
1076
1076
  alias_method :allow_overwrite?, :allow_overwrite
1077
1077
 
1078
+ #
1079
+ # Corresponds to the JSON property `blockSize`
1080
+ # @return [Fixnum]
1081
+ attr_accessor :block_size
1082
+
1083
+ # The following 4 fields are for standard scrypt algorithm.
1084
+ # Corresponds to the JSON property `cpuMemCost`
1085
+ # @return [Fixnum]
1086
+ attr_accessor :cpu_mem_cost
1087
+
1078
1088
  # GCP project number of the requesting delegated app. Currently only intended
1079
1089
  # for Firebase V1 migration.
1080
1090
  # Corresponds to the JSON property `delegatedProjectNumber`
1081
1091
  # @return [Fixnum]
1082
1092
  attr_accessor :delegated_project_number
1083
1093
 
1094
+ #
1095
+ # Corresponds to the JSON property `dkLen`
1096
+ # @return [Fixnum]
1097
+ attr_accessor :dk_len
1098
+
1084
1099
  # The password hash algorithm.
1085
1100
  # Corresponds to the JSON property `hashAlgorithm`
1086
1101
  # @return [String]
@@ -1091,6 +1106,11 @@ module Google
1091
1106
  # @return [Fixnum]
1092
1107
  attr_accessor :memory_cost
1093
1108
 
1109
+ #
1110
+ # Corresponds to the JSON property `parallelization`
1111
+ # @return [Fixnum]
1112
+ attr_accessor :parallelization
1113
+
1094
1114
  # Rounds for hash calculation. Used by scrypt and similar algorithms.
1095
1115
  # Corresponds to the JSON property `rounds`
1096
1116
  # @return [Fixnum]
@@ -1133,9 +1153,13 @@ module Google
1133
1153
  # Update properties of this object
1134
1154
  def update!(**args)
1135
1155
  @allow_overwrite = args[:allow_overwrite] if args.key?(:allow_overwrite)
1156
+ @block_size = args[:block_size] if args.key?(:block_size)
1157
+ @cpu_mem_cost = args[:cpu_mem_cost] if args.key?(:cpu_mem_cost)
1136
1158
  @delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number)
1159
+ @dk_len = args[:dk_len] if args.key?(:dk_len)
1137
1160
  @hash_algorithm = args[:hash_algorithm] if args.key?(:hash_algorithm)
1138
1161
  @memory_cost = args[:memory_cost] if args.key?(:memory_cost)
1162
+ @parallelization = args[:parallelization] if args.key?(:parallelization)
1139
1163
  @rounds = args[:rounds] if args.key?(:rounds)
1140
1164
  @salt_separator = args[:salt_separator] if args.key?(:salt_separator)
1141
1165
  @sanity_check = args[:sanity_check] if args.key?(:sanity_check)
@@ -527,9 +527,13 @@ module Google
527
527
  # @private
528
528
  class Representation < Google::Apis::Core::JsonRepresentation
529
529
  property :allow_overwrite, as: 'allowOverwrite'
530
+ property :block_size, as: 'blockSize'
531
+ property :cpu_mem_cost, as: 'cpuMemCost'
530
532
  property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber'
533
+ property :dk_len, as: 'dkLen'
531
534
  property :hash_algorithm, as: 'hashAlgorithm'
532
535
  property :memory_cost, as: 'memoryCost'
536
+ property :parallelization, as: 'parallelization'
533
537
  property :rounds, as: 'rounds'
534
538
  property :salt_separator, :base64 => true, as: 'saltSeparator'
535
539
  property :sanity_check, as: 'sanityCheck'
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'identitytoolkit/v3/relyingparty/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/identitytoolkit/v3'
54
54
  end
55
55
 
56
56
  # Creates the URI used by the IdP to authenticate the user.
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/natural-language/
28
28
  module LanguageV1beta2
29
29
  VERSION = 'V1beta2'
30
- REVISION = '20170809'
30
+ REVISION = '20170905'
31
31
 
32
32
  # Apply machine learning models to reveal the structure and meaning of text
33
33
  AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'