Class: Google::Apis::AgentregistryV1alpha::Publisher
- Inherits:
-
Object
- Object
- Google::Apis::AgentregistryV1alpha::Publisher
- 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
Represents a verified Publisher of Skills. Prepopulated publishers include
publishers/cloud.google.com and publishers/workspace.google.com.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Optional.
-
#documentation_uri ⇒ String
Optional.
-
#name ⇒ String
Identifier.
-
#publisher_tier ⇒ String
Output only.
-
#support_uri ⇒ String
Optional.
-
#verified_prefix ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Publisher
constructor
A new instance of Publisher.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Publisher
Returns a new instance of Publisher.
1246 1247 1248 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 1246 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Optional. Human readable display name of the publisher.
Corresponds to the JSON property displayName
1216 1217 1218 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 1216 def display_name @display_name end |
#documentation_uri ⇒ String
Optional. URI pointing to official publisher documentation.
Corresponds to the JSON property documentationUri
1221 1222 1223 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 1221 def documentation_uri @documentation_uri end |
#name ⇒ String
Identifier. Resource name of the publisher. Format: projects/project/
locations/location/publishers/publisher`
Corresponds to the JSON propertyname`
1227 1228 1229 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 1227 def name @name end |
#publisher_tier ⇒ String
Output only. The curation tier of the publisher.
Corresponds to the JSON property publisherTier
1232 1233 1234 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 1232 def publisher_tier @publisher_tier end |
#support_uri ⇒ String
Optional. URI pointing to the support portal or email.
Corresponds to the JSON property supportUri
1237 1238 1239 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 1237 def support_uri @support_uri end |
#verified_prefix ⇒ String
Required. The verified prefix (e.g. "snowflake-", "google-") associated with
this publisher. The system uses this prefix to enforce name-squatting rules
during Skill registration. Must be globally unique across all publishers.
Corresponds to the JSON property verifiedPrefix
1244 1245 1246 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 1244 def verified_prefix @verified_prefix end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1251 1252 1253 1254 1255 1256 1257 1258 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 1251 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @documentation_uri = args[:documentation_uri] if args.key?(:documentation_uri) @name = args[:name] if args.key?(:name) @publisher_tier = args[:publisher_tier] if args.key?(:publisher_tier) @support_uri = args[:support_uri] if args.key?(:support_uri) @verified_prefix = args[:verified_prefix] if args.key?(:verified_prefix) end |