Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1SqlExpression

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

Query conditions used to filter results.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1SqlExpression

Returns a new instance of GoogleCloudIdentitytoolkitV1SqlExpression.



3468
3469
3470
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3468

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

Instance Attribute Details

#emailString

A case insensitive string that the account's email should match. Only one of email, phone_number, or user_id should be specified in a SqlExpression. If more than one is specified, only the first (in that order) will be applied. Corresponds to the JSON property email

Returns:

  • (String)


3452
3453
3454
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3452

def email
  @email
end

#phone_numberString

A string that the account's phone number should match. Only one of email, phone_number, or user_id should be specified in a SqlExpression. If more than one is specified, only the first (in that order) will be applied. Corresponds to the JSON property phoneNumber

Returns:

  • (String)


3459
3460
3461
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3459

def phone_number
  @phone_number
end

#user_idString

A string that the account's local ID should match. Only one of email, phone_number, or user_id should be specified in a SqlExpression If more than one is specified, only the first (in that order) will be applied. Corresponds to the JSON property userId

Returns:

  • (String)


3466
3467
3468
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3466

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3473
3474
3475
3476
3477
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3473

def update!(**args)
  @email = args[:email] if args.key?(:email)
  @phone_number = args[:phone_number] if args.key?(:phone_number)
  @user_id = args[:user_id] if args.key?(:user_id)
end