Class SettingsResource.SearchapplicationsResource.UpdateRequest
Updates a search application. Note: This API requires an admin account to execute.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudSearch.v1
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class SettingsResource.SearchapplicationsResource.UpdateRequest : CloudSearchBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, SearchApplication, string)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, SearchApplication body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| SearchApplication | 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. Format: searchapplications/{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
UpdateMask
Only applies to
settings.searchapplications.patch.
Update mask to control which fields to update. Example field paths: search_application.name,
search_application.displayName. * If update_mask is non-empty, then only the fields specified in
the update_mask are updated. * If you specify a field in the update_mask, but don't specify its
value in the search_application, then that field is cleared. * If the update_mask is not present
or empty or has the value *, then all fields are updated.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Update parameter list.
Declaration
protected override void InitParameters()