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.



5731
5732
5733
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5731

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



5709
5710
5711
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5709

def conflicts
  @conflicts
end

#errorString

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

Returns:

  • (String)


5714
5715
5716
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5714

def error
  @error
end

#nameString

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

Returns:

  • (String)


5719
5720
5721
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5719

def name
  @name
end

#sourceString

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

Returns:

  • (String)


5724
5725
5726
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5724

def source
  @source
end

#valueString

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

Returns:

  • (String)


5729
5730
5731
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5729

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5736
5737
5738
5739
5740
5741
5742
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5736

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