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.



5301
5302
5303
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5301

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



5279
5280
5281
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5279

def conflicts
  @conflicts
end

#errorString

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

Returns:

  • (String)


5284
5285
5286
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5284

def error
  @error
end

#nameString

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

Returns:

  • (String)


5289
5290
5291
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5289

def name
  @name
end

#sourceString

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

Returns:

  • (String)


5294
5295
5296
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5294

def source
  @source
end

#valueString

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

Returns:

  • (String)


5299
5300
5301
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5299

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5306
5307
5308
5309
5310
5311
5312
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5306

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