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

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FindDevicesByOwnerRequest

Returns a new instance of FindDevicesByOwnerRequest.



959
960
961
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 959

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

Instance Attribute Details

#customer_idArray<Fixnum>

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

Returns:

  • (Array<Fixnum>)


936
937
938
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 936

def customer_id
  @customer_id
end

#google_workspace_customer_idArray<String>

The list of IDs of Google Workspace accounts to search for. Corresponds to the JSON property googleWorkspaceCustomerId

Returns:

  • (Array<String>)


941
942
943
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 941

def google_workspace_customer_id
  @google_workspace_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)


947
948
949
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 947

def limit
  @limit
end

#page_tokenString

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

Returns:

  • (String)


952
953
954
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 952

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)


957
958
959
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 957

def section_type
  @section_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



964
965
966
967
968
969
970
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 964

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