Class: Google::Apis::CloudidentityV1beta1::ApproveDeviceUserResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1beta1::ApproveDeviceUserResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudidentity_v1beta1/classes.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb
Overview
Response message for approving the device to access user data.
Instance Attribute Summary collapse
-
#device_user ⇒ Google::Apis::CloudidentityV1beta1::DeviceUser
Represents a user's use of a Device in the Cloud Identity Devices API.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApproveDeviceUserResponse
constructor
A new instance of ApproveDeviceUserResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApproveDeviceUserResponse
Returns a new instance of ApproveDeviceUserResponse.
172 173 174 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 172 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_user ⇒ Google::Apis::CloudidentityV1beta1::DeviceUser
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
170 171 172 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 170 def device_user @device_user end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
177 178 179 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 177 def update!(**args) @device_user = args[:device_user] if args.key?(:device_user) end |