google-api-client 0.9.pre5 → 0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +2 -2
- data/api_names.yaml +11 -3
- data/api_names_out.yaml +29 -5
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +38 -1
- data/generated/google/apis/androidpublisher_v2/representations.rb +16 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +1 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
- data/generated/google/apis/civicinfo_v2/service.rb +4 -4
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +2 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +20 -20
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +2 -1
- data/generated/google/apis/doubleclicksearch_v2.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/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/service.rb +3 -3
- data/generated/google/apis/groupssettings_v1/service.rb +3 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +112 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +50 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +70 -0
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/oauth2_v2.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/classes.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/lib/google/apis/generator/annotator.rb +5 -0
- data/lib/google/apis/generator/model.rb +3 -0
- data/lib/google/apis/generator/templates/_method.tmpl +3 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +4 -4
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/monitoring/v2beta2/
|
26
26
|
module CloudmonitoringV2beta2
|
27
27
|
VERSION = 'V2beta2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160110'
|
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://cloud.google.com/resource-manager
|
27
27
|
module CloudresourcemanagerV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160112'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -303,7 +303,8 @@ module Google
|
|
303
303
|
include Google::Apis::Core::Hashable
|
304
304
|
|
305
305
|
# The set of permissions to check for the `resource`. Permissions with wildcards
|
306
|
-
# (such as '*' or 'storage.*') are not allowed.
|
306
|
+
# (such as '*' or 'storage.*') are not allowed. For more information see IAM
|
307
|
+
# Overview.
|
307
308
|
# Corresponds to the JSON property `permissions`
|
308
309
|
# @return [Array<String>]
|
309
310
|
attr_accessor :permissions
|
@@ -273,9 +273,9 @@ module Google
|
|
273
273
|
# Returns the IAM access control policy for the specified Project. Permission is
|
274
274
|
# denied if the policy or the resource does not exist.
|
275
275
|
# @param [String] resource
|
276
|
-
# REQUIRED: The resource for which policy is being requested. `resource` is
|
277
|
-
# usually specified as a path, such as
|
278
|
-
# disk
|
276
|
+
# REQUIRED: The resource for which the policy is being requested. `resource` is
|
277
|
+
# usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
|
278
|
+
# disk*`. The format for the path specified in this value is resource specific
|
279
279
|
# and is specified in the `getIamPolicy` documentation.
|
280
280
|
# @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object
|
281
281
|
# @param [String] fields
|
@@ -321,9 +321,9 @@ module Google
|
|
321
321
|
# understand how the service account is being used before removing or updating
|
322
322
|
# its roles.
|
323
323
|
# @param [String] resource
|
324
|
-
# REQUIRED: The resource for which policy is being specified. `resource` is
|
325
|
-
# usually specified as a path, such as
|
326
|
-
# disk
|
324
|
+
# REQUIRED: The resource for which the policy is being specified. `resource` is
|
325
|
+
# usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
|
326
|
+
# disk*`. The format for the path specified in this value is resource specific
|
327
327
|
# and is specified in the `setIamPolicy` documentation.
|
328
328
|
# @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
329
329
|
# @param [String] fields
|
@@ -357,10 +357,10 @@ module Google
|
|
357
357
|
|
358
358
|
# Returns permissions that a caller has on the specified Project.
|
359
359
|
# @param [String] resource
|
360
|
-
# REQUIRED: The resource for which policy detail is being requested. `
|
361
|
-
# is usually specified as a path, such as
|
362
|
-
# disks
|
363
|
-
# specific and is specified in the `testIamPermissions` documentation.
|
360
|
+
# REQUIRED: The resource for which the policy detail is being requested. `
|
361
|
+
# resource` is usually specified as a path, such as `projects/*project*/zones/*
|
362
|
+
# zone*/disks/*disk*`. The format for the path specified in this value is
|
363
|
+
# resource specific and is specified in the `testIamPermissions` documentation.
|
364
364
|
# @param [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
365
365
|
# @param [String] fields
|
366
366
|
# Selector specifying which fields to include in a partial response.
|
@@ -504,9 +504,9 @@ module Google
|
|
504
504
|
# Sets the access control policy on an Organization resource. Replaces any
|
505
505
|
# existing policy.
|
506
506
|
# @param [String] resource
|
507
|
-
# REQUIRED: The resource for which policy is being specified. `resource` is
|
508
|
-
# usually specified as a path, such as
|
509
|
-
# disk
|
507
|
+
# REQUIRED: The resource for which the policy is being specified. `resource` is
|
508
|
+
# usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
|
509
|
+
# disk*`. The format for the path specified in this value is resource specific
|
510
510
|
# and is specified in the `setIamPolicy` documentation.
|
511
511
|
# @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
512
512
|
# @param [String] fields
|
@@ -541,9 +541,9 @@ module Google
|
|
541
541
|
# Gets the access control policy for an Organization resource. May be empty if
|
542
542
|
# no such policy or resource exists.
|
543
543
|
# @param [String] resource
|
544
|
-
# REQUIRED: The resource for which policy is being requested. `resource` is
|
545
|
-
# usually specified as a path, such as
|
546
|
-
# disk
|
544
|
+
# REQUIRED: The resource for which the policy is being requested. `resource` is
|
545
|
+
# usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
|
546
|
+
# disk*`. The format for the path specified in this value is resource specific
|
547
547
|
# and is specified in the `getIamPolicy` documentation.
|
548
548
|
# @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object
|
549
549
|
# @param [String] fields
|
@@ -577,10 +577,10 @@ module Google
|
|
577
577
|
|
578
578
|
# Returns permissions that a caller has on the specified Organization.
|
579
579
|
# @param [String] resource
|
580
|
-
# REQUIRED: The resource for which policy detail is being requested. `
|
581
|
-
# is usually specified as a path, such as
|
582
|
-
# disks
|
583
|
-
# specific and is specified in the `testIamPermissions` documentation.
|
580
|
+
# REQUIRED: The resource for which the policy detail is being requested. `
|
581
|
+
# resource` is usually specified as a path, such as `projects/*project*/zones/*
|
582
|
+
# zone*/disks/*disk*`. The format for the path specified in this value is
|
583
|
+
# resource specific and is specified in the `testIamPermissions` documentation.
|
584
584
|
# @param [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
585
585
|
# @param [String] fields
|
586
586
|
# Selector specifying which fields to include in a partial response.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeBeta
|
27
27
|
VERSION = 'Beta'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160107'
|
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'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160107'
|
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://cloud.google.com/deployment-manager/
|
27
27
|
module DeploymentmanagerV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160104'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -374,7 +374,8 @@ module Google
|
|
374
374
|
attr_accessor :http_error_message
|
375
375
|
|
376
376
|
# [Output Only] If the operation fails, this field contains the HTTP error
|
377
|
-
#
|
377
|
+
# status code that was returned. For example, a 404 means the resource was not
|
378
|
+
# found.
|
378
379
|
# Corresponds to the JSON property `httpErrorStatusCode`
|
379
380
|
# @return [Fixnum]
|
380
381
|
attr_accessor :http_error_status_code
|
@@ -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 = '
|
29
|
+
REVISION = '20160108'
|
30
30
|
|
31
31
|
# View and manage your advertising data in DoubleClick Search
|
32
32
|
AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'
|
@@ -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 = '
|
28
|
+
REVISION = '20160106'
|
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 = '
|
28
|
+
REVISION = '20160106'
|
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 = '
|
28
|
+
REVISION = '20160106'
|
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'
|
@@ -495,9 +495,9 @@ module Google
|
|
495
495
|
# import - Tags will be converted to strings - tag types are not preserved -
|
496
496
|
# Comments (`@CO`) in the input file header will not be preserved - Original
|
497
497
|
# header order of references (`@SQ`) will not be preserved - Any reverse
|
498
|
-
# stranded unmapped reads will be reverse complemented, and their qualities (
|
499
|
-
# "BQ"
|
500
|
-
# positional information (reference name and position)
|
498
|
+
# stranded unmapped reads will be reverse complemented, and their qualities (
|
499
|
+
# also the "BQ" and "OQ" tags, if any) will be reversed - Unmapped reads will be
|
500
|
+
# stripped of positional information (reference name and position)
|
501
501
|
# @param [Google::Apis::GenomicsV1::ImportReadGroupSetsRequest] import_read_group_sets_request_object
|
502
502
|
# @param [String] fields
|
503
503
|
# Selector specifying which fields to include in a partial response.
|
@@ -78,6 +78,7 @@ module Google
|
|
78
78
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
79
79
|
def get_group(group_unique_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
80
80
|
command = make_simple_command(:get, '{groupUniqueId}', options)
|
81
|
+
command.query['alt'] = 'json'
|
81
82
|
command.response_representation = Google::Apis::GroupssettingsV1::Groups::Representation
|
82
83
|
command.response_class = Google::Apis::GroupssettingsV1::Groups
|
83
84
|
command.params['groupUniqueId'] = group_unique_id unless group_unique_id.nil?
|
@@ -116,6 +117,7 @@ module Google
|
|
116
117
|
command = make_simple_command(:patch, '{groupUniqueId}', options)
|
117
118
|
command.request_representation = Google::Apis::GroupssettingsV1::Groups::Representation
|
118
119
|
command.request_object = groups_object
|
120
|
+
command.query['alt'] = 'json'
|
119
121
|
command.response_representation = Google::Apis::GroupssettingsV1::Groups::Representation
|
120
122
|
command.response_class = Google::Apis::GroupssettingsV1::Groups
|
121
123
|
command.params['groupUniqueId'] = group_unique_id unless group_unique_id.nil?
|
@@ -154,6 +156,7 @@ module Google
|
|
154
156
|
command = make_simple_command(:put, '{groupUniqueId}', options)
|
155
157
|
command.request_representation = Google::Apis::GroupssettingsV1::Groups::Representation
|
156
158
|
command.request_object = groups_object
|
159
|
+
command.query['alt'] = 'json'
|
157
160
|
command.response_representation = Google::Apis::GroupssettingsV1::Groups::Representation
|
158
161
|
command.response_class = Google::Apis::GroupssettingsV1::Groups
|
159
162
|
command.params['groupUniqueId'] = group_unique_id unless group_unique_id.nil?
|
@@ -488,6 +488,11 @@ module Google
|
|
488
488
|
# @return [String]
|
489
489
|
attr_accessor :id_token
|
490
490
|
|
491
|
+
# Instance id token of the app.
|
492
|
+
# Corresponds to the JSON property `instanceId`
|
493
|
+
# @return [String]
|
494
|
+
attr_accessor :instance_id
|
495
|
+
|
491
496
|
# The local ID of the user.
|
492
497
|
# Corresponds to the JSON property `localId`
|
493
498
|
# @return [String]
|
@@ -532,6 +537,7 @@ module Google
|
|
532
537
|
@email = args[:email] unless args[:email].nil?
|
533
538
|
@email_verified = args[:email_verified] unless args[:email_verified].nil?
|
534
539
|
@id_token = args[:id_token] unless args[:id_token].nil?
|
540
|
+
@instance_id = args[:instance_id] unless args[:instance_id].nil?
|
535
541
|
@local_id = args[:local_id] unless args[:local_id].nil?
|
536
542
|
@oob_code = args[:oob_code] unless args[:oob_code].nil?
|
537
543
|
@password = args[:password] unless args[:password].nil?
|
@@ -541,6 +547,50 @@ module Google
|
|
541
547
|
end
|
542
548
|
end
|
543
549
|
|
550
|
+
# Request to sign out user.
|
551
|
+
class SignOutUserRequest
|
552
|
+
include Google::Apis::Core::Hashable
|
553
|
+
|
554
|
+
# Instance id token of the app.
|
555
|
+
# Corresponds to the JSON property `instanceId`
|
556
|
+
# @return [String]
|
557
|
+
attr_accessor :instance_id
|
558
|
+
|
559
|
+
# The local ID of the user.
|
560
|
+
# Corresponds to the JSON property `localId`
|
561
|
+
# @return [String]
|
562
|
+
attr_accessor :local_id
|
563
|
+
|
564
|
+
def initialize(**args)
|
565
|
+
update!(**args)
|
566
|
+
end
|
567
|
+
|
568
|
+
# Update properties of this object
|
569
|
+
def update!(**args)
|
570
|
+
@instance_id = args[:instance_id] unless args[:instance_id].nil?
|
571
|
+
@local_id = args[:local_id] unless args[:local_id].nil?
|
572
|
+
end
|
573
|
+
end
|
574
|
+
|
575
|
+
# Response of signing out user.
|
576
|
+
class SignOutUserResponse
|
577
|
+
include Google::Apis::Core::Hashable
|
578
|
+
|
579
|
+
# The local ID of the user.
|
580
|
+
# Corresponds to the JSON property `localId`
|
581
|
+
# @return [String]
|
582
|
+
attr_accessor :local_id
|
583
|
+
|
584
|
+
def initialize(**args)
|
585
|
+
update!(**args)
|
586
|
+
end
|
587
|
+
|
588
|
+
# Update properties of this object
|
589
|
+
def update!(**args)
|
590
|
+
@local_id = args[:local_id] unless args[:local_id].nil?
|
591
|
+
end
|
592
|
+
end
|
593
|
+
|
544
594
|
# Request to upload user account in batch.
|
545
595
|
class UploadAccountRequest
|
546
596
|
include Google::Apis::Core::Hashable
|
@@ -594,6 +644,11 @@ module Google
|
|
594
644
|
class VerifyAssertionRequest
|
595
645
|
include Google::Apis::Core::Hashable
|
596
646
|
|
647
|
+
# Instance id token of the app.
|
648
|
+
# Corresponds to the JSON property `instanceId`
|
649
|
+
# @return [String]
|
650
|
+
attr_accessor :instance_id
|
651
|
+
|
597
652
|
# The GITKit token for the non-trusted IDP pending to be confirmed by the user.
|
598
653
|
# Corresponds to the JSON property `pendingIdToken`
|
599
654
|
# @return [String]
|
@@ -627,6 +682,7 @@ module Google
|
|
627
682
|
|
628
683
|
# Update properties of this object
|
629
684
|
def update!(**args)
|
685
|
+
@instance_id = args[:instance_id] unless args[:instance_id].nil?
|
630
686
|
@pending_id_token = args[:pending_id_token] unless args[:pending_id_token].nil?
|
631
687
|
@post_body = args[:post_body] unless args[:post_body].nil?
|
632
688
|
@request_uri = args[:request_uri] unless args[:request_uri].nil?
|
@@ -635,6 +691,31 @@ module Google
|
|
635
691
|
end
|
636
692
|
end
|
637
693
|
|
694
|
+
# Request to verify a custom token
|
695
|
+
class VerifyCustomTokenRequest
|
696
|
+
include Google::Apis::Core::Hashable
|
697
|
+
|
698
|
+
# Instance id token of the app.
|
699
|
+
# Corresponds to the JSON property `instanceId`
|
700
|
+
# @return [String]
|
701
|
+
attr_accessor :instance_id
|
702
|
+
|
703
|
+
# The custom token to verify
|
704
|
+
# Corresponds to the JSON property `token`
|
705
|
+
# @return [String]
|
706
|
+
attr_accessor :token
|
707
|
+
|
708
|
+
def initialize(**args)
|
709
|
+
update!(**args)
|
710
|
+
end
|
711
|
+
|
712
|
+
# Update properties of this object
|
713
|
+
def update!(**args)
|
714
|
+
@instance_id = args[:instance_id] unless args[:instance_id].nil?
|
715
|
+
@token = args[:token] unless args[:token].nil?
|
716
|
+
end
|
717
|
+
end
|
718
|
+
|
638
719
|
# Request to verify the password.
|
639
720
|
class VerifyPasswordRequest
|
640
721
|
include Google::Apis::Core::Hashable
|
@@ -654,6 +735,11 @@ module Google
|
|
654
735
|
# @return [String]
|
655
736
|
attr_accessor :email
|
656
737
|
|
738
|
+
# Instance id token of the app.
|
739
|
+
# Corresponds to the JSON property `instanceId`
|
740
|
+
# @return [String]
|
741
|
+
attr_accessor :instance_id
|
742
|
+
|
657
743
|
# The password inputed by the user.
|
658
744
|
# Corresponds to the JSON property `password`
|
659
745
|
# @return [String]
|
@@ -673,6 +759,7 @@ module Google
|
|
673
759
|
@captcha_challenge = args[:captcha_challenge] unless args[:captcha_challenge].nil?
|
674
760
|
@captcha_response = args[:captcha_response] unless args[:captcha_response].nil?
|
675
761
|
@email = args[:email] unless args[:email].nil?
|
762
|
+
@instance_id = args[:instance_id] unless args[:instance_id].nil?
|
676
763
|
@password = args[:password] unless args[:password].nil?
|
677
764
|
@pending_id_token = args[:pending_id_token] unless args[:pending_id_token].nil?
|
678
765
|
end
|
@@ -1274,6 +1361,31 @@ module Google
|
|
1274
1361
|
end
|
1275
1362
|
end
|
1276
1363
|
|
1364
|
+
# Response from verifying a custom token
|
1365
|
+
class VerifyCustomTokenResponse
|
1366
|
+
include Google::Apis::Core::Hashable
|
1367
|
+
|
1368
|
+
# The GITKit token for authenticated user.
|
1369
|
+
# Corresponds to the JSON property `idToken`
|
1370
|
+
# @return [String]
|
1371
|
+
attr_accessor :id_token
|
1372
|
+
|
1373
|
+
# The fixed string "identitytoolkit#VerifyCustomTokenResponse".
|
1374
|
+
# Corresponds to the JSON property `kind`
|
1375
|
+
# @return [String]
|
1376
|
+
attr_accessor :kind
|
1377
|
+
|
1378
|
+
def initialize(**args)
|
1379
|
+
update!(**args)
|
1380
|
+
end
|
1381
|
+
|
1382
|
+
# Update properties of this object
|
1383
|
+
def update!(**args)
|
1384
|
+
@id_token = args[:id_token] unless args[:id_token].nil?
|
1385
|
+
@kind = args[:kind] unless args[:kind].nil?
|
1386
|
+
end
|
1387
|
+
end
|
1388
|
+
|
1277
1389
|
# Request of verifying the password.
|
1278
1390
|
class VerifyPasswordResponse
|
1279
1391
|
include Google::Apis::Core::Hashable
|
@@ -74,6 +74,14 @@ module Google
|
|
74
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
75
|
end
|
76
76
|
|
77
|
+
class SignOutUserRequest
|
78
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
79
|
+
end
|
80
|
+
|
81
|
+
class SignOutUserResponse
|
82
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
83
|
+
end
|
84
|
+
|
77
85
|
class UploadAccountRequest
|
78
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
79
87
|
end
|
@@ -82,6 +90,10 @@ module Google
|
|
82
90
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
83
91
|
end
|
84
92
|
|
93
|
+
class VerifyCustomTokenRequest
|
94
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
95
|
+
end
|
96
|
+
|
85
97
|
class VerifyPasswordRequest
|
86
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
99
|
end
|
@@ -126,6 +138,10 @@ module Google
|
|
126
138
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
127
139
|
end
|
128
140
|
|
141
|
+
class VerifyCustomTokenResponse
|
142
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
143
|
+
end
|
144
|
+
|
129
145
|
class VerifyPasswordResponse
|
130
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
131
147
|
end
|
@@ -258,6 +274,7 @@ module Google
|
|
258
274
|
property :email, as: 'email'
|
259
275
|
property :email_verified, as: 'emailVerified'
|
260
276
|
property :id_token, as: 'idToken'
|
277
|
+
property :instance_id, as: 'instanceId'
|
261
278
|
property :local_id, as: 'localId'
|
262
279
|
property :oob_code, as: 'oobCode'
|
263
280
|
property :password, as: 'password'
|
@@ -267,6 +284,21 @@ module Google
|
|
267
284
|
end
|
268
285
|
end
|
269
286
|
|
287
|
+
class SignOutUserRequest
|
288
|
+
# @private
|
289
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
290
|
+
property :instance_id, as: 'instanceId'
|
291
|
+
property :local_id, as: 'localId'
|
292
|
+
end
|
293
|
+
end
|
294
|
+
|
295
|
+
class SignOutUserResponse
|
296
|
+
# @private
|
297
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
298
|
+
property :local_id, as: 'localId'
|
299
|
+
end
|
300
|
+
end
|
301
|
+
|
270
302
|
class UploadAccountRequest
|
271
303
|
# @private
|
272
304
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -283,6 +315,7 @@ module Google
|
|
283
315
|
class VerifyAssertionRequest
|
284
316
|
# @private
|
285
317
|
class Representation < Google::Apis::Core::JsonRepresentation
|
318
|
+
property :instance_id, as: 'instanceId'
|
286
319
|
property :pending_id_token, as: 'pendingIdToken'
|
287
320
|
property :post_body, as: 'postBody'
|
288
321
|
property :request_uri, as: 'requestUri'
|
@@ -291,12 +324,21 @@ module Google
|
|
291
324
|
end
|
292
325
|
end
|
293
326
|
|
327
|
+
class VerifyCustomTokenRequest
|
328
|
+
# @private
|
329
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
330
|
+
property :instance_id, as: 'instanceId'
|
331
|
+
property :token, as: 'token'
|
332
|
+
end
|
333
|
+
end
|
334
|
+
|
294
335
|
class VerifyPasswordRequest
|
295
336
|
# @private
|
296
337
|
class Representation < Google::Apis::Core::JsonRepresentation
|
297
338
|
property :captcha_challenge, as: 'captchaChallenge'
|
298
339
|
property :captcha_response, as: 'captchaResponse'
|
299
340
|
property :email, as: 'email'
|
341
|
+
property :instance_id, as: 'instanceId'
|
300
342
|
property :password, as: 'password'
|
301
343
|
property :pending_id_token, as: 'pendingIdToken'
|
302
344
|
end
|
@@ -439,6 +481,14 @@ module Google
|
|
439
481
|
end
|
440
482
|
end
|
441
483
|
|
484
|
+
class VerifyCustomTokenResponse
|
485
|
+
# @private
|
486
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
487
|
+
property :id_token, as: 'idToken'
|
488
|
+
property :kind, as: 'kind'
|
489
|
+
end
|
490
|
+
end
|
491
|
+
|
442
492
|
class VerifyPasswordResponse
|
443
493
|
# @private
|
444
494
|
class Representation < Google::Apis::Core::JsonRepresentation
|