Class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AnalyticsResource.ExportMetricsRequest
Exports metrics.
Inheritance
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AnalyticsResource.ExportMetricsRequest
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AnalyticsResource.ExportMetricsRequest : DiscoveryEngineBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
ExportMetricsRequest(IClientService, GoogleCloudDiscoveryengineV1alphaExportMetricsRequest, string)
Constructs a new ExportMetrics request.
Declaration
public ExportMetricsRequest(IClientService service, GoogleCloudDiscoveryengineV1alphaExportMetricsRequest body, string analytics)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudDiscoveryengineV1alphaExportMetricsRequest | body | |
| string | analytics |
Properties
Analytics
Required. The analytics resource name under the engine where the metrics are created.
The format is
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/analytics.
Declaration
[RequestParameter("analytics", RequestParameterType.Path)]
public virtual string Analytics { get; }
Property Value
| Type | Description |
|---|---|
| string |
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
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 ExportMetrics parameter list.
Declaration
protected override void InitParameters()