Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand

Returns a new instance of GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.



4895
4896
4897
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4895

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#command_resultGoogle::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult

Result of the execution of a command. Corresponds to the JSON property commandResult



4859
4860
4861
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4859

def command_result
  @command_result
end

#command_stateString

Output only. State of the remote command. Corresponds to the JSON property commandState

Returns:

  • (String)


4864
4865
4866
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4864

def command_state
  @command_state
end

#command_typeString

Required. Type of the remote command. The only supported command_type is " clearBrowsingData". Corresponds to the JSON property commandType

Returns:

  • (String)


4870
4871
4872
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4870

def command_type
  @command_type
end

#issue_timeString

Output only. Timestamp of the issurance of the remote command. Corresponds to the JSON property issueTime

Returns:

  • (String)


4875
4876
4877
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4875

def issue_time
  @issue_time
end

#nameString

Identifier. Format: customers/customer_id/profiles/profile_permanent_id/ commands/command_id Corresponds to the JSON property name

Returns:

  • (String)


4881
4882
4883
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4881

def name
  @name
end

#payloadHash<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

Returns:

  • (Hash<String,Object>)


4888
4889
4890
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4888

def payload
  @payload
end

#valid_durationString

Output only. Valid duration of the remote command. Corresponds to the JSON property validDuration

Returns:

  • (String)


4893
4894
4895
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4893

def valid_duration
  @valid_duration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4900
4901
4902
4903
4904
4905
4906
4907
4908
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4900

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