Show / Hide Table of Contents

Class DebugResource.DatasourcesResource.ItemsResource.CheckAccessRequest

Checks whether an item is accessible by specified principal. Note: This API requires an admin account to execute.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<CheckAccessResponse>
CloudSearchBaseServiceRequest<CheckAccessResponse>
DebugResource.DatasourcesResource.ItemsResource.CheckAccessRequest
Implements
IClientServiceRequest<CheckAccessResponse>
IClientServiceRequest
Inherited Members
CloudSearchBaseServiceRequest<CheckAccessResponse>.Xgafv
CloudSearchBaseServiceRequest<CheckAccessResponse>.AccessToken
CloudSearchBaseServiceRequest<CheckAccessResponse>.Alt
CloudSearchBaseServiceRequest<CheckAccessResponse>.Callback
CloudSearchBaseServiceRequest<CheckAccessResponse>.Fields
CloudSearchBaseServiceRequest<CheckAccessResponse>.Key
CloudSearchBaseServiceRequest<CheckAccessResponse>.OauthToken
CloudSearchBaseServiceRequest<CheckAccessResponse>.PrettyPrint
CloudSearchBaseServiceRequest<CheckAccessResponse>.QuotaUser
CloudSearchBaseServiceRequest<CheckAccessResponse>.UploadType
CloudSearchBaseServiceRequest<CheckAccessResponse>.UploadProtocol
ClientServiceRequest<CheckAccessResponse>.Execute()
ClientServiceRequest<CheckAccessResponse>.ExecuteAsStream()
ClientServiceRequest<CheckAccessResponse>.ExecuteAsync()
ClientServiceRequest<CheckAccessResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<CheckAccessResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<CheckAccessResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<CheckAccessResponse>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<CheckAccessResponse>.GenerateRequestUri()
ClientServiceRequest<CheckAccessResponse>.GetDefaultETagAction(String)
ClientServiceRequest<CheckAccessResponse>.ETagAction
ClientServiceRequest<CheckAccessResponse>.ModifyRequest
ClientServiceRequest<CheckAccessResponse>.RequestParameters
ClientServiceRequest<CheckAccessResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudSearch.v1
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class 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
System.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
System.Nullable<System.Boolean>

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.CheckAccessResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.CheckAccessResponse>.MethodName

Name

Item name, format: datasources/{source_id}/items/{item_id}

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.CheckAccessResponse>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.CheckAccessResponse>.GetBody()

InitParameters()

Initializes CheckAccess parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudSearch.v1.CloudSearchBaseServiceRequest<Google.Apis.CloudSearch.v1.Data.CheckAccessResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top