Class: Google::Apis::AgentregistryV1alpha::Target

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/agentregistry_v1alpha/classes.rb,
lib/google/apis/agentregistry_v1alpha/representations.rb,
lib/google/apis/agentregistry_v1alpha/representations.rb

Overview

The target of the Binding.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Target

Returns a new instance of Target.



1787
1788
1789
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 1787

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#identifierString

The identifier of the target Agent, MCP Server, or Endpoint. Format: * urn: agent:publisher:namespace:name* `urn:mcp:`publisher`:`namespace`:`name` ` * `urn:endpoint:`publisher`:`namespace`:`name Corresponds to the JSON property identifier

Returns:

  • (String)


1785
1786
1787
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 1785

def identifier
  @identifier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1792
1793
1794
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 1792

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