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.



3373
3374
3375
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3373

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)


3357
3358
3359
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3357

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)


3364
3365
3366
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3364

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)


3371
3372
3373
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3371

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3378
3379
3380
3381
3382
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3378

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