Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1GetOobCodeResponse
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1GetOobCodeResponse
- 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
Response message for GetOobCode.
Instance Attribute Summary collapse
-
#email ⇒ String
If return_oob_link is false in the request, the email address the verification was sent to.
-
#kind ⇒ String
Corresponds to the JSON property
kind. -
#oob_code ⇒ String
If return_oob_link is true in the request, the OOB code to send.
-
#oob_link ⇒ String
If return_oob_link is true in the request, the OOB link to be sent to the user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1GetOobCodeResponse
constructor
A new instance of GoogleCloudIdentitytoolkitV1GetOobCodeResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1GetOobCodeResponse
Returns a new instance of GoogleCloudIdentitytoolkitV1GetOobCodeResponse.
978 979 980 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 978 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
If return_oob_link is false in the request, the email address the verification
was sent to.
Corresponds to the JSON property email
959 960 961 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 959 def email @email end |
#kind ⇒ String
Corresponds to the JSON property kind
964 965 966 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 964 def kind @kind end |
#oob_code ⇒ String
If return_oob_link is true in the request, the OOB code to send.
Corresponds to the JSON property oobCode
969 970 971 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 969 def oob_code @oob_code end |
#oob_link ⇒ String
If return_oob_link is true in the request, the OOB link to be sent to the user.
This returns the constructed link including Firebase Dynamic Link related parameters.
Corresponds to the JSON property oobLink
976 977 978 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 976 def oob_link @oob_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
983 984 985 986 987 988 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 983 def update!(**args) @email = args[:email] if args.key?(:email) @kind = args[:kind] if args.key?(:kind) @oob_code = args[:oob_code] if args.key?(:oob_code) @oob_link = args[:oob_link] if args.key?(:oob_link) end |