google-api-client 0.9.13 → 0.9.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/generated/google/apis/adsense_v1_4.rb +1 -1
  4. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  5. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  6. data/generated/google/apis/androidenterprise_v1/classes.rb +8 -8
  7. data/generated/google/apis/appsactivity_v1.rb +1 -1
  8. data/generated/google/apis/appstate_v1.rb +1 -1
  9. data/generated/google/apis/bigquery_v2.rb +1 -1
  10. data/generated/google/apis/bigquery_v2/classes.rb +2 -6
  11. data/generated/google/apis/bigquery_v2/representations.rb +1 -1
  12. data/generated/google/apis/bigquery_v2/service.rb +4 -5
  13. data/generated/google/apis/books_v1.rb +1 -1
  14. data/generated/google/apis/books_v1/service.rb +5 -1
  15. data/generated/google/apis/calendar_v3.rb +1 -1
  16. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  17. data/generated/google/apis/cloudbuild_v1/classes.rb +32 -19
  18. data/generated/google/apis/cloudbuild_v1/representations.rb +5 -3
  19. data/generated/google/apis/cloudbuild_v1/service.rb +4 -1
  20. data/generated/google/apis/compute_beta.rb +1 -1
  21. data/generated/google/apis/compute_beta/classes.rb +226 -11
  22. data/generated/google/apis/compute_beta/representations.rb +85 -0
  23. data/generated/google/apis/compute_beta/service.rb +465 -0
  24. data/generated/google/apis/compute_v1.rb +1 -1
  25. data/generated/google/apis/compute_v1/classes.rb +654 -11
  26. data/generated/google/apis/compute_v1/representations.rb +231 -0
  27. data/generated/google/apis/compute_v1/service.rb +574 -0
  28. data/generated/google/apis/content_v2.rb +1 -1
  29. data/generated/google/apis/content_v2/classes.rb +6 -0
  30. data/generated/google/apis/content_v2/representations.rb +1 -0
  31. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  32. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  33. data/generated/google/apis/drive_v2.rb +1 -1
  34. data/generated/google/apis/drive_v3.rb +1 -1
  35. data/generated/google/apis/drive_v3/classes.rb +30 -16
  36. data/generated/google/apis/fitness_v1.rb +1 -1
  37. data/generated/google/apis/fitness_v1/classes.rb +8 -1
  38. data/generated/google/apis/fitness_v1/representations.rb +1 -0
  39. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  40. data/generated/google/apis/games_management_v1management.rb +1 -1
  41. data/generated/google/apis/games_v1.rb +1 -1
  42. data/generated/google/apis/genomics_v1.rb +1 -1
  43. data/generated/google/apis/genomics_v1/classes.rb +7 -7
  44. data/generated/google/apis/genomics_v1/service.rb +1 -1
  45. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  46. data/generated/google/apis/identitytoolkit_v3/classes.rb +63 -4
  47. data/generated/google/apis/identitytoolkit_v3/representations.rb +20 -0
  48. data/generated/google/apis/language_v1beta1.rb +1 -1
  49. data/generated/google/apis/monitoring_v3.rb +2 -2
  50. data/generated/google/apis/monitoring_v3/classes.rb +14 -10
  51. data/generated/google/apis/monitoring_v3/service.rb +1 -1
  52. data/generated/google/apis/oauth2_v2.rb +1 -1
  53. data/generated/google/apis/plus_domains_v1.rb +1 -1
  54. data/generated/google/apis/plus_v1.rb +1 -1
  55. data/generated/google/apis/sheets_v4.rb +1 -1
  56. data/generated/google/apis/speech_v1beta1.rb +1 -1
  57. data/generated/google/apis/speech_v1beta1/classes.rb +9 -0
  58. data/generated/google/apis/speech_v1beta1/representations.rb +1 -0
  59. data/generated/google/apis/speech_v1beta1/service.rb +2 -2
  60. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  61. data/generated/google/apis/storage_v1.rb +1 -1
  62. data/generated/google/apis/storage_v1/classes.rb +0 -34
  63. data/generated/google/apis/storage_v1/representations.rb +0 -16
  64. data/generated/google/apis/storage_v1/service.rb +3 -18
  65. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  66. data/lib/google/apis/core/api_command.rb +4 -0
  67. data/lib/google/apis/core/download.rb +7 -2
  68. data/lib/google/apis/core/http_command.rb +5 -1
  69. data/lib/google/apis/version.rb +1 -1
  70. metadata +2 -2
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2
28
28
  VERSION = 'V2'
