Class: Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByOwnerRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ FindDevicesByOwnerRequest

Returns a new instance of FindDevicesByOwnerRequest.


898
899
900
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 898

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

Instance Attribute Details

#customer_idArray<Fixnum>

Required. The list of customer IDs to search for. Corresponds to the JSON property customerId

Returns:

  • (Array<Fixnum>)

880
881
882
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 880

def customer_id
  @customer_id
end

#limitFixnum

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

Returns:

  • (Fixnum)

886
887
888
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 886

def limit
  @limit
end

#page_tokenString

A token specifying which result page to return. Corresponds to the JSON property pageToken

Returns:

  • (String)

891
892
893
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 891

def page_token
  @page_token
end

#section_typeString

Required. The section type of the device's provisioning record. Corresponds to the JSON property sectionType

Returns:

  • (String)

896
897
898
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 896

def section_type
  @section_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


903
904
905
906
907
908
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 903

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