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.



1589
1590
1591
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1589

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

Instance Attribute Details

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

Corresponds to the JSON property expression



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

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)


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

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)


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

def offset
  @offset
end

#orderString

Corresponds to the JSON property order

Returns:

  • (String)


1569
1570
1571
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1569

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)


1576
1577
1578
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1576

def 
  @return_user_info
end

#sort_byString

Corresponds to the JSON property sortBy

Returns:

  • (String)


1582
1583
1584
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1582

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)


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

def tenant_id
  @tenant_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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