Show / Hide Table of Contents

Class IndexingResource.DatasourcesResource

The "datasources" collection of methods.

Inheritance
object
IndexingResource.DatasourcesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudSearch.v1
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class IndexingResource.DatasourcesResource

Constructors

DatasourcesResource(IClientService)

Constructs a new resource.

Declaration
public DatasourcesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Items

Gets the Items resource.

Declaration
public virtual IndexingResource.DatasourcesResource.ItemsResource Items { get; }
Property Value
Type Description
IndexingResource.DatasourcesResource.ItemsResource

Methods

DeleteSchema(string)

Deletes the schema of a data source. Note: This API requires an admin or service account to execute.

Declaration
public virtual IndexingResource.DatasourcesResource.DeleteSchemaRequest DeleteSchema(string name)
Parameters
Type Name Description
string name

The name of the data source to delete Schema. Format: datasources/{source_id}

Returns
Type Description
IndexingResource.DatasourcesResource.DeleteSchemaRequest

GetSchema(string)

Gets the schema of a data source. Note: This API requires an admin or service account to execute.

Declaration
public virtual IndexingResource.DatasourcesResource.GetSchemaRequest GetSchema(string name)
Parameters
Type Name Description
string name

The name of the data source to get Schema. Format: datasources/{source_id}

Returns
Type Description
IndexingResource.DatasourcesResource.GetSchemaRequest

UpdateSchema(UpdateSchemaRequest, string)

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.

Declaration
public virtual IndexingResource.DatasourcesResource.UpdateSchemaRequest UpdateSchema(UpdateSchemaRequest body, string name)
Parameters
Type Name Description
UpdateSchemaRequest body

The body of the request.

string name

The name of the data source to update Schema. Format: datasources/{source_id}

Returns
Type Description
IndexingResource.DatasourcesResource.UpdateSchemaRequest
In this article
Back to top Generated by DocFX