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)
Constructs a new Mcp request.
Declaration
public McpRequest(IClientService service, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | name |
Properties
HttpBodyContentType
The HTTP Content-Type header value specifying the content type of the body.
Declaration
[RequestParameter("httpBody.contentType", RequestParameterType.Query)]
public virtual string HttpBodyContentType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HttpBodyData
The HTTP request/response body as raw binary.
Declaration
[RequestParameter("httpBody.data", RequestParameterType.Query)]
public virtual string HttpBodyData { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HttpBodyExtensions
Application specific response metadata. Must be set in the first response for streaming APIs.
Declaration
[RequestParameter("httpBody.extensions", RequestParameterType.Query)]
public virtual IDictionary<string, object> HttpBodyExtensions { 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
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Required. The DataConnector the MCP request is for. Format:
projects/{project}/locations/{location}/collections/{collection}/dataConnector
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { 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()