29
- REVISION = '20160824'
29
+ REVISION = '20160905'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -2730,6 +2730,11 @@ module Google
2730
2730
  attr_accessor :acknowledged
2731
2731
  alias_method :acknowledged?, :acknowledged
2732
2732
 
2733
+ # The channel type of the order: "purchaseOnGoogle" or "googleExpress".
2734
+ # Corresponds to the JSON property `channelType`
2735
+ # @return [String]
2736
+ attr_accessor :channel_type
2737
+
2733
2738
  # The details of the customer who placed the order.
2734
2739
  # Corresponds to the JSON property `customer`
2735
2740
  # @return [Google::Apis::ContentV2::OrderCustomer]
@@ -2831,6 +2836,7 @@ module Google
2831
2836
  # Update properties of this object
2832
2837
  def update!(**args)
2833
2838
  @acknowledged = args[:acknowledged] if args.key?(:acknowledged)
2839
+ @channel_type = args[:channel_type] if args.key?(:channel_type)
2834
2840
  @customer = args[:customer] if args.key?(:customer)
2835
2841
  @delivery_details = args[:delivery_details] if args.key?(:delivery_details)
2836
2842
  @id = args[:id] if args.key?(:id)
@@ -1808,6 +1808,7 @@ module Google
1808
1808
  # @private
1809
1809
  class Representation < Google::Apis::Core::JsonRepresentation
1810
1810
  property :acknowledged, as: 'acknowledged'
1811
+ property :channel_type, as: 'channelType'
1811
1812
  property :customer, as: 'customer', class: Google::Apis::ContentV2::OrderCustomer, decorator: Google::Apis::ContentV2::OrderCustomer::Representation
1812
1813
 
1813
1814
  property :delivery_details, as: 'deliveryDetails', class: Google::Apis::ContentV2::OrderDeliveryDetails, decorator: Google::Apis::ContentV2::OrderDeliveryDetails::Representation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/deployment-manager/
26
26
  module DeploymentmanagerV2
27
27
  VERSION = 'V2'
28
- REVISION = '20160819'
28
+ REVISION = '20160913'
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'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/doubleclick-search/
27
27
  module DoubleclicksearchV2
28
28
  VERSION = 'V2'
29
- REVISION = '20160829'
29
+ REVISION = '20160907'
30
30
 
31
31
  # View and manage your advertising data in DoubleClick Search
32
32
  AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/drive/
27
27
  module DriveV2
28
28
  VERSION = 'V2'
29
- REVISION = '20160819'
29
+ REVISION = '20160913'
30
30
 
31
31
  # View and manage the files in your Google Drive
32
32
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/drive/
27
27
  module DriveV3
28
28
  VERSION = 'V3'
29
- REVISION = '20160819'
29
+ REVISION = '20160913'
30
30
 
31
31
  # View and manage the files in your Google Drive
32
32
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
@@ -47,7 +47,8 @@ module Google
47
47
  # @return [Hash<String,Array<String>>]
48
48
  attr_accessor :import_formats
49
49
 
50
- # This is always drive#about.
50
+ # Identifies what kind of resource this is. Value: the fixed string "drive#about"
51
+ # .
51
52
  # Corresponds to the JSON property `kind`
52
53
  # @return [String]
53
54
  attr_accessor :kind
@@ -142,7 +143,8 @@ module Google
142
143
  # @return [String]
143
144
  attr_accessor :file_id
144
145
 
145
- # This is always drive#change.
146
+ # Identifies what kind of resource this is. Value: the fixed string "drive#
147
+ # change".
146
148
  # Corresponds to the JSON property `kind`
147
149
  # @return [String]
148
150
  attr_accessor :kind
@@ -182,7 +184,8 @@ module Google
182
184
  # @return [Array<Google::Apis::DriveV3::Change>]
183
185
  attr_accessor :changes
184
186
 
185
- # This is always drive#changeList.
187
+ # Identifies what kind of resource this is. Value: the fixed string "drive#
188
+ # changeList".
186
189
  # Corresponds to the JSON property `kind`
187
190
  # @return [String]
188
191
  attr_accessor :kind
@@ -332,7 +335,8 @@ module Google
332
335
  # @return [String]
333
336
  attr_accessor :id
334
337
 
335
- # This is always drive#comment.
338
+ # Identifies what kind of resource this is. Value: the fixed string "drive#
339
+ # comment".
336
340
  # Corresponds to the JSON property `kind`
337
341
  # @return [String]
