Class IndexingResource.DatasourcesResource.GetSchemaRequest
Gets the schema of a data source. Note: This API requires an admin or service account to execute.
Inheritance
IndexingResource.DatasourcesResource.GetSchemaRequest
Inherited Members
Namespace: Google.Apis.CloudSearch.v1
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class IndexingResource.DatasourcesResource.GetSchemaRequest : CloudSearchBaseServiceRequest<Schema>, IClientServiceRequest<Schema>, IClientServiceRequest
Constructors
GetSchemaRequest(IClientService, string)
Constructs a new GetSchema request.
Declaration
public GetSchemaRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
DebugOptionsEnableDebugging
If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.
Declaration
[RequestParameter("debugOptions.enableDebugging", RequestParameterType.Query)]
public virtual bool? DebugOptionsEnableDebugging { get; set; }
Property Value
Type | Description |
---|---|
bool? |
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 get 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
InitParameters()
Initializes GetSchema parameter list.
Declaration
protected override void InitParameters()