Class: Google::Apis::ToolresultsV1beta3::UnusedRoboDirective
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::UnusedRoboDirective
- 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 an unused robodirective.
Instance Attribute Summary collapse
-
#resource_name ⇒ String
The name of the resource that was unused.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UnusedRoboDirective
constructor
A new instance of UnusedRoboDirective.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UnusedRoboDirective
Returns a new instance of UnusedRoboDirective.
3718 3719 3720 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3718 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource_name ⇒ String
The name of the resource that was unused.
Corresponds to the JSON property resourceName
3716 3717 3718 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3716 def resource_name @resource_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3723 3724 3725 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3723 def update!(**args) @resource_name = args[:resource_name] if args.key?(:resource_name) end |