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.



4731
4732
4733
# File 'lib/google/apis/ces_v1/classes.rb', line 4731

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)


4723
4724
4725
# File 'lib/google/apis/ces_v1/classes.rb', line 4723

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)


4729
4730
4731
# File 'lib/google/apis/ces_v1/classes.rb', line 4729

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4736
4737
4738
4739
# File 'lib/google/apis/ces_v1/classes.rb', line 4736

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