google-api-client 0.9.8 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +15 -8
- data/CHANGELOG.md +84 -0
- data/Gemfile +10 -2
- data/README.md +10 -2
- data/api_names.yaml +37172 -135
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1200 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +526 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +844 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +310 -28
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +84 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
- data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +206 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +63 -0
- data/generated/google/apis/admin_directory_v1/service.rb +41 -2
- data/generated/google/apis/admin_reports_v1.rb +5 -5
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +379 -3
- data/generated/google/apis/analytics_v3/representations.rb +136 -0
- data/generated/google/apis/analytics_v3/service.rb +256 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +858 -823
- data/generated/google/apis/analyticsreporting_v4/representations.rb +194 -193
- data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +913 -220
- data/generated/google/apis/androidenterprise_v1/representations.rb +337 -30
- data/generated/google/apis/androidenterprise_v1/service.rb +1163 -561
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +230 -8
- data/generated/google/apis/androidpublisher_v2/representations.rb +90 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +116 -3
- data/generated/google/apis/appengine_v1beta5.rb +7 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +810 -395
- data/generated/google/apis/appengine_v1beta5/representations.rb +188 -22
- data/generated/google/apis/appengine_v1beta5/service.rb +343 -39
- data/generated/google/apis/appsactivity_v1.rb +3 -3
- data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
- data/generated/google/apis/appsactivity_v1/service.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +360 -38
- data/generated/google/apis/bigquery_v2/representations.rb +106 -0
- data/generated/google/apis/bigquery_v2/service.rb +18 -4
- data/generated/google/apis/books_v1.rb +2 -2
- data/generated/google/apis/books_v1/classes.rb +83 -0
- data/generated/google/apis/books_v1/representations.rb +35 -0
- data/generated/google/apis/books_v1/service.rb +7 -3
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +208 -5
- data/generated/google/apis/calendar_v3/representations.rb +97 -0
- data/generated/google/apis/civicinfo_v2.rb +3 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
- data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
- data/generated/google/apis/civicinfo_v2/service.rb +27 -6
- data/generated/google/apis/classroom_v1.rb +22 -25
- data/generated/google/apis/classroom_v1/classes.rb +998 -761
- data/generated/google/apis/classroom_v1/representations.rb +263 -198
- data/generated/google/apis/classroom_v1/service.rb +1349 -672
- data/generated/google/apis/cloudbilling_v1.rb +3 -3
- data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
- data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
- data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +661 -264
- data/generated/google/apis/cloudbuild_v1/representations.rb +198 -48
- data/generated/google/apis/cloudbuild_v1/service.rb +259 -44
- data/generated/google/apis/clouddebugger_v2.rb +5 -8
- data/generated/google/apis/clouddebugger_v2/classes.rb +686 -616
- data/generated/google/apis/clouddebugger_v2/representations.rb +151 -151
- data/generated/google/apis/clouddebugger_v2/service.rb +165 -159
- data/generated/google/apis/cloudkms_v1.rb +35 -0
- data/generated/google/apis/cloudkms_v1/classes.rb +1022 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
- data/generated/google/apis/cloudkms_v1/service.rb +933 -0
- data/generated/google/apis/cloudkms_v1beta1.rb +35 -0
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +1039 -0
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
- data/generated/google/apis/cloudkms_v1beta1/service.rb +933 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1529 -167
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +491 -26
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +1593 -135
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1155 -235
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +344 -44
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +702 -310
- data/generated/google/apis/cloudtrace_v1.rb +9 -9
- data/generated/google/apis/cloudtrace_v1/classes.rb +98 -92
- data/generated/google/apis/cloudtrace_v1/representations.rb +24 -24
- data/generated/google/apis/cloudtrace_v1/service.rb +42 -37
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +7007 -3648
- data/generated/google/apis/compute_beta/representations.rb +1459 -120
- data/generated/google/apis/compute_beta/service.rb +7943 -3726
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +2567 -370
- data/generated/google/apis/compute_v1/representations.rb +855 -0
- data/generated/google/apis/compute_v1/service.rb +6388 -2908
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +287 -16
- data/generated/google/apis/container_v1/representations.rb +113 -2
- data/generated/google/apis/container_v1/service.rb +130 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +778 -10
- data/generated/google/apis/content_v2/representations.rb +339 -0
- data/generated/google/apis/content_v2/service.rb +364 -49
- data/generated/google/apis/dataflow_v1b3.rb +37 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +4941 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +2037 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +957 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1235 -963
- data/generated/google/apis/dataproc_v1/representations.rb +299 -225
- data/generated/google/apis/dataproc_v1/service.rb +277 -192
- data/generated/google/apis/datastore_v1.rb +38 -0
- data/generated/google/apis/datastore_v1/classes.rb +1289 -0
- data/generated/google/apis/datastore_v1/representations.rb +572 -0
- data/generated/google/apis/datastore_v1/service.rb +259 -0
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +436 -3
- data/generated/google/apis/deploymentmanager_v2/representations.rb +178 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +226 -61
- data/generated/google/apis/dfareporting_v2_5.rb +40 -0
- data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
- data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
- data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
- data/generated/google/apis/dfareporting_v2_6.rb +40 -0
- data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
- data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
- data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
- data/generated/google/apis/dfareporting_v2_7.rb +40 -0
- data/generated/google/apis/dfareporting_v2_7/classes.rb +11876 -0
- data/generated/google/apis/dfareporting_v2_7/representations.rb +4243 -0
- data/generated/google/apis/dfareporting_v2_7/service.rb +9095 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +43 -0
- data/generated/google/apis/dns_v2beta1/classes.rb +915 -0
- data/generated/google/apis/dns_v2beta1/representations.rb +368 -0
- data/generated/google/apis/dns_v2beta1/service.rb +768 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +595 -37
- data/generated/google/apis/drive_v2/representations.rb +140 -0
- data/generated/google/apis/drive_v2/service.rb +406 -40
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +507 -40
- data/generated/google/apis/drive_v3/representations.rb +105 -0
- data/generated/google/apis/drive_v3/service.rb +326 -29
- data/generated/google/apis/fitness_v1.rb +38 -2
- data/generated/google/apis/fitness_v1/classes.rb +65 -7
- data/generated/google/apis/fitness_v1/representations.rb +20 -0
- data/generated/google/apis/fitness_v1/service.rb +17 -18
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +10 -12
- data/generated/google/apis/genomics_v1/classes.rb +2276 -2165
- data/generated/google/apis/genomics_v1/representations.rb +468 -496
- data/generated/google/apis/genomics_v1/service.rb +978 -882
- data/generated/google/apis/gmail_v1.rb +11 -2
- data/generated/google/apis/gmail_v1/classes.rb +655 -5
- data/generated/google/apis/gmail_v1/representations.rb +261 -0
- data/generated/google/apis/gmail_v1/service.rb +1211 -48
- data/generated/google/apis/groupssettings_v1.rb +2 -2
- data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
- data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
- data/generated/google/apis/iam_v1.rb +2 -2
- data/generated/google/apis/iam_v1/classes.rb +446 -368
- data/generated/google/apis/iam_v1/representations.rb +109 -91
- data/generated/google/apis/iam_v1/service.rb +249 -162
- data/generated/google/apis/identitytoolkit_v3.rb +7 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +254 -2
- data/generated/google/apis/identitytoolkit_v3/representations.rb +38 -0
- data/generated/google/apis/kgsearch_v1.rb +2 -3
- data/generated/google/apis/kgsearch_v1/classes.rb +13 -13
- data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
- data/generated/google/apis/kgsearch_v1/service.rb +26 -24
- data/generated/google/apis/language_v1beta1.rb +36 -0
- data/generated/google/apis/language_v1beta1/classes.rb +757 -0
- data/generated/google/apis/language_v1beta1/representations.rb +339 -0
- data/generated/google/apis/language_v1beta1/service.rb +185 -0
- data/generated/google/apis/licensing_v1.rb +3 -3
- data/generated/google/apis/licensing_v1/classes.rb +14 -2
- data/generated/google/apis/licensing_v1/representations.rb +2 -0
- data/generated/google/apis/licensing_v1/service.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +6 -6
- data/generated/google/apis/logging_v2beta1/classes.rb +900 -775
- data/generated/google/apis/logging_v2beta1/representations.rb +163 -142
- data/generated/google/apis/logging_v2beta1/service.rb +427 -155
- data/generated/google/apis/manufacturers_v1.rb +34 -0
- data/generated/google/apis/manufacturers_v1/classes.rb +605 -0
- data/generated/google/apis/manufacturers_v1/representations.rb +223 -0
- data/generated/google/apis/manufacturers_v1/service.rb +138 -0
- data/generated/google/apis/mirror_v1.rb +2 -2
- data/generated/google/apis/mirror_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +45 -0
- data/generated/google/apis/monitoring_v3/classes.rb +1333 -0
- data/generated/google/apis/monitoring_v3/representations.rb +516 -0
- data/generated/google/apis/monitoring_v3/service.rb +706 -0
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/partners_v2.rb +3 -3
- data/generated/google/apis/partners_v2/classes.rb +1831 -477
- data/generated/google/apis/partners_v2/representations.rb +571 -114
- data/generated/google/apis/partners_v2/service.rb +898 -167
- data/generated/google/apis/people_v1.rb +15 -16
- data/generated/google/apis/people_v1/classes.rb +1047 -859
- data/generated/google/apis/people_v1/representations.rb +252 -213
- data/generated/google/apis/people_v1/service.rb +75 -62
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +527 -456
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +101 -100
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +467 -343
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +363 -310
- data/generated/google/apis/pubsub_v1/representations.rb +76 -76
- data/generated/google/apis/pubsub_v1/service.rb +464 -335
- data/generated/google/apis/qpx_express_v1.rb +1 -1
- data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
- data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
- data/generated/google/apis/replicapool_v1beta2.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +222 -61
- data/generated/google/apis/reseller_v1/representations.rb +28 -0
- data/generated/google/apis/reseller_v1/service.rb +240 -47
- data/generated/google/apis/script_v1.rb +19 -19
- data/generated/google/apis/script_v1/classes.rb +151 -137
- data/generated/google/apis/script_v1/representations.rb +26 -26
- data/generated/google/apis/script_v1/service.rb +9 -8
- data/generated/google/apis/sheets_v4.rb +7 -7
- data/generated/google/apis/sheets_v4/classes.rb +4530 -3506
- data/generated/google/apis/sheets_v4/representations.rb +988 -737
- data/generated/google/apis/sheets_v4/service.rb +266 -99
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +49 -0
- data/generated/google/apis/slides_v1/classes.rb +4480 -0
- data/generated/google/apis/slides_v1/representations.rb +1926 -0
- data/generated/google/apis/slides_v1/service.rb +245 -0
- data/generated/google/apis/speech_v1beta1.rb +34 -0
- data/generated/google/apis/speech_v1beta1/classes.rb +498 -0
- data/generated/google/apis/speech_v1beta1/representations.rb +206 -0
- data/generated/google/apis/speech_v1beta1/service.rb +270 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +131 -10
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +50 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +92 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +205 -21
- data/generated/google/apis/storage_v1/representations.rb +51 -1
- data/generated/google/apis/storage_v1/service.rb +263 -9
- data/generated/google/apis/tagmanager_v1.rb +5 -5
- data/generated/google/apis/translate_v2.rb +2 -2
- data/generated/google/apis/translate_v2/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1275 -731
- data/generated/google/apis/vision_v1/representations.rb +378 -111
- data/generated/google/apis/vision_v1/service.rb +4 -4
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
- data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
- data/generated/google/apis/youtube_analytics_v1/service.rb +5 -77
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +155 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +69 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +107 -3
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +430 -22
- data/generated/google/apis/youtube_v3/representations.rb +171 -4
- data/generated/google/apis/youtube_v3/service.rb +100 -9
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +140 -131
- data/generated/google/apis/youtubereporting_v1/representations.rb +37 -37
- data/generated/google/apis/youtubereporting_v1/service.rb +139 -135
- data/google-api-client.gemspec +4 -3
- data/lib/google/apis/core/api_command.rb +16 -6
- data/lib/google/apis/core/base_service.rb +17 -9
- data/lib/google/apis/core/download.rb +7 -2
- data/lib/google/apis/core/http_command.rb +5 -1
- data/lib/google/apis/core/json_representation.rb +2 -2
- data/lib/google/apis/core/upload.rb +7 -1
- data/lib/google/apis/errors.rb +6 -2
- data/lib/google/apis/generator/annotator.rb +6 -0
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/bigquery.rb +101 -0
- data/samples/cli/lib/samples/calendar.rb +1 -1
- data/samples/cli/lib/samples/gmail.rb +74 -0
- data/samples/cli/lib/samples/sheets.rb +61 -0
- data/samples/cli/lib/samples/you_tube.rb +4 -1
- data/sync.rb +71 -0
- metadata +86 -18
@@ -25,7 +25,13 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/identity-toolkit/v3/
|
26
26
|
module IdentitytoolkitV3
|
27
27
|
VERSION = 'V3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170308'
|
29
|
+
|
30
|
+
# View and manage your data across Google Cloud Platform services
|
31
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
32
|
+
|
33
|
+
# View and administer all your Firebase data and settings
|
34
|
+
AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'
|
29
35
|
end
|
30
36
|
end
|
31
37
|
end
|
@@ -105,7 +105,7 @@ module Google
|
|
105
105
|
end
|
106
106
|
end
|
107
107
|
|
108
|
-
#
|
108
|
+
# Response of downloading accounts in batch.
|
109
109
|
class DownloadAccountResponse
|
110
110
|
include Google::Apis::Core::Hashable
|
111
111
|
|
@@ -284,6 +284,12 @@ module Google
|
|
284
284
|
# @return [String]
|
285
285
|
attr_accessor :app_id
|
286
286
|
|
287
|
+
# Explicitly specify the auth flow type. Currently only support "CODE_FLOW" type.
|
288
|
+
# The field is only used for Google provider.
|
289
|
+
# Corresponds to the JSON property `authFlowType`
|
290
|
+
# @return [String]
|
291
|
+
attr_accessor :auth_flow_type
|
292
|
+
|
287
293
|
# The relying party OAuth client ID.
|
288
294
|
# Corresponds to the JSON property `clientId`
|
289
295
|
# @return [String]
|
@@ -300,6 +306,19 @@ module Google
|
|
300
306
|
# @return [String]
|
301
307
|
attr_accessor :continue_uri
|
302
308
|
|
309
|
+
# The query parameter that client can customize by themselves in auth url. The
|
310
|
+
# following parameters are reserved for server so that they cannot be customized
|
311
|
+
# by clients: client_id, response_type, scope, redirect_uri, state, oauth_token.
|
312
|
+
# Corresponds to the JSON property `customParameter`
|
313
|
+
# @return [Hash<String,String>]
|
314
|
+
attr_accessor :custom_parameter
|
315
|
+
|
316
|
+
# The hosted domain to restrict sign-in to accounts at that domain for Google
|
317
|
+
# Apps hosted accounts.
|
318
|
+
# Corresponds to the JSON property `hostedDomain`
|
319
|
+
# @return [String]
|
320
|
+
attr_accessor :hosted_domain
|
321
|
+
|
303
322
|
# The email or federated ID of the user.
|
304
323
|
# Corresponds to the JSON property `identifier`
|
305
324
|
# @return [String]
|
@@ -333,6 +352,11 @@ module Google
|
|
333
352
|
# @return [String]
|
334
353
|
attr_accessor :provider_id
|
335
354
|
|
355
|
+
# The session_id passed by client.
|
356
|
+
# Corresponds to the JSON property `sessionId`
|
357
|
+
# @return [String]
|
358
|
+
attr_accessor :session_id
|
359
|
+
|
336
360
|
def initialize(**args)
|
337
361
|
update!(**args)
|
338
362
|
end
|
@@ -340,15 +364,19 @@ module Google
|
|
340
364
|
# Update properties of this object
|
341
365
|
def update!(**args)
|
342
366
|
@app_id = args[:app_id] if args.key?(:app_id)
|
367
|
+
@auth_flow_type = args[:auth_flow_type] if args.key?(:auth_flow_type)
|
343
368
|
@client_id = args[:client_id] if args.key?(:client_id)
|
344
369
|
@context = args[:context] if args.key?(:context)
|
345
370
|
@continue_uri = args[:continue_uri] if args.key?(:continue_uri)
|
371
|
+
@custom_parameter = args[:custom_parameter] if args.key?(:custom_parameter)
|
372
|
+
@hosted_domain = args[:hosted_domain] if args.key?(:hosted_domain)
|
346
373
|
@identifier = args[:identifier] if args.key?(:identifier)
|
347
374
|
@oauth_consumer_key = args[:oauth_consumer_key] if args.key?(:oauth_consumer_key)
|
348
375
|
@oauth_scope = args[:oauth_scope] if args.key?(:oauth_scope)
|
349
376
|
@openid_realm = args[:openid_realm] if args.key?(:openid_realm)
|
350
377
|
@ota_app = args[:ota_app] if args.key?(:ota_app)
|
351
378
|
@provider_id = args[:provider_id] if args.key?(:provider_id)
|
379
|
+
@session_id = args[:session_id] if args.key?(:session_id)
|
352
380
|
end
|
353
381
|
end
|
354
382
|
|
@@ -404,6 +432,12 @@ module Google
|
|
404
432
|
# @return [String]
|
405
433
|
attr_accessor :next_page_token
|
406
434
|
|
435
|
+
# Specify which project (field value is actually project id) to operate. Only
|
436
|
+
# used when provided credential.
|
437
|
+
# Corresponds to the JSON property `targetProjectId`
|
438
|
+
# @return [String]
|
439
|
+
attr_accessor :target_project_id
|
440
|
+
|
407
441
|
def initialize(**args)
|
408
442
|
update!(**args)
|
409
443
|
end
|
@@ -413,6 +447,7 @@ module Google
|
|
413
447
|
@delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number)
|
414
448
|
@max_results = args[:max_results] if args.key?(:max_results)
|
415
449
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
450
|
+
@target_project_id = args[:target_project_id] if args.key?(:target_project_id)
|
416
451
|
end
|
417
452
|
end
|
418
453
|
|
@@ -479,6 +514,11 @@ module Google
|
|
479
514
|
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
|
480
515
|
attr_accessor :change_email_template
|
481
516
|
|
517
|
+
#
|
518
|
+
# Corresponds to the JSON property `dynamicLinksDomain`
|
519
|
+
# @return [String]
|
520
|
+
attr_accessor :dynamic_links_domain
|
521
|
+
|
482
522
|
# Whether anonymous user is enabled.
|
483
523
|
# Corresponds to the JSON property `enableAnonymousUser`
|
484
524
|
# @return [Boolean]
|
@@ -526,6 +566,7 @@ module Google
|
|
526
566
|
@api_key = args[:api_key] if args.key?(:api_key)
|
527
567
|
@authorized_domains = args[:authorized_domains] if args.key?(:authorized_domains)
|
528
568
|
@change_email_template = args[:change_email_template] if args.key?(:change_email_template)
|
569
|
+
@dynamic_links_domain = args[:dynamic_links_domain] if args.key?(:dynamic_links_domain)
|
529
570
|
@enable_anonymous_user = args[:enable_anonymous_user] if args.key?(:enable_anonymous_user)
|
530
571
|
@idp_config = args[:idp_config] if args.key?(:idp_config)
|
531
572
|
@legacy_reset_password_template = args[:legacy_reset_password_template] if args.key?(:legacy_reset_password_template)
|
@@ -587,6 +628,11 @@ module Google
|
|
587
628
|
# @return [String]
|
588
629
|
attr_accessor :captcha_response
|
589
630
|
|
631
|
+
# The timestamp when the account is created.
|
632
|
+
# Corresponds to the JSON property `createdAt`
|
633
|
+
# @return [String]
|
634
|
+
attr_accessor :created_at
|
635
|
+
|
590
636
|
# GCP project number of the requesting delegated app. Currently only intended
|
591
637
|
# for Firebase V1 migration.
|
592
638
|
# Corresponds to the JSON property `delegatedProjectNumber`
|
@@ -635,6 +681,11 @@ module Google
|
|
635
681
|
# @return [String]
|
636
682
|
attr_accessor :instance_id
|
637
683
|
|
684
|
+
# Last login timestamp.
|
685
|
+
# Corresponds to the JSON property `lastLoginAt`
|
686
|
+
# @return [String]
|
687
|
+
attr_accessor :last_login_at
|
688
|
+
|
638
689
|
# The local ID of the user.
|
639
690
|
# Corresponds to the JSON property `localId`
|
640
691
|
# @return [String]
|
@@ -685,6 +736,7 @@ module Google
|
|
685
736
|
def update!(**args)
|
686
737
|
@captcha_challenge = args[:captcha_challenge] if args.key?(:captcha_challenge)
|
687
738
|
@captcha_response = args[:captcha_response] if args.key?(:captcha_response)
|
739
|
+
@created_at = args[:created_at] if args.key?(:created_at)
|
688
740
|
@delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number)
|
689
741
|
@delete_attribute = args[:delete_attribute] if args.key?(:delete_attribute)
|
690
742
|
@delete_provider = args[:delete_provider] if args.key?(:delete_provider)
|
@@ -694,6 +746,7 @@ module Google
|
|
694
746
|
@email_verified = args[:email_verified] if args.key?(:email_verified)
|
695
747
|
@id_token = args[:id_token] if args.key?(:id_token)
|
696
748
|
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
749
|
+
@last_login_at = args[:last_login_at] if args.key?(:last_login_at)
|
697
750
|
@local_id = args[:local_id] if args.key?(:local_id)
|
698
751
|
@oob_code = args[:oob_code] if args.key?(:oob_code)
|
699
752
|
@password = args[:password] if args.key?(:password)
|
@@ -865,6 +918,12 @@ module Google
|
|
865
918
|
# @return [String]
|
866
919
|
attr_accessor :captcha_response
|
867
920
|
|
921
|
+
# Whether to disable the user. Only can be used by service account.
|
922
|
+
# Corresponds to the JSON property `disabled`
|
923
|
+
# @return [Boolean]
|
924
|
+
attr_accessor :disabled
|
925
|
+
alias_method :disabled?, :disabled
|
926
|
+
|
868
927
|
# The name of the user.
|
869
928
|
# Corresponds to the JSON property `displayName`
|
870
929
|
# @return [String]
|
@@ -875,6 +934,12 @@ module Google
|
|
875
934
|
# @return [String]
|
876
935
|
attr_accessor :email
|
877
936
|
|
937
|
+
# Mark the email as verified or not. Only can be used by service account.
|
938
|
+
# Corresponds to the JSON property `emailVerified`
|
939
|
+
# @return [Boolean]
|
940
|
+
attr_accessor :email_verified
|
941
|
+
alias_method :email_verified?, :email_verified
|
942
|
+
|
878
943
|
# The GITKit token of the authenticated user.
|
879
944
|
# Corresponds to the JSON property `idToken`
|
880
945
|
# @return [String]
|
@@ -885,11 +950,21 @@ module Google
|
|
885
950
|
# @return [String]
|
886
951
|
attr_accessor :instance_id
|
887
952
|
|
953
|
+
# Privileged caller can create user with specified user id.
|
954
|
+
# Corresponds to the JSON property `localId`
|
955
|
+
# @return [String]
|
956
|
+
attr_accessor :local_id
|
957
|
+
|
888
958
|
# The new password of the user.
|
889
959
|
# Corresponds to the JSON property `password`
|
890
960
|
# @return [String]
|
891
961
|
attr_accessor :password
|
892
962
|
|
963
|
+
# The photo url of the user.
|
964
|
+
# Corresponds to the JSON property `photoUrl`
|
965
|
+
# @return [String]
|
966
|
+
attr_accessor :photo_url
|
967
|
+
|
893
968
|
def initialize(**args)
|
894
969
|
update!(**args)
|
895
970
|
end
|
@@ -898,11 +973,15 @@ module Google
|
|
898
973
|
def update!(**args)
|
899
974
|
@captcha_challenge = args[:captcha_challenge] if args.key?(:captcha_challenge)
|
900
975
|
@captcha_response = args[:captcha_response] if args.key?(:captcha_response)
|
976
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
901
977
|
@display_name = args[:display_name] if args.key?(:display_name)
|
902
978
|
@email = args[:email] if args.key?(:email)
|
979
|
+
@email_verified = args[:email_verified] if args.key?(:email_verified)
|
903
980
|
@id_token = args[:id_token] if args.key?(:id_token)
|
904
981
|
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
982
|
+
@local_id = args[:local_id] if args.key?(:local_id)
|
905
983
|
@password = args[:password] if args.key?(:password)
|
984
|
+
@photo_url = args[:photo_url] if args.key?(:photo_url)
|
906
985
|
end
|
907
986
|
end
|
908
987
|
|
@@ -910,6 +989,12 @@ module Google
|
|
910
989
|
class UploadAccountRequest
|
911
990
|
include Google::Apis::Core::Hashable
|
912
991
|
|
992
|
+
# Whether allow overwrite existing account when user local_id exists.
|
993
|
+
# Corresponds to the JSON property `allowOverwrite`
|
994
|
+
# @return [Boolean]
|
995
|
+
attr_accessor :allow_overwrite
|
996
|
+
alias_method :allow_overwrite?, :allow_overwrite
|
997
|
+
|
913
998
|
# GCP project number of the requesting delegated app. Currently only intended
|
914
999
|
# for Firebase V1 migration.
|
915
1000
|
# Corresponds to the JSON property `delegatedProjectNumber`
|
@@ -936,11 +1021,24 @@ module Google
|
|
936
1021
|
# @return [String]
|
937
1022
|
attr_accessor :salt_separator
|
938
1023
|
|
1024
|
+
# If true, backend will do sanity check(including duplicate email and federated
|
1025
|
+
# id) when uploading account.
|
1026
|
+
# Corresponds to the JSON property `sanityCheck`
|
1027
|
+
# @return [Boolean]
|
1028
|
+
attr_accessor :sanity_check
|
1029
|
+
alias_method :sanity_check?, :sanity_check
|
1030
|
+
|
939
1031
|
# The key for to hash the password.
|
940
1032
|
# Corresponds to the JSON property `signerKey`
|
941
1033
|
# @return [String]
|
942
1034
|
attr_accessor :signer_key
|
943
1035
|
|
1036
|
+
# Specify which project (field value is actually project id) to operate. Only
|
1037
|
+
# used when provided credential.
|
1038
|
+
# Corresponds to the JSON property `targetProjectId`
|
1039
|
+
# @return [String]
|
1040
|
+
attr_accessor :target_project_id
|
1041
|
+
|
944
1042
|
# The account info to be stored.
|
945
1043
|
# Corresponds to the JSON property `users`
|
946
1044
|
# @return [Array<Google::Apis::IdentitytoolkitV3::UserInfo>]
|
@@ -952,12 +1050,15 @@ module Google
|
|
952
1050
|
|
953
1051
|
# Update properties of this object
|
954
1052
|
def update!(**args)
|
1053
|
+
@allow_overwrite = args[:allow_overwrite] if args.key?(:allow_overwrite)
|
955
1054
|
@delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number)
|
956
1055
|
@hash_algorithm = args[:hash_algorithm] if args.key?(:hash_algorithm)
|
957
1056
|
@memory_cost = args[:memory_cost] if args.key?(:memory_cost)
|
958
1057
|
@rounds = args[:rounds] if args.key?(:rounds)
|
959
1058
|
@salt_separator = args[:salt_separator] if args.key?(:salt_separator)
|
1059
|
+
@sanity_check = args[:sanity_check] if args.key?(:sanity_check)
|
960
1060
|
@signer_key = args[:signer_key] if args.key?(:signer_key)
|
1061
|
+
@target_project_id = args[:target_project_id] if args.key?(:target_project_id)
|
961
1062
|
@users = args[:users] if args.key?(:users)
|
962
1063
|
end
|
963
1064
|
end
|
@@ -966,6 +1067,14 @@ module Google
|
|
966
1067
|
class VerifyAssertionRequest
|
967
1068
|
include Google::Apis::Core::Hashable
|
968
1069
|
|
1070
|
+
# When it's true, automatically creates a new account if the user doesn't exist.
|
1071
|
+
# When it's false, allows existing user to sign in normally and throws exception
|
1072
|
+
# if the user doesn't exist.
|
1073
|
+
# Corresponds to the JSON property `autoCreate`
|
1074
|
+
# @return [Boolean]
|
1075
|
+
attr_accessor :auto_create
|
1076
|
+
alias_method :auto_create?, :auto_create
|
1077
|
+
|
969
1078
|
# GCP project number of the requesting delegated app. Currently only intended
|
970
1079
|
# for Firebase V1 migration.
|
971
1080
|
# Corresponds to the JSON property `delegatedProjectNumber`
|
@@ -998,6 +1107,13 @@ module Google
|
|
998
1107
|
# @return [String]
|
999
1108
|
attr_accessor :request_uri
|
1000
1109
|
|
1110
|
+
# Whether return 200 and IDP credential rather than throw exception when
|
1111
|
+
# federated id is already linked.
|
1112
|
+
# Corresponds to the JSON property `returnIdpCredential`
|
1113
|
+
# @return [Boolean]
|
1114
|
+
attr_accessor :return_idp_credential
|
1115
|
+
alias_method :return_idp_credential?, :return_idp_credential
|
1116
|
+
|
1001
1117
|
# Whether to return refresh tokens.
|
1002
1118
|
# Corresponds to the JSON property `returnRefreshToken`
|
1003
1119
|
# @return [Boolean]
|
@@ -1021,12 +1137,14 @@ module Google
|
|
1021
1137
|
|
1022
1138
|
# Update properties of this object
|
1023
1139
|
def update!(**args)
|
1140
|
+
@auto_create = args[:auto_create] if args.key?(:auto_create)
|
1024
1141
|
@delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number)
|
1025
1142
|
@id_token = args[:id_token] if args.key?(:id_token)
|
1026
1143
|
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
1027
1144
|
@pending_id_token = args[:pending_id_token] if args.key?(:pending_id_token)
|
1028
1145
|
@post_body = args[:post_body] if args.key?(:post_body)
|
1029
1146
|
@request_uri = args[:request_uri] if args.key?(:request_uri)
|
1147
|
+
@return_idp_credential = args[:return_idp_credential] if args.key?(:return_idp_credential)
|
1030
1148
|
@return_refresh_token = args[:return_refresh_token] if args.key?(:return_refresh_token)
|
1031
1149
|
@return_secure_token = args[:return_secure_token] if args.key?(:return_secure_token)
|
1032
1150
|
@session_id = args[:session_id] if args.key?(:session_id)
|
@@ -1171,6 +1289,11 @@ module Google
|
|
1171
1289
|
# @return [String]
|
1172
1290
|
attr_accessor :secret
|
1173
1291
|
|
1292
|
+
# Whitelisted client IDs for audience check.
|
1293
|
+
# Corresponds to the JSON property `whitelistedAudiences`
|
1294
|
+
# @return [Array<String>]
|
1295
|
+
attr_accessor :whitelisted_audiences
|
1296
|
+
|
1174
1297
|
def initialize(**args)
|
1175
1298
|
update!(**args)
|
1176
1299
|
end
|
@@ -1182,6 +1305,7 @@ module Google
|
|
1182
1305
|
@experiment_percent = args[:experiment_percent] if args.key?(:experiment_percent)
|
1183
1306
|
@provider = args[:provider] if args.key?(:provider)
|
1184
1307
|
@secret = args[:secret] if args.key?(:secret)
|
1308
|
+
@whitelisted_audiences = args[:whitelisted_audiences] if args.key?(:whitelisted_audiences)
|
1185
1309
|
end
|
1186
1310
|
end
|
1187
1311
|
|
@@ -1190,6 +1314,30 @@ module Google
|
|
1190
1314
|
class Relyingparty
|
1191
1315
|
include Google::Apis::Core::Hashable
|
1192
1316
|
|
1317
|
+
# whether or not to install the android app on the device where the link is
|
1318
|
+
# opened
|
1319
|
+
# Corresponds to the JSON property `androidInstallApp`
|
1320
|
+
# @return [Boolean]
|
1321
|
+
attr_accessor :android_install_app
|
1322
|
+
alias_method :android_install_app?, :android_install_app
|
1323
|
+
|
1324
|
+
# minimum version of the app. if the version on the device is lower than this
|
1325
|
+
# version then the user is taken to the play store to upgrade the app
|
1326
|
+
# Corresponds to the JSON property `androidMinimumVersion`
|
1327
|
+
# @return [String]
|
1328
|
+
attr_accessor :android_minimum_version
|
1329
|
+
|
1330
|
+
# android package name of the android app to handle the action code
|
1331
|
+
# Corresponds to the JSON property `androidPackageName`
|
1332
|
+
# @return [String]
|
1333
|
+
attr_accessor :android_package_name
|
1334
|
+
|
1335
|
+
# whether or not the app can handle the oob code without first going to web
|
1336
|
+
# Corresponds to the JSON property `canHandleCodeInApp`
|
1337
|
+
# @return [Boolean]
|
1338
|
+
attr_accessor :can_handle_code_in_app
|
1339
|
+
alias_method :can_handle_code_in_app?, :can_handle_code_in_app
|
1340
|
+
|
1193
1341
|
# The recaptcha response from the user.
|
1194
1342
|
# Corresponds to the JSON property `captchaResp`
|
1195
1343
|
# @return [String]
|
@@ -1200,11 +1348,26 @@ module Google
|
|
1200
1348
|
# @return [String]
|
1201
1349
|
attr_accessor :challenge
|
1202
1350
|
|
1351
|
+
# The url to continue to the Gitkit app
|
1352
|
+
# Corresponds to the JSON property `continueUrl`
|
1353
|
+
# @return [String]
|
1354
|
+
attr_accessor :continue_url
|
1355
|
+
|
1203
1356
|
# The email of the user.
|
1204
1357
|
# Corresponds to the JSON property `email`
|
1205
1358
|
# @return [String]
|
1206
1359
|
attr_accessor :email
|
1207
1360
|
|
1361
|
+
# iOS app store id to download the app if it's not already installed
|
1362
|
+
# Corresponds to the JSON property `iOSAppStoreId`
|
1363
|
+
# @return [String]
|
1364
|
+
attr_accessor :i_os_app_store_id
|
1365
|
+
|
1366
|
+
# the iOS bundle id of iOS app to handle the action code
|
1367
|
+
# Corresponds to the JSON property `iOSBundleId`
|
1368
|
+
# @return [String]
|
1369
|
+
attr_accessor :i_os_bundle_id
|
1370
|
+
|
1208
1371
|
# The user's Gitkit login token for email change.
|
1209
1372
|
# Corresponds to the JSON property `idToken`
|
1210
1373
|
# @return [String]
|
@@ -1236,9 +1399,16 @@ module Google
|
|
1236
1399
|
|
1237
1400
|
# Update properties of this object
|
1238
1401
|
def update!(**args)
|
1402
|
+
@android_install_app = args[:android_install_app] if args.key?(:android_install_app)
|
1403
|
+
@android_minimum_version = args[:android_minimum_version] if args.key?(:android_minimum_version)
|
1404
|
+
@android_package_name = args[:android_package_name] if args.key?(:android_package_name)
|
1405
|
+
@can_handle_code_in_app = args[:can_handle_code_in_app] if args.key?(:can_handle_code_in_app)
|
1239
1406
|
@captcha_resp = args[:captcha_resp] if args.key?(:captcha_resp)
|
1240
1407
|
@challenge = args[:challenge] if args.key?(:challenge)
|
1408
|
+
@continue_url = args[:continue_url] if args.key?(:continue_url)
|
1241
1409
|
@email = args[:email] if args.key?(:email)
|
1410
|
+
@i_os_app_store_id = args[:i_os_app_store_id] if args.key?(:i_os_app_store_id)
|
1411
|
+
@i_os_bundle_id = args[:i_os_bundle_id] if args.key?(:i_os_bundle_id)
|
1242
1412
|
@id_token = args[:id_token] if args.key?(:id_token)
|
1243
1413
|
@kind = args[:kind] if args.key?(:kind)
|
1244
1414
|
@new_email = args[:new_email] if args.key?(:new_email)
|
@@ -1251,7 +1421,8 @@ module Google
|
|
1251
1421
|
class ResetPasswordResponse
|
1252
1422
|
include Google::Apis::Core::Hashable
|
1253
1423
|
|
1254
|
-
# The user's email.
|
1424
|
+
# The user's email. If the out-of-band code is for email recovery, the user's
|
1425
|
+
# original email.
|
1255
1426
|
# Corresponds to the JSON property `email`
|
1256
1427
|
# @return [String]
|
1257
1428
|
attr_accessor :email
|
@@ -1261,6 +1432,16 @@ module Google
|
|
1261
1432
|
# @return [String]
|
1262
1433
|
attr_accessor :kind
|
1263
1434
|
|
1435
|
+
# If the out-of-band code is for email recovery, the user's new email.
|
1436
|
+
# Corresponds to the JSON property `newEmail`
|
1437
|
+
# @return [String]
|
1438
|
+
attr_accessor :new_email
|
1439
|
+
|
1440
|
+
# The request type.
|
1441
|
+
# Corresponds to the JSON property `requestType`
|
1442
|
+
# @return [String]
|
1443
|
+
attr_accessor :request_type
|
1444
|
+
|
1264
1445
|
def initialize(**args)
|
1265
1446
|
update!(**args)
|
1266
1447
|
end
|
@@ -1269,6 +1450,8 @@ module Google
|
|
1269
1450
|
def update!(**args)
|
1270
1451
|
@email = args[:email] if args.key?(:email)
|
1271
1452
|
@kind = args[:kind] if args.key?(:kind)
|
1453
|
+
@new_email = args[:new_email] if args.key?(:new_email)
|
1454
|
+
@request_type = args[:request_type] if args.key?(:request_type)
|
1272
1455
|
end
|
1273
1456
|
end
|
1274
1457
|
|
@@ -1286,6 +1469,12 @@ module Google
|
|
1286
1469
|
# @return [String]
|
1287
1470
|
attr_accessor :email
|
1288
1471
|
|
1472
|
+
# If email has been verified.
|
1473
|
+
# Corresponds to the JSON property `emailVerified`
|
1474
|
+
# @return [Boolean]
|
1475
|
+
attr_accessor :email_verified
|
1476
|
+
alias_method :email_verified?, :email_verified
|
1477
|
+
|
1289
1478
|
# If idToken is STS id token, then this field will be expiration time of STS id
|
1290
1479
|
# token in seconds.
|
1291
1480
|
# Corresponds to the JSON property `expiresIn`
|
@@ -1340,6 +1529,7 @@ module Google
|
|
1340
1529
|
def update!(**args)
|
1341
1530
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1342
1531
|
@email = args[:email] if args.key?(:email)
|
1532
|
+
@email_verified = args[:email_verified] if args.key?(:email_verified)
|
1343
1533
|
@expires_in = args[:expires_in] if args.key?(:expires_in)
|
1344
1534
|
@id_token = args[:id_token] if args.key?(:id_token)
|
1345
1535
|
@kind = args[:kind] if args.key?(:kind)
|
@@ -1501,6 +1691,17 @@ module Google
|
|
1501
1691
|
class UserInfo
|
1502
1692
|
include Google::Apis::Core::Hashable
|
1503
1693
|
|
1694
|
+
# User creation timestamp.
|
1695
|
+
# Corresponds to the JSON property `createdAt`
|
1696
|
+
# @return [String]
|
1697
|
+
attr_accessor :created_at
|
1698
|
+
|
1699
|
+
# Whether the user is authenticated by the developer.
|
1700
|
+
# Corresponds to the JSON property `customAuth`
|
1701
|
+
# @return [Boolean]
|
1702
|
+
attr_accessor :custom_auth
|
1703
|
+
alias_method :custom_auth?, :custom_auth
|
1704
|
+
|
1504
1705
|
# Whether the user is disabled.
|
1505
1706
|
# Corresponds to the JSON property `disabled`
|
1506
1707
|
# @return [Boolean]
|
@@ -1523,6 +1724,11 @@ module Google
|
|
1523
1724
|
attr_accessor :email_verified
|
1524
1725
|
alias_method :email_verified?, :email_verified
|
1525
1726
|
|
1727
|
+
# last login timestamp.
|
1728
|
+
# Corresponds to the JSON property `lastLoginAt`
|
1729
|
+
# @return [String]
|
1730
|
+
attr_accessor :last_login_at
|
1731
|
+
|
1526
1732
|
# The local ID of the user.
|
1527
1733
|
# Corresponds to the JSON property `localId`
|
1528
1734
|
# @return [String]
|
@@ -1548,11 +1754,21 @@ module Google
|
|
1548
1754
|
# @return [Array<Google::Apis::IdentitytoolkitV3::UserInfo::ProviderUserInfo>]
|
1549
1755
|
attr_accessor :provider_user_info
|
1550
1756
|
|
1757
|
+
# The user's plain text password.
|
1758
|
+
# Corresponds to the JSON property `rawPassword`
|
1759
|
+
# @return [String]
|
1760
|
+
attr_accessor :raw_password
|
1761
|
+
|
1551
1762
|
# The user's password salt.
|
1552
1763
|
# Corresponds to the JSON property `salt`
|
1553
1764
|
# @return [String]
|
1554
1765
|
attr_accessor :salt
|
1555
1766
|
|
1767
|
+
# User's screen name at Twitter or login name at Github.
|
1768
|
+
# Corresponds to the JSON property `screenName`
|
1769
|
+
# @return [String]
|
1770
|
+
attr_accessor :screen_name
|
1771
|
+
|
1556
1772
|
# Timestamp in seconds for valid login token.
|
1557
1773
|
# Corresponds to the JSON property `validSince`
|
1558
1774
|
# @return [String]
|
@@ -1569,16 +1785,21 @@ module Google
|
|
1569
1785
|
|
1570
1786
|
# Update properties of this object
|
1571
1787
|
def update!(**args)
|
1788
|
+
@created_at = args[:created_at] if args.key?(:created_at)
|
1789
|
+
@custom_auth = args[:custom_auth] if args.key?(:custom_auth)
|
1572
1790
|
@disabled = args[:disabled] if args.key?(:disabled)
|
1573
1791
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1574
1792
|
@email = args[:email] if args.key?(:email)
|
1575
1793
|
@email_verified = args[:email_verified] if args.key?(:email_verified)
|
1794
|
+
@last_login_at = args[:last_login_at] if args.key?(:last_login_at)
|
1576
1795
|
@local_id = args[:local_id] if args.key?(:local_id)
|
1577
1796
|
@password_hash = args[:password_hash] if args.key?(:password_hash)
|
1578
1797
|
@password_updated_at = args[:password_updated_at] if args.key?(:password_updated_at)
|
1579
1798
|
@photo_url = args[:photo_url] if args.key?(:photo_url)
|
1580
1799
|
@provider_user_info = args[:provider_user_info] if args.key?(:provider_user_info)
|
1800
|
+
@raw_password = args[:raw_password] if args.key?(:raw_password)
|
1581
1801
|
@salt = args[:salt] if args.key?(:salt)
|
1802
|
+
@screen_name = args[:screen_name] if args.key?(:screen_name)
|
1582
1803
|
@valid_since = args[:valid_since] if args.key?(:valid_since)
|
1583
1804
|
@version = args[:version] if args.key?(:version)
|
1584
1805
|
end
|
@@ -1618,6 +1839,11 @@ module Google
|
|
1618
1839
|
# @return [String]
|
1619
1840
|
attr_accessor :raw_id
|
1620
1841
|
|
1842
|
+
# User's screen name at Twitter or login name at Github.
|
1843
|
+
# Corresponds to the JSON property `screenName`
|
1844
|
+
# @return [String]
|
1845
|
+
attr_accessor :screen_name
|
1846
|
+
|
1621
1847
|
def initialize(**args)
|
1622
1848
|
update!(**args)
|
1623
1849
|
end
|
@@ -1630,6 +1856,7 @@ module Google
|
|
1630
1856
|
@photo_url = args[:photo_url] if args.key?(:photo_url)
|
1631
1857
|
@provider_id = args[:provider_id] if args.key?(:provider_id)
|
1632
1858
|
@raw_id = args[:raw_id] if args.key?(:raw_id)
|
1859
|
+
@screen_name = args[:screen_name] if args.key?(:screen_name)
|
1633
1860
|
end
|
1634
1861
|
end
|
1635
1862
|
end
|
@@ -1688,6 +1915,11 @@ module Google
|
|
1688
1915
|
attr_accessor :email_verified
|
1689
1916
|
alias_method :email_verified?, :email_verified
|
1690
1917
|
|
1918
|
+
# Client error code.
|
1919
|
+
# Corresponds to the JSON property `errorMessage`
|
1920
|
+
# @return [String]
|
1921
|
+
attr_accessor :error_message
|
1922
|
+
|
1691
1923
|
# If idToken is STS id token, then this field will be expiration time of STS id
|
1692
1924
|
# token in seconds.
|
1693
1925
|
# Corresponds to the JSON property `expiresIn`
|
@@ -1721,6 +1953,12 @@ module Google
|
|
1721
1953
|
# @return [String]
|
1722
1954
|
attr_accessor :input_email
|
1723
1955
|
|
1956
|
+
# True if it's a new user sign-in, false if it's a returning user.
|
1957
|
+
# Corresponds to the JSON property `isNewUser`
|
1958
|
+
# @return [Boolean]
|
1959
|
+
attr_accessor :is_new_user
|
1960
|
+
alias_method :is_new_user?, :is_new_user
|
1961
|
+
|
1724
1962
|
# The fixed string "identitytoolkit#VerifyAssertionResponse".
|
1725
1963
|
# Corresponds to the JSON property `kind`
|
1726
1964
|
# @return [String]
|
@@ -1815,11 +2053,21 @@ module Google
|
|
1815
2053
|
# @return [String]
|
1816
2054
|
attr_accessor :provider_id
|
1817
2055
|
|
2056
|
+
# Raw IDP-returned user info.
|
2057
|
+
# Corresponds to the JSON property `rawUserInfo`
|
2058
|
+
# @return [String]
|
2059
|
+
attr_accessor :raw_user_info
|
2060
|
+
|
1818
2061
|
# If idToken is STS id token, then this field will be refresh token.
|
1819
2062
|
# Corresponds to the JSON property `refreshToken`
|
1820
2063
|
# @return [String]
|
1821
2064
|
attr_accessor :refresh_token
|
1822
2065
|
|
2066
|
+
# The screen_name of a Twitter user or the login name at Github.
|
2067
|
+
# Corresponds to the JSON property `screenName`
|
2068
|
+
# @return [String]
|
2069
|
+
attr_accessor :screen_name
|
2070
|
+
|
1823
2071
|
# The timezone of the user.
|
1824
2072
|
# Corresponds to the JSON property `timeZone`
|
1825
2073
|
# @return [String]
|
@@ -1845,12 +2093,14 @@ module Google
|
|
1845
2093
|
@email = args[:email] if args.key?(:email)
|
1846
2094
|
@email_recycled = args[:email_recycled] if args.key?(:email_recycled)
|
1847
2095
|
@email_verified = args[:email_verified] if args.key?(:email_verified)
|
2096
|
+
@error_message = args[:error_message] if args.key?(:error_message)
|
1848
2097
|
@expires_in = args[:expires_in] if args.key?(:expires_in)
|
1849
2098
|
@federated_id = args[:federated_id] if args.key?(:federated_id)
|
1850
2099
|
@first_name = args[:first_name] if args.key?(:first_name)
|
1851
2100
|
@full_name = args[:full_name] if args.key?(:full_name)
|
1852
2101
|
@id_token = args[:id_token] if args.key?(:id_token)
|
1853
2102
|
@input_email = args[:input_email] if args.key?(:input_email)
|
2103
|
+
@is_new_user = args[:is_new_user] if args.key?(:is_new_user)
|
1854
2104
|
@kind = args[:kind] if args.key?(:kind)
|
1855
2105
|
@language = args[:language] if args.key?(:language)
|
1856
2106
|
@last_name = args[:last_name] if args.key?(:last_name)
|
@@ -1868,7 +2118,9 @@ module Google
|
|
1868
2118
|
@original_email = args[:original_email] if args.key?(:original_email)
|
1869
2119
|
@photo_url = args[:photo_url] if args.key?(:photo_url)
|
1870
2120
|
@provider_id = args[:provider_id] if args.key?(:provider_id)
|
2121
|
+
@raw_user_info = args[:raw_user_info] if args.key?(:raw_user_info)
|
1871
2122
|
@refresh_token = args[:refresh_token] if args.key?(:refresh_token)
|
2123
|
+
@screen_name = args[:screen_name] if args.key?(:screen_name)
|
1872
2124
|
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
1873
2125
|
@verified_provider = args[:verified_provider] if args.key?(:verified_provider)
|
1874
2126
|
end
|