Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1QueryUserInfoRequest
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1QueryUserInfoRequest
- 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
-
#expression ⇒ Array<Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1SqlExpression>
Query conditions used to filter results.
-
#limit ⇒ Fixnum
The maximum number of accounts to return with an upper limit of 500.
-
#offset ⇒ Fixnum
The number of accounts to skip from the beginning of matching records.
-
#order ⇒ String
The order for sorting query result.
-
#return_user_info ⇒ Boolean
(also: #return_user_info?)
If
true
, this request will return the accounts matching the query. -
#sort_by ⇒ String
The field to use for sorting user accounts.
-
#tenant_id ⇒ String
The ID of the tenant to which the result is scoped.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1QueryUserInfoRequest
constructor
A new instance of GoogleCloudIdentitytoolkitV1QueryUserInfoRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#expression ⇒ Array<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 |
#limit ⇒ Fixnum
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
1553 1554 1555 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1553 def limit @limit end |
#offset ⇒ Fixnum
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
1559 1560 1561 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1559 def offset @offset end |
#order ⇒ String
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
1565 1566 1567 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1565 def order @order end |
#return_user_info ⇒ Boolean 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
1572 1573 1574 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1572 def return_user_info @return_user_info end |
#sort_by ⇒ String
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
1580 1581 1582 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1580 def sort_by @sort_by end |
#tenant_id ⇒ String
The ID of the tenant to which the result is scoped.
Corresponds to the JSON property tenantId
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 |