Show / Hide Table of Contents

Class FilesResource.GenerateIdsRequest

Generates a set of file IDs which can be provided in create or copy requests.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<GeneratedIds>
DriveBaseServiceRequest<GeneratedIds>
FilesResource.GenerateIdsRequest
Implements
IClientServiceRequest<GeneratedIds>
IClientServiceRequest
Inherited Members
DriveBaseServiceRequest<GeneratedIds>.Alt
DriveBaseServiceRequest<GeneratedIds>.Fields
DriveBaseServiceRequest<GeneratedIds>.Key
DriveBaseServiceRequest<GeneratedIds>.OauthToken
DriveBaseServiceRequest<GeneratedIds>.PrettyPrint
DriveBaseServiceRequest<GeneratedIds>.QuotaUser
DriveBaseServiceRequest<GeneratedIds>.UserIp
ClientServiceRequest<GeneratedIds>.Execute()
ClientServiceRequest<GeneratedIds>.ExecuteAsStream()
ClientServiceRequest<GeneratedIds>.ExecuteAsync()
ClientServiceRequest<GeneratedIds>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GeneratedIds>.ExecuteAsStreamAsync()
ClientServiceRequest<GeneratedIds>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GeneratedIds>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<GeneratedIds>.GenerateRequestUri()
ClientServiceRequest<GeneratedIds>.GetBody()
ClientServiceRequest<GeneratedIds>.GetDefaultETagAction(String)
ClientServiceRequest<GeneratedIds>.ETagAction
ClientServiceRequest<GeneratedIds>.ModifyRequest
ClientServiceRequest<GeneratedIds>.RequestParameters
ClientServiceRequest<GeneratedIds>.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.Drive.v3
Assembly: Google.Apis.Drive.v3.dll
Syntax
public class GenerateIdsRequest : DriveBaseServiceRequest<GeneratedIds>, IClientServiceRequest<GeneratedIds>, IClientServiceRequest

Constructors

GenerateIdsRequest(IClientService)

Constructs a new GenerateIds request.

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

Properties

Count

The number of IDs to return.

Declaration
[RequestParameter("count", RequestParameterType.Query)]
public virtual int? Count { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v3.Data.GeneratedIds>.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.Drive.v3.Data.GeneratedIds>.MethodName

RestPath

Gets the REST path.

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

Space

The space in which the IDs can be used to create new files. Supported values are 'drive' and 'appDataFolder'.

Declaration
[RequestParameter("space", RequestParameterType.Query)]
public virtual string Space { get; set; }
Property Value
Type Description
System.String

Methods

InitParameters()

Initializes GenerateIds parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Drive.v3.DriveBaseServiceRequest<Google.Apis.Drive.v3.Data.GeneratedIds>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top