Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1GetAccountInfoRequest
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1GetAccountInfoRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/identitytoolkit_v1/classes.rb,
lib/google/apis/identitytoolkit_v1/representations.rb,
lib/google/apis/identitytoolkit_v1/representations.rb
Overview
Request message for GetAccountInfo.
Instance Attribute Summary collapse
-
#delegated_project_number ⇒ Fixnum
Corresponds to the JSON property
delegatedProjectNumber. -
#email ⇒ Array<String>
The email address of one or more accounts to fetch.
-
#federated_user_id ⇒ Array<Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1FederatedUserIdentifier>
Corresponds to the JSON property
federatedUserId. -
#id_token ⇒ String
The Identity Platform ID token of the account to fetch.
-
#initial_email ⇒ Array<String>
The initial email of one or more accounts to fetch.
-
#local_id ⇒ Array<String>
The ID of one or more accounts to fetch.
-
#phone_number ⇒ Array<String>
The phone number of one or more accounts to fetch.
-
#target_project_id ⇒ String
The ID of the Google Cloud project that the account or the Identity Platform tenant specified by
tenant_idbelongs to. -
#tenant_id ⇒ String
The ID of the tenant that the account belongs to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1GetAccountInfoRequest
constructor
A new instance of GoogleCloudIdentitytoolkitV1GetAccountInfoRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1GetAccountInfoRequest
Returns a new instance of GoogleCloudIdentitytoolkitV1GetAccountInfoRequest.
765 766 767 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 765 def initialize(**args) update!(**args) end |
Instance Attribute Details
#delegated_project_number ⇒ Fixnum
Corresponds to the JSON property delegatedProjectNumber
706 707 708 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 706 def delegated_project_number @delegated_project_number end |
#email ⇒ Array<String>
The email address of one or more accounts to fetch. The length of email should
be less than 256 characters and in the format of [email protected]. The email
should also match the RFC 822 addr-spec
production. Should only be specified by authenticated requests from a
developer.
Corresponds to the JSON property email
715 716 717 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 715 def email @email end |
#federated_user_id ⇒ Array<Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1FederatedUserIdentifier>
Corresponds to the JSON property federatedUserId
720 721 722 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 720 def federated_user_id @federated_user_id end |
#id_token ⇒ String
The Identity Platform ID token of the account to fetch. Require to be
specified for requests from end users.
Corresponds to the JSON property idToken
726 727 728 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 726 def id_token @id_token end |
#initial_email ⇒ Array<String>
The initial email of one or more accounts to fetch. The length of email should
be less than 256 characters and in the format of [email protected]. The email
should also match the RFC 822 addr-spec
production. Should only be specified by authenticated requests from a
developer.
Corresponds to the JSON property initialEmail
735 736 737 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 735 def initial_email @initial_email end |
#local_id ⇒ Array<String>
The ID of one or more accounts to fetch. Should only be specified by
authenticated requests bearing a Google OAuth 2.0 credential with proper
permissions.
Corresponds to the JSON property localId
742 743 744 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 742 def local_id @local_id end |
#phone_number ⇒ Array<String>
The phone number of one or more accounts to fetch. Should only be specified by
authenticated requests from a developer and should be in E.164 format, for
example, +15555555555.
Corresponds to the JSON property phoneNumber
749 750 751 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 749 def phone_number @phone_number end |
#target_project_id ⇒ String
The ID of the Google Cloud project that the account or the Identity Platform
tenant specified by tenant_id belongs to. Should only be specified by
authenticated requests bearing a Google OAuth 2.0 credential with proper
permissions.
Corresponds to the JSON property targetProjectId
757 758 759 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 757 def target_project_id @target_project_id end |
#tenant_id ⇒ String
The ID of the tenant that the account belongs to. Should only be specified by
authenticated requests from a developer.
Corresponds to the JSON property tenantId
763 764 765 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 763 def tenant_id @tenant_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
770 771 772 773 774 775 776 777 778 779 780 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 770 def update!(**args) @delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number) @email = args[:email] if args.key?(:email) @federated_user_id = args[:federated_user_id] if args.key?(:federated_user_id) @id_token = args[:id_token] if args.key?(:id_token) @initial_email = args[:initial_email] if args.key?(:initial_email) @local_id = args[:local_id] if args.key?(:local_id) @phone_number = args[:phone_number] if args.key?(:phone_number) @target_project_id = args[:target_project_id] if args.key?(:target_project_id) @tenant_id = args[:tenant_id] if args.key?(:tenant_id) end |