google-apis-agentregistry_v1alpha 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/agentregistry_v1alpha/classes.rb +456 -19
- data/lib/google/apis/agentregistry_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/agentregistry_v1alpha/representations.rb +179 -4
- data/lib/google/apis/agentregistry_v1alpha/service.rb +498 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a8930d54e6edc372ab5a80b7ae9c6676de68a40b344eea4dcfab7090290d428a
|
|
4
|
+
data.tar.gz: bb3dec4dd7833fed06db164279e719a59e34dea09fb0c85af8604e0066944dee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: feb26b881e0f008a78a48760987ea4753a3a75e4dac4ad7090a7effb3eb71fa2194eb4b1c85fcca31d4e83603a79ad4cd37db2399330a08aae2c595be9f064e1
|
|
7
|
+
data.tar.gz: '0930be9bd24d96883041faf17b1a85e0305a3b326df1514892eae30a0baa2f9c622f8a1e13517256fadd76cac3f903712a0f9afda466d2bb22e1dd76be995fb6'
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Release history for google-apis-agentregistry_v1alpha
|
|
2
2
|
|
|
3
|
+
### v0.5.0 (2026-07-26)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260722
|
|
6
|
+
|
|
7
|
+
### v0.4.0 (2026-06-14)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260608
|
|
10
|
+
* Regenerated using generator version 0.19.0
|
|
11
|
+
|
|
3
12
|
### v0.3.0 (2026-05-10)
|
|
4
13
|
|
|
5
14
|
* Regenerated from discovery document revision 20260430
|
data/OVERVIEW.md
CHANGED
|
@@ -83,7 +83,7 @@ The [product documentation](https://docs.cloud.google.com/agent-registry/overvie
|
|
|
83
83
|
|
|
84
84
|
## Supported Ruby versions
|
|
85
85
|
|
|
86
|
-
This library is supported on Ruby 3.
|
|
86
|
+
This library is supported on Ruby 3.2+.
|
|
87
87
|
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
|
89
89
|
|
|
@@ -22,6 +22,49 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module AgentregistryV1alpha
|
|
24
24
|
|
|
25
|
+
# Represents the skills of an Agent.
|
|
26
|
+
class A2ASkill
|
|
27
|
+
include Google::Apis::Core::Hashable
|
|
28
|
+
|
|
29
|
+
# Output only. A more detailed description of the skill.
|
|
30
|
+
# Corresponds to the JSON property `description`
|
|
31
|
+
# @return [String]
|
|
32
|
+
attr_accessor :description
|
|
33
|
+
|
|
34
|
+
# Output only. Example prompts or scenarios this skill can handle.
|
|
35
|
+
# Corresponds to the JSON property `examples`
|
|
36
|
+
# @return [Array<String>]
|
|
37
|
+
attr_accessor :examples
|
|
38
|
+
|
|
39
|
+
# Output only. A unique identifier for the agent's skill.
|
|
40
|
+
# Corresponds to the JSON property `id`
|
|
41
|
+
# @return [String]
|
|
42
|
+
attr_accessor :id
|
|
43
|
+
|
|
44
|
+
# Output only. A human-readable name for the agent's skill.
|
|
45
|
+
# Corresponds to the JSON property `name`
|
|
46
|
+
# @return [String]
|
|
47
|
+
attr_accessor :name
|
|
48
|
+
|
|
49
|
+
# Output only. Keywords describing the skill.
|
|
50
|
+
# Corresponds to the JSON property `tags`
|
|
51
|
+
# @return [Array<String>]
|
|
52
|
+
attr_accessor :tags
|
|
53
|
+
|
|
54
|
+
def initialize(**args)
|
|
55
|
+
update!(**args)
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# Update properties of this object
|
|
59
|
+
def update!(**args)
|
|
60
|
+
@description = args[:description] if args.key?(:description)
|
|
61
|
+
@examples = args[:examples] if args.key?(:examples)
|
|
62
|
+
@id = args[:id] if args.key?(:id)
|
|
63
|
+
@name = args[:name] if args.key?(:name)
|
|
64
|
+
@tags = args[:tags] if args.key?(:tags)
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
|
|
25
68
|
# Represents an Agent. "A2A" below refers to the Agent-to-Agent protocol.
|
|
26
69
|
class Agent
|
|
27
70
|
include Google::Apis::Core::Hashable
|
|
@@ -85,7 +128,7 @@ module Google
|
|
|
85
128
|
# Output only. Skills the agent possesses, often obtained from the A2A Agent
|
|
86
129
|
# Card.
|
|
87
130
|
# Corresponds to the JSON property `skills`
|
|
88
|
-
# @return [Array<Google::Apis::AgentregistryV1alpha::
|
|
131
|
+
# @return [Array<Google::Apis::AgentregistryV1alpha::A2ASkill>]
|
|
89
132
|
attr_accessor :skills
|
|
90
133
|
|
|
91
134
|
# Output only. A universally unique identifier for the Agent.
|
|
@@ -207,6 +250,27 @@ module Google
|
|
|
207
250
|
end
|
|
208
251
|
end
|
|
209
252
|
|
|
253
|
+
# Direct write-only raw archive payload upload.
|
|
254
|
+
class ArchiveUploadSource
|
|
255
|
+
include Google::Apis::Core::Hashable
|
|
256
|
+
|
|
257
|
+
# Required. Input only. Write-only raw ZIP/TAR archive payload bytes containing
|
|
258
|
+
# the skill package.
|
|
259
|
+
# Corresponds to the JSON property `archiveContent`
|
|
260
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
261
|
+
# @return [String]
|
|
262
|
+
attr_accessor :archive_content
|
|
263
|
+
|
|
264
|
+
def initialize(**args)
|
|
265
|
+
update!(**args)
|
|
266
|
+
end
|
|
267
|
+
|
|
268
|
+
# Update properties of this object
|
|
269
|
+
def update!(**args)
|
|
270
|
+
@archive_content = args[:archive_content] if args.key?(:archive_content)
|
|
271
|
+
end
|
|
272
|
+
end
|
|
273
|
+
|
|
210
274
|
# The AuthProvider of the Binding.
|
|
211
275
|
class AuthProviderBinding
|
|
212
276
|
include Google::Apis::Core::Hashable
|
|
@@ -472,6 +536,77 @@ module Google
|
|
|
472
536
|
end
|
|
473
537
|
end
|
|
474
538
|
|
|
539
|
+
# Structured metadata attributes extracted from the package's local SKILL.md
|
|
540
|
+
# frontmatter.
|
|
541
|
+
class Frontmatter
|
|
542
|
+
include Google::Apis::Core::Hashable
|
|
543
|
+
|
|
544
|
+
# Optional. Environmental dependencies or local sidecars.
|
|
545
|
+
# Corresponds to the JSON property `compatibility`
|
|
546
|
+
# @return [String]
|
|
547
|
+
attr_accessor :compatibility
|
|
548
|
+
|
|
549
|
+
# Required. Functional description.
|
|
550
|
+
# Corresponds to the JSON property `description`
|
|
551
|
+
# @return [String]
|
|
552
|
+
attr_accessor :description
|
|
553
|
+
|
|
554
|
+
# Optional. License.
|
|
555
|
+
# Corresponds to the JSON property `license`
|
|
556
|
+
# @return [String]
|
|
557
|
+
attr_accessor :license
|
|
558
|
+
|
|
559
|
+
# Optional. Extensible flattened map mapping custom tags, authors, and version
|
|
560
|
+
# parameters.
|
|
561
|
+
# Corresponds to the JSON property `metadata`
|
|
562
|
+
# @return [Hash<String,String>]
|
|
563
|
+
attr_accessor :metadata
|
|
564
|
+
|
|
565
|
+
# Required. The name of the skill.
|
|
566
|
+
# Corresponds to the JSON property `name`
|
|
567
|
+
# @return [String]
|
|
568
|
+
attr_accessor :name
|
|
569
|
+
|
|
570
|
+
def initialize(**args)
|
|
571
|
+
update!(**args)
|
|
572
|
+
end
|
|
573
|
+
|
|
574
|
+
# Update properties of this object
|
|
575
|
+
def update!(**args)
|
|
576
|
+
@compatibility = args[:compatibility] if args.key?(:compatibility)
|
|
577
|
+
@description = args[:description] if args.key?(:description)
|
|
578
|
+
@license = args[:license] if args.key?(:license)
|
|
579
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
580
|
+
@name = args[:name] if args.key?(:name)
|
|
581
|
+
end
|
|
582
|
+
end
|
|
583
|
+
|
|
584
|
+
# Specifications for Cloud Storage objects.
|
|
585
|
+
class GcsSource
|
|
586
|
+
include Google::Apis::Core::Hashable
|
|
587
|
+
|
|
588
|
+
# Optional. Cloud Storage object generation ID. If not specified, the latest
|
|
589
|
+
# generation is used.
|
|
590
|
+
# Corresponds to the JSON property `generation`
|
|
591
|
+
# @return [Fixnum]
|
|
592
|
+
attr_accessor :generation
|
|
593
|
+
|
|
594
|
+
# Required. Cloud Storage object URI. Format: `gs://`bucket_name`/`object_name``
|
|
595
|
+
# Corresponds to the JSON property `uri`
|
|
596
|
+
# @return [String]
|
|
597
|
+
attr_accessor :uri
|
|
598
|
+
|
|
599
|
+
def initialize(**args)
|
|
600
|
+
update!(**args)
|
|
601
|
+
end
|
|
602
|
+
|
|
603
|
+
# Update properties of this object
|
|
604
|
+
def update!(**args)
|
|
605
|
+
@generation = args[:generation] if args.key?(:generation)
|
|
606
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
607
|
+
end
|
|
608
|
+
end
|
|
609
|
+
|
|
475
610
|
# Represents the connection details for an Agent or MCP Server.
|
|
476
611
|
class Interface
|
|
477
612
|
include Google::Apis::Core::Hashable
|
|
@@ -662,6 +797,31 @@ module Google
|
|
|
662
797
|
end
|
|
663
798
|
end
|
|
664
799
|
|
|
800
|
+
# Response listing Publishers.
|
|
801
|
+
class ListPublishersResponse
|
|
802
|
+
include Google::Apis::Core::Hashable
|
|
803
|
+
|
|
804
|
+
# Page offset continuation token.
|
|
805
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
806
|
+
# @return [String]
|
|
807
|
+
attr_accessor :next_page_token
|
|
808
|
+
|
|
809
|
+
# The returned list of Publishers.
|
|
810
|
+
# Corresponds to the JSON property `publishers`
|
|
811
|
+
# @return [Array<Google::Apis::AgentregistryV1alpha::Publisher>]
|
|
812
|
+
attr_accessor :publishers
|
|
813
|
+
|
|
814
|
+
def initialize(**args)
|
|
815
|
+
update!(**args)
|
|
816
|
+
end
|
|
817
|
+
|
|
818
|
+
# Update properties of this object
|
|
819
|
+
def update!(**args)
|
|
820
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
821
|
+
@publishers = args[:publishers] if args.key?(:publishers)
|
|
822
|
+
end
|
|
823
|
+
end
|
|
824
|
+
|
|
665
825
|
# Message for response to listing Services
|
|
666
826
|
class ListServicesResponse
|
|
667
827
|
include Google::Apis::Core::Hashable
|
|
@@ -690,6 +850,62 @@ module Google
|
|
|
690
850
|
end
|
|
691
851
|
end
|
|
692
852
|
|
|
853
|
+
# Response listing Revisions.
|
|
854
|
+
class ListSkillRevisionsResponse
|
|
855
|
+
include Google::Apis::Core::Hashable
|
|
856
|
+
|
|
857
|
+
# Page offset continuation token.
|
|
858
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
859
|
+
# @return [String]
|
|
860
|
+
attr_accessor :next_page_token
|
|
861
|
+
|
|
862
|
+
# Returned version snapshot list.
|
|
863
|
+
# Corresponds to the JSON property `skillRevisions`
|
|
864
|
+
# @return [Array<Google::Apis::AgentregistryV1alpha::SkillRevision>]
|
|
865
|
+
attr_accessor :skill_revisions
|
|
866
|
+
|
|
867
|
+
def initialize(**args)
|
|
868
|
+
update!(**args)
|
|
869
|
+
end
|
|
870
|
+
|
|
871
|
+
# Update properties of this object
|
|
872
|
+
def update!(**args)
|
|
873
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
874
|
+
@skill_revisions = args[:skill_revisions] if args.key?(:skill_revisions)
|
|
875
|
+
end
|
|
876
|
+
end
|
|
877
|
+
|
|
878
|
+
# Response structure listing logical Skills.
|
|
879
|
+
class ListSkillsResponse
|
|
880
|
+
include Google::Apis::Core::Hashable
|
|
881
|
+
|
|
882
|
+
# Page continuation continuation token.
|
|
883
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
884
|
+
# @return [String]
|
|
885
|
+
attr_accessor :next_page_token
|
|
886
|
+
|
|
887
|
+
# Returned container list.
|
|
888
|
+
# Corresponds to the JSON property `skills`
|
|
889
|
+
# @return [Array<Google::Apis::AgentregistryV1alpha::Skill>]
|
|
890
|
+
attr_accessor :skills
|
|
891
|
+
|
|
892
|
+
# Unreachable locations or failures.
|
|
893
|
+
# Corresponds to the JSON property `unreachable`
|
|
894
|
+
# @return [Array<String>]
|
|
895
|
+
attr_accessor :unreachable
|
|
896
|
+
|
|
897
|
+
def initialize(**args)
|
|
898
|
+
update!(**args)
|
|
899
|
+
end
|
|
900
|
+
|
|
901
|
+
# Update properties of this object
|
|
902
|
+
def update!(**args)
|
|
903
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
904
|
+
@skills = args[:skills] if args.key?(:skills)
|
|
905
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
906
|
+
end
|
|
907
|
+
end
|
|
908
|
+
|
|
693
909
|
# A resource that represents a Google Cloud location.
|
|
694
910
|
class Location
|
|
695
911
|
include Google::Apis::Core::Hashable
|
|
@@ -989,6 +1205,59 @@ module Google
|
|
|
989
1205
|
end
|
|
990
1206
|
end
|
|
991
1207
|
|
|
1208
|
+
# Represents a verified Publisher of Skills. Prepopulated publishers include `
|
|
1209
|
+
# publishers/cloud.google.com` and `publishers/workspace.google.com`.
|
|
1210
|
+
class Publisher
|
|
1211
|
+
include Google::Apis::Core::Hashable
|
|
1212
|
+
|
|
1213
|
+
# Optional. Human readable display name of the publisher.
|
|
1214
|
+
# Corresponds to the JSON property `displayName`
|
|
1215
|
+
# @return [String]
|
|
1216
|
+
attr_accessor :display_name
|
|
1217
|
+
|
|
1218
|
+
# Optional. URI pointing to official publisher documentation.
|
|
1219
|
+
# Corresponds to the JSON property `documentationUri`
|
|
1220
|
+
# @return [String]
|
|
1221
|
+
attr_accessor :documentation_uri
|
|
1222
|
+
|
|
1223
|
+
# Identifier. Resource name of the publisher. Format: `projects/`project`/
|
|
1224
|
+
# locations/`location`/publishers/`publisher``
|
|
1225
|
+
# Corresponds to the JSON property `name`
|
|
1226
|
+
# @return [String]
|
|
1227
|
+
attr_accessor :name
|
|
1228
|
+
|
|
1229
|
+
# Output only. The curation tier of the publisher.
|
|
1230
|
+
# Corresponds to the JSON property `publisherTier`
|
|
1231
|
+
# @return [String]
|
|
1232
|
+
attr_accessor :publisher_tier
|
|
1233
|
+
|
|
1234
|
+
# Optional. URI pointing to the support portal or email.
|
|
1235
|
+
# Corresponds to the JSON property `supportUri`
|
|
1236
|
+
# @return [String]
|
|
1237
|
+
attr_accessor :support_uri
|
|
1238
|
+
|
|
1239
|
+
# Required. The verified prefix (e.g. "snowflake-", "google-") associated with
|
|
1240
|
+
# this publisher. The system uses this prefix to enforce name-squatting rules
|
|
1241
|
+
# during Skill registration. Must be globally unique across all publishers.
|
|
1242
|
+
# Corresponds to the JSON property `verifiedPrefix`
|
|
1243
|
+
# @return [String]
|
|
1244
|
+
attr_accessor :verified_prefix
|
|
1245
|
+
|
|
1246
|
+
def initialize(**args)
|
|
1247
|
+
update!(**args)
|
|
1248
|
+
end
|
|
1249
|
+
|
|
1250
|
+
# Update properties of this object
|
|
1251
|
+
def update!(**args)
|
|
1252
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
1253
|
+
@documentation_uri = args[:documentation_uri] if args.key?(:documentation_uri)
|
|
1254
|
+
@name = args[:name] if args.key?(:name)
|
|
1255
|
+
@publisher_tier = args[:publisher_tier] if args.key?(:publisher_tier)
|
|
1256
|
+
@support_uri = args[:support_uri] if args.key?(:support_uri)
|
|
1257
|
+
@verified_prefix = args[:verified_prefix] if args.key?(:verified_prefix)
|
|
1258
|
+
end
|
|
1259
|
+
end
|
|
1260
|
+
|
|
992
1261
|
# Message for searching Agents
|
|
993
1262
|
class SearchAgentsRequest
|
|
994
1263
|
include Google::Apis::Core::Hashable
|
|
@@ -1155,6 +1424,31 @@ module Google
|
|
|
1155
1424
|
end
|
|
1156
1425
|
end
|
|
1157
1426
|
|
|
1427
|
+
# Response listing searched Skills.
|
|
1428
|
+
class SearchSkillsResponse
|
|
1429
|
+
include Google::Apis::Core::Hashable
|
|
1430
|
+
|
|
1431
|
+
# Query page offset continuation token.
|
|
1432
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1433
|
+
# @return [String]
|
|
1434
|
+
attr_accessor :next_page_token
|
|
1435
|
+
|
|
1436
|
+
# Matched Skills list.
|
|
1437
|
+
# Corresponds to the JSON property `skills`
|
|
1438
|
+
# @return [Array<Google::Apis::AgentregistryV1alpha::Skill>]
|
|
1439
|
+
attr_accessor :skills
|
|
1440
|
+
|
|
1441
|
+
def initialize(**args)
|
|
1442
|
+
update!(**args)
|
|
1443
|
+
end
|
|
1444
|
+
|
|
1445
|
+
# Update properties of this object
|
|
1446
|
+
def update!(**args)
|
|
1447
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1448
|
+
@skills = args[:skills] if args.key?(:skills)
|
|
1449
|
+
end
|
|
1450
|
+
end
|
|
1451
|
+
|
|
1158
1452
|
# Represents a user-defined Service.
|
|
1159
1453
|
class Service
|
|
1160
1454
|
include Google::Apis::Core::Hashable
|
|
@@ -1234,34 +1528,97 @@ module Google
|
|
|
1234
1528
|
end
|
|
1235
1529
|
end
|
|
1236
1530
|
|
|
1237
|
-
# Represents
|
|
1531
|
+
# Represents an Executable Agent Skill or a Composite Tool Suite (Bundle).
|
|
1532
|
+
# Sibling resource with Agent and McpServer under agentregistry.googleapis.com.
|
|
1238
1533
|
class Skill
|
|
1239
1534
|
include Google::Apis::Core::Hashable
|
|
1240
1535
|
|
|
1241
|
-
# Output only.
|
|
1536
|
+
# Output only. Create time.
|
|
1537
|
+
# Corresponds to the JSON property `createTime`
|
|
1538
|
+
# @return [String]
|
|
1539
|
+
attr_accessor :create_time
|
|
1540
|
+
|
|
1541
|
+
# Optional. The full resource name of the revision currently served by default (
|
|
1542
|
+
# floating track). Format: `projects/`project`/locations/`location`/skills/`
|
|
1543
|
+
# skill`/revisions/`revision``
|
|
1544
|
+
# Corresponds to the JSON property `defaultRevision`
|
|
1545
|
+
# @return [String]
|
|
1546
|
+
attr_accessor :default_revision
|
|
1547
|
+
|
|
1548
|
+
# Optional. Brief summary describing the capabilities of the skill. Maximum
|
|
1549
|
+
# length is 2048 characters.
|
|
1242
1550
|
# Corresponds to the JSON property `description`
|
|
1243
1551
|
# @return [String]
|
|
1244
1552
|
attr_accessor :description
|
|
1245
1553
|
|
|
1246
|
-
#
|
|
1247
|
-
#
|
|
1248
|
-
#
|
|
1249
|
-
attr_accessor :examples
|
|
1250
|
-
|
|
1251
|
-
# Output only. A unique identifier for the agent's skill.
|
|
1252
|
-
# Corresponds to the JSON property `id`
|
|
1554
|
+
# Required. Human-readable display name of the skill. Maximum length is 128
|
|
1555
|
+
# characters.
|
|
1556
|
+
# Corresponds to the JSON property `displayName`
|
|
1253
1557
|
# @return [String]
|
|
1254
|
-
attr_accessor :
|
|
1558
|
+
attr_accessor :display_name
|
|
1255
1559
|
|
|
1256
|
-
#
|
|
1560
|
+
# Structured metadata attributes extracted from the package's local SKILL.md
|
|
1561
|
+
# frontmatter.
|
|
1562
|
+
# Corresponds to the JSON property `frontmatter`
|
|
1563
|
+
# @return [Google::Apis::AgentregistryV1alpha::Frontmatter]
|
|
1564
|
+
attr_accessor :frontmatter
|
|
1565
|
+
|
|
1566
|
+
# Represents an immutable, versioned snapshot of a Skill package.
|
|
1567
|
+
# Corresponds to the JSON property `initialRevision`
|
|
1568
|
+
# @return [Google::Apis::AgentregistryV1alpha::SkillRevision]
|
|
1569
|
+
attr_accessor :initial_revision
|
|
1570
|
+
|
|
1571
|
+
# Identifier. Resource name of the Skill. Format: `projects/`project`/locations/`
|
|
1572
|
+
# location`/skills/`skill`` The ``skill`` segment acts as the resource ID. If
|
|
1573
|
+
# the skill is associated with a Publisher, this segment typically uses a
|
|
1574
|
+
# hyphenated namespace prefix corresponding to the publisher (e.g., `google-
|
|
1575
|
+
# workspace-create-docs`).
|
|
1257
1576
|
# Corresponds to the JSON property `name`
|
|
1258
1577
|
# @return [String]
|
|
1259
1578
|
attr_accessor :name
|
|
1260
1579
|
|
|
1261
|
-
#
|
|
1262
|
-
#
|
|
1263
|
-
#
|
|
1264
|
-
|
|
1580
|
+
# Optional. The publisher resource associated with this skill. Format: `projects/
|
|
1581
|
+
# `project`/locations/`location`/publishers/`publisher`` The publisher dictates
|
|
1582
|
+
# the allowed namespace prefixes for the skill's name and logical `skill_id` (e.
|
|
1583
|
+
# g., Publisher `google` authorizes the `google-*` prefix).
|
|
1584
|
+
# Corresponds to the JSON property `publisher`
|
|
1585
|
+
# @return [String]
|
|
1586
|
+
attr_accessor :publisher
|
|
1587
|
+
|
|
1588
|
+
# Output only. A stable, globally unique logical identifier for the skill. It is
|
|
1589
|
+
# securely constructed by the backend by combining the associated `publisher`'s
|
|
1590
|
+
# verified namespace and the skill's resource ID to enforce strict ownership.
|
|
1591
|
+
# For example, the prefix `google-` is reserved exclusively for first-party
|
|
1592
|
+
# Google publishers to prevent namespace squatting. Example: `urn:skill:google-
|
|
1593
|
+
# workspace:create-docs`
|
|
1594
|
+
# Corresponds to the JSON property `skillId`
|
|
1595
|
+
# @return [String]
|
|
1596
|
+
attr_accessor :skill_id
|
|
1597
|
+
|
|
1598
|
+
# Output only. The system-managed state of the skill.
|
|
1599
|
+
# Corresponds to the JSON property `state`
|
|
1600
|
+
# @return [String]
|
|
1601
|
+
attr_accessor :state
|
|
1602
|
+
|
|
1603
|
+
# Required. User-managed target state of the skill.
|
|
1604
|
+
# Corresponds to the JSON property `targetState`
|
|
1605
|
+
# @return [String]
|
|
1606
|
+
attr_accessor :target_state
|
|
1607
|
+
|
|
1608
|
+
# Required. Structural deployment type (SIMPLE leaf vs COMPOSITE bundle).
|
|
1609
|
+
# Corresponds to the JSON property `type`
|
|
1610
|
+
# @return [String]
|
|
1611
|
+
attr_accessor :type
|
|
1612
|
+
|
|
1613
|
+
# Output only. Universally unique identifier (UUID4) for the logical container.
|
|
1614
|
+
# Corresponds to the JSON property `uid`
|
|
1615
|
+
# @return [String]
|
|
1616
|
+
attr_accessor :uid
|
|
1617
|
+
|
|
1618
|
+
# Output only. Update time.
|
|
1619
|
+
# Corresponds to the JSON property `updateTime`
|
|
1620
|
+
# @return [String]
|
|
1621
|
+
attr_accessor :update_time
|
|
1265
1622
|
|
|
1266
1623
|
def initialize(**args)
|
|
1267
1624
|
update!(**args)
|
|
@@ -1269,11 +1626,91 @@ module Google
|
|
|
1269
1626
|
|
|
1270
1627
|
# Update properties of this object
|
|
1271
1628
|
def update!(**args)
|
|
1629
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1630
|
+
@default_revision = args[:default_revision] if args.key?(:default_revision)
|
|
1272
1631
|
@description = args[:description] if args.key?(:description)
|
|
1273
|
-
@
|
|
1274
|
-
@
|
|
1632
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
1633
|
+
@frontmatter = args[:frontmatter] if args.key?(:frontmatter)
|
|
1634
|
+
@initial_revision = args[:initial_revision] if args.key?(:initial_revision)
|
|
1275
1635
|
@name = args[:name] if args.key?(:name)
|
|
1276
|
-
@
|
|
1636
|
+
@publisher = args[:publisher] if args.key?(:publisher)
|
|
1637
|
+
@skill_id = args[:skill_id] if args.key?(:skill_id)
|
|
1638
|
+
@state = args[:state] if args.key?(:state)
|
|
1639
|
+
@target_state = args[:target_state] if args.key?(:target_state)
|
|
1640
|
+
@type = args[:type] if args.key?(:type)
|
|
1641
|
+
@uid = args[:uid] if args.key?(:uid)
|
|
1642
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
1643
|
+
end
|
|
1644
|
+
end
|
|
1645
|
+
|
|
1646
|
+
# Represents an immutable, versioned snapshot of a Skill package.
|
|
1647
|
+
class SkillRevision
|
|
1648
|
+
include Google::Apis::Core::Hashable
|
|
1649
|
+
|
|
1650
|
+
# Direct write-only raw archive payload upload.
|
|
1651
|
+
# Corresponds to the JSON property `archiveUploadSource`
|
|
1652
|
+
# @return [Google::Apis::AgentregistryV1alpha::ArchiveUploadSource]
|
|
1653
|
+
attr_accessor :archive_upload_source
|
|
1654
|
+
|
|
1655
|
+
# Output only. Revision creation timestamp.
|
|
1656
|
+
# Corresponds to the JSON property `createTime`
|
|
1657
|
+
# @return [String]
|
|
1658
|
+
attr_accessor :create_time
|
|
1659
|
+
|
|
1660
|
+
# Structured metadata attributes extracted from the package's local SKILL.md
|
|
1661
|
+
# frontmatter.
|
|
1662
|
+
# Corresponds to the JSON property `frontmatter`
|
|
1663
|
+
# @return [Google::Apis::AgentregistryV1alpha::Frontmatter]
|
|
1664
|
+
attr_accessor :frontmatter
|
|
1665
|
+
|
|
1666
|
+
# Specifications for Cloud Storage objects.
|
|
1667
|
+
# Corresponds to the JSON property `gcsSource`
|
|
1668
|
+
# @return [Google::Apis::AgentregistryV1alpha::GcsSource]
|
|
1669
|
+
attr_accessor :gcs_source
|
|
1670
|
+
|
|
1671
|
+
# Identifier. Resource name of the SkillRevision. Format: `projects/`project`/
|
|
1672
|
+
# locations/`location`/skills/`skill`/revisions/`revision``
|
|
1673
|
+
# Corresponds to the JSON property `name`
|
|
1674
|
+
# @return [String]
|
|
1675
|
+
attr_accessor :name
|
|
1676
|
+
|
|
1677
|
+
# Output only. Cryptographic SHA-256 integrity and deduplication digest of the
|
|
1678
|
+
# payload zip.
|
|
1679
|
+
# Corresponds to the JSON property `sha256Hash`
|
|
1680
|
+
# @return [String]
|
|
1681
|
+
attr_accessor :sha256_hash
|
|
1682
|
+
|
|
1683
|
+
# Output only. Size of the compiled zip payload in bytes (assists client
|
|
1684
|
+
# download progress).
|
|
1685
|
+
# Corresponds to the JSON property `sizeBytes`
|
|
1686
|
+
# @return [Fixnum]
|
|
1687
|
+
attr_accessor :size_bytes
|
|
1688
|
+
|
|
1689
|
+
# Output only. The system-managed lifecycle state of this revision.
|
|
1690
|
+
# Corresponds to the JSON property `state`
|
|
1691
|
+
# @return [String]
|
|
1692
|
+
attr_accessor :state
|
|
1693
|
+
|
|
1694
|
+
# Output only. Universally unique identifier (UUID4) for the skill revision.
|
|
1695
|
+
# Corresponds to the JSON property `uid`
|
|
1696
|
+
# @return [String]
|
|
1697
|
+
attr_accessor :uid
|
|
1698
|
+
|
|
1699
|
+
def initialize(**args)
|
|
1700
|
+
update!(**args)
|
|
1701
|
+
end
|
|
1702
|
+
|
|
1703
|
+
# Update properties of this object
|
|
1704
|
+
def update!(**args)
|
|
1705
|
+
@archive_upload_source = args[:archive_upload_source] if args.key?(:archive_upload_source)
|
|
1706
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1707
|
+
@frontmatter = args[:frontmatter] if args.key?(:frontmatter)
|
|
1708
|
+
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
|
1709
|
+
@name = args[:name] if args.key?(:name)
|
|
1710
|
+
@sha256_hash = args[:sha256_hash] if args.key?(:sha256_hash)
|
|
1711
|
+
@size_bytes = args[:size_bytes] if args.key?(:size_bytes)
|
|
1712
|
+
@state = args[:state] if args.key?(:state)
|
|
1713
|
+
@uid = args[:uid] if args.key?(:uid)
|
|
1277
1714
|
end
|
|
1278
1715
|
end
|
|
1279
1716
|
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module AgentregistryV1alpha
|
|
18
18
|
# Version of the google-apis-agentregistry_v1alpha gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.5.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260722"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|