Close httplib2 connections.
Gets information about the user, the user's Drive, and system capabilities.
close()
Close httplib2 connections.
get(x__xgafv=None)
Gets information about the user, the user's Drive, and system capabilities. Args: x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Information about the user, the user's Drive, and system capabilities. "appInstalled": True or False, # Whether the user has installed the requesting app. "canCreateDrives": True or False, # Whether the user can create shared drives. "canCreateTeamDrives": True or False, # Deprecated: Use `canCreateDrives` instead. "driveThemes": [ # A list of themes that are supported for shared drives. { "backgroundImageLink": "A String", # A link to this theme's background image. "colorRgb": "A String", # The color of this theme as an RGB hex string. "id": "A String", # The ID of the theme. }, ], "exportFormats": { # A map of source MIME type to possible targets for all supported exports. "a_key": [ "A String", ], }, "folderColorPalette": [ # The currently supported folder colors as RGB hex strings. "A String", ], "importFormats": { # A map of source MIME type to possible targets for all supported imports. "a_key": [ "A String", ], }, "kind": "drive#about", # Identifies what kind of resource this is. Value: the fixed string `"drive#about"`. "maxImportSizes": { # A map of maximum import sizes by MIME type, in bytes. "a_key": "A String", }, "maxUploadSize": "A String", # The maximum upload size in bytes. "storageQuota": { # The user's storage quota limits and usage. For users that are part of an organization with pooled storage, information about the limit and usage across all services is for the organization, rather than the individual user. All fields are measured in bytes. "limit": "A String", # The usage limit, if applicable. This will not be present if the user has unlimited storage. For users that are part of an organization with pooled storage, this is the limit for the organization, rather than the individual user. "usage": "A String", # The total usage across all services. For users that are part of an organization with pooled storage, this is the usage across all services for the organization, rather than the individual user. "usageInDrive": "A String", # The usage by all files in Google Drive. "usageInDriveTrash": "A String", # The usage by trashed files in Google Drive. }, "teamDriveThemes": [ # Deprecated: Use `driveThemes` instead. { "backgroundImageLink": "A String", # Deprecated: Use `driveThemes/backgroundImageLink` instead. "colorRgb": "A String", # Deprecated: Use `driveThemes/colorRgb` instead. "id": "A String", # Deprecated: Use `driveThemes/id` instead. }, ], "user": { # Information about a Drive user. # The authenticated user. "displayName": "A String", # Output only. A plain text displayable name for this user. "emailAddress": "A String", # Output only. The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester. "kind": "drive#user", # Output only. Identifies what kind of resource this is. Value: the fixed string `"drive#user"`. "me": True or False, # Output only. Whether this user is the requesting user. "permissionId": "A String", # Output only. The user's ID as visible in Permission resources. "photoLink": "A String", # Output only. A link to the user's profile photo, if available. }, }