Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.SkillsResource

The "skills" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.SkillsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AgentRegistry.v1alpha
Assembly: Google.Apis.AgentRegistry.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.SkillsResource

Constructors

SkillsResource(IClientService)

Constructs a new resource.

Declaration
public SkillsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Revisions

Gets the Revisions resource.

Declaration
public virtual ProjectsResource.LocationsResource.SkillsResource.RevisionsResource Revisions { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.SkillsResource.RevisionsResource

Methods

Create(Skill, string)

========================================================================= # Skills Collection APIs Creates a Skill resource container, optionally publishing the initial SkillRevision inline in a single, atomic CRUD roundtrip.

Declaration
public virtual ProjectsResource.LocationsResource.SkillsResource.CreateRequest Create(Skill body, string parent)
Parameters
Type Name Description
Skill body

The body of the request.

string parent

Required. The project and location location to bootstrap.

Returns
Type Description
ProjectsResource.LocationsResource.SkillsResource.CreateRequest

Delete(string)

Deletes a Skill container along with all its revisions.

Declaration
public virtual ProjectsResource.LocationsResource.SkillsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Target Skill container name to remove.

Returns
Type Description
ProjectsResource.LocationsResource.SkillsResource.DeleteRequest

Get(string)

Fetches the active configuration and metadata of a Skill.

Declaration
public virtual ProjectsResource.LocationsResource.SkillsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Target resource container name.

Returns
Type Description
ProjectsResource.LocationsResource.SkillsResource.GetRequest

GetIamPolicy(string)

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

Declaration
public virtual ProjectsResource.LocationsResource.SkillsResource.GetIamPolicyRequest GetIamPolicy(string resource)
Parameters
Type Name Description
string resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.SkillsResource.GetIamPolicyRequest

List(string)

Lists logical Skills available in a project.

Declaration
public virtual ProjectsResource.LocationsResource.SkillsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. Parent value for ListSkillsRequest

Returns
Type Description
ProjectsResource.LocationsResource.SkillsResource.ListRequest

Patch(Skill, string)

Updates Skill metadata or overrides active pointers/state using REST standard PATCH.

Declaration
public virtual ProjectsResource.LocationsResource.SkillsResource.PatchRequest Patch(Skill body, string name)
Parameters
Type Name Description
Skill body

The body of the request.

string name

Identifier. Resource name of the Skill. Format: projects/{project}/locations/{location}/skills/{skill} The {skill} segment acts as the resource ID. If the skill is associated with a Publisher, this segment typically uses a hyphenated namespace prefix corresponding to the publisher (e.g., google-workspace-create-docs).

Returns
Type Description
ProjectsResource.LocationsResource.SkillsResource.PatchRequest

Search(string)

Custom deep-search method to filter by frontmatter or query SKILL.md text blobs.

Declaration
public virtual ProjectsResource.LocationsResource.SkillsResource.SearchRequest Search(string parent)
Parameters
Type Name Description
string parent

Required. Parent value for SearchSkillsRequest. Format: projects/{project}/locations/{location}.

Returns
Type Description
ProjectsResource.LocationsResource.SkillsResource.SearchRequest

SetIamPolicy(GoogleIamV1SetIamPolicyRequest, string)

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

Declaration
public virtual ProjectsResource.LocationsResource.SkillsResource.SetIamPolicyRequest SetIamPolicy(GoogleIamV1SetIamPolicyRequest body, string resource)
Parameters
Type Name Description
GoogleIamV1SetIamPolicyRequest body

The body of the request.

string resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.SkillsResource.SetIamPolicyRequest

TestIamPermissions(GoogleIamV1TestIamPermissionsRequest, string)

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

Declaration
public virtual ProjectsResource.LocationsResource.SkillsResource.TestIamPermissionsRequest TestIamPermissions(GoogleIamV1TestIamPermissionsRequest body, string resource)
Parameters
Type Name Description
GoogleIamV1TestIamPermissionsRequest body

The body of the request.

string resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.SkillsResource.TestIamPermissionsRequest
In this article
Back to top Generated by DocFX