Class SettingsResource.DatasourcesResource.UpdateRequest
Updates a datasource. Note: This API requires an admin account to execute.
Inheritance
SettingsResource.DatasourcesResource.UpdateRequest
Inherited Members
Namespace: Google.Apis.CloudSearch.v1
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class SettingsResource.DatasourcesResource.UpdateRequest : CloudSearchBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, UpdateDataSourceRequest, string)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, UpdateDataSourceRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
UpdateDataSourceRequest | 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 datasource resource. Format: datasources/{source_id}. The name is ignored when creating a datasource.
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 Update parameter list.
Declaration
protected override void InitParameters()