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.



4589
4590
4591
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4589

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



4567
4568
4569
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4567

def conflicts
  @conflicts
end

#errorString

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

Returns:

  • (String)


4572
4573
4574
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4572

def error
  @error
end

#nameString

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

Returns:

  • (String)


4577
4578
4579
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4577

def name
  @name
end

#sourceString

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

Returns:

  • (String)


4582
4583
4584
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4582

def source
  @source
end

#valueString

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

Returns:

  • (String)


4587
4588
4589
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4587

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4594
4595
4596
4597
4598
4599
4600
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4594

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