Class: Google::Apis::AdminReportsV1::AgentAttributionInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_idString

The ID of the agent. Corresponds to the JSON property agentId

Returns:

  • (String)


654
655
656
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 654

def agent_id
  @agent_id
end

#agent_nameString

The user visible name of the agent. Corresponds to the JSON property agentName

Returns:

  • (String)


659
660
661
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 659

def agent_name
  @agent_name
end

#agent_ownerGoogle::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_typeString

Type of the agent. Corresponds to the JSON property agentType

Returns:

  • (String)


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