Class SettingsResource.SearchapplicationsResource.ResetRequest
Resets a search application to default settings. This will return an empty response. Note: This API requires an admin account to execute.
Inheritance
SettingsResource.SearchapplicationsResource.ResetRequest
Inherited Members
Namespace: Google.Apis.CloudSearch.v1
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class SettingsResource.SearchapplicationsResource.ResetRequest : CloudSearchBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
ResetRequest(IClientService, ResetSearchApplicationRequest, string)
Constructs a new Reset request.
Declaration
public ResetRequest(IClientService service, ResetSearchApplicationRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ResetSearchApplicationRequest | 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
The name of the search application to be reset. Format: applications/{application_id}.
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 Reset parameter list.
Declaration
protected override void InitParameters()