Class: Google::Apis::ToolresultsV1beta3::UnusedRoboDirective

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/toolresults_v1beta3/classes.rb,
lib/google/apis/toolresults_v1beta3/representations.rb,
lib/google/apis/toolresults_v1beta3/representations.rb

Overview

Additional details of an unused robodirective.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UnusedRoboDirective

Returns a new instance of UnusedRoboDirective.



3758
3759
3760
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 3758

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

Instance Attribute Details

#resource_nameString

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

Returns:

  • (String)


3756
3757
3758
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 3756

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3763
3764
3765
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 3763

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