Class FilesResource.GenerateIdsRequest
Generates a set of file IDs which can be provided in create or copy requests. For more information, see Create and manage files.
Inheritance
FilesResource.GenerateIdsRequest
Inherited Members
Namespace: Google.Apis.Drive.v3
Assembly: Google.Apis.Drive.v3.dll
Syntax
public class FilesResource.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 |
|---|---|
| int? |
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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Space
The space in which the IDs can be used to create files. Supported values are drive and
appDataFolder. (Default: drive.) For more information, see File
organization.
Declaration
[RequestParameter("space", RequestParameterType.Query)]
public virtual string Space { get; set; }
Property Value
| Type | Description |
|---|---|
| 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.) For more information, see
File
organization.
Declaration
[RequestParameter("type", RequestParameterType.Query)]
public virtual string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
InitParameters()
Initializes GenerateIds parameter list.
Declaration
protected override void InitParameters()