Class: Google::Apis::CesV1::LfA2aV1AgentProvider
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::LfA2aV1AgentProvider
- 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
-
#organization ⇒ String
Required.
-
#url ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LfA2aV1AgentProvider
constructor
A new instance of LfA2aV1AgentProvider.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#organization ⇒ String
Required. The name of the agent provider's organization. Example: "Google"
Corresponds to the JSON property organization
4646 4647 4648 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4646 def organization @organization end |
#url ⇒ String
Required. A URL for the agent provider's website or relevant documentation.
Example: "https://ai.google.dev"
Corresponds to the JSON property url
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 |