Class: Google::Apis::ToolresultsV1beta3::UsedRoboIgnoreDirective

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/toolresults_v1beta3/classes.rb,
generated/google/apis/toolresults_v1beta3/representations.rb,
generated/google/apis/toolresults_v1beta3/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UsedRoboIgnoreDirective

Returns a new instance of UsedRoboIgnoreDirective.



3784
3785
3786
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3784

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

Instance Attribute Details

#resource_nameString

The name of the resource that was ignored. Corresponds to the JSON property resourceName

Returns:

  • (String)


3782
3783
3784
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3782

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3789
3790
3791
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3789

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