Class: Google::Apis::AgentregistryV1alpha::Source

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 source of the Binding.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#identifierString

The identifier of the source Agent. Format: * urn:agent:publisher: namespace:name` Corresponds to the JSON propertyidentifier`

Returns:

  • (String)


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