338
342
  attr_accessor :kind
@@ -419,7 +423,8 @@ module Google
419
423
  # @return [Array<Google::Apis::DriveV3::Comment>]
420
424
  attr_accessor :comments
421
425
 
422
- # This is always drive#commentList.
426
+ # Identifies what kind of resource this is. Value: the fixed string "drive#
427
+ # commentList".
423
428
  # Corresponds to the JSON property `kind`
424
429
  # @return [String]
425
430
  attr_accessor :kind
@@ -531,7 +536,7 @@ module Google
531
536
  attr_accessor :is_app_authorized
532
537
  alias_method :is_app_authorized?, :is_app_authorized
533
538
 
534
- # This is always drive#file.
539
+ # Identifies what kind of resource this is. Value: the fixed string "drive#file".
535
540
  # Corresponds to the JSON property `kind`
536
541
  # @return [String]
537
542
  attr_accessor :kind
@@ -1083,7 +1088,8 @@ module Google
1083
1088
  # @return [Array<Google::Apis::DriveV3::File>]
1084
1089
  attr_accessor :files
1085
1090
 
1086
- # This is always drive#fileList.
1091
+ # Identifies what kind of resource this is. Value: the fixed string "drive#
1092
+ # fileList".
1087
1093
  # Corresponds to the JSON property `kind`
1088
1094
  # @return [String]
1089
1095
  attr_accessor :kind
@@ -1115,7 +1121,8 @@ module Google
1115
1121
  # @return [Array<String>]
1116
1122
  attr_accessor :ids
1117
1123
 
1118
- # This is always drive#generatedIds
1124
+ # Identifies what kind of resource this is. Value: the fixed string "drive#
1125
+ # generatedIds".
1119
1126
  # Corresponds to the JSON property `kind`
1120
1127
  # @return [String]
1121
1128
  attr_accessor :kind
@@ -1175,7 +1182,8 @@ module Google
1175
1182
  # @return [String]
1176
1183
  attr_accessor :id
1177
1184
 
1178
- # This is always drive#permission.
1185
+ # Identifies what kind of resource this is. Value: the fixed string "drive#
1186
+ # permission".
1179
1187
  # Corresponds to the JSON property `kind`
1180
1188
  # @return [String]
1181
1189
  attr_accessor :kind
@@ -1226,7 +1234,8 @@ module Google
1226
1234
  class PermissionList
1227
1235
  include Google::Apis::Core::Hashable
1228
1236
 
1229
- # This is always drive#permissionList.
1237
+ # Identifies what kind of resource this is. Value: the fixed string "drive#
1238
+ # permissionList".
1230
1239
  # Corresponds to the JSON property `kind`
1231
1240
  # @return [String]
1232
1241
  attr_accessor :kind
@@ -1291,7 +1300,8 @@ module Google
1291
1300
  # @return [String]
1292
1301
  attr_accessor :id
1293
1302
 
1294
- # This is always drive#reply.
1303
+ # Identifies what kind of resource this is. Value: the fixed string "drive#reply"
1304
+ # .
1295
1305
  # Corresponds to the JSON property `kind`
1296
1306
  # @return [String]
1297
1307
  attr_accessor :kind
@@ -1323,7 +1333,8 @@ module Google
1323
1333
  class ReplyList
1324
1334
  include Google::Apis::Core::Hashable
1325
1335
 
1326
- # This is always drive#replyList.
1336
+ # Identifies what kind of resource this is. Value: the fixed string "drive#
1337
+ # replyList".
1327
1338
  # Corresponds to the JSON property `kind`
1328
1339
  # @return [String]
1329
1340
  attr_accessor :kind
@@ -1370,7 +1381,8 @@ module Google
1370
1381
  attr_accessor :keep_forever
1371
1382
  alias_method :keep_forever?, :keep_forever
1372
1383
 
1373
- # This is always drive#revision.
1384
+ # Identifies what kind of resource this is. Value: the fixed string "drive#
1385
+ # revision".
1374
1386
  # Corresponds to the JSON property `kind`
1375
1387
  # @return [String]
1376
1388
  attr_accessor :kind
@@ -1453,7 +1465,8 @@ module Google
1453
1465
  class RevisionList
1454
1466
  include Google::Apis::Core::Hashable
1455
1467
 
1456
- # This is always drive#revisionList.
1468
+ # Identifies what kind of resource this is. Value: the fixed string "drive#
1469
+ # revisionList".
1457
1470
  # Corresponds to the JSON property `kind`
