Class: Google::Apis::SecuritycenterV1::CustomModuleValidationError
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::CustomModuleValidationError
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb
Instance Attribute Summary collapse
-
#description ⇒ String
Corresponds to the JSON property
description. -
#end ⇒ Google::Apis::SecuritycenterV1::Position
Corresponds to the JSON property
end. -
#field_path ⇒ String
Corresponds to the JSON property
fieldPath. -
#start ⇒ Google::Apis::SecuritycenterV1::Position
Corresponds to the JSON property
start.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomModuleValidationError
constructor
A new instance of CustomModuleValidationError.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomModuleValidationError
Returns a new instance of CustomModuleValidationError.
1746 1747 1748 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1746 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
1729 1730 1731 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1729 def description @description end |
#end ⇒ Google::Apis::SecuritycenterV1::Position
Corresponds to the JSON property end
1734 1735 1736 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1734 def end @end end |
#field_path ⇒ String
Corresponds to the JSON property fieldPath
1739 1740 1741 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1739 def field_path @field_path end |
#start ⇒ Google::Apis::SecuritycenterV1::Position
Corresponds to the JSON property start
1744 1745 1746 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1744 def start @start end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1751 1752 1753 1754 1755 1756 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1751 def update!(**args) @description = args[:description] if args.key?(:description) @end = args[:end] if args.key?(:end) @field_path = args[:field_path] if args.key?(:field_path) @start = args[:start] if args.key?(:start) end |