Class: Google::Apis::CloudidentityV1beta1::BlockDeviceUserResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1beta1::BlockDeviceUserResponse
- 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 message for blocking the device from accessing 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) ⇒ BlockDeviceUserResponse
constructor
A new instance of BlockDeviceUserResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BlockDeviceUserResponse
Returns a new instance of BlockDeviceUserResponse.
145 146 147 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 145 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
143 144 145 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 143 def device_user @device_user end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
150 151 152 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 150 def update!(**args) @device_user = args[:device_user] if args.key?(:device_user) end |