Class: Google::Apis::AgentregistryV1alpha::Publisher

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

Represents a verified Publisher of Skills. Prepopulated publishers include publishers/cloud.google.com and publishers/workspace.google.com.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameString

Optional. Human readable display name of the publisher. Corresponds to the JSON property displayName

Returns:

  • (String)


1216
1217
1218
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 1216

def display_name
  @display_name
end

#documentation_uriString

Optional. URI pointing to official publisher documentation. Corresponds to the JSON property documentationUri

Returns:

  • (String)


1221
1222
1223
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 1221

def documentation_uri
  @documentation_uri
end

#nameString

Identifier. Resource name of the publisher. Format: projects/project/ locations/location/publishers/publisher` Corresponds to the JSON propertyname`

Returns:

  • (String)


1227
1228
1229
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 1227

def name
  @name
end

#publisher_tierString

Output only. The curation tier of the publisher. Corresponds to the JSON property publisherTier

Returns:

  • (String)


1232
1233
1234
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 1232

def publisher_tier
  @publisher_tier
end

#support_uriString

Optional. URI pointing to the support portal or email. Corresponds to the JSON property supportUri

Returns:

  • (String)


1237
1238
1239
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 1237

def support_uri
  @support_uri
end

#verified_prefixString

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

Returns:

  • (String)


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