Class: Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByOwnerRequest
- Inherits:
-
Object
- Object
- Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByOwnerRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androiddeviceprovisioning_v1/classes.rb,
lib/google/apis/androiddeviceprovisioning_v1/representations.rb,
lib/google/apis/androiddeviceprovisioning_v1/representations.rb
Overview
Request to find devices by customers.
Instance Attribute Summary collapse
-
#customer_id ⇒ Array<Fixnum>
The list of customer IDs to search for.
-
#google_workspace_customer_id ⇒ Array<String>
The list of IDs of Google Workspace accounts to search for.
-
#limit ⇒ Fixnum
Required.
-
#page_token ⇒ String
A token specifying which result page to return.
-
#section_type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FindDevicesByOwnerRequest
constructor
A new instance of FindDevicesByOwnerRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FindDevicesByOwnerRequest
Returns a new instance of FindDevicesByOwnerRequest.
985 986 987 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 985 def initialize(**args) update!(**args) end |
Instance Attribute Details
#customer_id ⇒ Array<Fixnum>
The list of customer IDs to search for.
Corresponds to the JSON property customerId
962 963 964 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 962 def customer_id @customer_id end |
#google_workspace_customer_id ⇒ Array<String>
The list of IDs of Google Workspace accounts to search for.
Corresponds to the JSON property googleWorkspaceCustomerId
967 968 969 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 967 def google_workspace_customer_id @google_workspace_customer_id end |
#limit ⇒ Fixnum
Required. The maximum number of devices to show in a page of results. Must be
between 1 and 100 inclusive.
Corresponds to the JSON property limit
973 974 975 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 973 def limit @limit end |
#page_token ⇒ String
A token specifying which result page to return.
Corresponds to the JSON property pageToken
978 979 980 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 978 def page_token @page_token end |
#section_type ⇒ String
Required. The section type of the device's provisioning record.
Corresponds to the JSON property sectionType
983 984 985 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 983 def section_type @section_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
990 991 992 993 994 995 996 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 990 def update!(**args) @customer_id = args[:customer_id] if args.key?(:customer_id) @google_workspace_customer_id = args[:google_workspace_customer_id] if args.key?(:google_workspace_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 |