Class IndexingResource.DatasourcesResource.UpdateSchemaRequest
Updates the schema of a data source. This method does not perform incremental updates to the schema. Instead, this method updates the schema by overwriting the entire schema. Note: This API requires an admin or service account to execute.
Inheritance
IndexingResource.DatasourcesResource.UpdateSchemaRequest
Inherited Members
Namespace: Google.Apis.CloudSearch.v1
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class IndexingResource.DatasourcesResource.UpdateSchemaRequest : CloudSearchBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
UpdateSchemaRequest(IClientService, UpdateSchemaRequest, string)
Constructs a new UpdateSchema request.
Declaration
public UpdateSchemaRequest(IClientService service, UpdateSchemaRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
UpdateSchemaRequest | 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 data source to update Schema. Format: datasources/{source_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 UpdateSchema parameter list.
Declaration
protected override void InitParameters()