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.
732 733 734 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 732 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
725 726 727 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 725 def error @error end |
#field ⇒ String
Output only. The name of the field with the error.
Corresponds to the JSON property field
730 731 732 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 730 def field @field end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
737 738 739 740 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 737 def update!(**args) @error = args[:error] if args.key?(:error) @field = args[:field] if args.key?(:field) end |