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.



4764
4765
4766
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4764

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



4742
4743
4744
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4742

def conflicts
  @conflicts
end

#errorString

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

Returns:

  • (String)


4747
4748
4749
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4747

def error
  @error
end

#nameString

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

Returns:

  • (String)


4752
4753
4754
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4752

def name
  @name
end

#sourceString

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

Returns:

  • (String)


4757
4758
4759
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4757

def source
  @source
end

#valueString

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

Returns:

  • (String)


4762
4763
4764
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4762

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4769
4770
4771
4772
4773
4774
4775
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4769

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