Class: Google::Apis::ToolresultsV1::UsedRoboIgnoreDirective
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1::UsedRoboIgnoreDirective
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/toolresults_v1/classes.rb,
generated/google/apis/toolresults_v1/representations.rb,
generated/google/apis/toolresults_v1/representations.rb
Overview
Additional details of a used Robo directive with an ignore action. Note: This is a different scenario than unused directive.
Instance Attribute Summary collapse
-
#resource_name ⇒ String
The name of the resource that was ignored.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UsedRoboIgnoreDirective
constructor
A new instance of UsedRoboIgnoreDirective.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UsedRoboIgnoreDirective
Returns a new instance of UsedRoboIgnoreDirective.
685 686 687 |
# File 'generated/google/apis/toolresults_v1/classes.rb', line 685 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource_name ⇒ String
The name of the resource that was ignored.
Corresponds to the JSON property resourceName
683 684 685 |
# File 'generated/google/apis/toolresults_v1/classes.rb', line 683 def resource_name @resource_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
690 691 692 |
# File 'generated/google/apis/toolresults_v1/classes.rb', line 690 def update!(**args) @resource_name = args[:resource_name] if args.key?(:resource_name) end |