Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataPolicyData

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

Information of a policy applied on a Chrome browser profile.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementVersionsV1ReportingDataPolicyData

Returns a new instance of GoogleChromeManagementVersionsV1ReportingDataPolicyData.



6115
6116
6117
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 6115

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

Instance Attribute Details

#conflictsArray<Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataConflictingPolicyData>

Output only. Conflicting policy information. Corresponds to the JSON property conflicts



6093
6094
6095
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 6093

def conflicts
  @conflicts
end

#errorString

Output only. Error message of the policy, if any. Corresponds to the JSON property error

Returns:

  • (String)


6098
6099
6100
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 6098

def error
  @error
end

#nameString

Output only. Name of the policy. Corresponds to the JSON property name

Returns:

  • (String)


6103
6104
6105
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 6103

def name
  @name
end

#sourceString

Output only. Source of the policy. Corresponds to the JSON property source

Returns:

  • (String)


6108
6109
6110
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 6108

def source
  @source
end

#valueString

Output only. Value of the policy. Corresponds to the JSON property value

Returns:

  • (String)


6113
6114
6115
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 6113

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6120
6121
6122
6123
6124
6125
6126
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 6120

def update!(**args)
  @conflicts = args[:conflicts] if args.key?(:conflicts)
  @error = args[:error] if args.key?(:error)
  @name = args[:name] if args.key?(:name)
  @source = args[:source] if args.key?(:source)
  @value = args[:value] if args.key?(:value)
end