Class: Google::Apis::ToolresultsV1beta3::UsedRoboDirective

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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UsedRoboDirective

Returns a new instance of UsedRoboDirective.



3764
3765
3766
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3764

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

Instance Attribute Details

#resource_nameString

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

Returns:

  • (String)


3762
3763
3764
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3762

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3769
3770
3771
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3769

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