Class: Google::Apis::ToolresultsV1::StartActivityNotFound

Inherits:
Object
  • Object
show all
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

User provided intent failed to resolve to an activity.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ StartActivityNotFound

Returns a new instance of StartActivityNotFound.



555
556
557
# File 'generated/google/apis/toolresults_v1/classes.rb', line 555

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

Instance Attribute Details

#actionString

Corresponds to the JSON property action

Returns:

  • (String)


548
549
550
# File 'generated/google/apis/toolresults_v1/classes.rb', line 548

def action
  @action
end

#uriString

Corresponds to the JSON property uri

Returns:

  • (String)


553
554
555
# File 'generated/google/apis/toolresults_v1/classes.rb', line 553

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



560
561
562
563
# File 'generated/google/apis/toolresults_v1/classes.rb', line 560

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