1458
1471
  # @return [String]
1459
1472
  attr_accessor :kind
@@ -1478,7 +1491,8 @@ module Google
1478
1491
  class StartPageToken
1479
1492
  include Google::Apis::Core::Hashable
1480
1493
 
1481
- # This is always drive#startPageToken.
1494
+ # Identifies what kind of resource this is. Value: the fixed string "drive#
1495
+ # startPageToken".
1482
1496
  # Corresponds to the JSON property `kind`
1483
1497
  # @return [String]
1484
1498
  attr_accessor :kind
@@ -1514,7 +1528,7 @@ module Google
1514
1528
  # @return [String]
1515
1529
  attr_accessor :email_address
1516
1530
 
1517
- # This is always drive#user.
1531
+ # Identifies what kind of resource this is. Value: the fixed string "drive#user".
1518
1532
  # Corresponds to the JSON property `kind`
1519
1533
  # @return [String]
1520
1534
  attr_accessor :kind
@@ -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 = '20160801'
28
+ REVISION = '20160907'
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'
@@ -103,7 +103,7 @@ module Google
103
103
  end
104
104
  end
105
105
 
106
- #
106
+ # Next id: 10
107
107
  class AggregateRequest
108
108
  include Google::Apis::Core::Hashable
109
109
 
@@ -746,6 +746,12 @@ module Google
746
746
  # @return [Array<Google::Apis::FitnessV1::Session>]
747
747
  attr_accessor :deleted_session
748
748
 
749
+ # Flag to indicate server has more data to transfer
750
+ # Corresponds to the JSON property `hasMoreData`
751
+ # @return [Boolean]
752
+ attr_accessor :has_more_data
753
+ alias_method :has_more_data?, :has_more_data
754
+
749
755
  # The continuation token, which is used to page through large result sets.
750
756
  # Provide this value in a subsequent request to return the next page of results.
751
757
  # Corresponds to the JSON property `nextPageToken`
@@ -764,6 +770,7 @@ module Google
764
770
  # Update properties of this object
765
771
  def update!(**args)
766
772
  @deleted_session = args[:deleted_session] if args.key?(:deleted_session)
773
+ @has_more_data = args[:has_more_data] if args.key?(:has_more_data)
767
774
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
768
775
  @session = args[:session] if args.key?(:session)
769
776
  end
@@ -326,6 +326,7 @@ module Google
326
326
  class Representation < Google::Apis::Core::JsonRepresentation
327
327
  collection :deleted_session, as: 'deletedSession', class: Google::Apis::FitnessV1::Session, decorator: Google::Apis::FitnessV1::Session::Representation
328
328
 
329
+ property :has_more_data, as: 'hasMoreData'
329
330
  property :next_page_token, as: 'nextPageToken'
330
331
  collection :session, as: 'session', class: Google::Apis::FitnessV1::Session, decorator: Google::Apis::FitnessV1::Session::Representation
331
332
 
@@ -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 = '20160824'
28
+ REVISION = '20160908'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/games/services
26
26
  module GamesManagementV1management
27
27
  VERSION = 'V1management'
28
- REVISION = '20160824'
28
+ REVISION = '20160908'
29
29
 
30
30
  # Share your Google+ profile information and view and manage your game activity
31
31
  AUTH_GAMES = 'https://www.googleapis.com/auth/games'
@@ -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 = '20160824'
28
+ REVISION = '20160908'
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'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/genomics/
26
26
  module GenomicsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20160830'
28
+ REVISION = '20160914'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -827,7 +827,7 @@ module Google
827
827
  # @return [String]
828
828
  attr_accessor :id
829
829
 
830
- # The Google Developers Console project ID that this dataset belongs to.
830
+ # The Google Cloud project ID that this dataset belongs to.
831
831
  # Corresponds to the JSON property `projectId`
832
832
  # @return [String]
833
833
  attr_accessor :project_id
@@ -1203,8 +1203,8 @@ module Google
1203
1203
  class ExportReadGroupSetRequest
1204
1204
  include Google::Apis::Core::Hashable
1205
1205
 
1206
- # Required. The Google Developers Console project ID that owns this export. The
1207
- # caller must have WRITE access to this project.
1206
+ # Required. The Google Cloud project ID that owns this export. The caller must
1207
+ # have WRITE access to this project.
1208
1208
  # Corresponds to the JSON property `projectId`
1209
1209
  # @return [String]
1210
1210
  attr_accessor :project_id
@@ -2029,8 +2029,8 @@ module Google
2029
2029
  class StreamReadsRequest
