Class: Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByOwnerRequest
- Inherits:
-
Object
- Object
- Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByOwnerRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androiddeviceprovisioning_v1/classes.rb,
generated/google/apis/androiddeviceprovisioning_v1/representations.rb,
generated/google/apis/androiddeviceprovisioning_v1/representations.rb
Overview
Request to find devices by customers.
Instance Attribute Summary collapse
-
#customer_id ⇒ Array<Fixnum>
List of customer IDs to search for.
-
#limit ⇒ Fixnum
The number of devices to show in the result.
-
#page_token ⇒ String
Page token.
-
#section_type ⇒ String
The section type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FindDevicesByOwnerRequest
constructor
A new instance of FindDevicesByOwnerRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FindDevicesByOwnerRequest
Returns a new instance of FindDevicesByOwnerRequest
457 458 459 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 457 def initialize(**args) update!(**args) end |
Instance Attribute Details
#customer_id ⇒ Array<Fixnum>
List of customer IDs to search for.
Corresponds to the JSON property customerId
440 441 442 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 440 def customer_id @customer_id end |
#limit ⇒ Fixnum
The number of devices to show in the result.
Corresponds to the JSON property limit
445 446 447 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 445 def limit @limit end |
#page_token ⇒ String
Page token.
Corresponds to the JSON property pageToken
450 451 452 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 450 def page_token @page_token end |
#section_type ⇒ String
The section type.
Corresponds to the JSON property sectionType
455 456 457 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 455 def section_type @section_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
462 463 464 465 466 467 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 462 def update!(**args) @customer_id = args[:customer_id] if args.key?(:customer_id) @limit = args[:limit] if args.key?(:limit) @page_token = args[:page_token] if args.key?(:page_token) @section_type = args[:section_type] if args.key?(:section_type) end |