Class ProjectsResource.LocationsResource.CollectionsResource.DataConnectorResource.McpRequest
ServeMcpDeleteRequest serves a MCP DELETE request.
Inheritance
ProjectsResource.LocationsResource.CollectionsResource.DataConnectorResource.McpRequest
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource.DataConnectorResource.McpRequest : DiscoveryEngineBaseServiceRequest<GoogleApiHttpBody>, IClientServiceRequest<GoogleApiHttpBody>, IClientServiceRequest
Constructors
McpRequest(IClientService, string, string, string)
Constructs a new Mcp request.
Declaration
public McpRequest(IClientService service, string projectsId, string locationsId, string collectionsId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | projectsId | |
| string | locationsId | |
| string | collectionsId |
Properties
CollectionsId
Declaration
[RequestParameter("collectionsId", RequestParameterType.Path)]
public virtual string CollectionsId { get; }
Property Value
| Type | Description |
|---|---|
| string |
ContentType
The HTTP Content-Type header value specifying the content type of the body.
Declaration
[RequestParameter("contentType", RequestParameterType.Query)]
public virtual string ContentType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Data
The HTTP request/response body as raw binary.
Declaration
[RequestParameter("data", RequestParameterType.Query)]
public virtual string Data { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Extensions
Application specific response metadata. Must be set in the first response for streaming APIs.
Declaration
[RequestParameter("extensions", RequestParameterType.Query)]
public virtual IDictionary<string, object> Extensions { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, object> |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
LocationsId
Declaration
[RequestParameter("locationsId", RequestParameterType.Path)]
public virtual string LocationsId { get; }
Property Value
| Type | Description |
|---|---|
| string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
ProjectsId
Declaration
[RequestParameter("projectsId", RequestParameterType.Path)]
public virtual string ProjectsId { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes Mcp parameter list.
Declaration
protected override void InitParameters()