Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | List of all members
gdrive_server_node.GDriveServerNode Class Reference
Inheritance diagram for gdrive_server_node.GDriveServerNode:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self)
 

Public Attributes

 gauth
 
 gdrive
 
 share_role
 
 share_type
 
 share_value
 
 share_with_link
 
 upload_multi_server
 
 upload_server
 

Static Public Attributes

string file_url_format = 'https://drive.google.com/uc?id={}'
 
string folder_mime_type = 'application/vnd.google-apps.folder'
 
string folder_url_format = 'https://drive.google.com/drive/folders/{}'
 

Private Member Functions

def _get_parents_id (self, parents_path, parents_id=None, mkdir=False)
 
def _upload_cb (self, req)
 
def _upload_file (self, file_path, file_title, parents_id=None)
 
def _upload_folder (self, folder_title, parents_id=None)
 
def _upload_multi_cb (self, req)
 
def _upload_step (self, file_path, file_title, parents_id, use_timestamp_file_title=False, timestamp=None)
 

Detailed Description

Definition at line 19 of file gdrive_server_node.py.

Constructor & Destructor Documentation

def gdrive_server_node.GDriveServerNode.__init__ (   self)

Definition at line 24 of file gdrive_server_node.py.

Member Function Documentation

def gdrive_server_node.GDriveServerNode._get_parents_id (   self,
  parents_path,
  parents_id = None,
  mkdir = False 
)
private

Definition at line 206 of file gdrive_server_node.py.

def gdrive_server_node.GDriveServerNode._upload_cb (   self,
  req 
)
private

Definition at line 44 of file gdrive_server_node.py.

def gdrive_server_node.GDriveServerNode._upload_file (   self,
  file_path,
  file_title,
  parents_id = None 
)
private

Definition at line 170 of file gdrive_server_node.py.

def gdrive_server_node.GDriveServerNode._upload_folder (   self,
  folder_title,
  parents_id = None 
)
private

Definition at line 191 of file gdrive_server_node.py.

def gdrive_server_node.GDriveServerNode._upload_multi_cb (   self,
  req 
)
private

Definition at line 94 of file gdrive_server_node.py.

def gdrive_server_node.GDriveServerNode._upload_step (   self,
  file_path,
  file_title,
  parents_id,
  use_timestamp_file_title = False,
  timestamp = None 
)
private

Definition at line 147 of file gdrive_server_node.py.

Member Data Documentation

string gdrive_server_node.GDriveServerNode.file_url_format = 'https://drive.google.com/uc?id={}'
static

Definition at line 22 of file gdrive_server_node.py.

string gdrive_server_node.GDriveServerNode.folder_mime_type = 'application/vnd.google-apps.folder'
static

Definition at line 20 of file gdrive_server_node.py.

string gdrive_server_node.GDriveServerNode.folder_url_format = 'https://drive.google.com/drive/folders/{}'
static

Definition at line 21 of file gdrive_server_node.py.

gdrive_server_node.GDriveServerNode.gauth

Definition at line 31 of file gdrive_server_node.py.

gdrive_server_node.GDriveServerNode.gdrive

Definition at line 38 of file gdrive_server_node.py.

gdrive_server_node.GDriveServerNode.share_role

Definition at line 28 of file gdrive_server_node.py.

gdrive_server_node.GDriveServerNode.share_type

Definition at line 26 of file gdrive_server_node.py.

gdrive_server_node.GDriveServerNode.share_value

Definition at line 27 of file gdrive_server_node.py.

gdrive_server_node.GDriveServerNode.share_with_link

Definition at line 29 of file gdrive_server_node.py.

gdrive_server_node.GDriveServerNode.upload_multi_server

Definition at line 41 of file gdrive_server_node.py.

gdrive_server_node.GDriveServerNode.upload_server

Definition at line 40 of file gdrive_server_node.py.


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


gdrive_ros
Author(s): Shingo Kitagawa
autogenerated on Tue May 11 2021 02:55:33