Class ProjectsResource.LocationsResource.SkillsResource.PatchRequest
Updates Skill metadata or overrides active pointers/state using REST standard PATCH.
Inheritance
ProjectsResource.LocationsResource.SkillsResource.PatchRequest
Inherited Members
Namespace: Google.Apis.AgentRegistry.v1alpha
Assembly: Google.Apis.AgentRegistry.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.SkillsResource.PatchRequest : AgentRegistryBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
PatchRequest(IClientService, Skill, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, Skill body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| Skill | body | |
| string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
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).
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RequestId
Optional. Signed UUID request idempotency token.
Declaration
[RequestParameter("requestId", RequestParameterType.Query)]
public virtual string RequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
UpdateMask
Optional. Standard update target mask mapping relative fields.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()