Class: Google::Apis::CloudidentityV1beta1::WipeDeviceResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1beta1::WipeDeviceResponse
- 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 wiping all data on the device.
Instance Attribute Summary collapse
-
#device ⇒ Google::Apis::CloudidentityV1beta1::Device
A Device within the Cloud Identity Devices API.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WipeDeviceResponse
constructor
A new instance of WipeDeviceResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WipeDeviceResponse
Returns a new instance of WipeDeviceResponse.
4556 4557 4558 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 4556 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device ⇒ Google::Apis::CloudidentityV1beta1::Device
A Device within the Cloud Identity Devices API. Represents a Device known to
Google Cloud, independent of the device ownership, type, and whether it is
assigned or in use by a user. Important: Device API scopes require that you
use domain-wide delegation to access the API. For more information, see Set
up the Devices API.
Corresponds to the JSON property device
4554 4555 4556 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 4554 def device @device end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4561 4562 4563 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 4561 def update!(**args) @device = args[:device] if args.key?(:device) end |