2030
2030
  include Google::Apis::Core::Hashable
2031
2031
 
2032
- # The Google Developers Console project ID or number which will be billed for
2033
- # this access. The caller must have WRITE access to this project. Required.
2032
+ # The Google Cloud project ID which will be billed for this access. The caller
2033
+ # must have WRITE access to this project. Required.
2034
2034
  # Corresponds to the JSON property `projectId`
2035
2035
  # @return [String]
2036
2036
  attr_accessor :project_id
@@ -3202,8 +3202,8 @@ module Google
3202
3202
  class StreamVariantsRequest
3203
3203
  include Google::Apis::Core::Hashable
3204
3204
 
3205
- # The Google Developers Console project ID or number which will be billed for
3206
- # this access. The caller must have WRITE access to this project. Required.
3205
+ # The Google Cloud project ID which will be billed for this access. The caller
3206
+ # must have WRITE access to this project. Required.
3207
3207
  # Corresponds to the JSON property `projectId`
3208
3208
  # @return [String]
3209
3209
  attr_accessor :project_id
@@ -430,7 +430,7 @@ module Google
430
430
  # genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.
431
431
  # com/genomics/fundamentals-of-google-genomics)
432
432
  # @param [String] project_id
433
- # Required. The project to list datasets for.
433
+ # Required. The Google Cloud project ID to list datasets for.
434
434
  # @param [Fixnum] page_size
435
435
  # The maximum number of results to return in a single page. If unspecified,
436
436
  # defaults to 50. The maximum value is 1024.
@@ -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 = '20160812'
28
+ REVISION = '20160902'
29
29
  end
30
30
  end
31
31
  end
@@ -306,6 +306,11 @@ module Google
306
306
  # @return [String]
307
307
  attr_accessor :continue_uri
308
308
 
309
+ # The query parameter that client can customize by themselves in auth url.
310
+ # Corresponds to the JSON property `customParameter`
311
+ # @return [Array<Google::Apis::IdentitytoolkitV3::CreateAuthUriRequest::CustomParameter>]
312
+ attr_accessor :custom_parameter
313
+
309
314
  # The hosted domain to restrict sign-in to accounts at that domain for Google
310
315
  # Apps hosted accounts.
311
316
  # Corresponds to the JSON property `hostedDomain`
@@ -361,6 +366,7 @@ module Google
361
366
  @client_id = args[:client_id] if args.key?(:client_id)
362
367
  @context = args[:context] if args.key?(:context)
363
368
  @continue_uri = args[:continue_uri] if args.key?(:continue_uri)
369
+ @custom_parameter = args[:custom_parameter] if args.key?(:custom_parameter)
364
370
  @hosted_domain = args[:hosted_domain] if args.key?(:hosted_domain)
365
371
  @identifier = args[:identifier] if args.key?(:identifier)
366
372
  @oauth_consumer_key = args[:oauth_consumer_key] if args.key?(:oauth_consumer_key)
@@ -370,6 +376,31 @@ module Google
370
376
  @provider_id = args[:provider_id] if args.key?(:provider_id)
371
377
  @session_id = args[:session_id] if args.key?(:session_id)
372
378
  end
379
+
380
+ #
381
+ class CustomParameter
382
+ include Google::Apis::Core::Hashable
383
+
384
+ # The key of the query parameter.
385
+ # Corresponds to the JSON property `key`
386
+ # @return [String]
387
+ attr_accessor :key
388
+
389
+ # The value of the query parameter.
390
+ # Corresponds to the JSON property `value`
391
+ # @return [String]
392
+ attr_accessor :value
393
+
394
+ def initialize(**args)
395
+ update!(**args)
396
+ end
397
+
398
+ # Update properties of this object
399
+ def update!(**args)
400
+ @key = args[:key] if args.key?(:key)
401
+ @value = args[:value] if args.key?(:value)
402
+ end
403
+ end
373
404
  end
374
405
 
375
406
  # Request to delete account.
@@ -968,6 +999,13 @@ module Google
968
999
  # @return [String]
969
1000
  attr_accessor :salt_separator
970
1001
 
1002
+ # If true, backend will do sanity check(including duplicate email and federated
1003
+ # id) when uploading account.
1004
+ # Corresponds to the JSON property `sanityCheck`
1005
+ # @return [Boolean]
1006
+ attr_accessor :sanity_check
1007
+ alias_method :sanity_check?, :sanity_check
1008
+
971
1009
  # The key for to hash the password.
