Show / Hide Table of Contents

Class FilesResource.GenerateIdsRequest

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

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<GeneratedIds>
DriveBaseServiceRequest<GeneratedIds>
FilesResource.GenerateIdsRequest
Implements
Google.Apis.Requests.IClientServiceRequest<GeneratedIds>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
DriveBaseServiceRequest<GeneratedIds>.Alt
DriveBaseServiceRequest<GeneratedIds>.Fields
DriveBaseServiceRequest<GeneratedIds>.Key
DriveBaseServiceRequest<GeneratedIds>.OauthToken
DriveBaseServiceRequest<GeneratedIds>.PrettyPrint
DriveBaseServiceRequest<GeneratedIds>.QuotaUser
DriveBaseServiceRequest<GeneratedIds>.UserIp
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.GeneratedIds>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.GeneratedIds>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.GeneratedIds>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.GeneratedIds>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.GeneratedIds>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.GeneratedIds>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.GeneratedIds>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.GeneratedIds>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.GeneratedIds>.GetBody()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.GeneratedIds>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.GeneratedIds>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.GeneratedIds>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.GeneratedIds>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.GeneratedIds>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.GeneratedIds>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.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.v2
Assembly: Google.Apis.Drive.v2.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
Google.Apis.Services.IClientService service

Properties

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.v2.Data.GeneratedIds>.HttpMethod

MaxResults

Maximum number of IDs to return.

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

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.v2.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.v2.Data.GeneratedIds>.RestPath

Space

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

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

Type

The type of items which the IDs can be used for. Supported values are 'files' and 'shortcuts'. Note that 'shortcuts' are only supported in the drive 'space'. (Default: 'files')

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

Methods

InitParameters()

Initializes GenerateIds parameter list.

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

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top