Class: Google::Apis::CesV1::LfA2aV1AgentProvider

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

Overview

Represents the service provider of an agent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LfA2aV1AgentProvider

Returns a new instance of LfA2aV1AgentProvider.



4673
4674
4675
# File 'lib/google/apis/ces_v1/classes.rb', line 4673

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

Instance Attribute Details

#organizationString

Required. The name of the agent provider's organization. Example: "Google" Corresponds to the JSON property organization

Returns:

  • (String)


4665
4666
4667
# File 'lib/google/apis/ces_v1/classes.rb', line 4665

def organization
  @organization
end

#urlString

Required. A URL for the agent provider's website or relevant documentation. Example: "https://ai.google.dev" Corresponds to the JSON property url

Returns:

  • (String)


4671
4672
4673
# File 'lib/google/apis/ces_v1/classes.rb', line 4671

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4678
4679
4680
4681
# File 'lib/google/apis/ces_v1/classes.rb', line 4678

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