Class: Google::Apis::AgentregistryV1alpha::Source
- Inherits:
-
Object
- Object
- Google::Apis::AgentregistryV1alpha::Source
- 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 source of the Binding.
Instance Attribute Summary collapse
-
#identifier ⇒ String
The identifier of the source Agent.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Source
constructor
A new instance of Source.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Source
Returns a new instance of Source.
1290 1291 1292 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 1290 def initialize(**args) update!(**args) end |
Instance Attribute Details
#identifier ⇒ String
The identifier of the source Agent. Format: * urn:agent:publisher:
namespace:name`
Corresponds to the JSON propertyidentifier`
1288 1289 1290 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 1288 def identifier @identifier end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1295 1296 1297 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 1295 def update!(**args) @identifier = args[:identifier] if args.key?(:identifier) end |