Class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse

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

Overview

Response message for approving the device to access user data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse

Returns a new instance of GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse.



506
507
508
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 506

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

Instance Attribute Details

#device_userGoogle::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser

Represents a user's use of a Device in the Cloud Identity Devices API. A DeviceUser is a resource representing a user's use of a Device Corresponds to the JSON property deviceUser



504
505
506
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 504

def device_user
  @device_user
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



511
512
513
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 511

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