drive  v2
Public Member Functions | Protected Member Functions | Properties | List of all members
Google.Apis.Drive.v2.ParentsResource.DeleteRequest Class Reference

Removes a parent from a file. More...

Inheritance diagram for Google.Apis.Drive.v2.ParentsResource.DeleteRequest:
Google.Apis.Drive.v2.DriveBaseServiceRequest< string >

Public Member Functions

 DeleteRequest (Google.Apis.Services.IClientService service, string fileId, string parentId)
 Constructs a new Delete request. More...
 

Protected Member Functions

override void InitParameters ()
 Initializes Delete parameter list. More...
 
- Protected Member Functions inherited from Google.Apis.Drive.v2.DriveBaseServiceRequest< string >
 DriveBaseServiceRequest (Google.Apis.Services.IClientService service)
 Constructs a new DriveBaseServiceRequest instance. More...
 
override void InitParameters ()
 Initializes Drive parameter list. More...
 

Properties

virtual string FileId [get]
 The ID of the file. More...
 
virtual string ParentId [get]
 The ID of the parent. More...
 
virtual System.Nullable< bool > EnforceSingleParent [get, set]
 Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter will only take effect if the item is not in a shared drive. If the item's last parent is removed, the item will be placed under its owner's root. More...
 
override string MethodName [get]
 summary>Gets the HTTP method. More...
 
override string HttpMethod [get]
 summary>Gets the REST path. More...
 
override string RestPath [get]
 
- Properties inherited from Google.Apis.Drive.v2.DriveBaseServiceRequest< string >
virtual System.Nullable< AltEnum > Alt [get, set]
 Data format for the response. More...
 
virtual string Fields [get, set]
 Selector specifying which fields to include in a partial response. More...
 
virtual string Key [get, set]
 API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. More...
 
virtual string OauthToken [get, set]
 OAuth 2.0 token for the current user. More...
 
virtual System.Nullable< bool > PrettyPrint [get, set]
 Returns response with indentations and line breaks. More...
 
virtual string QuotaUser [get, set]
 An opaque string that represents a user for quota purposes. Must not exceed 40 characters. More...
 
virtual string UserIp [get, set]
 Deprecated. Please use quotaUser instead. More...
 

Detailed Description

Removes a parent from a file.

Constructor & Destructor Documentation

◆ DeleteRequest()

Google.Apis.Drive.v2.ParentsResource.DeleteRequest.DeleteRequest ( Google.Apis.Services.IClientService  service,
string  fileId,
string  parentId 
)
inline

Constructs a new Delete request.

Member Function Documentation

◆ InitParameters()

override void Google.Apis.Drive.v2.ParentsResource.DeleteRequest.InitParameters ( )
inlineprotected

Initializes Delete parameter list.

Property Documentation

◆ EnforceSingleParent

virtual System.Nullable<bool> Google.Apis.Drive.v2.ParentsResource.DeleteRequest.EnforceSingleParent
getset

Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter will only take effect if the item is not in a shared drive. If the item's last parent is removed, the item will be placed under its owner's root.

[default: false] summary>Gets the method name.

◆ FileId

virtual string Google.Apis.Drive.v2.ParentsResource.DeleteRequest.FileId
get

The ID of the file.

◆ HttpMethod

override string Google.Apis.Drive.v2.ParentsResource.DeleteRequest.HttpMethod
get

summary>Gets the REST path.

◆ MethodName

override string Google.Apis.Drive.v2.ParentsResource.DeleteRequest.MethodName
get

summary>Gets the HTTP method.

◆ ParentId

virtual string Google.Apis.Drive.v2.ParentsResource.DeleteRequest.ParentId
get

The ID of the parent.


The documentation for this class was generated from the following file: