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.



4715
4716
4717
# File 'lib/google/apis/ces_v1/classes.rb', line 4715

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)


4707
4708
4709
# File 'lib/google/apis/ces_v1/classes.rb', line 4707

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)


4713
4714
4715
# File 'lib/google/apis/ces_v1/classes.rb', line 4713

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4720
4721
4722
4723
# File 'lib/google/apis/ces_v1/classes.rb', line 4720

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