google-api-client 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +28 -3
- data/api_names.yaml +1 -0
- data/api_names_out.yaml +418 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +2 -3
- data/generated/google/apis/adsense_v1_4/service.rb +1 -2
- data/generated/google/apis/adsensehost_v4_1.rb +3 -3
- data/generated/google/apis/adsensehost_v4_1/service.rb +2 -2
- data/generated/google/apis/analytics_v3.rb +2 -2
- data/generated/google/apis/analytics_v3/classes.rb +42 -0
- data/generated/google/apis/analytics_v3/representations.rb +6 -0
- data/generated/google/apis/analytics_v3/service.rb +3 -3
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/classes.rb +16 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +2 -0
- 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 +200 -13
- data/generated/google/apis/bigquery_v2/representations.rb +54 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +6 -0
- data/generated/google/apis/books_v1/representations.rb +1 -0
- data/generated/google/apis/books_v1/service.rb +4 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +2 -3
- data/generated/google/apis/cloudbuild_v1/classes.rb +7 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +1 -2
- data/generated/google/apis/clouddebugger_v2.rb +2 -2
- data/generated/google/apis/clouddebugger_v2/classes.rb +8 -1
- data/generated/google/apis/clouddebugger_v2/representations.rb +1 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +26 -6
- data/generated/google/apis/cloudlatencytest_v2.rb +2 -2
- data/generated/google/apis/cloudlatencytest_v2/service.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +2 -2
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +38 -0
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +355 -0
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +181 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +373 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/clouduseraccounts_beta.rb +3 -2
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +52 -30
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +1 -0
- data/generated/google/apis/clouduseraccounts_beta/service.rb +110 -57
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +324 -101
- data/generated/google/apis/compute_beta/representations.rb +78 -0
- data/generated/google/apis/compute_beta/service.rb +1599 -208
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +96 -79
- data/generated/google/apis/compute_v1/service.rb +199 -169
- data/generated/google/apis/content_v2.rb +2 -2
- data/generated/google/apis/content_v2/classes.rb +6 -0
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2/service.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +6 -6
- data/generated/google/apis/deploymentmanager_v2/service.rb +10 -10
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2/service.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- 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/games_v1/classes.rb +9 -2
- data/generated/google/apis/games_v1/representations.rb +1 -0
- data/generated/google/apis/genomics_v1.rb +4 -5
- data/generated/google/apis/genomics_v1/classes.rb +51 -0
- data/generated/google/apis/genomics_v1/representations.rb +17 -0
- data/generated/google/apis/genomics_v1/service.rb +44 -8
- data/generated/google/apis/gmail_v1.rb +2 -2
- data/generated/google/apis/gmail_v1/classes.rb +19 -0
- data/generated/google/apis/gmail_v1/representations.rb +13 -0
- data/generated/google/apis/gmail_v1/service.rb +43 -2
- data/generated/google/apis/iam_v1.rb +36 -0
- data/generated/google/apis/iam_v1/classes.rb +665 -0
- data/generated/google/apis/iam_v1/representations.rb +325 -0
- data/generated/google/apis/iam_v1/service.rb +520 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +306 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +85 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +42 -1
- data/generated/google/apis/pagespeedonline_v2.rb +2 -2
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/prediction_v1_6.rb +1 -1
- data/generated/google/apis/prediction_v1_6/classes.rb +1 -1
- data/generated/google/apis/qpx_express_v1.rb +2 -2
- data/generated/google/apis/qpx_express_v1/service.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +2 -3
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -2
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/site_verification_v1.rb +2 -2
- data/generated/google/apis/site_verification_v1/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +2 -2
- data/generated/google/apis/storage_v1/service.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +2 -2
- data/generated/google/apis/tagmanager_v1/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1/service.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +8 -0
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/generated/google/apis/youtubereporting_v1.rb +3 -3
- data/generated/google/apis/youtubereporting_v1/classes.rb +1 -2
- data/generated/google/apis/youtubereporting_v1/service.rb +4 -4
- data/lib/google/apis/core/base_service.rb +84 -6
- data/lib/google/apis/version.rb +1 -1
- data/script/generate +2 -0
- data/spec/google/apis/core/service_spec.rb +66 -0
- metadata +10 -2
@@ -137,6 +137,55 @@ module Google
|
|
137
137
|
end
|
138
138
|
end
|
139
139
|
|
140
|
+
# Template for an email template.
|
141
|
+
class EmailTemplate
|
142
|
+
include Google::Apis::Core::Hashable
|
143
|
+
|
144
|
+
# Email body.
|
145
|
+
# Corresponds to the JSON property `body`
|
146
|
+
# @return [String]
|
147
|
+
attr_accessor :body
|
148
|
+
|
149
|
+
# Email body format.
|
150
|
+
# Corresponds to the JSON property `format`
|
151
|
+
# @return [String]
|
152
|
+
attr_accessor :format
|
153
|
+
|
154
|
+
# From address of the email.
|
155
|
+
# Corresponds to the JSON property `from`
|
156
|
+
# @return [String]
|
157
|
+
attr_accessor :from
|
158
|
+
|
159
|
+
# From display name.
|
160
|
+
# Corresponds to the JSON property `fromDisplayName`
|
161
|
+
# @return [String]
|
162
|
+
attr_accessor :from_display_name
|
163
|
+
|
164
|
+
# Reply-to address.
|
165
|
+
# Corresponds to the JSON property `replyTo`
|
166
|
+
# @return [String]
|
167
|
+
attr_accessor :reply_to
|
168
|
+
|
169
|
+
# Subject of the email.
|
170
|
+
# Corresponds to the JSON property `subject`
|
171
|
+
# @return [String]
|
172
|
+
attr_accessor :subject
|
173
|
+
|
174
|
+
def initialize(**args)
|
175
|
+
update!(**args)
|
176
|
+
end
|
177
|
+
|
178
|
+
# Update properties of this object
|
179
|
+
def update!(**args)
|
180
|
+
@body = args[:body] if args.key?(:body)
|
181
|
+
@format = args[:format] if args.key?(:format)
|
182
|
+
@from = args[:from] if args.key?(:from)
|
183
|
+
@from_display_name = args[:from_display_name] if args.key?(:from_display_name)
|
184
|
+
@reply_to = args[:reply_to] if args.key?(:reply_to)
|
185
|
+
@subject = args[:subject] if args.key?(:subject)
|
186
|
+
end
|
187
|
+
end
|
188
|
+
|
140
189
|
# Response of getting account information.
|
141
190
|
class GetAccountInfoResponse
|
142
191
|
include Google::Apis::Core::Hashable
|
@@ -313,6 +362,11 @@ module Google
|
|
313
362
|
# @return [String]
|
314
363
|
attr_accessor :delegated_project_number
|
315
364
|
|
365
|
+
# The GITKit token or STS id token of the authenticated user.
|
366
|
+
# Corresponds to the JSON property `idToken`
|
367
|
+
# @return [String]
|
368
|
+
attr_accessor :id_token
|
369
|
+
|
316
370
|
# The local ID of the user.
|
317
371
|
# Corresponds to the JSON property `localId`
|
318
372
|
# @return [String]
|
@@ -325,6 +379,7 @@ module Google
|
|
325
379
|
# Update properties of this object
|
326
380
|
def update!(**args)
|
327
381
|
@delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number)
|
382
|
+
@id_token = args[:id_token] if args.key?(:id_token)
|
328
383
|
@local_id = args[:local_id] if args.key?(:local_id)
|
329
384
|
end
|
330
385
|
end
|
@@ -365,6 +420,12 @@ module Google
|
|
365
420
|
class GetAccountInfoRequest
|
366
421
|
include Google::Apis::Core::Hashable
|
367
422
|
|
423
|
+
# GCP project number of the requesting delegated app. Currently only intended
|
424
|
+
# for Firebase V1 migration.
|
425
|
+
# Corresponds to the JSON property `delegatedProjectNumber`
|
426
|
+
# @return [String]
|
427
|
+
attr_accessor :delegated_project_number
|
428
|
+
|
368
429
|
# The list of emails of the users to inquiry.
|
369
430
|
# Corresponds to the JSON property `email`
|
370
431
|
# @return [Array<String>]
|
@@ -386,6 +447,7 @@ module Google
|
|
386
447
|
|
387
448
|
# Update properties of this object
|
388
449
|
def update!(**args)
|
450
|
+
@delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number)
|
389
451
|
@email = args[:email] if args.key?(:email)
|
390
452
|
@id_token = args[:id_token] if args.key?(:id_token)
|
391
453
|
@local_id = args[:local_id] if args.key?(:local_id)
|
@@ -407,6 +469,16 @@ module Google
|
|
407
469
|
# @return [String]
|
408
470
|
attr_accessor :api_key
|
409
471
|
|
472
|
+
# Authorized domains.
|
473
|
+
# Corresponds to the JSON property `authorizedDomains`
|
474
|
+
# @return [Array<String>]
|
475
|
+
attr_accessor :authorized_domains
|
476
|
+
|
477
|
+
# Template for an email template.
|
478
|
+
# Corresponds to the JSON property `changeEmailTemplate`
|
479
|
+
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
|
480
|
+
attr_accessor :change_email_template
|
481
|
+
|
410
482
|
# OAuth2 provider configuration.
|
411
483
|
# Corresponds to the JSON property `idpConfig`
|
412
484
|
# @return [Array<Google::Apis::IdentitytoolkitV3::IdpConfig>]
|
@@ -417,6 +489,22 @@ module Google
|
|
417
489
|
# @return [String]
|
418
490
|
attr_accessor :project_id
|
419
491
|
|
492
|
+
# Template for an email template.
|
493
|
+
# Corresponds to the JSON property `resetPasswordTemplate`
|
494
|
+
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
|
495
|
+
attr_accessor :reset_password_template
|
496
|
+
|
497
|
+
# Whether to use email sending provided by Firebear.
|
498
|
+
# Corresponds to the JSON property `useEmailSending`
|
499
|
+
# @return [Boolean]
|
500
|
+
attr_accessor :use_email_sending
|
501
|
+
alias_method :use_email_sending?, :use_email_sending
|
502
|
+
|
503
|
+
# Template for an email template.
|
504
|
+
# Corresponds to the JSON property `verifyEmailTemplate`
|
505
|
+
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
|
506
|
+
attr_accessor :verify_email_template
|
507
|
+
|
420
508
|
def initialize(**args)
|
421
509
|
update!(**args)
|
422
510
|
end
|
@@ -425,8 +513,13 @@ module Google
|
|
425
513
|
def update!(**args)
|
426
514
|
@allow_password_user = args[:allow_password_user] if args.key?(:allow_password_user)
|
427
515
|
@api_key = args[:api_key] if args.key?(:api_key)
|
516
|
+
@authorized_domains = args[:authorized_domains] if args.key?(:authorized_domains)
|
517
|
+
@change_email_template = args[:change_email_template] if args.key?(:change_email_template)
|
428
518
|
@idp_config = args[:idp_config] if args.key?(:idp_config)
|
429
519
|
@project_id = args[:project_id] if args.key?(:project_id)
|
520
|
+
@reset_password_template = args[:reset_password_template] if args.key?(:reset_password_template)
|
521
|
+
@use_email_sending = args[:use_email_sending] if args.key?(:use_email_sending)
|
522
|
+
@verify_email_template = args[:verify_email_template] if args.key?(:verify_email_template)
|
430
523
|
end
|
431
524
|
end
|
432
525
|
|
@@ -487,6 +580,16 @@ module Google
|
|
487
580
|
# @return [String]
|
488
581
|
attr_accessor :delegated_project_number
|
489
582
|
|
583
|
+
# The attributes users request to delete.
|
584
|
+
# Corresponds to the JSON property `deleteAttribute`
|
585
|
+
# @return [Array<String>]
|
586
|
+
attr_accessor :delete_attribute
|
587
|
+
|
588
|
+
# The IDPs the user request to delete.
|
589
|
+
# Corresponds to the JSON property `deleteProvider`
|
590
|
+
# @return [Array<String>]
|
591
|
+
attr_accessor :delete_provider
|
592
|
+
|
490
593
|
# Whether to disable the user.
|
491
594
|
# Corresponds to the JSON property `disableUser`
|
492
595
|
# @return [Boolean]
|
@@ -544,6 +647,12 @@ module Google
|
|
544
647
|
# @return [Array<String>]
|
545
648
|
attr_accessor :provider
|
546
649
|
|
650
|
+
# Whether return sts id token and refresh token instead of gitkit token.
|
651
|
+
# Corresponds to the JSON property `returnSecureToken`
|
652
|
+
# @return [Boolean]
|
653
|
+
attr_accessor :return_secure_token
|
654
|
+
alias_method :return_secure_token?, :return_secure_token
|
655
|
+
|
547
656
|
# Mark the user to upgrade to federated login.
|
548
657
|
# Corresponds to the JSON property `upgradeToFederatedLogin`
|
549
658
|
# @return [Boolean]
|
@@ -564,6 +673,8 @@ module Google
|
|
564
673
|
@captcha_challenge = args[:captcha_challenge] if args.key?(:captcha_challenge)
|
565
674
|
@captcha_response = args[:captcha_response] if args.key?(:captcha_response)
|
566
675
|
@delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number)
|
676
|
+
@delete_attribute = args[:delete_attribute] if args.key?(:delete_attribute)
|
677
|
+
@delete_provider = args[:delete_provider] if args.key?(:delete_provider)
|
567
678
|
@disable_user = args[:disable_user] if args.key?(:disable_user)
|
568
679
|
@display_name = args[:display_name] if args.key?(:display_name)
|
569
680
|
@email = args[:email] if args.key?(:email)
|
@@ -575,11 +686,95 @@ module Google
|
|
575
686
|
@password = args[:password] if args.key?(:password)
|
576
687
|
@photo_url = args[:photo_url] if args.key?(:photo_url)
|
577
688
|
@provider = args[:provider] if args.key?(:provider)
|
689
|
+
@return_secure_token = args[:return_secure_token] if args.key?(:return_secure_token)
|
578
690
|
@upgrade_to_federated_login = args[:upgrade_to_federated_login] if args.key?(:upgrade_to_federated_login)
|
579
691
|
@valid_since = args[:valid_since] if args.key?(:valid_since)
|
580
692
|
end
|
581
693
|
end
|
582
694
|
|
695
|
+
# Request to set the project configuration.
|
696
|
+
class SetProjectConfigRequest
|
697
|
+
include Google::Apis::Core::Hashable
|
698
|
+
|
699
|
+
# Whether to allow password user sign in or sign up.
|
700
|
+
# Corresponds to the JSON property `allowPasswordUser`
|
701
|
+
# @return [Boolean]
|
702
|
+
attr_accessor :allow_password_user
|
703
|
+
alias_method :allow_password_user?, :allow_password_user
|
704
|
+
|
705
|
+
# Browser API key, needed when making http request to Apiary.
|
706
|
+
# Corresponds to the JSON property `apiKey`
|
707
|
+
# @return [String]
|
708
|
+
attr_accessor :api_key
|
709
|
+
|
710
|
+
# Template for an email template.
|
711
|
+
# Corresponds to the JSON property `changeEmailTemplate`
|
712
|
+
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
|
713
|
+
attr_accessor :change_email_template
|
714
|
+
|
715
|
+
# GCP project number of the requesting delegated app. Currently only intended
|
716
|
+
# for Firebase V1 migration.
|
717
|
+
# Corresponds to the JSON property `delegatedProjectNumber`
|
718
|
+
# @return [String]
|
719
|
+
attr_accessor :delegated_project_number
|
720
|
+
|
721
|
+
# Oauth2 provider configuration.
|
722
|
+
# Corresponds to the JSON property `idpConfig`
|
723
|
+
# @return [Array<Google::Apis::IdentitytoolkitV3::IdpConfig>]
|
724
|
+
attr_accessor :idp_config
|
725
|
+
|
726
|
+
# Template for an email template.
|
727
|
+
# Corresponds to the JSON property `resetPasswordTemplate`
|
728
|
+
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
|
729
|
+
attr_accessor :reset_password_template
|
730
|
+
|
731
|
+
# Whether to use email sending provided by Firebear.
|
732
|
+
# Corresponds to the JSON property `useEmailSending`
|
733
|
+
# @return [Boolean]
|
734
|
+
attr_accessor :use_email_sending
|
735
|
+
alias_method :use_email_sending?, :use_email_sending
|
736
|
+
|
737
|
+
# Template for an email template.
|
738
|
+
# Corresponds to the JSON property `verifyEmailTemplate`
|
739
|
+
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
|
740
|
+
attr_accessor :verify_email_template
|
741
|
+
|
742
|
+
def initialize(**args)
|
743
|
+
update!(**args)
|
744
|
+
end
|
745
|
+
|
746
|
+
# Update properties of this object
|
747
|
+
def update!(**args)
|
748
|
+
@allow_password_user = args[:allow_password_user] if args.key?(:allow_password_user)
|
749
|
+
@api_key = args[:api_key] if args.key?(:api_key)
|
750
|
+
@change_email_template = args[:change_email_template] if args.key?(:change_email_template)
|
751
|
+
@delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number)
|
752
|
+
@idp_config = args[:idp_config] if args.key?(:idp_config)
|
753
|
+
@reset_password_template = args[:reset_password_template] if args.key?(:reset_password_template)
|
754
|
+
@use_email_sending = args[:use_email_sending] if args.key?(:use_email_sending)
|
755
|
+
@verify_email_template = args[:verify_email_template] if args.key?(:verify_email_template)
|
756
|
+
end
|
757
|
+
end
|
758
|
+
|
759
|
+
# Response of setting the project configuration.
|
760
|
+
class IdentitytoolkitRelyingpartySetProjectConfigResponse
|
761
|
+
include Google::Apis::Core::Hashable
|
762
|
+
|
763
|
+
# Project ID of the relying party.
|
764
|
+
# Corresponds to the JSON property `projectId`
|
765
|
+
# @return [String]
|
766
|
+
attr_accessor :project_id
|
767
|
+
|
768
|
+
def initialize(**args)
|
769
|
+
update!(**args)
|
770
|
+
end
|
771
|
+
|
772
|
+
# Update properties of this object
|
773
|
+
def update!(**args)
|
774
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
775
|
+
end
|
776
|
+
end
|
777
|
+
|
583
778
|
# Request to sign out user.
|
584
779
|
class SignOutUserRequest
|
585
780
|
include Google::Apis::Core::Hashable
|
@@ -663,6 +858,12 @@ module Google
|
|
663
858
|
# @return [String]
|
664
859
|
attr_accessor :password
|
665
860
|
|
861
|
+
# Whether return sts id token and refresh token instead of gitkit token.
|
862
|
+
# Corresponds to the JSON property `returnSecureToken`
|
863
|
+
# @return [Boolean]
|
864
|
+
attr_accessor :return_secure_token
|
865
|
+
alias_method :return_secure_token?, :return_secure_token
|
866
|
+
|
666
867
|
def initialize(**args)
|
667
868
|
update!(**args)
|
668
869
|
end
|
@@ -676,6 +877,7 @@ module Google
|
|
676
877
|
@id_token = args[:id_token] if args.key?(:id_token)
|
677
878
|
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
678
879
|
@password = args[:password] if args.key?(:password)
|
880
|
+
@return_secure_token = args[:return_secure_token] if args.key?(:return_secure_token)
|
679
881
|
end
|
680
882
|
end
|
681
883
|
|
@@ -777,6 +979,12 @@ module Google
|
|
777
979
|
attr_accessor :return_refresh_token
|
778
980
|
alias_method :return_refresh_token?, :return_refresh_token
|
779
981
|
|
982
|
+
# Whether return sts id token and refresh token instead of gitkit token.
|
983
|
+
# Corresponds to the JSON property `returnSecureToken`
|
984
|
+
# @return [Boolean]
|
985
|
+
attr_accessor :return_secure_token
|
986
|
+
alias_method :return_secure_token?, :return_secure_token
|
987
|
+
|
780
988
|
# Session ID, which should match the one in previous createAuthUri request.
|
781
989
|
# Corresponds to the JSON property `sessionId`
|
782
990
|
# @return [String]
|
@@ -795,6 +1003,7 @@ module Google
|
|
795
1003
|
@post_body = args[:post_body] if args.key?(:post_body)
|
796
1004
|
@request_uri = args[:request_uri] if args.key?(:request_uri)
|
797
1005
|
@return_refresh_token = args[:return_refresh_token] if args.key?(:return_refresh_token)
|
1006
|
+
@return_secure_token = args[:return_secure_token] if args.key?(:return_secure_token)
|
798
1007
|
@session_id = args[:session_id] if args.key?(:session_id)
|
799
1008
|
end
|
800
1009
|
end
|
@@ -808,6 +1017,12 @@ module Google
|
|
808
1017
|
# @return [String]
|
809
1018
|
attr_accessor :instance_id
|
810
1019
|
|
1020
|
+
# Whether return sts id token and refresh token instead of gitkit token.
|
1021
|
+
# Corresponds to the JSON property `returnSecureToken`
|
1022
|
+
# @return [Boolean]
|
1023
|
+
attr_accessor :return_secure_token
|
1024
|
+
alias_method :return_secure_token?, :return_secure_token
|
1025
|
+
|
811
1026
|
# The custom token to verify
|
812
1027
|
# Corresponds to the JSON property `token`
|
813
1028
|
# @return [String]
|
@@ -820,6 +1035,7 @@ module Google
|
|
820
1035
|
# Update properties of this object
|
821
1036
|
def update!(**args)
|
822
1037
|
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
1038
|
+
@return_secure_token = args[:return_secure_token] if args.key?(:return_secure_token)
|
823
1039
|
@token = args[:token] if args.key?(:token)
|
824
1040
|
end
|
825
1041
|
end
|
@@ -869,6 +1085,12 @@ module Google
|
|
869
1085
|
# @return [String]
|
870
1086
|
attr_accessor :pending_id_token
|
871
1087
|
|
1088
|
+
# Whether return sts id token and refresh token instead of gitkit token.
|
1089
|
+
# Corresponds to the JSON property `returnSecureToken`
|
1090
|
+
# @return [Boolean]
|
1091
|
+
attr_accessor :return_secure_token
|
1092
|
+
alias_method :return_secure_token?, :return_secure_token
|
1093
|
+
|
872
1094
|
def initialize(**args)
|
873
1095
|
update!(**args)
|
874
1096
|
end
|
@@ -883,6 +1105,7 @@ module Google
|
|
883
1105
|
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
884
1106
|
@password = args[:password] if args.key?(:password)
|
885
1107
|
@pending_id_token = args[:pending_id_token] if args.key?(:pending_id_token)
|
1108
|
+
@return_secure_token = args[:return_secure_token] if args.key?(:return_secure_token)
|
886
1109
|
end
|
887
1110
|
end
|
888
1111
|
|
@@ -1025,6 +1248,12 @@ module Google
|
|
1025
1248
|
# @return [String]
|
1026
1249
|
attr_accessor :email
|
1027
1250
|
|
1251
|
+
# If idToken is STS id token, then this field will be expiration time of STS id
|
1252
|
+
# token in seconds.
|
1253
|
+
# Corresponds to the JSON property `expiresIn`
|
1254
|
+
# @return [String]
|
1255
|
+
attr_accessor :expires_in
|
1256
|
+
|
1028
1257
|
# The Gitkit id token to login the newly sign up user.
|
1029
1258
|
# Corresponds to the JSON property `idToken`
|
1030
1259
|
# @return [String]
|
@@ -1050,6 +1279,11 @@ module Google
|
|
1050
1279
|
# @return [Array<Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo>]
|
1051
1280
|
attr_accessor :provider_user_info
|
1052
1281
|
|
1282
|
+
# If idToken is STS id token, then this field will be refresh token.
|
1283
|
+
# Corresponds to the JSON property `refreshToken`
|
1284
|
+
# @return [String]
|
1285
|
+
attr_accessor :refresh_token
|
1286
|
+
|
1053
1287
|
def initialize(**args)
|
1054
1288
|
update!(**args)
|
1055
1289
|
end
|
@@ -1058,11 +1292,13 @@ module Google
|
|
1058
1292
|
def update!(**args)
|
1059
1293
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1060
1294
|
@email = args[:email] if args.key?(:email)
|
1295
|
+
@expires_in = args[:expires_in] if args.key?(:expires_in)
|
1061
1296
|
@id_token = args[:id_token] if args.key?(:id_token)
|
1062
1297
|
@kind = args[:kind] if args.key?(:kind)
|
1063
1298
|
@new_email = args[:new_email] if args.key?(:new_email)
|
1064
1299
|
@photo_url = args[:photo_url] if args.key?(:photo_url)
|
1065
1300
|
@provider_user_info = args[:provider_user_info] if args.key?(:provider_user_info)
|
1301
|
+
@refresh_token = args[:refresh_token] if args.key?(:refresh_token)
|
1066
1302
|
end
|
1067
1303
|
|
1068
1304
|
#
|
@@ -1113,6 +1349,12 @@ module Google
|
|
1113
1349
|
# @return [String]
|
1114
1350
|
attr_accessor :email
|
1115
1351
|
|
1352
|
+
# If idToken is STS id token, then this field will be expiration time of STS id
|
1353
|
+
# token in seconds.
|
1354
|
+
# Corresponds to the JSON property `expiresIn`
|
1355
|
+
# @return [String]
|
1356
|
+
attr_accessor :expires_in
|
1357
|
+
|
1116
1358
|
# The Gitkit id token to login the newly sign up user.
|
1117
1359
|
# Corresponds to the JSON property `idToken`
|
1118
1360
|
# @return [String]
|
@@ -1123,6 +1365,16 @@ module Google
|
|
1123
1365
|
# @return [String]
|
1124
1366
|
attr_accessor :kind
|
1125
1367
|
|
1368
|
+
# The RP local ID of the user.
|
1369
|
+
# Corresponds to the JSON property `localId`
|
1370
|
+
# @return [String]
|
1371
|
+
attr_accessor :local_id
|
1372
|
+
|
1373
|
+
# If idToken is STS id token, then this field will be refresh token.
|
1374
|
+
# Corresponds to the JSON property `refreshToken`
|
1375
|
+
# @return [String]
|
1376
|
+
attr_accessor :refresh_token
|
1377
|
+
|
1126
1378
|
def initialize(**args)
|
1127
1379
|
update!(**args)
|
1128
1380
|
end
|
@@ -1131,8 +1383,11 @@ module Google
|
|
1131
1383
|
def update!(**args)
|
1132
1384
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1133
1385
|
@email = args[:email] if args.key?(:email)
|
1386
|
+
@expires_in = args[:expires_in] if args.key?(:expires_in)
|
1134
1387
|
@id_token = args[:id_token] if args.key?(:id_token)
|
1135
1388
|
@kind = args[:kind] if args.key?(:kind)
|
1389
|
+
@local_id = args[:local_id] if args.key?(:local_id)
|
1390
|
+
@refresh_token = args[:refresh_token] if args.key?(:refresh_token)
|
1136
1391
|
end
|
1137
1392
|
end
|
1138
1393
|
|
@@ -1302,6 +1557,11 @@ module Google
|
|
1302
1557
|
# @return [String]
|
1303
1558
|
attr_accessor :provider_id
|
1304
1559
|
|
1560
|
+
# User's raw identifier directly returned from IDP.
|
1561
|
+
# Corresponds to the JSON property `rawId`
|
1562
|
+
# @return [String]
|
1563
|
+
attr_accessor :raw_id
|
1564
|
+
|
1305
1565
|
def initialize(**args)
|
1306
1566
|
update!(**args)
|
1307
1567
|
end
|
@@ -1313,6 +1573,7 @@ module Google
|
|
1313
1573
|
@federated_id = args[:federated_id] if args.key?(:federated_id)
|
1314
1574
|
@photo_url = args[:photo_url] if args.key?(:photo_url)
|
1315
1575
|
@provider_id = args[:provider_id] if args.key?(:provider_id)
|
1576
|
+
@raw_id = args[:raw_id] if args.key?(:raw_id)
|
1316
1577
|
end
|
1317
1578
|
end
|
1318
1579
|
end
|
@@ -1371,6 +1632,12 @@ module Google
|
|
1371
1632
|
attr_accessor :email_verified
|
1372
1633
|
alias_method :email_verified?, :email_verified
|
1373
1634
|
|
1635
|
+
# If idToken is STS id token, then this field will be expiration time of STS id
|
1636
|
+
# token in seconds.
|
1637
|
+
# Corresponds to the JSON property `expiresIn`
|
1638
|
+
# @return [String]
|
1639
|
+
attr_accessor :expires_in
|
1640
|
+
|
1374
1641
|
# The unique ID identifies the IdP account.
|
1375
1642
|
# Corresponds to the JSON property `federatedId`
|
1376
1643
|
# @return [String]
|
@@ -1462,6 +1729,11 @@ module Google
|
|
1462
1729
|
# @return [String]
|
1463
1730
|
attr_accessor :oauth_scope
|
1464
1731
|
|
1732
|
+
# The OAuth1 access token secret.
|
1733
|
+
# Corresponds to the JSON property `oauthTokenSecret`
|
1734
|
+
# @return [String]
|
1735
|
+
attr_accessor :oauth_token_secret
|
1736
|
+
|
1465
1737
|
# The original email stored in the mapping storage. It's returned when the
|
1466
1738
|
# federated ID is associated to a different email.
|
1467
1739
|
# Corresponds to the JSON property `originalEmail`
|
@@ -1482,6 +1754,11 @@ module Google
|
|
1482
1754
|
# @return [String]
|
1483
1755
|
attr_accessor :provider_id
|
1484
1756
|
|
1757
|
+
# If idToken is STS id token, then this field will be refresh token.
|
1758
|
+
# Corresponds to the JSON property `refreshToken`
|
1759
|
+
# @return [String]
|
1760
|
+
attr_accessor :refresh_token
|
1761
|
+
|
1485
1762
|
# The timezone of the user.
|
1486
1763
|
# Corresponds to the JSON property `timeZone`
|
1487
1764
|
# @return [String]
|
@@ -1507,6 +1784,7 @@ module Google
|
|
1507
1784
|
@email = args[:email] if args.key?(:email)
|
1508
1785
|
@email_recycled = args[:email_recycled] if args.key?(:email_recycled)
|
1509
1786
|
@email_verified = args[:email_verified] if args.key?(:email_verified)
|
1787
|
+
@expires_in = args[:expires_in] if args.key?(:expires_in)
|
1510
1788
|
@federated_id = args[:federated_id] if args.key?(:federated_id)
|
1511
1789
|
@first_name = args[:first_name] if args.key?(:first_name)
|
1512
1790
|
@full_name = args[:full_name] if args.key?(:full_name)
|
@@ -1524,9 +1802,11 @@ module Google
|
|
1524
1802
|
@oauth_expire_in = args[:oauth_expire_in] if args.key?(:oauth_expire_in)
|
1525
1803
|
@oauth_request_token = args[:oauth_request_token] if args.key?(:oauth_request_token)
|
1526
1804
|
@oauth_scope = args[:oauth_scope] if args.key?(:oauth_scope)
|
1805
|
+
@oauth_token_secret = args[:oauth_token_secret] if args.key?(:oauth_token_secret)
|
1527
1806
|
@original_email = args[:original_email] if args.key?(:original_email)
|
1528
1807
|
@photo_url = args[:photo_url] if args.key?(:photo_url)
|
1529
1808
|
@provider_id = args[:provider_id] if args.key?(:provider_id)
|
1809
|
+
@refresh_token = args[:refresh_token] if args.key?(:refresh_token)
|
1530
1810
|
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
1531
1811
|
@verified_provider = args[:verified_provider] if args.key?(:verified_provider)
|
1532
1812
|
end
|
@@ -1536,6 +1816,12 @@ module Google
|
|
1536
1816
|
class VerifyCustomTokenResponse
|
1537
1817
|
include Google::Apis::Core::Hashable
|
1538
1818
|
|
1819
|
+
# If idToken is STS id token, then this field will be expiration time of STS id
|
1820
|
+
# token in seconds.
|
1821
|
+
# Corresponds to the JSON property `expiresIn`
|
1822
|
+
# @return [String]
|
1823
|
+
attr_accessor :expires_in
|
1824
|
+
|
1539
1825
|
# The GITKit token for authenticated user.
|
1540
1826
|
# Corresponds to the JSON property `idToken`
|
1541
1827
|
# @return [String]
|
@@ -1546,14 +1832,21 @@ module Google
|
|
1546
1832
|
# @return [String]
|
1547
1833
|
attr_accessor :kind
|
1548
1834
|
|
1835
|
+
# If idToken is STS id token, then this field will be refresh token.
|
1836
|
+
# Corresponds to the JSON property `refreshToken`
|
1837
|
+
# @return [String]
|
1838
|
+
attr_accessor :refresh_token
|
1839
|
+
|
1549
1840
|
def initialize(**args)
|
1550
1841
|
update!(**args)
|
1551
1842
|
end
|
1552
1843
|
|
1553
1844
|
# Update properties of this object
|
1554
1845
|
def update!(**args)
|
1846
|
+
@expires_in = args[:expires_in] if args.key?(:expires_in)
|
1555
1847
|
@id_token = args[:id_token] if args.key?(:id_token)
|
1556
1848
|
@kind = args[:kind] if args.key?(:kind)
|
1849
|
+
@refresh_token = args[:refresh_token] if args.key?(:refresh_token)
|
1557
1850
|
end
|
1558
1851
|
end
|
1559
1852
|
|
@@ -1572,6 +1865,12 @@ module Google
|
|
1572
1865
|
# @return [String]
|
1573
1866
|
attr_accessor :email
|
1574
1867
|
|
1868
|
+
# If idToken is STS id token, then this field will be expiration time of STS id
|
1869
|
+
# token in seconds.
|
1870
|
+
# Corresponds to the JSON property `expiresIn`
|
1871
|
+
# @return [String]
|
1872
|
+
attr_accessor :expires_in
|
1873
|
+
|
1575
1874
|
# The GITKit token for authenticated user.
|
1576
1875
|
# Corresponds to the JSON property `idToken`
|
1577
1876
|
# @return [String]
|
@@ -1608,6 +1907,11 @@ module Google
|
|
1608
1907
|
# @return [String]
|
1609
1908
|
attr_accessor :photo_url
|
1610
1909
|
|
1910
|
+
# If idToken is STS id token, then this field will be refresh token.
|
1911
|
+
# Corresponds to the JSON property `refreshToken`
|
1912
|
+
# @return [String]
|
1913
|
+
attr_accessor :refresh_token
|
1914
|
+
|
1611
1915
|
# Whether the email is registered.
|
1612
1916
|
# Corresponds to the JSON property `registered`
|
1613
1917
|
# @return [Boolean]
|
@@ -1622,6 +1926,7 @@ module Google
|
|
1622
1926
|
def update!(**args)
|
1623
1927
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1624
1928
|
@email = args[:email] if args.key?(:email)
|
1929
|
+
@expires_in = args[:expires_in] if args.key?(:expires_in)
|
1625
1930
|
@id_token = args[:id_token] if args.key?(:id_token)
|
1626
1931
|
@kind = args[:kind] if args.key?(:kind)
|
1627
1932
|
@local_id = args[:local_id] if args.key?(:local_id)
|
@@ -1629,6 +1934,7 @@ module Google
|
|
1629
1934
|
@oauth_authorization_code = args[:oauth_authorization_code] if args.key?(:oauth_authorization_code)
|
1630
1935
|
@oauth_expire_in = args[:oauth_expire_in] if args.key?(:oauth_expire_in)
|
1631
1936
|
@photo_url = args[:photo_url] if args.key?(:photo_url)
|
1937
|
+
@refresh_token = args[:refresh_token] if args.key?(:refresh_token)
|
1632
1938
|
@registered = args[:registered] if args.key?(:registered)
|
1633
1939
|
end
|
1634
1940
|
end
|