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.



4654
4655
4656
# File 'lib/google/apis/ces_v1/classes.rb', line 4654

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)


4646
4647
4648
# File 'lib/google/apis/ces_v1/classes.rb', line 4646

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)


4652
4653
4654
# File 'lib/google/apis/ces_v1/classes.rb', line 4652

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4659
4660
4661
4662
# File 'lib/google/apis/ces_v1/classes.rb', line 4659

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