Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1VerifyIosClientRequest

Inherits:
Object
  • Object
show all
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 VerifyIosClient

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1VerifyIosClientRequest

Returns a new instance of GoogleCloudIdentitytoolkitV1VerifyIosClientRequest.



3731
3732
3733
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3731

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#app_tokenString

A device token that the iOS client gets after registering to APNs (Apple Push Notification service). Corresponds to the JSON property appToken

Returns:

  • (String)


3722
3723
3724
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3722

def app_token
  @app_token
end

#is_sandboxBoolean Also known as: is_sandbox?

Whether the app token is in the iOS sandbox. If false, the app token is in the production environment. Corresponds to the JSON property isSandbox

Returns:

  • (Boolean)


3728
3729
3730
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3728

def is_sandbox
  @is_sandbox
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3736
3737
3738
3739
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3736

def update!(**args)
  @app_token = args[:app_token] if args.key?(:app_token)
  @is_sandbox = args[:is_sandbox] if args.key?(:is_sandbox)
end