Class ProjectsResource.LocationsResource.CollectionsResource.DataConnectorResource.InvokeConnectorMcpRequest
Makes a call to an MCP connector.
Inheritance
ProjectsResource.LocationsResource.CollectionsResource.DataConnectorResource.InvokeConnectorMcpRequest
Implements
Inherited Members
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpResponse>.Xgafv
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource.DataConnectorResource.InvokeConnectorMcpRequest : DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpResponse>, IClientServiceRequest<GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpResponse>, IClientServiceRequest
Constructors
InvokeConnectorMcpRequest(IClientService, GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpRequest, string)
Constructs a new InvokeConnectorMcp request.
Declaration
public InvokeConnectorMcpRequest(IClientService service, GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpRequest | 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
Required. DataConnector resource. The data connector used for making the MCP call.
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
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes InvokeConnectorMcp parameter list.
Declaration
protected override void InitParameters()