Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyModificationErrorDetails

Inherits:
Object
  • Object
show all
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

Details of the errors encountered during a policy modification request. This message will be returned as part of the details of a google.rpc.Status returned to the user when there is an error in their request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromePolicyVersionsV1PolicyModificationErrorDetails

Returns a new instance of GoogleChromePolicyVersionsV1PolicyModificationErrorDetails.



707
708
709
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 707

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#modification_errorsArray<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyModificationError>

Output only. List of specific policy modifications errors that may have occurred during a modifying request. Corresponds to the JSON property modificationErrors



705
706
707
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 705

def modification_errors
  @modification_errors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



712
713
714
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 712

def update!(**args)
  @modification_errors = args[:modification_errors] if args.key?(:modification_errors)
end