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.



1350
1351
1352
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 1350

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)


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