Class DebugResource.DatasourcesResource.ItemsResource.CheckAccessRequest
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.
Inheritance
DebugResource.DatasourcesResource.ItemsResource.CheckAccessRequest
Inherited Members
Namespace: Google.Apis.CloudSearch.v1
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class DebugResource.DatasourcesResource.ItemsResource.CheckAccessRequest : CloudSearchBaseServiceRequest<CheckAccessResponse>, IClientServiceRequest<CheckAccessResponse>, IClientServiceRequest
Constructors
CheckAccessRequest(IClientService, Principal, string)
Constructs a new CheckAccess request.
Declaration
public CheckAccessRequest(IClientService service, Principal body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Principal | body | |
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
Item name, format: datasources/{source_id}/items/{item_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 CheckAccess parameter list.
Declaration
protected override void InitParameters()