Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand
- 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
A representation of a remote command for a Chrome browser profile.
Instance Attribute Summary collapse
-
#command_result ⇒ Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult
Result of the execution of a command.
-
#command_state ⇒ String
Output only.
-
#command_type ⇒ String
Required.
-
#issue_time ⇒ String
Output only.
-
#name ⇒ String
Identifier.
-
#payload ⇒ Hash<String,Object>
Required.
-
#valid_duration ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand
constructor
A new instance of GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand
Returns a new instance of GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.
4858 4859 4860 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4858 def initialize(**args) update!(**args) end |
Instance Attribute Details
#command_result ⇒ Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult
Result of the execution of a command.
Corresponds to the JSON property commandResult
4822 4823 4824 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4822 def command_result @command_result end |
#command_state ⇒ String
Output only. State of the remote command.
Corresponds to the JSON property commandState
4827 4828 4829 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4827 def command_state @command_state end |
#command_type ⇒ String
Required. Type of the remote command. The only supported command_type is "
clearBrowsingData".
Corresponds to the JSON property commandType
4833 4834 4835 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4833 def command_type @command_type end |
#issue_time ⇒ String
Output only. Timestamp of the issurance of the remote command.
Corresponds to the JSON property issueTime
4838 4839 4840 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4838 def issue_time @issue_time end |
#name ⇒ String
Identifier. Format: customers/customer_id/profiles/profile_permanent_id/
commands/command_id
Corresponds to the JSON property name
4844 4845 4846 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4844 def name @name end |
#payload ⇒ Hash<String,Object>
Required. Payload of the remote command. The payload for "clearBrowsingData"
command supports: - fields "clearCache" and "clearCookies" - values of boolean
type.
Corresponds to the JSON property payload
4851 4852 4853 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4851 def payload @payload end |
#valid_duration ⇒ String
Output only. Valid duration of the remote command.
Corresponds to the JSON property validDuration
4856 4857 4858 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4856 def valid_duration @valid_duration end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4863 4864 4865 4866 4867 4868 4869 4870 4871 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4863 def update!(**args) @command_result = args[:command_result] if args.key?(:command_result) @command_state = args[:command_state] if args.key?(:command_state) @command_type = args[:command_type] if args.key?(:command_type) @issue_time = args[:issue_time] if args.key?(:issue_time) @name = args[:name] if args.key?(:name) @payload = args[:payload] if args.key?(:payload) @valid_duration = args[:valid_duration] if args.key?(:valid_duration) end |