Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponseInvokedSkill

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

Overview

Represents a skill used during the assist call.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaStreamAssistResponseInvokedSkill

Returns a new instance of GoogleCloudDiscoveryengineV1betaStreamAssistResponseInvokedSkill.



32936
32937
32938
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32936

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

Instance Attribute Details

#display_nameString

The display name of the skill. Corresponds to the JSON property displayName

Returns:

  • (String)


32929
32930
32931
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32929

def display_name
  @display_name
end

#nameString

The resource name of the skill. Corresponds to the JSON property name

Returns:

  • (String)


32934
32935
32936
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32934

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



32941
32942
32943
32944
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32941

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