blob: f691dd9f9fd0f767849332ffe6dea9a089f7c27e [file] [edit]
<html><body>
<style>
body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
body {
font-size: 13px;
padding: 1em;
}
h1 {
font-size: 26px;
margin-bottom: 1em;
}
h2 {
font-size: 24px;
margin-bottom: 1em;
}
h3 {
font-size: 20px;
margin-bottom: 1em;
margin-top: 1em;
}
pre, code {
line-height: 1.5;
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}
pre {
margin-top: 0.5em;
}
h1, h2, h3, p {
font-family: Arial, sans serif;
}
h1, h2, h3 {
border-bottom: solid #CCC 1px;
}
.toc_element {
margin-top: 0.5em;
}
.firstline {
margin-left: 2 em;
}
.method {
margin-top: 1em;
border: solid 1px #CCC;
padding: 1em;
background: #EEE;
}
.details {
font-weight: bold;
font-size: 14px;
}
</style>
<h1><a href="aiplatform_v1beta1.html">Agent Platform API</a> . <a href="aiplatform_v1beta1.projects.html">projects</a> . <a href="aiplatform_v1beta1.projects.locations.html">locations</a> . <a href="aiplatform_v1beta1.projects.locations.skills.html">skills</a> . <a href="aiplatform_v1beta1.projects.locations.skills.revisions.html">revisions</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
<p class="firstline">Get a Skill Revision.</p>
<p class="toc_element">
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">List Skill Revisions for a Skill.</p>
<p class="toc_element">
<code><a href="#list_next">list_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
<pre>Close httplib2 connections.</pre>
</div>
<div class="method">
<code class="details" id="get">get(name, x__xgafv=None)</code>
<pre>Get a Skill Revision.
Args:
name: string, Required. The resource name of the Skill Revision to retrieve. Format: `projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}` (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # A revision of a Skill.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Skill Revision was created.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the Skill Revision. Format: `projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}`
&quot;skill&quot;: { # A skill. # Output only. The state of the Skill at this revision.
&quot;compatibility&quot;: &quot;A String&quot;, # Optional. Specifies the compatibility of the Skill. Indicates environment requirements (intended product, system packages, network access, etc.). This should align with `compatibility` in the `SKILL.md` file.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Skill was created.
&quot;description&quot;: &quot;A String&quot;, # Required. Describes the Skill. Should describe both what the skill does and when to use it. Should include specific keywords that help agents identify relevant tasks. This should align with `description` in the `SKILL.md` file.
&quot;displayName&quot;: &quot;A String&quot;, # Required. Provides the display name of the Skill. This should align with `name` in the `SKILL.md` file.
&quot;labels&quot;: { # The labels with user-defined metadata to organize Skills.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;license&quot;: &quot;A String&quot;, # Optional. Specifies the license of the Skill. This should be an SPDX license identifier (e.g., &quot;MIT&quot;, &quot;Apache-2.0&quot;). See https://spdx.org/licenses/. This should align with `license` in the `SKILL.md` file.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the Skill. Format: `projects/{project}/locations/{location}/skills/{skill}`
&quot;sha256&quot;: &quot;A String&quot;, # Output only. The SHA256 checksum of the zipped filesystem.
&quot;skillSource&quot;: &quot;A String&quot;, # Output only. The source of the Skill.
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the Skill.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Skill was most recently updated.
&quot;zippedFilesystem&quot;: &quot;A String&quot;, # Required. Provides the zipped filesystem of the Skill. This should contain the `SKILL.md` file at the root of the zip and optional directories for scripts, references, and assets. Directory should align with the directory structure specified at https://agentskills.io/specification#directory-structure.
},
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the Skill Revision.
}</pre>
</div>
<div class="method">
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
<pre>List Skill Revisions for a Skill.
Args:
parent: string, Required. The resource name of the Skill to list revisions for. Format: `projects/{project}/locations/{location}/skills/{skill}` (required)
filter: string, Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). Supported fields (equality match only): * `labels`
pageSize: integer, Optional. The standard list page size.
pageToken: string, Optional. The standard list page token.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response message for SkillRegistryService.ListSkillRevisions.
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
&quot;skillRevisions&quot;: [ # The list of Skill Revisions in the request page.
{ # A revision of a Skill.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Skill Revision was created.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the Skill Revision. Format: `projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}`
&quot;skill&quot;: { # A skill. # Output only. The state of the Skill at this revision.
&quot;compatibility&quot;: &quot;A String&quot;, # Optional. Specifies the compatibility of the Skill. Indicates environment requirements (intended product, system packages, network access, etc.). This should align with `compatibility` in the `SKILL.md` file.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Skill was created.
&quot;description&quot;: &quot;A String&quot;, # Required. Describes the Skill. Should describe both what the skill does and when to use it. Should include specific keywords that help agents identify relevant tasks. This should align with `description` in the `SKILL.md` file.
&quot;displayName&quot;: &quot;A String&quot;, # Required. Provides the display name of the Skill. This should align with `name` in the `SKILL.md` file.
&quot;labels&quot;: { # The labels with user-defined metadata to organize Skills.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;license&quot;: &quot;A String&quot;, # Optional. Specifies the license of the Skill. This should be an SPDX license identifier (e.g., &quot;MIT&quot;, &quot;Apache-2.0&quot;). See https://spdx.org/licenses/. This should align with `license` in the `SKILL.md` file.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the Skill. Format: `projects/{project}/locations/{location}/skills/{skill}`
&quot;sha256&quot;: &quot;A String&quot;, # Output only. The SHA256 checksum of the zipped filesystem.
&quot;skillSource&quot;: &quot;A String&quot;, # Output only. The source of the Skill.
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the Skill.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Skill was most recently updated.
&quot;zippedFilesystem&quot;: &quot;A String&quot;, # Required. Provides the zipped filesystem of the Skill. This should contain the `SKILL.md` file at the root of the zip and optional directories for scripts, references, and assets. Directory should align with the directory structure specified at https://agentskills.io/specification#directory-structure.
},
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the Skill Revision.
},
],
}</pre>
</div>
<div class="method">
<code class="details" id="list_next">list_next()</code>
<pre>Retrieves the next page of results.
Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)
Returns:
A request object that you can call &#x27;execute()&#x27; on to request the next
page. Returns None if there are no more items in the collection.
</pre>
</div>
</body></html>