972
1010
  # Corresponds to the JSON property `signerKey`
973
1011
  # @return [String]
@@ -989,6 +1027,7 @@ module Google
989
1027
  @memory_cost = args[:memory_cost] if args.key?(:memory_cost)
990
1028
  @rounds = args[:rounds] if args.key?(:rounds)
991
1029
  @salt_separator = args[:salt_separator] if args.key?(:salt_separator)
1030
+ @sanity_check = args[:sanity_check] if args.key?(:sanity_check)
992
1031
  @signer_key = args[:signer_key] if args.key?(:signer_key)
993
1032
  @users = args[:users] if args.key?(:users)
994
1033
  end
@@ -1297,7 +1336,8 @@ module Google
1297
1336
  class ResetPasswordResponse
1298
1337
  include Google::Apis::Core::Hashable
1299
1338
 
1300
- # The user's email.
1339
+ # The user's email. If the out-of-band code is for email recovery, the user's
1340
+ # original email.
1301
1341
  # Corresponds to the JSON property `email`
1302
1342
  # @return [String]
1303
1343
  attr_accessor :email
@@ -1307,6 +1347,16 @@ module Google
1307
1347
  # @return [String]
1308
1348
  attr_accessor :kind
1309
1349
 
1350
+ # If the out-of-band code is for email recovery, the user's new email.
1351
+ # Corresponds to the JSON property `newEmail`
1352
+ # @return [String]
1353
+ attr_accessor :new_email
1354
+
1355
+ # The request type.
1356
+ # Corresponds to the JSON property `requestType`
1357
+ # @return [String]
1358
+ attr_accessor :request_type
1359
+
1310
1360
  def initialize(**args)
1311
1361
  update!(**args)
1312
1362
  end
@@ -1315,6 +1365,8 @@ module Google
1315
1365
  def update!(**args)
1316
1366
  @email = args[:email] if args.key?(:email)
1317
1367
  @kind = args[:kind] if args.key?(:kind)
1368
+ @new_email = args[:new_email] if args.key?(:new_email)
1369
+ @request_type = args[:request_type] if args.key?(:request_type)
1318
1370
  end
1319
1371
  end
1320
1372
 
@@ -1552,6 +1604,12 @@ module Google
1552
1604
  # @return [String]
1553
1605
  attr_accessor :created_at
1554
1606
 
1607
+ # Whether the user is authenticated by the developer.
1608
+ # Corresponds to the JSON property `customAuth`
1609
+ # @return [Boolean]
1610
+ attr_accessor :custom_auth
1611
+ alias_method :custom_auth?, :custom_auth
1612
+
1555
1613
  # Whether the user is disabled.
1556
1614
  # Corresponds to the JSON property `disabled`
1557
1615
  # @return [Boolean]
@@ -1609,7 +1667,7 @@ module Google
1609
1667
  # @return [String]
1610
1668
  attr_accessor :salt
1611
1669
 
1612
- # User's screen name at Twitter.
1670
+ # User's screen name at Twitter or login name at Github.
1613
1671
  # Corresponds to the JSON property `screenName`
1614
1672
  # @return [String]
1615
1673
  attr_accessor :screen_name
@@ -1631,6 +1689,7 @@ module Google
1631
1689
  # Update properties of this object
1632
1690
  def update!(**args)
1633
1691
  @created_at = args[:created_at] if args.key?(:created_at)
1692
+ @custom_auth = args[:custom_auth] if args.key?(:custom_auth)
1634
1693
  @disabled = args[:disabled] if args.key?(:disabled)
1635
1694
  @display_name = args[:display_name] if args.key?(:display_name)
1636
1695
  @email = args[:email] if args.key?(:email)
@@ -1687,7 +1746,7 @@ module Google
1687
1746
  # @return [String]
1688
1747
  attr_accessor :raw_user_info
1689
1748
 
1690
- # User's screen name at Twitter.
1749
+ # User's screen name at Twitter or login name at Github.
1691
1750
  # Corresponds to the JSON property `screenName`
1692
1751
  # @return [String]
1693
1752
  attr_accessor :screen_name
@@ -1906,7 +1965,7 @@ module Google
1906
1965
  # @return [String]
1907
1966
  attr_accessor :refresh_token
1908
1967
 
1909
- # The screen_name of a Twitter user.
1968
+ # The screen_name of a Twitter user or the login name at Github.
1910
1969
  # Corresponds to the JSON property `screenName`
1911
1970
  # @return [String]
1912
1971
  attr_accessor :screen_name