Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyModificationFieldError
- Inherits:
-
Object
- Object
- Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyModificationFieldError
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chromepolicy_v1/classes.rb,
lib/google/apis/chromepolicy_v1/representations.rb,
lib/google/apis/chromepolicy_v1/representations.rb
Overview
Error information for a modification request of a specific field on a specific policy.
Instance Attribute Summary collapse
-
#error ⇒ String
Output only.
-
#field ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromePolicyVersionsV1PolicyModificationFieldError
constructor
A new instance of GoogleChromePolicyVersionsV1PolicyModificationFieldError.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromePolicyVersionsV1PolicyModificationFieldError
Returns a new instance of GoogleChromePolicyVersionsV1PolicyModificationFieldError.
706 707 708 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 706 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error ⇒ String
Output only. The error message related to the field.
Corresponds to the JSON property error
699 700 701 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 699 def error @error end |
#field ⇒ String
Output only. The name of the field with the error.
Corresponds to the JSON property field
704 705 706 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 704 def field @field end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
711 712 713 714 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 711 def update!(**args) @error = args[:error] if args.key?(:error) @field = args[:field] if args.key?(:field) end |