Class DebugResource.DatasourcesResource.ItemsResource
The "items" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudSearch.v1
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class DebugResource.DatasourcesResource.ItemsResource
Constructors
ItemsResource(IClientService)
Constructs a new resource.
Declaration
public ItemsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Unmappedids
Gets the Unmappedids resource.
Declaration
public virtual DebugResource.DatasourcesResource.ItemsResource.UnmappedidsResource Unmappedids { get; }
Property Value
Type | Description |
---|---|
DebugResource.DatasourcesResource.ItemsResource.UnmappedidsResource |
Methods
CheckAccess(Principal, string)
Checks whether an item is accessible by specified principal. Principal must be a user; groups and domain values aren't supported. Note: This API requires an admin account to execute.
Declaration
public virtual DebugResource.DatasourcesResource.ItemsResource.CheckAccessRequest CheckAccess(Principal body, string name)
Parameters
Type | Name | Description |
---|---|---|
Principal | body | The body of the request. |
string | name | Item name, format: datasources/{source_id}/items/{item_id} |
Returns
Type | Description |
---|---|
DebugResource.DatasourcesResource.ItemsResource.CheckAccessRequest |
SearchByViewUrl(SearchItemsByViewUrlRequest, string)
Fetches the item whose viewUrl exactly matches that of the URL provided in the request. Note: This API requires an admin account to execute.
Declaration
public virtual DebugResource.DatasourcesResource.ItemsResource.SearchByViewUrlRequest SearchByViewUrl(SearchItemsByViewUrlRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
SearchItemsByViewUrlRequest | body | The body of the request. |
string | name | Source name, format: datasources/{source_id} |
Returns
Type | Description |
---|---|
DebugResource.DatasourcesResource.ItemsResource.SearchByViewUrlRequest |