Class SettingsResource.SearchapplicationsResource
The "searchapplications" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudSearch.v1
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class SettingsResource.SearchapplicationsResource
Constructors
SearchapplicationsResource(IClientService)
Constructs a new resource.
Declaration
public SearchapplicationsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(SearchApplication)
Creates a search application. Note: This API requires an admin account to execute.
Declaration
public virtual SettingsResource.SearchapplicationsResource.CreateRequest Create(SearchApplication body)
Parameters
Type | Name | Description |
---|---|---|
SearchApplication | body | The body of the request. |
Returns
Type | Description |
---|---|
SettingsResource.SearchapplicationsResource.CreateRequest |
Delete(string)
Deletes a search application. Note: This API requires an admin account to execute.
Declaration
public virtual SettingsResource.SearchapplicationsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the search application to be deleted. Format: applications/{application_id}. |
Returns
Type | Description |
---|---|
SettingsResource.SearchapplicationsResource.DeleteRequest |
Get(string)
Gets the specified search application. Note: This API requires an admin account to execute.
Declaration
public virtual SettingsResource.SearchapplicationsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the search application. Format: searchapplications/{application_id}. |
Returns
Type | Description |
---|---|
SettingsResource.SearchapplicationsResource.GetRequest |
List()
Lists all search applications. Note: This API requires an admin account to execute.
Declaration
public virtual SettingsResource.SearchapplicationsResource.ListRequest List()
Returns
Type | Description |
---|---|
SettingsResource.SearchapplicationsResource.ListRequest |
Patch(SearchApplication, string)
Updates a search application. Note: This API requires an admin account to execute.
Declaration
public virtual SettingsResource.SearchapplicationsResource.PatchRequest Patch(SearchApplication body, string name)
Parameters
Type | Name | Description |
---|---|---|
SearchApplication | body | The body of the request. |
string | name | The name of the Search Application. Format: searchapplications/{application_id}. |
Returns
Type | Description |
---|---|
SettingsResource.SearchapplicationsResource.PatchRequest |
Reset(ResetSearchApplicationRequest, string)
Resets a search application to default settings. This will return an empty response. Note: This API requires an admin account to execute.
Declaration
public virtual SettingsResource.SearchapplicationsResource.ResetRequest Reset(ResetSearchApplicationRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
ResetSearchApplicationRequest | body | The body of the request. |
string | name | The name of the search application to be reset. Format: applications/{application_id}. |
Returns
Type | Description |
---|---|
SettingsResource.SearchapplicationsResource.ResetRequest |
Update(SearchApplication, string)
Updates a search application. Note: This API requires an admin account to execute.
Declaration
public virtual SettingsResource.SearchapplicationsResource.UpdateRequest Update(SearchApplication body, string name)
Parameters
Type | Name | Description |
---|---|---|
SearchApplication | body | The body of the request. |
string | name | The name of the Search Application. Format: searchapplications/{application_id}. |
Returns
Type | Description |
---|---|
SettingsResource.SearchapplicationsResource.UpdateRequest |