Class: Google::Apis::AgentregistryV1alpha::Target
- Inherits:
-
Object
- Object
- Google::Apis::AgentregistryV1alpha::Target
- 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
-
#identifier ⇒ String
The identifier of the target Agent, MCP Server, or Endpoint.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Target
constructor
A new instance of Target.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Target
Returns a new instance of Target.
1350 1351 1352 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 1350 def initialize(**args) update!(**args) end |
Instance Attribute Details
#identifier ⇒ String
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
1348 1349 1350 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 1348 def identifier @identifier end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1355 1356 1357 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 1355 def update!(**args) @identifier = args[:identifier] if args.key?(:identifier) end |