Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceRequestingExtensionDetails
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceRequestingExtensionDetails
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chromemanagement_v1/classes.rb,
lib/google/apis/chromemanagement_v1/representations.rb,
lib/google/apis/chromemanagement_v1/representations.rb
Overview
Details of a device requesting an extension, including the name of the device and the justification of the request.
Instance Attribute Summary collapse
-
#device_name ⇒ String
The name of a device that has requested the extension.
-
#justification ⇒ String
Request justification as entered by the user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1DeviceRequestingExtensionDetails
constructor
A new instance of GoogleChromeManagementV1DeviceRequestingExtensionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1DeviceRequestingExtensionDetails
Returns a new instance of GoogleChromeManagementV1DeviceRequestingExtensionDetails.
1456 1457 1458 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1456 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_name ⇒ String
The name of a device that has requested the extension.
Corresponds to the JSON property deviceName
1449 1450 1451 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1449 def device_name @device_name end |
#justification ⇒ String
Request justification as entered by the user.
Corresponds to the JSON property justification
1454 1455 1456 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1454 def justification @justification end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1461 1462 1463 1464 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1461 def update!(**args) @device_name = args[:device_name] if args.key?(:device_name) @justification = args[:justification] if args.key?(:justification) end |