Class: Google::Apis::CloudidentityV1beta1::LookupSelfDeviceUsersResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudidentity_v1beta1/classes.rb,
generated/google/apis/cloudidentity_v1beta1/representations.rb,
generated/google/apis/cloudidentity_v1beta1/representations.rb

Overview

Response containing resource names of the DeviceUsers associated with the caller's credentials.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LookupSelfDeviceUsersResponse

Returns a new instance of LookupSelfDeviceUsersResponse.



963
964
965
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 963

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

Instance Attribute Details

#customerString

The obfuscated customer Id that may be passed back to other Devices API methods such as List, Get, etc. Corresponds to the JSON property customer

Returns:

  • (String)


946
947
948
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 946

def customer
  @customer
end

#namesArray<String>

Resource names of the DeviceUsers in the format: devices/device_id/deviceUsers/user_resource_id`, where device_id is the unique ID assigned to a Device and user_resource_id is the unique user ID Corresponds to the JSON propertynames`

Returns:

  • (Array<String>)


955
956
957
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 955

def names
  @names
end

#next_page_tokenString

Token to retrieve the next page of results. Empty if there are no more results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


961
962
963
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 961

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



968
969
970
971
972
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 968

def update!(**args)
  @customer = args[:customer] if args.key?(:customer)
  @names = args[:names] if args.key?(:names)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end