Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1QueryUserInfoRequest

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 QueryUserInfo.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1QueryUserInfoRequest

Returns a new instance of GoogleCloudIdentitytoolkitV1QueryUserInfoRequest.



1587
1588
1589
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1587

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

Instance Attribute Details

#expressionArray<Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1SqlExpression>

Query conditions used to filter results. If more than one is passed, only the first SqlExpression is evaluated. Corresponds to the JSON property expression



1547
1548
1549
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1547

def expression
  @expression
end

#limitFixnum

The maximum number of accounts to return with an upper limit of 500. Defaults to 500. Only valid when return_user_info is set to true. Corresponds to the JSON property limit

Returns:

  • (Fixnum)


1553
1554
1555
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1553

def limit
  @limit
end

#offsetFixnum

The number of accounts to skip from the beginning of matching records. Only valid when return_user_info is set to true. Corresponds to the JSON property offset

Returns:

  • (Fixnum)


1559
1560
1561
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1559

def offset
  @offset
end

#orderString

The order for sorting query result. Defaults to ascending order. Only valid when return_user_info is set to true. Corresponds to the JSON property order

Returns:

  • (String)


1565
1566
1567
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1565

def order
  @order
end

#return_user_infoBoolean Also known as: return_user_info?

If true, this request will return the accounts matching the query. If false , only the count of accounts matching the query will be returned. Defaults to true. Corresponds to the JSON property returnUserInfo

Returns:

  • (Boolean)


1572
1573
1574
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1572

def 
  @return_user_info
end

#sort_byString

The field to use for sorting user accounts. Defaults to USER_ID. Note: when phone_number is specified in expression, the result ignores the sorting. Only valid when return_user_info is set to true. Corresponds to the JSON property sortBy

Returns:

  • (String)


1580
1581
1582
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1580

def sort_by
  @sort_by
end

#tenant_idString

The ID of the tenant to which the result is scoped. Corresponds to the JSON property tenantId

Returns:

  • (String)


1585
1586
1587
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1585

def tenant_id
  @tenant_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1592
1593
1594
1595
1596
1597
1598
1599
1600
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1592

def update!(**args)
  @expression = args[:expression] if args.key?(:expression)
  @limit = args[:limit] if args.key?(:limit)
  @offset = args[:offset] if args.key?(:offset)
  @order = args[:order] if args.key?(:order)
  @return_user_info = args[:return_user_info] if args.key?(:return_user_info)
  @sort_by = args[:sort_by] if args.key?(:sort_by)
  @tenant_id = args[:tenant_id] if args.key?(:tenant_id)
end