Class: Google::Apis::AdminReportsV1::AgentAttributionInfo
- Inherits:
-
Object
- Object
- Google::Apis::AdminReportsV1::AgentAttributionInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admin_reports_v1/classes.rb,
lib/google/apis/admin_reports_v1/representations.rb,
lib/google/apis/admin_reports_v1/representations.rb
Overview
Details of the AI agent that was the actor for the activity.
Instance Attribute Summary collapse
-
#agent_id ⇒ String
The ID of the agent.
-
#agent_name ⇒ String
The user visible name of the agent.
-
#agent_owner ⇒ Google::Apis::AdminReportsV1::AgentAttributionInfoAgentOwner
Details of the owner of the AI agent.
-
#agent_type ⇒ String
Type of the agent.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AgentAttributionInfo
constructor
A new instance of AgentAttributionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AgentAttributionInfo
Returns a new instance of AgentAttributionInfo.
671 672 673 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 671 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_id ⇒ String
The ID of the agent.
Corresponds to the JSON property agentId
654 655 656 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 654 def agent_id @agent_id end |
#agent_name ⇒ String
The user visible name of the agent.
Corresponds to the JSON property agentName
659 660 661 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 659 def agent_name @agent_name end |
#agent_owner ⇒ Google::Apis::AdminReportsV1::AgentAttributionInfoAgentOwner
Details of the owner of the AI agent.
Corresponds to the JSON property agentOwner
664 665 666 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 664 def agent_owner @agent_owner end |
#agent_type ⇒ String
Type of the agent.
Corresponds to the JSON property agentType
669 670 671 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 669 def agent_type @agent_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
676 677 678 679 680 681 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 676 def update!(**args) @agent_id = args[:agent_id] if args.key?(:agent_id) @agent_name = args[:agent_name] if args.key?(:agent_name) @agent_owner = args[:agent_owner] if args.key?(:agent_owner) @agent_type = args[:agent_type] if args.key?(:agent_type) end |